/** --verde: #2E7D32 **/
:root{
  --verde: #00A54F;
  --verde-oscuro: #1B5E20;
  --gris-suave: #f5f5f5;

  --max: 1200px;
  --pad: 20px;
}

/* ===== Reset útil ===== */
*{ box-sizing: border-box; }
img{ max-width: 100%; display: block; }
body{ margin: 0; }

/* ===== GENERAL ===== */
body{
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  padding-top: 60px;
}

/* helper container (centrado real) */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ===== HEADER ===== */
/* ===== NAVBAR RESPONSIVE (logo + links + botón + hamburguesa) ===== */
/**var(--verde); **/
.header{
    background: var(--verde);
    background: linear-gradient(
  to right,
    var(--verde) 0%,
    var(--verde) 50%,
  red 100%
);


  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav{
  max-width: var(--max);
  margin: 0 auto;
  height: 60px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* logo */
.nav__brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo{
    width: 55px;
    height: 55px;
    margin-top: 10px;
    border-radius: 5px;
    object-fit: cover;
}

/* menú desktop */
.nav__menu{
  display: flex;
  align-items: center;
  margin-top:10px;
  gap: 18px;
}

.nav__links{
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a{
  color: white;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-size: 14px;
  opacity: 0.95;
}

.nav__links a:hover{
  opacity: 1;
  text-decoration: none;
}

/* botón brochure */
.nav__cta{
  background: #fff;
  color: var(--verde);
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.nav__cta:hover{
  opacity: 0.92;
}

/* hamburguesa (oculta en desktop) */
.nav__toggle{
   width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;

  padding: 0;
}


/* líneas */
.nav__toggle span{
  width: 26px;
  height: 3px;                 /* CLAVE: altura real */
  background-color: #fff;      /* visible sobre verde */
  border-radius: 999px;

  display: block;
  flex-shrink: 0;

  transition: 
    transform .25s ease,
    opacity .2s ease,
    background-color .2s ease;
}

/* ===== MÓVIL ===== */
@media (max-width: 900px){
  .nav__toggle{
    display: block;
  }

  /* ocultamos el menú hasta abrirlo */
  .nav__menu{
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;

    background: #1f1f1f; /* menú oscuro */
    padding: 18px var(--pad);
    display: none; /* cerrado */
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  /* cuando se abre */
  .nav__menu.is-open{
    display: flex;
  }

  .nav__links{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav__links a{
    font-size: 15px;
  }

  .nav__cta{
    text-align: center;
    padding: 12px 14px;
    background: var(--verde);
    color: #fff;
  }
}
/* ===== HERO ===== */
.hero{
  width: 100%;
  min-height: 650px; /* más flexible que height fijo */
  height: 85vh;      /* se adapta a pantalla */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 var(--pad);
  position: relative;
}

/* overlay suave para mejorar lectura */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35);
}
.hero h1,
.hero a{
  position: relative;
  z-index: 1;
}

.hero h1{
  color: white;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  max-width: 900px;
  margin: 0 0 18px 0;
}

.hero-btn{
  background-color: var(--verde);
  padding: 14px 18px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  border-radius: 999px;
  font-size: 18px;
}

/* ===== ENJOY ===== */
.enjoy{
  background-color: #F5F5F5;
  min-height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--verde);
  padding: 24px var(--pad);
}

.enjoy h1{
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

/* ===== VISIÓN / MISIÓN ===== */
.vm{
    padding: 15px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 0;
}

/* cada cuadrante */
.vm__img,
.vm__text{
  overflow: hidden;
}

/* IMAGEN: ocupa todo el cuadrante */
.vm__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* arriba izquierda: tinte verde */
.vm__img--work{
  position: relative;
}
.vm__img--work::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 125, 50, 0.22);
}

/* Texto general */
.vm__text{
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  line-height: 1.6;
}

.vm__text h2{
  margin: 0;
  font-size: 44px;
  font-weight: 700;
}

/* VISIÓN */
.vm__vision{
  background: #fff;
}
.vm__vision h2{
  color: var(--verde);
}
.vm__vision p{
  margin: 0;
  color: #2b2b2b;
  font-weight: 400;
  max-width: 520px;
}
.vm__vision strong{
  color: var(--verde);
  font-weight: 700;
}

/* MISIÓN */
.vm__mision{
  background: var(--verde);
}
.vm__mision h2{
  color: #fff;
}
.vm__mision p{
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  max-width: 520px;
}
.vm__mision strong{
  color: #fff;
  font-weight: 700;
}

/* collage */
.vm__img--collage{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.vm__img--collage img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== FILOSOFÍA Y VALORES ====== */
.values{
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: url("https://images.unsplash.com/photo-1523413651479-597eb2da0ad6?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 var(--pad);
}

.values__overlay{
  position: absolute;
  inset: 0;
   background: rgba(41, 157, 48, 0.8);
}

.values__content{
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding: 52px 18px;
  color: #fff;
}

.values__content h2{
  margin: 0 0 10px 0;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 700;
}

.values__text{
  margin: 10px auto;
  max-width: 820px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  font-style: italic;
  opacity: 0.95;
}

.values__quote{
  margin-top: 14px;
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer{
  background: #1f1f1f;
  color: #bdbdbd;
  font-size: 15px;
}

.footer__container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  gap: 40px;
}

.footer__col h3{
  color: #fff;
  margin-bottom: 18px;
  font-size: 20px;
}

.footer__col h4{
  color: var(--verde);
  margin: 18px 0 6px;
  font-size: 16px;
}

.footer__brand img{
  max-width: 180px;
  margin-bottom: 18px;
}

.footer__info,
.footer__links{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__info li{ margin-bottom: 10px; }
.footer__links li{ margin-bottom: 10px; }

.footer__links a{
  color: var(--verde);
  text-decoration: none;
}
.footer__links a:hover{ text-decoration: underline; }

.footer__small{
  margin-top: 4px;
  line-height: 1.6;
}

/* form */
.footer__form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__form input,
.footer__form textarea{
  background: #2c2c2c;
  border: none;
  padding: 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.footer__form input:focus,
.footer__form textarea:focus{
  box-shadow: 0 0 0 2px rgba(46,125,50,0.35);
}

.footer__form textarea{
  min-height: 100px;
  resize: none;
}

.footer__form button{
  margin-top: 6px;
  background: #3563e9;
  color: #fff;
  border: none;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
}
.footer__form button:hover{ opacity: 0.92; }

/* bottom bar */
.footer__bottom{
   background: #2a2a2a;
  padding: 18px var(--pad);
  font-size: 14px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__bottom p{
    grid-column: 2;
  margin: 0;
  text-align: center;
}

.footer__social{
    grid-column: 3;
  justify-self: end;
}
.footer__social a{
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px){
  /* nav a 2 líneas si hace falta */
  .ul-nav{
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  /* vm: solo textos (como pediste) */
  .vm__img{ display: none; }
  .vm{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .vm__text{
    padding: 28px 22px;
  }
  .vm__text h2{
    font-size: 36px;
  }

  /* values */
  .values{
    min-height: 360px;
  }
  .values__text{
    font-size: 16px;
    line-height: 1.7;
  }
  .values__quote{
    font-size: 54px;
  }

  /* footer */
  .footer__container{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom{
    flex-direction: column;
    text-align: center;
  }
}
/* ===== PRODUCTOS ===== */
.products{
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--pad);
}

.products__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.products__head h2{
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #1b1b1b;
}

.products__head p{
  margin: 8px 0 0 0;
  color: #555;
  font-weight: 400;
  max-width: 650px;
}

.products__brochure{
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}
.products__brochure:hover{ opacity: 0.92; }

.products__toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 28px;
}

.products__search{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.products__icon{ opacity: 0.65; }

.products__search input{
  width: 100%;
  border: 0;
  outline: none;
  font-size: 14px;
  font-weight: 400;
}

.products__filters{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip{
  border: 1px solid rgba(46,125,50,0.35);
  background: #fff;
  color: var(--verde);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}
.chip.is-active{
  background: var(--verde);
  color: #fff;
  border-color: transparent;
}

.products__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* card */
.pcard{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pcard:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.10);
}

.pcard__media{
  position: relative;
  height: 190px;
}
.pcard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__badge{
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(27,94,32,0.92);
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}
.pcard__badge--alt{
  background: rgba(46,125,50,0.92);
}

.pcard__body{
  padding: 16px 16px 18px;
}

.pcard__body h3{
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 900;
  color: #1b1b1b;
}

.pcard__body p{
  margin: 0 0 12px 0;
  color: #555;
  font-weight: 400;
  line-height: 1.6;
}

.pcard__meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: #2f2f2f;
  font-weight: 400;
  font-size: 13px;
}
.pcard__meta span{
  background: rgba(46,125,50,0.10);
  padding: 6px 10px;
  border-radius: 999px;
}

.pcard__actions{
  display: flex;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  font-size: 14px;
  flex: 1;
}

.btn--solid{
  background: var(--verde);
  color: #fff;
}
.btn--solid:hover{ opacity: 0.92; }

.btn--ghost{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  color: #1b1b1b;
}
.btn--ghost:hover{
  border-color: rgba(46,125,50,0.45);
  color: var(--verde);
}

/* ===== MODAL ===== */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}
.modal.is-open{ display: block; }

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.modal__panel{
  position: relative;
  max-width: 560px;
  width: calc(100% - 28px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 20px 18px 18px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.25);
}

.modal__close{
  position: absolute;
  right: 12px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.modal__panel h3{
  margin: 4px 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: #1b1b1b;
}

.modal__tags{
  margin: 0 0 12px 0;
  color: var(--verde);
  font-weight: 800;
  font-size: 13px;
}

.modal__cta{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .products__head{
    flex-direction: column;
    align-items: flex-start;
  }

  .products__toolbar{
    flex-direction: column;
    align-items: stretch;
  }

  .products__grid{
    grid-template-columns: 1fr;
  }

  .modal__cta{
    flex-direction: column;
  }
   .products__filters{
    justify-content: flex-start;
    flex-wrap: nowrap;          /* NO se rompen */
    overflow-x: auto;           /* scroll horizontal */
    padding: 6px 4px 10px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .products__filters::-webkit-scrollbar{
    height: 0;                  /* oculta scrollbar en Chrome mobile */
  }

  .chip{
    flex: 0 0 auto;             /* cada chip mantiene su tamaño */
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 14px;
  }
}
/* ===== HERO CARRUSEL ===== */
.hero{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__slide{ /* img */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  object-fit: fill;       /* llena todo sin barras y sin recorte (pero se deforma) */
  object-position: center;
  display: block;

  opacity: 0;
  transition: opacity 1.2s ease;
}


/* contenedor de slides */
.hero__slider{
  position: absolute;
  inset: 0;
}

/* cada slide */
.hero__slide{
  position: absolute;
  inset: 0;

  background-size: contain;      /* 👈 muestra toda la imagen */
  background-position: center;
  background-repeat: no-repeat;  /* 👈 evita que se repita */

  opacity: 0;
  transform: none;               /* 👈 quita el zoom que recortaba */
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.hero__slide.active{
  opacity: 1;
  /* Animación suave de zoom (Ken Burns) */
  animation: heroZoom 8s linear forwards;
}

@keyframes heroZoom{
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}

/* overlay oscuro */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* contenido fijo */
.hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 30px;
}

.hero__content h1{
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  max-width: 900px;
  margin-bottom: 18px;
}
/* ===== NOSOTROS ===== */
.about-hero{
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad) 60px;
  background-image: url("https://images.unsplash.com/photo-1520975958225-5f61b81458d8?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.about-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(27,94,32,0.70);
}

.about-hero__content{
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.about-hero__kicker{
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.95;
}

.about-hero__content h1{
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.about-hero__lead{
  margin: 0 auto 18px;
  max-width: 720px;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.95;
}

.about-hero__cta{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* layout quienes somos */
.about{
  background: #fff;
  padding: 60px var(--pad);
}

.about__grid{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.about__intro h2{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: #1b1b1b;
}

.about__intro p{
  margin: 0;
  color: #555;
  font-weight: 400;
  line-height: 1.8;
  max-width: 720px;
}

.about__stats{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat{
  background: var(--gris-suave);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.stat__num{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(46,125,50,0.12);
  color: var(--verde);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.stat__label{
  font-weight: 700;
  color: #2b2b2b;
  font-size: 14px;
}

/* cards */
.about__cards{
  display: grid;
  gap: 12px;
}

.about-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.about-card h3{
  margin: 0 0 8px;
  font-weight: 900;
  color: #1b1b1b;
  font-size: 18px;
}

.about-card p{
  margin: 0;
  color: #555;
  font-weight: 400;
  line-height: 1.7;
}

.about-card--accent{
  border-color: rgba(46,125,50,0.25);
  background: linear-gradient(180deg, rgba(46,125,50,0.08), rgba(255,255,255,1));
}

/* reutiliza vm pero con separación */
.about-vm{
  margin-top: 0;
  margin-bottom: 0;
}

/* valores mini */
.values-mini{
  background: var(--gris-suave);
  padding: 52px var(--pad);
}

.values-mini__wrap{
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.values-mini__wrap h2{
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: #1b1b1b;
}

.values-mini__wrap p{
  margin: 0 0 16px;
  color: #555;
  font-weight: 400;
}

.values-mini__chips{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.values-mini__chips span{
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(46,125,50,0.25);
  color: var(--verde);
  font-weight: 900;
  font-size: 14px;
}

/* CTA final */
.about-cta{
  padding: 60px var(--pad);
  background: #fff;
}

.about-cta__wrap{
  max-width: var(--max);
  margin: 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(46,125,50,0.16), rgba(27,94,32,0.06));
  border: 1px solid rgba(46,125,50,0.18);
  padding: 26px 18px;
  text-align: center;
}

.about-cta__wrap h2{
  margin: 0 0 8px;
  font-weight: 900;
  color: #1b1b1b;
}

.about-cta__wrap p{
  margin: 0 0 14px;
  color: #555;
  font-weight: 400;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .about__grid{
    grid-template-columns: 1fr;
  }

  .about__stats{
    grid-template-columns: 1fr;
  }
}
.contact-hero{
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad) 50px;
  background-image: url("https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.contact-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(27,94,32,0.72);
}

.contact-hero__content{
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.contact-hero__kicker{
  margin: 0 0 6px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.95;
}

.contact-hero__content h1{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact-hero__lead{
  margin: 0;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.95;
}

/* body */
.contact{
  padding: 60px var(--pad);
  background: #fff;
}

.contact__wrap{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

/* caja */
.cbox{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.cbox--soft{
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(46,125,50,0.10), rgba(255,255,255,1));
  border-color: rgba(46,125,50,0.18);
}

.cbox h2{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: #1b1b1b;
}

.cbox p{
  margin: 0 0 14px;
  color: #555;
  font-weight: 400;
  line-height: 1.7;
}

/* items (tel/whatsapp) */
.cbox__list{
  display: grid;
  gap: 10px;
}

.citem{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: #1b1b1b;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--gris-suave);
}

.citem:hover{
  border-color: rgba(46,125,50,0.35);
}

.citem--accent{
  background: rgba(46,125,50,0.12);
  border-color: rgba(46,125,50,0.25);
}

.citem__icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 18px;
}

.citem__text{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.citem__text strong{
  font-weight: 900;
}

.citem__text small{
  color: #666;
  font-weight: 400;
}

/* redes */
.social-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.social-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #1b1b1b;
}

.social-card:hover{
  border-color: rgba(46,125,50,0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.social-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  background: var(--verde);
}

.social-card strong{
  display: block;
  font-weight: 900;
}
.social-card small{
  color: #666;
  font-weight: 400;
}

/* nota */
.contact__note{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(46,125,50,0.18);
}

.contact__note p{
  margin: 0;
}

/* responsive */
@media (max-width: 900px){
  .contact__wrap{
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER CENTRADO ===== */
.footer__container--centered{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-items: center;        /* centra cada columna */
  text-align: center;           /* centra texto */
}

/* logo centrado */
.footer__brand img{
  margin: 0 auto 18px;
}

/* listas centradas */
.footer__info,
.footer__links{
  text-align: center;
}

.footer__info li,
.footer__links li{
  justify-content: center;
}

/* links */
.footer__links a{
  display: inline-block;
}

/* barra inferior centrada */
.footer__bottom--centered{
  justify-content: center;
  text-align: center;
}
@media (max-width: 900px){
  .footer__container--centered{
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* ===== NAV (MÓVIL MODERNO) ===== */
.nav{
  max-width: var(--max);
  margin: 0 auto;
  height: 60px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Botón hamburguesa */
.nav__toggle{
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: none; /* en desktop no */
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav__toggle span{
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform .25s ease, opacity .2s ease;
}

/* Overlay (fondo oscuro) */
.nav__backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999;
}

/* Menú panel */
.nav__menu{
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Desktop links */
.nav__links{
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a{
  color: white;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .4px;
}

/* CTA desktop */
.nav__cta{
  background: #fff;
  color: var(--verde);
  text-decoration: none;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
}

/* ===== MÓVIL ===== */
@media (max-width: 900px){
  .nav__toggle{
    display: inline-flex;
  }

  /* Menú se vuelve panel */
  .nav__menu{
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    z-index: 1000;

    flex-direction: column;
    align-items: stretch;
    gap: 14px;

    padding: 16px;
    border-radius: 18px;

    /* efecto moderno */
    background: rgba(24,24,24,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);

    /* animación */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }

  .nav__links{
    flex-direction: column;
    gap: 10px;
  }

  /* links tipo “item” moderno */
  .nav__links a{
    display: block;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
  }

  .nav__links a:hover{
    border-color: rgba(46,125,50,0.45);
    background: rgba(46,125,50,0.16);
  }

  /* Botón brochure full width */
  .nav__cta{
    text-align: center;
    padding: 14px;
    background: var(--verde);
    color: #fff;
    border: none;
    box-shadow: 0 12px 26px rgba(0,0,0,0.25);
  }

  /* Cuando esté abierto */
  .nav__menu.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__backdrop.is-open{
    opacity: 1;
    pointer-events: auto;
  }

  /* Animación hamburguesa -> X */
  .nav__toggle.is-open span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .nav__toggle.is-open span:nth-child(2){
    opacity: 0;
  }
  .nav__toggle.is-open span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* ===== HAMBURGUESA → X ===== */
.nav__toggle.is-open span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2){
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}
/* ===== BOTÓN WHATSAPP FLOAT ===== */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 14px 28px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);

  transition: transform .18s ease, box-shadow .18s ease;
  color: white;
}

.whatsapp-float:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 34px rgba(0,0,0,.32);
}

/* icono */
.whatsapp-icon{
  width: 28px;     /* 👈 aire perfecto a los lados */
  height: 28px;
  display: block;
  color: white;
    filter: brightness(0) invert(1);
  object-fit: contain;
  pointer-events: none; /* evita clicks raros */
}
.title-nav{
    margin-top: 50px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}
/* ===== HERO: SOLO AJUSTES MOBILE (sin tocar desktop) ===== */

/* Tablets y móviles */
@media (max-width: 900px){
  .hero{
    height: 60vh;        /* antes 100vh: ahora más pequeño */
    min-height: 420px;   /* antes 600px: evita que sea enorme */
  }

  .hero__content{
    padding: 0 16px;
    margin-bottom: 0;    /* por si te empuja el contenido */
  }

  .hero__content h1{
    font-size: clamp(1.35rem, 5.2vw, 2.1rem);
    line-height: 1.15;
    max-width: 24ch;     /* para que no se vea tan largo */
  }

  .hero-btn{
    font-size: 16px;
    padding: 12px 16px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px){
  .hero{
    height: 52vh;
    min-height: 360px;
  }

  .hero__content h1{
    font-size: clamp(1.2rem, 6vw, 1.8rem);
    max-width: 20ch;
  }
}

/* Móviles muy bajos (pantallas “chatas”) */
@media (max-height: 700px) and (max-width: 900px){
  .hero{
    height: 55vh;
    min-height: 320px;
  }
}
/* ===== REDES SOCIALES (FOOTER) ===== */
.footer__socials{
  margin: 10px 0 18px;
  display: flex;
  gap: 12px;
  justify-content: center; /* como tu footer está centrado */
  flex-wrap: wrap;
}

.footer__social{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.footer__social:hover{
  transform: translateY(-2px);
  background: rgba(0,165,79,0.18);       /* verde suave */
  border-color: rgba(0,165,79,0.45);
}

.footer__social span{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

/* Ajuste mobile (por si quieres más aire) */
@media (max-width: 900px){
  .footer__social{
    width: 46px;
    height: 46px;
  }
}
