/* ============================================================
   DEEPOWUD — styles.css · v20260518
   Colores: #2A4254 (azul) · #156F3B (verde) · #ffffff
   Fuentes: Poppins (títulos) · Montserrat (párrafos)
   ============================================================ */

/* ----- Variables ----- */
:root {
  --blue:        #2A4254;
  --blue-dark:   #1e3040;
  --blue-mid:    #3a5568;
  --blue-light:  #eef2f5;
  --green:       #156F3B;
  --green-dark:  #0f5229;
  --green-light: #1a8f4c;
  --white:       #ffffff;
  --off-white:   #f7f9fb;
  --gray:        #6b7280;
  --gray-light:  #e5e7eb;
  --text:        #1f2937;
  --text-soft:   #4b5563;

  --font-title: 'Poppins', sans-serif;
  --font-body:  'Montserrat', sans-serif;

  --nav-h:      72px;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(42,66,84,.12);
  --shadow-lg:  0 12px 48px rgba(42,66,84,.18);
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(0,.55,.45,1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  /* Escala el rem base: 13px en 1280px → 16px en 1920px */
  font-size: clamp(13px, 0.833vw + 2.33px, 16px);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* Defensive: .reveal[data-split] must never be invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* ----- Containers ----- */
.container {
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,111,59,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: background .25s var(--ease), border-color .25s, transform .2s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ----- Section common ----- */
.section { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }

.section-kicker {
  display: inline-block;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-kicker.light { color: rgba(255,255,255,.75); }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--green); }
.section-title.light em { color: rgba(255,255,255,.85); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 60ch;
  margin-bottom: 3rem;
}
.section-sub.light { color: rgba(255,255,255,.82); }

/* ----- Reveal animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blur-reveal: fade + desenfoque para cabeceras */
.reveal.reveal-blur {
  filter: blur(10px);
  transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.reveal.reveal-blur.is-visible {
  filter: blur(0);
  transform: translateY(0);
}

/* Scale-reveal: escala + fade para tarjetas */
.reveal.reveal-scale {
  transform: scale(.88) translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.reveal-scale.is-visible {
  transform: scale(1) translateY(0);
}

/* Stagger para los 3 textos de cabecera de productos */
.productos .reveal-blur:nth-child(1) { transition-delay: 0s; }
.productos .reveal-blur:nth-child(2) { transition-delay: .15s; }
.productos .reveal-blur:nth-child(3) { transition-delay: .3s; }

/* ----- NAVBAR ----- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background .35s var(--ease), box-shadow .35s;
  background: transparent;
}
.navbar.scrolled {
  background: var(--blue);
  box-shadow: 0 2px 24px rgba(0,0,0,.18);
}

.nav-container {
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.nav-cta-wa,
.nav-cta-quote {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem 1rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.nav-cta-wa:hover,
.nav-cta-quote:hover { opacity: .88; transform: translateY(-1px); }

.nav-cta-wa {
  background: #25d366;
  color: #fff;
}
.nav-cta-quote {
  background: #C9952A;
  color: #fff;
}

.nav-link {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }


/* Dropdown */
.nav-item-dropdown { position: relative; }

.dropdown-trigger {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.dropdown-trigger:hover { color: var(--white); background: rgba(255,255,255,.1); }

.arrow-icon {
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}
.nav-item-dropdown.open .arrow-icon { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  pointer-events: none;
}
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.25rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  transition: background .2s, color .2s;
  text-align: left;
}
.dropdown-item:hover { background: var(--blue-light); color: var(--blue); }
.dropdown-item svg { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s, width .3s;
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- MODAL BROCHURE ----- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.96) translateY(12px);
  transition: transform .3s var(--ease-out);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.modal-actions { display: flex; align-items: center; gap: .75rem; }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.1rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-title);
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.btn-download:hover { background: var(--green-dark); }

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  padding: .35rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,.15); }

.modal-body { flex: 1; overflow: hidden; }

.pdf-viewer {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  border: none;
  display: block;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* banda oscura en el tope: garantiza que el logo siempre resalte */
    linear-gradient(to bottom, rgba(20,35,48,.82) 0%, rgba(20,35,48,.35) 18%, transparent 38%),
    /* degradado lateral que aclara la imagen y da tono de marca */
    linear-gradient(160deg, rgba(42,66,84,.65) 0%, rgba(42,66,84,.30) 55%, rgba(21,111,59,.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin-left: clamp(2rem, 18vw, 22rem);
  margin-right: auto;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  padding-top: calc(var(--nav-h) - 1.5rem);
}

.hero-kicker {
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.25rem;
  animation: fadeSlideUp .8s var(--ease-out) .2s both;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp .8s var(--ease-out) .35s both;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 52ch;
  text-align: justify;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  animation: fadeSlideUp .8s var(--ease-out) .5s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeSlideUp .8s var(--ease-out) .65s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  animation: fadeSlideUp .8s var(--ease-out) 1s both;
}
.scroll-line {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.6));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-label {
  font-family: var(--font-title);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.12); }
}

