/* =========================================================
   S&S MANTENIMIENTO INTEGRAL — Design tokens
   Paleta derivada 100% del logo (verde bosque + blanco cálido)
========================================================= */
:root{
  --verde-950: #101F17;
  --verde-900: #14261C;
  --verde-800: #1E3A2C;
  --verde-700: #274A37;
  --verde-600: #305B44;
  --verde-500: #3F6B52;
  --verde-300: #8AA893;
  --verde-200: #C7D6CC;
  --verde-100: #E4EBE4;

  --crema: #F7F5EE;
  --crema-alt: #F1EEE3;
  --blanco: #FFFFFF;
  --carbon: #1B1C19;
  --carbon-soft: #4A4E48;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 12px rgba(16, 31, 23, 0.08);
  --shadow-md: 0 12px 40px rgba(16, 31, 23, 0.12);
  --shadow-lg: 0 24px 64px rgba(16, 31, 23, 0.18);

  --ease: cubic-bezier(.22,1,.36,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body{
  font-family: var(--font-body);
  color: var(--carbon);
  background: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ text-decoration: none; color: inherit; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; }

.container{ max-width: 1220px; }

em{ font-style: italic; font-family: var(--font-display); font-weight: 500; color: inherit; }

::selection{ background: var(--verde-700); color: var(--blanco); }

:focus-visible{
  outline: 3px solid var(--verde-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
.eyebrow{
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--verde-200);
  margin-bottom: 1rem;
  display: block;
}
.eyebrow-dark{ color: var(--verde-600); }

.section-title{
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--verde-900);
  margin-bottom: 1.25rem;
}
.section-title em{ color: var(--verde-600); }

.section-title-light{
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--crema);
  margin-bottom: 1.25rem;
}
.section-title-light em{ color: var(--verde-200); }

.section-desc{
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--verde-200);
  max-width: 620px;
}
.section-desc-dark{ color: var(--carbon-soft); }

.lead-text{
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--carbon);
  margin-bottom: 1.25rem;
}
.body-text{
  font-size: 1rem;
  line-height: 1.75;
  color: var(--carbon-soft);
}

