*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:#f4f7f2;
  color:#1d1d1d;
  line-height:1.6;
}

/* HERO */

.hero{
  position:relative;
  min-height:100vh;

  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.65)),
    url("../img/hero.jpg");

  background-size:cover;
  background-position:center;

  color:white;
  overflow:hidden;

  padding:0 8%;
}

.overlay{
  position:absolute;
  inset:0;

  background:
    radial-gradient(circle at left,
    rgba(0,0,0,.35),
    rgba(0,0,0,.15),
    rgba(0,0,0,.55));
}

/* NAVBAR */

.navbar{
  position:relative;
  z-index:20;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding-top:28px;
}

.brand img{
  height:88px;
  width:auto;

  filter:
    drop-shadow(0 0 10px rgba(0,0,0,.35))
    drop-shadow(0 0 18px rgba(0,0,0,.25));
}

.menu{
  display:flex;
  gap:42px;
}

.menu a{
  color:white;
  text-decoration:none;

  font-size:15px;
  font-weight:400;

  transition:.3s;
}

.menu a:hover{
  color:#8bbd26;
}

/* HERO CONTENT */

.hero-content{
  position:relative;
  z-index:10;

  max-width:760px;

  padding-top:18vh;
}

.hero-content h1{
  font-size:clamp(72px, 11vw, 150px);

  font-weight:300;

  letter-spacing:18px;

  line-height:1;
}

.hero-content h2{
  color:#8bbd26;

  font-size:clamp(24px, 3vw, 38px);

  font-weight:500;

  letter-spacing:14px;

  margin-top:8px;
}

.subtitle{
  margin-top:34px;

  font-size:22px;

  letter-spacing:7px;

  font-weight:300;
}

.description{
  margin-top:26px;

  max-width:620px;

  font-size:34px;

  line-height:1.35;

  font-weight:300;

  font-style:italic;
}

/* BUTTON */

.btn{
  display:inline-block;

  margin-top:40px;

  padding:16px 36px;

  border-radius:40px;

  background:#76ad1f;

  color:white;

  text-decoration:none;

  font-weight:500;

  transition:.3s;

  box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.btn:hover{
  transform:translateY(-2px);

  background:#8bc728;
}

/* SECTIONS */

section{
  padding:90px 8%;
}

/* INTRO */

.intro{
  text-align:center;

  max-width:1000px;

  margin:auto;
}

.intro h2{
  font-size:42px;

  margin-bottom:24px;
}

.intro p{
  font-size:20px;
}

/* SERVICES */

.services{
  background:white;
}

.services h2{
  text-align:center;

  font-size:42px;

  margin-bottom:60px;
}

.cards{
  display:grid;

  grid-template-columns:repeat(4,1fr);

  gap:28px;
}

.card{
  background:#f4f7f2;

  padding:36px;

  border-radius:24px;

  border-top:5px solid #8bbd26;

  box-shadow:0 10px 30px rgba(0,0,0,.06);

  transition:.3s;
}

.card:hover{
  transform:translateY(-6px);
}

.card h3{
  color:#385f13;

  margin-bottom:18px;

  font-size:24px;
}

/* RAS */

.ras{
  background:
    linear-gradient(135deg,#102016,#193828);

  color:white;
}

.ras div{
  max-width:900px;
}

.ras h2{
  font-size:44px;

  margin-bottom:28px;
}

.ras p{
  margin-bottom:22px;

  font-size:20px;
}

/* CONTACT */

.contact{
  text-align:center;

  background:#eef3ea;
}

.contact h2{
  font-size:42px;

  margin-bottom:20px;
}

.contact p{
  font-size:22px;
}

/* FOOTER */

footer{
  background:#101510;

  color:#cfd8cf;

  text-align:center;

  padding:28px;

  font-size:14px;
}

/* RESPONSIVE */

@media(max-width:1100px){

  .cards{
    grid-template-columns:repeat(2,1fr);
  }

  .hero-content h1{
    letter-spacing:10px;
  }

}

@media(max-width:700px){

  .navbar{
    flex-direction:column;
    gap:20px;
  }

  .menu{
    gap:18px;
  }

  .cards{
    grid-template-columns:1fr;
  }

  .hero-content{
    padding-top:10vh;
  }

  .hero-content h1{
    font-size:72px;
    letter-spacing:6px;
  }

  .description{
    font-size:24px;
  }

}

/* AJUSTES V1 - LOGO Y RESPONSIVE */

.brand img{
  height:300px;
  width:auto;
}

@media(max-width:700px){

  .hero{
    min-height:100vh;
    padding:0 6%;
    background-position:center;
  }

  .navbar{
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    padding-top:22px;
  }

  .brand img{
    height:22px;
  }

  .menu{
    flex-wrap:wrap;
    gap:14px 20px;
  }

  .menu a{
    font-size:13px;
  }

  .hero-content{
    padding-top:12vh;
    max-width:100%;
  }

  .hero-content h1{
    font-size:clamp(48px, 16vw, 72px);
    letter-spacing:5px;
  }

  .hero-content h2{
    font-size:clamp(18px, 7vw, 28px);
    letter-spacing:6px;
  }

  .subtitle{
    font-size:15px;
    letter-spacing:3px;
  }

  .description{
    font-size:22px;
  }

  section{
    padding:70px 6%;
  }

  .intro h2,
  .services h2,
  .ras h2,
  .contact h2{
    font-size:30px;
  }

  .intro p,
  .ras p,
  .contact p{
    font-size:17px;
  }

}