/* ----- Word cycle (hero rotating word) ----- */
.word-wrapper {
  display: inline-block;
  perspective: 600px;
  perspective-origin: 50% 50%;
  vertical-align: baseline;
  text-align: left;
  /* min-width se fija en JS con el ancho real de "Certificada" */
}

.word-cycle {
  display: inline-block;
  color: #f5c842;
  font-style: italic;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.word-cycle.anim-out {
  animation: wordOut .32s cubic-bezier(.4,0,.8,.6) forwards;
}

.word-cycle.anim-in {
  animation: wordIn .82s cubic-bezier(.15,0,.2,1) forwards;
}

/* Sale hacia arriba desvaneciéndose con leve giro */
@keyframes wordOut {
  0%   { transform: translateY(0%)    rotateX(0deg);   opacity: 1; }
  100% { transform: translateY(-130%) rotateX(-25deg);  opacity: 0; }
}

/* Entra desde abajo con impulso y frena suave al llegar */
@keyframes wordIn {
  0%   { transform: translateY(110%)  rotateX(25deg);  opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0%)    rotateX(0deg);   opacity: 1; }
}

/* ----- ACERCA DE ----- */
.acerca { background: var(--white); }

/* ── Grid foto + texto ── */
.acerca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: 4rem;
}

.acerca-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.acerca-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.acerca-title-lg {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem) !important;
  line-height: 1.2 !important;
}
.acerca-img:hover img { transform: scale(1.04); }

.acerca-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(30, 80, 40, 0.92);
  color: var(--white);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.badge-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.badge-txt {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  opacity: .9;
  line-height: 1.5;
}

.acerca-text .section-kicker { color: var(--green); }
.acerca-text .section-title  { color: var(--blue); }
.acerca-text p {
  font-size: .97rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.acerca-divider {
  width: 48px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* Misión / Visión fila completa */
.acerca-mv-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f5f7f5;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}

/* Misión / Visión (dentro de columna — legacy) */
.acerca-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.acerca-mv-card {
  background: #f5f7f5;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--green);
}
.acerca-mv-icon {
  color: var(--green);
  margin-bottom: .5rem;
}
.acerca-mv-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: .4rem !important;
}
.acerca-mv-desc {
  font-size: .82rem !important;
  color: var(--text-soft);
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* ── Stats row ── */
.acerca-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f5f7f5;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.acerca-stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.acerca-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.acerca-stat-num {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.acerca-stat-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-top: .15rem;
}
.acerca-stat-desc {
  font-size: .78rem;
  color: var(--text-soft);
  margin-top: .1rem;
}
.acerca-stat-sep {
  width: 1px;
  height: 60px;
  background: rgba(0,0,0,.1);
  margin: 0 2rem;
  flex-shrink: 0;
}

/* ── Pillars ── */
.acerca-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.acerca-pillar {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.acerca-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid rgba(45,112,60,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: .25rem;
}
.acerca-pillar-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
  margin: 0;
}
.acerca-pillar-desc {
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* ----- LEGAL ----- */
.legal {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
}
.legal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.legal-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.legal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(42,66,84,.93) 0%,
    rgba(21,111,59,.78) 100%
  );
}
.legal-content {
  position: relative;
  z-index: 2;
}
.legal-content .section-kicker { text-align: center; }
.legal-content .section-title { margin-bottom: 1rem; text-align: center; }
.legal-content .section-sub  { margin-bottom: 3rem; text-align: center; max-width: 100%; }

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.legal-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.legal-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.legal-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s, transform .3s var(--ease), box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.legal-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}

