/* css/style.css */

:root{
  --verde-oscuro:#0C3B0D;
  --verde:#67A600;
  --blanco:#FFFFFF;
  --gris:#555;
  --gris-claro:#F5F5F5;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--gris);
  overflow-x:hidden;
}

/* NAVBAR */

.custom-navbar{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  padding:14px 0;
  box-shadow:0 2px 15px rgba(0,0,0,.05);
}

.navbar-brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  color:var(--verde-oscuro) !important;
  font-size:1.2rem;
  text-decoration:none;
}

.navbar-brand .navbar-logo{
  width:64px !important;
  height:64px !important;
  max-width:64px !important;
  max-height:64px !important;
  min-width:64px !important;
  min-height:64px !important;
  object-fit:contain !important;
  display:block !important;
  flex-shrink:0;
}

.nav-link{
  color:var(--verde-oscuro) !important;
  margin-left:20px;
  font-weight:500;
  transition:.3s;
}

.nav-link:hover{
  color:var(--verde) !important;
}

/* HERO */

.hero{
  height:100vh;

  background:
  linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
  url('https://images.unsplash.com/photo-1501004318641-b39e6451bec6?q=80&w=1600&auto=format&fit=crop');

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

  display:flex;
  align-items:center;
}

.hero-content{
  max-width:700px;
  color:white;
}

.hero h1{
  font-size:4rem;
  font-weight:700;
  line-height:1.2;
  margin-bottom:25px;
}

.hero p{
  font-size:1.2rem;
  margin-bottom:35px;
}

.hero-buttons{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

/* BOTONES */

.btn-main,
.btn-outline-custom{

  height:55px;

  padding:0 30px;

  border-radius:50px;

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

  font-weight:600;

  text-decoration:none;

  transition:.3s;
}

/* BOTON PRINCIPAL */

.btn-main{
  background:var(--verde);
  color:white;
  border:none;
}

.btn-main:hover{
  background:var(--verde-oscuro);
  color:white;
  transform:translateY(-2px);
}

/* BOTON SECUNDARIO */

.btn-outline-custom{
  border:2px solid white;
  color:white;
}

.btn-outline-custom:hover{
  background:white;
  color:var(--verde-oscuro);
}

.btn-main:hover{
  background:var(--verde-oscuro);
  color:white;
  transform:translateY(-2px);
}

/* SECCIONES */

.section{
  padding:100px 0;
}

.bg-light-custom{
  background:var(--gris-claro);
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  color:var(--verde-oscuro);
  font-size:2.5rem;
  font-weight:700;
  margin-bottom:15px;
}

.section-title p{
  max-width:700px;
  margin:auto;
}

/* ABOUT */

.about-content h3{
  color:var(--verde-oscuro);
  margin-bottom:20px;
  font-weight:700;
}

.about-content p{
  margin-bottom:20px;
  line-height:1.8;
}

/* SERVICIOS */

.service-card{
  background:white;
  padding:40px 30px;
  border-radius:20px;
  text-align:center;
  height:100%;
  transition:.3s;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
}

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

.service-icon{
  font-size:3rem;
  margin-bottom:20px;
}

.service-card h3{
  color:var(--verde-oscuro);
  margin-bottom:15px;
  font-size:1.4rem;
}

/* POLITICA */

.policy-box{
  background:white;
  padding:50px;
  border-radius:25px;
  box-shadow:0 5px 25px rgba(0,0,0,.05);
}

.policy-box p{
  margin-bottom:25px;
  line-height:1.8;
}

.policy-box ul{
  padding-left:20px;
}

.policy-box li{
  margin-bottom:15px;
  line-height:1.7;
}

/* ESTADISTICAS */

.stats-section{
  background:var(--verde-oscuro);
  color:white;
  padding:80px 0;
}

.stat-box h3{
  font-size:3rem;
  font-weight:700;
  color:var(--verde);
}

.stat-box p{
  margin-top:10px;
}

/* CONTACTO */

.contact-card{
  background:white;
  padding:50px;
  border-radius:25px;
  box-shadow:0 5px 25px rgba(0,0,0,.05);
}

.contact-card h3{
  color:var(--verde-oscuro);
  font-weight:700;
  margin-bottom:20px;
}

.contact-card > p{
  margin-bottom:35px;
  line-height:1.8;
}

.contact-item{
  display:flex;
  align-items:flex-start;
  gap:20px;
  margin-bottom:30px;
}

.contact-item span{
  font-size:1.8rem;
  width:35px;
  min-width:35px;
  text-align:center;
  line-height:1.2;
}

.contact-item strong{
  display:block;
  color:var(--verde-oscuro);
  margin-bottom:5px;
}

.contact-item p{
  margin:0;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* FOOTER */

.footer{
  background:var(--verde-oscuro);
  color:white;
  text-align:center;
  padding:30px 0;
}

/* WHATSAPP */

.whatsapp-btn{
  position:fixed;
  right:20px;
  bottom:20px;

  width:60px;
  height:60px;

  background:#25D366;
  color:white;

  border-radius:50%;

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

  text-decoration:none;

  font-size:1.7rem;

  box-shadow:0 5px 15px rgba(0,0,0,.2);

  z-index:999;
}

/* RESPONSIVE */

@media(max-width:992px){

  .hero h1{
    font-size:3rem;
  }

}

@media(max-width:768px){

  .hero{
    text-align:center;
  }

  .hero-content{
    margin:auto;
  }

  .hero h1{
    font-size:2.4rem;
  }

  .hero p{
    font-size:1rem;
  }

  .section{
    padding:70px 0;
  }

  .section-title h2{
    font-size:2rem;
  }

  .policy-box,
  .contact-card{
    padding:30px;
  }

}

@media(max-width:576px){

  .navbar-logo{
    width:56px;
    height:56px;
  }

  .navbar-brand{
    font-size:1rem;
    gap:10px;
  }

  .hero h1{
    font-size:2rem;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .btn-main{
    width:100%;
    text-align:center;
  }

}