.section-head{ max-width: 700px; margin-bottom: 3.5rem; }

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-up{
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp .9s var(--ease) forwards;
}
.reveal-up:nth-child(1){ animation-delay: .05s; }
.reveal-up:nth-child(2){ animation-delay: .18s; }
.reveal-up:nth-child(3){ animation-delay: .32s; }
.reveal-up:nth-child(4){ animation-delay: .46s; }
@keyframes revealUp{
  to{ opacity: 1; transform: translateY(0); }
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar-custom{
  padding: 18px 0;
  background: transparent;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
  z-index: 1000;
}
.navbar-custom .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-custom.scrolled{
  background: rgba(247, 245, 238, 0.92);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.navbar-brand-custom{
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-brand-custom img{
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.brand-text{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blanco);
  transition: color .35s var(--ease);
  line-height: 1.1;
}
.brand-text em{ font-weight: 500; font-size: 0.8em; display: block; color: inherit; opacity: .85; }
.navbar-custom.scrolled .brand-text{ color: var(--verde-900); }

.navbar-toggler-custom{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}
.navbar-toggler-custom span{
  width: 26px; height: 2px;
  background: var(--blanco);
  transition: all .3s var(--ease);
}
.navbar-custom.scrolled .navbar-toggler-custom span{ background: var(--verde-900); }
.navbar-toggler-custom.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.navbar-toggler-custom.open span:nth-child(2){ opacity: 0; }
.navbar-toggler-custom.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-menu{ display: flex; align-items: center; gap: 2.5rem; }
.nav-links{ display: flex; gap: 2rem; }
.nav-link-item{
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blanco);
  position: relative;
  padding-bottom: 4px;
  transition: color .3s var(--ease);
}
.nav-link-item::after{
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--verde-300);
  transition: width .3s var(--ease);
}
.nav-link-item:hover::after{ width: 100%; }
.navbar-custom.scrolled .nav-link-item{ color: var(--verde-900); }

.btn-nav-cta{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--verde-800);
  color: var(--blanco) !important;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn-nav-cta:hover{ background: var(--verde-600); transform: translateY(-2px); }

/* =========================================================
   HERO
========================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; }
.hero-img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom{ to{ transform: scale(1); } }
.hero-overlay{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,31,23,.75) 0%, rgba(16,31,23,.55) 40%, rgba(16,31,23,.85) 100%);
}
.hero-content{ position: relative; z-index: 2; padding-top: 90px; }
.hero-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  color: var(--blanco);
  max-width: 850px;
  margin-bottom: 1.5rem;
}
.hero-title em{ color: var(--verde-200); font-weight: 500; }
.hero-subtitle{
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: rgba(247,245,238,.88);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.hero-ctas{ display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary-hero{
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--verde-600);
  color: var(--blanco);
  padding: 17px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(48,91,68,.4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.btn-primary-hero i{ font-size: 1.2rem; }
.btn-primary-hero:hover{ transform: translateY(-3px); box-shadow: 0 16px 40px rgba(48,91,68,.55); background: var(--verde-500); }

.btn-secondary-hero{
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(247,245,238,.5);
  color: var(--blanco);
  padding: 17px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .3s var(--ease);
}
.btn-secondary-hero:hover{ background: rgba(247,245,238,.12); border-color: var(--blanco); }

.scroll-indicator{
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(247,245,238,.75);
}
.scroll-line{
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(247,245,238,.8), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after{
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--verde-200);
  animation: scrollMove 2s ease-in-out infinite;
}
@keyframes scrollMove{
  0%{ top: -100%; } 60%{ top: 100%; } 100%{ top: 100%; }
}
.scroll-text{
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
  writing-mode: vertical-rl;
}

/* =========================================================
   ROOFLINE — signature divider (echo del pico del techo del logo)
========================================================= */
.roofline{
  height: 64px;
  background: var(--crema);
  clip-path: polygon(0 100%, 50% 0%, 100% 100%);
  margin-top: -1px;
}
.roofline-dark{
  background: var(--verde-900);
  clip-path: polygon(0% 0, 50% 100%, 100% 0);
  margin-bottom: -1px;
}

/* =========================================================
   NOSOTROS
========================================================= */
.section-nosotros{ padding: 7rem 0 6rem; background: var(--crema); }
.pillars-row{ display: flex; gap: 1.75rem; flex-wrap: wrap; margin-top: 2rem; }
.pillar-item{
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.92rem; color: var(--verde-800);
}
.pillar-item i{
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--verde-100);
  color: var(--verde-700);
  border-radius: 50%;
  font-size: 0.95rem;
}
.about-visual{ position: relative; }
.about-img{
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-badge{
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--verde-800);
  color: var(--blanco);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.about-badge-number{ font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; }
.about-badge-label{ font-size: 0.78rem; margin-top: 6px; opacity: .85; line-height: 1.3; }

/* =========================================================
   SERVICIOS
========================================================= */
.section-servicios{
  padding: 7rem 0;
  background: var(--verde-900);
  position: relative;
}
.service-card{
  background: rgba(247,245,238,.05);
  border: 1px solid rgba(247,245,238,.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover{
  transform: translateY(-8px);
  background: rgba(247,245,238,.08);
  border-color: var(--verde-300);
}
.service-icon{
  width: 58px; height: 58px;
  border-radius: var(--radius-md);
  background: var(--verde-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--verde-200);
  margin-bottom: 1.5rem;
}
.service-card h3{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 0.75rem;
}
.service-card p{
  color: var(--verde-200);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.service-card p strong{ color: var(--blanco); }
.service-benefits li{
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
  color: rgba(247,245,238,.75);
  padding: 5px 0;
}
.service-benefits i{ color: var(--verde-300); font-size: 0.78rem; }

/* =========================================================
   MÉTODO — TIMELINE
========================================================= */
.section-metodo{ padding: 7rem 0; background: var(--crema); }
.timeline{
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.timeline-track{
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 1px;
  background: var(--verde-200);
  z-index: 0;
}
.timeline-step{ position: relative; z-index: 1; }
.timeline-marker{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--verde-800);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(30,58,44,.25);
}
.timeline-step h3{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--verde-900);
  margin-bottom: 0.5rem;
}
.timeline-step p{
  font-size: 0.85rem;
  color: var(--carbon-soft);
  line-height: 1.55;
}

/* =========================================================
   DIFERENCIALES
========================================================= */
.section-diferenciales{ padding: 6rem 0 7rem; background: var(--verde-900); }
.diferencial-card{
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(247,245,238,.04);
  border: 1px solid rgba(247,245,238,.1);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  height: 100%;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.diferencial-card:hover{ transform: translateY(-5px); background: rgba(247,245,238,.08); }
.diferencial-card i{ font-size: 1.4rem; color: var(--verde-300); }
.diferencial-card span{
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--crema);
  line-height: 1.4;
}

/* =========================================================
   CERTIFICACIÓN
========================================================= */
.section-certificacion{ padding: 7rem 0; background: var(--crema); }
.cert-badge-visual{
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--verde-800);
  color: var(--blanco);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--verde-100);
}
.cert-badge-visual i{ font-size: 3.5rem; color: var(--verde-200); }
.cert-badge-visual span{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: center;
  line-height: 1.3;
}

/* =========================================================
   CLIENTES
========================================================= */
.section-clientes{ padding: 6rem 0 7rem; background: var(--verde-100); }
.cliente-item{
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  padding: 2rem 1rem;
  background: var(--blanco);
  border-radius: var(--radius-md);
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cliente-item:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cliente-item i{ font-size: 1.8rem; color: var(--verde-700); }
.cliente-item span{ font-weight: 700; font-size: 0.92rem; color: var(--verde-900); }

/* =========================================================
   GALERÍA
========================================================= */
.section-galeria{ padding: 7rem 0; background: var(--verde-950); overflow: hidden; }
.gallery-wrap{
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}
.gallery-viewport{
  overflow: hidden;
  border-radius: var(--radius-lg);
  flex: 1;
  background: var(--verde-900);
  box-shadow: var(--shadow-md);
}
.gallery-track{
  display: flex;
  transition: transform .55s var(--ease);
}
.gallery-slide{
  position: relative;
  min-width: 100%;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--verde-900);
  cursor: zoom-in;
}
.gallery-slide-bg{
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(0.55) saturate(1.05);
  transform: scale(1.2);
}
.gallery-slide img{
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 88%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,.4);
}
.gallery-arrow{
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(247,245,238,.08);
  border: 1px solid rgba(247,245,238,.2);
  color: var(--crema);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.gallery-arrow:hover{ background: var(--verde-600); border-color: var(--verde-600); transform: scale(1.08); }
.gallery-counter{
  position: absolute;
  top: -3.2rem; right: 0;
  font-size: 0.85rem;
  color: var(--verde-200);
  font-weight: 600;
  letter-spacing: .04em;
}
.gallery-dots{
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-top: 2rem;
  max-height: 60px;
  overflow: hidden;
}
.gallery-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(247,245,238,.25);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all .3s var(--ease);
}
.gallery-dot.active{ background: var(--verde-300); width: 22px; border-radius: 4px; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(16,31,23,.96);
  z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open{ display: flex; }
.lightbox-stage{
  max-width: 90vw; max-height: 82vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-stage img{
  max-width: 90vw; max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: zoom-in;
  transition: transform .3s var(--ease);
}
.lightbox-stage img.zoomed{ cursor: zoom-out; transform: scale(1.7); }
.lightbox-close{
  position: absolute; top: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(247,245,238,.1);
  border: 1px solid rgba(247,245,238,.2);
  color: var(--crema);
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(247,245,238,.1);
  border: 1px solid rgba(247,245,238,.2);
  color: var(--crema);
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox-prev{ left: 24px; }
.lightbox-next{ right: 24px; }
.lightbox-hint{
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 0.78rem; color: rgba(247,245,238,.5);
  letter-spacing: .03em;
}

/* =========================================================
   TESTIMONIOS
========================================================= */
.section-testimonios{ padding: 7rem 0; background: var(--crema); }
.testimonio-card{
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote-icon{ color: var(--verde-200); font-size: 1.6rem; margin-bottom: 1rem; }
.testimonio-card p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--verde-900);
  margin-bottom: 1.5rem;
}
.testimonio-autor{ display: flex; flex-direction: column; }
.autor-nombre{ font-weight: 700; font-size: 0.9rem; color: var(--verde-800); }
.autor-zona{ font-size: 0.78rem; color: var(--carbon-soft); }

/* =========================================================
   CONTACTO
========================================================= */
.section-contacto{ padding: 7rem 0; background: var(--verde-900); }
.contact-card{
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: rgba(247,245,238,.05);
  border: 1px solid rgba(247,245,238,.12);
  border-radius: var(--radius-md);
  transition: all .35s var(--ease);
}
.contact-card:hover{ transform: translateY(-6px); background: rgba(247,245,238,.1); border-color: var(--verde-300); }
.contact-card i{ font-size: 2rem; color: var(--verde-300); }
.contact-card h3{ font-family: var(--font-display); font-size: 1.05rem; color: var(--blanco); }
.contact-card span{ font-size: 0.9rem; color: var(--verde-200); }

.contact-form-wrap{
  background: var(--crema);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}
.contact-form label{
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--verde-800);
  margin-bottom: 6px;
  display: block;
}
.form-control-custom{
  width: 100%;
  background: var(--blanco);
  border: 1.5px solid var(--verde-200);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--carbon);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-control-custom:focus{
  outline: none;
  border-color: var(--verde-600);
  box-shadow: 0 0 0 4px rgba(63,107,82,.12);
}
.btn-submit-form{
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--verde-800);
  color: var(--blanco);
  border: none;
  padding: 16px 34px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1.75rem;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.btn-submit-form:hover{ background: var(--verde-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-submit-form i{ font-size: 1.15rem; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer{ background: var(--verde-950); padding: 5.5rem 0 0; }
.footer-top{ padding-bottom: 3.5rem; border-bottom: 1px solid rgba(247,245,238,.1); }
.footer-brand{
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blanco);
  margin-bottom: 1rem;
}
.footer-brand img{ width: 48px; height: 48px; object-fit: contain; }
.footer-brand em{ font-weight: 500; font-size: 0.75em; display: block; opacity: .8; }
.footer-tagline{ color: var(--verde-300); font-size: 0.9rem; line-height: 1.6; max-width: 280px; margin-bottom: 1.5rem; }
.footer-social{ display: flex; gap: 12px; }
.footer-social a{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(247,245,238,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--crema);
  transition: all .3s var(--ease);
}
.footer-social a:hover{ background: var(--verde-600); transform: translateY(-3px); }

.site-footer h4{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--verde-200);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.site-footer ul li{ margin-bottom: 0.75rem; }
.site-footer ul li a{
  color: rgba(247,245,238,.7);
  font-size: 0.92rem;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.site-footer ul li a:hover{ color: var(--verde-300); padding-left: 4px; }
.footer-zona{
  color: rgba(247,245,238,.7);
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.6rem;
}
.footer-zona i{ color: var(--verde-300); width: 16px; }
.footer-cta{
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--verde-200);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  border-bottom: 1px solid var(--verde-600);
  padding-bottom: 3px;
  transition: color .3s var(--ease);
}
.footer-cta:hover{ color: var(--blanco); }

.footer-bottom{
  padding: 1.75rem 0;
  margin-top: 3rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(247,245,238,.5);
}
.footer-bottom a{ color: var(--verde-300); font-weight: 600; }
.footer-bottom a:hover{ color: var(--blanco); }

/* =========================================================
   WHATSAPP FLOAT
========================================================= */
.whatsapp-float{
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--verde-700);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(16,31,23,.35);
  z-index: 900;
  animation: floatPulse 2.8s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.08); }
@keyframes floatPulse{
  0%, 100%{ box-shadow: 0 8px 24px rgba(16,31,23,.35), 0 0 0 0 rgba(63,107,82,.5); }
  50%{ box-shadow: 0 8px 24px rgba(16,31,23,.35), 0 0 0 12px rgba(63,107,82,0); }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991.98px){
  .navbar-toggler-custom{ display: flex; }
  .nav-menu{
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--verde-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav-menu.open{ transform: translateX(0); }
  .nav-links{ flex-direction: column; gap: 1.5rem; }
  .nav-link-item{ color: var(--blanco); font-size: 1.1rem; }
  .btn-nav-cta{ width: 100%; justify-content: center; }

  .timeline{ grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .timeline-track{ display: none; }

  .about-badge{ left: 16px; bottom: -20px; padding: 18px 20px; }
}

@media (max-width: 767.98px){
  .hero-content{ padding-top: 70px; }
  .section-nosotros, .section-servicios, .section-metodo,
  .section-diferenciales, .section-certificacion, .section-clientes,
  .section-galeria, .section-testimonios, .section-contacto{ padding: 4.5rem 0; }
  .about-visual{ margin-top: 2rem; }
  .about-badge{ position: static; margin-top: -40px; margin-left: 16px; width: fit-content; }
  .timeline{ grid-template-columns: 1fr; gap: 2rem; }
  .cert-badge-visual{ margin-bottom: 2rem; }
  .gallery-arrow{ width: 42px; height: 42px; font-size: 0.95rem; }
  .gallery-counter{ top: -2.6rem; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}

@media (max-width: 424.98px){
  .whatsapp-float{ width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; right: 16px; }
  .gallery-wrap{ gap: 0.5rem; }
}