.legal-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.legal-card h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}
.legal-card p {
  font-size: .92rem;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  flex: 1;
}

.legal-sello {
  display: inline-block;
  margin-top: auto;
  align-self: center;
  text-align: center;
  padding-top: 1rem;
  padding: .3rem .85rem;
  background: rgba(201,149,42,.2);
  border: 1px solid rgba(201,149,42,.5);
  border-radius: 999px;
  color: #C9952A;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.legal-cierre {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.legal-cierre-texto {
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  flex: 1;
}
.legal-cierre-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  padding: .6rem 1.4rem;
  background: #C9952A;
  color: var(--white);
  font-family: var(--font-title);
  font-size: .82rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.legal-cierre-btn:hover {
  background: #b5831f;
  transform: translateY(-2px);
}

/* ----- ESPECIES ----- */
.especies { background: var(--off-white); }

.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.species-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
  text-align: center;
}
.species-card:hover {
  border-bottom-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.species-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.species-card h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .25rem;
}
.species-sci {
  font-size: .78rem;
  color: var(--gray);
  font-style: italic;
  margin-bottom: .65rem;
}
.species-card p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ----- PRODUCTOS ----- */
.productos {
  background: #fff;
}
.productos .section-title {
  max-width: 100%;
  width: 100%;
  color: var(--blue);
}
.productos .section-sub {
  max-width: 100%;
  width: 100%;
  color: var(--blue);
  text-align: left;
}
.productos .section-kicker { color: rgba(21,111,59,.75); }
.highlight-green {
  color: var(--green);
  position: relative;
}
.highlight-green::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  opacity: .35;
}
.productos .section-sub { color: rgba(30,50,70,.7); }

@keyframes shimmer-lr {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.highlight-gradient-anim {
  background: linear-gradient(90deg,
    #1B4D2E 0%,
    #1B4D2E 30%,
    #C9952A 50%,
    #1B4D2E 70%,
    #1B4D2E 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer-lr 7s linear infinite;
  position: relative;
}
.highlight-gradient-anim-light {
  background: linear-gradient(90deg,
    #ffffff 0%,
    #ffffff 30%,
    #C9952A 50%,
    #ffffff 70%,
    #ffffff 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer-lr 7s linear infinite;
}

/* Layout productos: hero texto + imagen */
.products-hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
  height: 530px;
}
.products-hero-left {
  min-width: 0;
}
.products-hero-left .section-kicker,
.products-hero-left .section-title,
.products-hero-left .section-sub {
  text-align: left;
  max-width: 100%;
}
.products-divider {
  width: 48px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 1.25rem 0 1.5rem;
}
.products-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 5rem;
  margin-top: 2rem;
  justify-content: flex-start;
}
.products-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.products-badge svg {
  color: var(--green);
}
.products-badge span {
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-soft);
  line-height: 1.3;
  max-width: 80px;
}

/* Layout grupos debajo */
.products-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: end;
}
.products-left-groups {
  min-width: 0;
}
.products-left-groups .products-grid {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
}
.products-left-groups .products-grid--left {
  justify-content: start;
}
/* ── Slot + imagen 3D productos ──────────────────────── */
.products-image-slot {
  perspective: 900px;
  position: relative;
  align-self: start;
  overflow: visible;
  padding: 1.25rem;
}
.products-image-3d {
  position: absolute;
  inset: 1.25rem;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  transform: rotateY(-8deg) rotateX(4deg) scale(1);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.products-image-slot:hover .products-image-3d {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
}
.products-image-3d img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 100%;
  display: block;
}

.products-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(21,111,59,.45);
  font-size: .8rem;
  font-family: var(--font-title);
  letter-spacing: .05em;
  text-transform: uppercase;
  pointer-events: none;
}

.product-group {
  margin-bottom: 3.5rem;
}
.product-group:last-child { margin-bottom: 0; }

.product-group-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid rgba(0,0,0,.1);
}
.product-group-header svg { color: var(--gold, #C9952A); flex-shrink: 0; }
.product-group-header h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-subgroup {
  margin-top: 2rem;
}
.product-subgroup-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  padding: .5rem .9rem;
  background: rgba(21,111,59,.08);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
}
.product-subgroup-header svg { color: var(--green); flex-shrink: 0; }
.product-subgroup-header h4 {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0;
}
/* ── New product card v2 (pcard) ── */
.pcard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  display: flex;
  flex-direction: column;
}

.pcard-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.pcard:hover .pcard-img img {
  transform: scale(1.04);
}

.pcard-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
}

.pcard-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -38px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(45,112,60,.30);
}

.pcard-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.pcard-desc {
  font-size: .8rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.pcard-features {
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.pcard-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  color: var(--text-soft);
}

.pcard-especies-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .75rem;
  padding: .45rem 1rem;
  border: 1.5px solid #C9952A;
  border-radius: 999px;
  color: #C9952A;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: background .2s, color .2s;
  align-self: flex-start;
  cursor: pointer;
}
.pcard-especies-btn:hover {
  background: #C9952A;
  color: #fff;
}

/* ── Modal Especies ──────────────────────────────────── */
.especies-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,24,14,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.especies-backdrop.open { opacity: 1; visibility: visible; }

.especies-overlay {
  position: fixed;
  inset: 0;
  z-index: 1201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  perspective: 1200px;
  transition: opacity .35s ease, visibility .35s;
}
.especies-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.especies-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.28), 0 8px 24px rgba(0,0,0,.12);
  padding: 2.25rem 2.5rem 2.5rem;
  width: 100%;
  max-width: 1100px;
  position: relative;
  transform: scale(.82) translateY(32px) rotateX(8deg);
  transform-origin: 50% 30%;
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.especies-overlay.open .especies-panel {
  transform: scale(1) translateY(0) rotateX(0deg);
}

.especies-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f2f4f2;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.especies-close:hover { background: #1e4d2b; color: #fff; }

.especies-header { margin-bottom: 1.75rem; }
.especies-kicker {
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #C9952A;
  margin-bottom: .35rem;
}
.especies-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a3320;
  margin: 0 0 .4rem;
}
.especies-sub {
  font-size: .88rem;
  color: #5a6b5c;
  margin: 0;
}

.especies-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.especie-card {
  background: #f8faf8;
  border: 1.5px solid #e2ebe3;
  border-radius: 14px;
  padding: 1.1rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: box-shadow .25s, border-color .25s, transform .25s cubic-bezier(.22,.61,.36,1);
}
.especie-card:hover {
  border-color: #1e4d2b;
  box-shadow: 0 8px 28px rgba(30,77,43,.14);
  transform: translateY(-4px) scale(1.02);
}

.especie-card-top {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.especie-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(0,0,0,.08);
}
.especie-name {
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 700;
  color: #1a3320;
  margin: 0 0 .1rem;
  line-height: 1.2;
}
.especie-sci {
  font-size: .72rem;
  color: #7a9a7e;
  font-style: italic;
  margin: 0;
}

.especie-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem .6rem;
  margin: 0;
  font-size: .77rem;
  line-height: 1.4;
}
.especie-specs dt {
  font-weight: 600;
  color: #3d5c42;
  white-space: nowrap;
}
.especie-specs dd {
  color: #4a5e4d;
  margin: 0;
}

@media (max-width: 900px) {
  .especies-cards { grid-template-columns: repeat(2, 1fr); }
  .especies-panel { padding: 1.75rem 1.5rem 2rem; }
}
@media (max-width: 560px) {
  .especies-cards { grid-template-columns: 1fr; }
  .especies-panel { padding: 1.5rem 1.1rem 1.75rem; }
}

.pcard-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
/* ── end pcard ── */

.products-grid-centered {
  grid-template-columns: repeat(1, minmax(0, 340px));
}

.product-card {
  background: #f5f7fa;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background .3s, transform .3s var(--ease), box-shadow .3s;
}
.product-card:hover {
  background: #eaf0e8;
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.15);
}

/* Contenido oculto por defecto — solo visible en hover */
.product-info p,
.product-diferenciador,
.product-ctas {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  transition: max-height .4s ease, opacity .3s ease, margin .3s ease;
}
.product-card:hover .product-info p,
.product-card:hover .product-diferenciador,
.product-card:hover .product-ctas {
  max-height: 400px;
  opacity: 1;
  margin-top: .5rem;
  margin-bottom: 0;
}
.product-card:hover .product-diferenciador { margin-top: .5rem; }
.product-card:hover .product-ctas { margin-top: .85rem; }

.product-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.product-img {
  overflow: hidden;
  height: 130px;
}
.product-card-wide .product-img { height: 100%; }

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.06); }

.product-info {
  padding: 1rem;
}

.product-icon {
  width: 36px;
  height: 36px;
  background: rgba(21,111,59,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
}

.product-info h3 {
  font-family: var(--font-title);
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .45rem;
}
.product-info p {
  font-size: .8rem;
  color: rgba(30,50,70,.72);
  line-height: 1.55;
}

.product-diferenciador {
  font-size: .82rem !important;
  color: rgba(201,149,42,.9) !important;
  border-left: 2px solid #C9952A;
  padding-left: .6rem;
  margin-top: .5rem !important;
  font-style: italic;
}

.product-cta {
  display: inline-block;
  margin-top: .85rem;
  padding: .45rem 1rem;
  background: #C9952A;
  color: var(--white);
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s;
}
.product-cta:hover { background: #b3811f; }

.product-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}
.product-ctas .product-cta { margin-top: 0; }

.product-cta-outline {
  background: transparent !important;
  border: 1.5px solid #C9952A;
  color: #C9952A !important;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}
.product-cta-outline:hover { background: rgba(201,149,42,.12) !important; }
.product-cta-outline[aria-expanded="true"] .especies-arrow { transform: rotate(180deg); }
.especies-arrow { transition: transform .25s; flex-shrink: 0; }

/* Acordeón de especies */
.especies-acordeon {
  margin-top: 1rem;
  display: grid;
  gap: .6rem;
  overflow: hidden;
}
.especies-acordeon[hidden] { display: none; }

.especie-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .75rem 1rem;
}
.especie-header {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .5rem;
}
.especie-nombre {
  font-family: var(--font-title);
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
}
.especie-sci {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  font-style: italic;
}
.especie-datos {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem .75rem;
}
.especie-datos li {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}
.especie-datos li span {
  color: #C9952A;
  font-weight: 600;
  margin-right: .25rem;
}

/* ----- SERVICIOS ----- */
.servicios { background: var(--white); }

/* Hero layout top */
.srv-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 3rem;
}
.srv-hero-text { display: flex; flex-direction: column; gap: 1rem; }
.srv-title { font-size: 36px !important; }
.srv-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.srv-hero-img img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* Feature badges */
.srv-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-top: .5rem;
}
.srv-badge { display: flex; align-items: flex-start; gap: .75rem; }
.srv-badge-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; border: 1.5px solid rgba(45,112,60,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.srv-badge-label { font-size: .82rem; font-weight: 700; color: var(--text); margin: 0 0 .1rem; }
.srv-badge-desc { font-size: .76rem; color: var(--text-soft); margin: 0; }

/* Service cards grid */
.scard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.scard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.scard:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.14); }

.scard-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.scard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.scard:hover .scard-img img { transform: scale(1.04); }

.scard-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
  position: relative;
}

.scard-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-top: -38px;
  position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(45,112,60,.30);
  flex-shrink: 0;
}
.scard--no-img .scard-icon,
.scard-icon--inline {
  margin-top: 0;
}
.scard-title {
  font-size: .95rem; font-weight: 700; color: var(--text); margin: 0;
}
.scard-desc {
  font-size: .8rem; color: var(--text-soft); line-height: 1.6; margin: 0;
}
.scard-btn {
  display: block;
  margin-top: auto;
  padding: .6rem 1.2rem;
  background: var(--green);
  color: #fff;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background .2s, transform .2s;
}
.scard-btn:hover { background: var(--green-dark); transform: translateY(-1px); }

/* CTA banner */
.srv-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #1e4d2b;
  border-radius: 16px;
  padding: 1.75rem 2.5rem;
}
.srv-cta-banner-left { display: flex; align-items: center; gap: 1.25rem; }
.srv-cta-banner-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: #7de8a0;
}
.srv-cta-banner-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 .2rem; }
.srv-cta-banner-sub { font-size: .82rem; color: rgba(255,255,255,.72); margin: 0; }
.srv-cta-banner-btn {
  flex-shrink: 0;
  padding: .65rem 1.75rem;
  background: #fff;
  color: #1e4d2b;
  font-family: var(--font-title);
  font-size: .85rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.srv-cta-banner-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ── Nueva grilla de servicios ── */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.srv-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.srv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.srv-icon--corte     { background: rgba(21,128,61,.1);  color: #15803d; }
.srv-icon--horno     { background: rgba(194,65,12,.1);  color: #c2410c; }
.srv-icon--aire      { background: rgba(2,132,199,.1);  color: #0284c7; }
.srv-icon--embalaje  { background: rgba(109,40,217,.1); color: #6d28d9; }
.srv-icon--recircula { background: rgba(4,120,87,.1);   color: #047857; }
.srv-icon--reparacion{ background: rgba(161,98,7,.1);   color: #a16207; }

.srv-body { display: flex; flex-direction: column; flex: 1; }

.srv-card h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .65rem;
}
.srv-card p {
  font-size: .88rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 0;
}
.srv-dif {
  font-size: .8rem !important;
  color: #92400e !important;
  border-left: 2px solid #C9952A;
  padding-left: .55rem;
  font-style: italic;
  margin-top: .75rem !important;
}

.srv-ctas {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1rem;
  flex-wrap: wrap;
}
.srv-btn {
  display: inline-block;
  padding: .42rem 1rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-title);
  font-size: .76rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s;
  flex: 1;
  text-align: center;
}
.srv-btn:hover { background: var(--green-dark); }

.srv-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.srv-btn-wa:hover { background: #1da851; transform: scale(1.1); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--green);
  transition: background .25s, transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card-main {
  grid-column: span 3;
  background: var(--blue);
  border-left: none;
  border-bottom: 3px solid var(--green);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0 2rem;
  align-items: start;
  color: var(--white);
  transition: background .25s, transform .3s var(--ease), box-shadow .3s;
}
.service-card-main:hover {
  background: var(--blue-dark);
}

.service-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  grid-column: 1;
}

.service-icon-large {
  grid-column: 2;
  grid-row: 1 / 4;
  width: 88px;
  height: 88px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  flex-shrink: 0;
  align-self: center;
}

.service-card-main h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .85rem;
  grid-column: 1;
}
.service-card-main p {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  grid-column: 1;
}

.ica-block {
  margin-top: 2rem;
  grid-column: 1 / 3;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.ica-label {
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: .85rem;
}
.ica-logo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.08);
  border: 1.5px dashed rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  color: rgba(255,255,255,.55);
}
.ica-logo-placeholder span {
  font-family: var(--font-title);
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}
.ica-logo-placeholder small {
  font-size: .72rem;
  font-weight: 400;
  opacity: .75;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(21,111,59,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .7rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ----- CLIENTES ----- */
.clientes {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  background: #f8faf8;
}
.clientes-bg-right {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.clientes-bg-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.07;
}
.clientes .container { position: relative; z-index: 1; }

.clientes-header { max-width: 680px; margin-bottom: 2.5rem; }
.clientes-divider { width: 48px; height: 3px; background: var(--green); border-radius: 2px; margin: 1rem 0 1.25rem; }
.clientes-sub { font-size: 1rem; color: var(--text-soft); line-height: 1.7; margin: 0; }

.clientes-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.cliente-card-v2 {
  background: #1e4d2b;
  border-radius: 16px;
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cliente-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(30,77,43,.25);
}

.cliente-v2-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7de8a0;
  flex-shrink: 0;
}
.cliente-v2-title {
  font-family: var(--font-title);
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.cliente-v2-divider {
  width: 32px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.cliente-v2-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  margin: 0;
}

.cliente-card-v2-cta {
  background: transparent;
  border: 1.5px dashed rgba(30,77,43,.4);
}
.cliente-card-v2-cta .cliente-v2-icon { background: rgba(30,77,43,.08); color: var(--green); }
.cliente-card-v2-cta .cliente-v2-title { color: var(--text); }
.cliente-card-v2-cta .cliente-v2-desc { color: var(--text-soft); }

.cliente-v2-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.2rem;
  background: #25d366;
  color: #fff;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, transform .2s;
  margin-top: .25rem;
}
.cliente-v2-cta-btn:hover { background: #1da851; transform: translateY(-2px); }

/* Bottom pillars */
.clientes-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 2rem;
}
.clientes-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.clientes-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid rgba(45,112,60,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.clientes-pillar-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .25rem;
}
.clientes-pillar-desc {
  font-size: .78rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* ----- MODAL BROCHURE ----- */
.brochure-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 1100;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.brochure-backdrop.open { display: block; }

.brochure-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.brochure-modal.open { display: flex; }

.brochure-modal-inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: 90vh;
  background: #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.brochure-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.brochure-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.6);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.brochure-close:hover { background: rgba(0,0,0,.9); }

/* ----- DATOS ----- */
.datos { background: var(--off-white); }
.datos .section-title { margin-bottom: 2.5rem; }

.datos-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.datos-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
}
.datos-box h3 {
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .75rem;
}
.datos-box p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.datos-box a { color: var(--green); text-decoration: underline; }
.datos-box a:hover { color: var(--green-dark); }

/* ----- FOOTER ----- */
.footer {
  background: var(--blue-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.footer-logo { margin-bottom: 1.25rem; }

.footer-desc {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform .2s var(--ease), background .2s;
}
.social-wa  { background: #25d366; color: var(--white); }
.social-fb  { background: #1877f2; color: var(--white); }
.social-ig  { background: linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888); color: var(--white); }
.social-link:hover { transform: scale(1.12); }

.footer-contact-info a {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-contact-info a:hover { color: var(--white); }

/* Contact form */
.footer-form-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(255,255,255,.12);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: .15rem;
  accent-color: var(--green);
  flex-shrink: 0;
}
.form-check label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.form-check a { color: #5de098; text-decoration: underline; }

.footer-form-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-top: -.75rem;
  margin-bottom: 1.25rem;
}

.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .3rem;
}
.chip {
  padding: .38rem .95rem;
  border-radius: 2rem;
  border: 1.5px solid rgba(255,255,255,.28);
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
  line-height: 1.4;
}
.chip:hover { border-color: var(--green); color: #fff; }
.chip.selected { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }

.chips-hint {
  display: block;
  font-size: .74rem;
  color: rgba(255,255,255,.4);
  margin-top: .35rem;
}

.field-error {
  font-size: .78rem;
  color: #ff8888;
  margin-top: .25rem;
}

.policy-link {
  background: none;
  border: none;
  padding: 0;
  color: #5de098;
  text-decoration: underline;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}
.policy-link:hover { color: #fff; }

.btn-submit { width: 100%; justify-content: center; margin-top: .5rem; padding: 1rem; }
.btn-submit:disabled { opacity: .45; cursor: not-allowed; }

.form-success {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 500;
  color: #5de098;
  margin-top: .5rem;
}
.form-error {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 500;
  color: #fc8181;
  margin-top: .5rem;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p,
.footer-bottom a {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a:hover { color: rgba(255,255,255,.75); }
.footer-link-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font-size: .82rem; color: rgba(255,255,255,.45);
  font-family: inherit;
}
.footer-link-btn:hover { color: rgba(255,255,255,.75); }

/* ----- WhatsApp float ----- */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

/* ----- Cotización float (above WhatsApp) ----- */
.quote-float {
  position: fixed;
  bottom: calc(1.75rem + 56px + .85rem);
  right: 1.95rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: #C9952A;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(201,149,42,.4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.quote-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(201,149,42,.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 1fr; }
  .products-image-slot { position: static; aspect-ratio: 16 / 9; order: -1; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-left-groups .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-wide { grid-column: span 2; grid-template-columns: 220px 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-main { grid-column: span 2; }
  .services-grid-new { grid-template-columns: repeat(2, 1fr); }
  .scard-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-hero-layout { grid-template-columns: 1fr; }
  .srv-cta-banner { flex-direction: column; align-items: flex-start; }
  .acerca-grid { grid-template-columns: 1fr; }
  .acerca-img img { height: 340px; }
}

@media (max-width: 900px) {
  .products-hero-layout {
    grid-template-columns: 1fr;
  }
  .products-image-slot {
    width: 100% !important;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  .nav-toggle { display: flex; }
  .nav-ctas { display: none; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
    box-shadow: 0 12px 32px rgba(0,0,0,.2);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link, .dropdown-trigger {
    padding: .85rem 1.5rem;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
  }
  .nav-link:hover, .dropdown-trigger:hover { background: rgba(255,255,255,.08); }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,.2);
    border-radius: 0;
    transform: none !important;
    padding: .25rem 0;
  }
  .dropdown-item { padding-left: 3rem; color: rgba(255,255,255,.8); }
  .dropdown-item:hover { background: rgba(255,255,255,.08); color: var(--white); }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .product-card-wide .product-img { height: 200px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-new { grid-template-columns: 1fr; }
  .scard-grid { grid-template-columns: 1fr; }
  .srv-badges { grid-template-columns: 1fr; }
  .service-card-main {
    grid-column: span 1;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .service-icon-large { grid-column: 1; grid-row: auto; margin-bottom: 1rem; }

  /* Species */
  .species-grid { grid-template-columns: repeat(2, 1fr); }

  /* Clientes */
  .clientes-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .clientes-pillars { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Datos */
  .datos-content { grid-template-columns: 1fr; }

  /* Legal */
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Acerca stats */
  .acerca-stats { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .species-grid { grid-template-columns: 1fr; }
  .clientes-grid-v2 { grid-template-columns: 1fr; }
  .clientes-pillars { grid-template-columns: 1fr; }
  .legal-grid,
  .legal-grid-3 { grid-template-columns: 1fr; }
  .legal-cierre { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
