/* ============================================================
   META COOPERATIVA — Sistema de diseño premium
   Concepto: "Raíces que crecen juntas" — el isotipo (pinos /
   montaña dentro de un círculo) se traduce en un lenguaje
   gráfico de picos triangulares, tipografía editorial, motion
   de precisión y fotografía en color natural.
   ============================================================ */

/* ---------- Tipografía local (sin CDN) ---------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/poppins-800.woff2') format('woff2');
}

/* ---------- Variables ---------- */
:root {
  --verde-950: #06653d;
  --verde-800: #075c38;
  --verde-600: #049435;
  --verde-200: #cfe6d5;
  --verde-100: #e7f2e9;
  --verde-50:  #f4f9f5;
  --cream:     #faf8f3;
  --ink:       #16211b;
  --ink-soft:  #46564d;
  --white:     #ffffff;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;

  --fs-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --fs-2xl: clamp(2.1rem, 1.7rem + 2vw, 3.2rem);
  --fs-3xl: clamp(2.8rem, 2rem + 4vw, 5.2rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --sp-8: 6rem;
  --sp-9: 8rem;

  --radius: 6px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@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; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
input, textarea, button { font-family: inherit; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  color: var(--verde-950);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }

p { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--sp-4);
  position: relative;
}

.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--verde-950);
  color: var(--white);
  padding: var(--sp-2) var(--sp-4);
  z-index: 999;
}
.skip-link:focus { left: var(--sp-3); top: var(--sp-3); }

:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 3px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--sp-2);
}
.eyebrow-dark { color: var(--verde-600); }
.eyebrow-light { color: var(--verde-200); }
.eyebrow.center { display: block; text-align: center; }

.section-lead {
  max-width: 60ch;
  font-size: var(--fs-lg);
  margin-top: var(--sp-3);
}
.section-lead.center { margin-inline: auto; }

/* ============================================================
   TEXTURA DE GRANO — capa fija sutil sobre todo el sitio
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   CURSOR PERSONALIZADO (solo dispositivos con puntero fino)
   ============================================================ */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--verde-600);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease), background-color 0.35s var(--ease);
  will-change: transform;
}
html.has-cursor .cursor-dot { opacity: 1; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
.cursor-dot.is-hover { width: 46px; height: 46px; background: rgba(4,148,53,0.18); border: 1.5px solid var(--verde-600); }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--verde-950);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease-soft), visibility 0.7s var(--ease-soft);
  animation: loader-autohide 0.01ms 2.6s forwards;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-autohide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.loader-mark { width: 64px; height: 54px; color: var(--cream); }
.loader-path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: loader-draw 1.1s var(--ease-soft) forwards 0.15s;
}
@keyframes loader-draw { to { stroke-dashoffset: 0; } }
.loader-word {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.3em;
  font-size: var(--fs-sm);
  opacity: 0;
  animation: loader-fade 0.8s var(--ease) forwards 0.9s;
}
@keyframes loader-fade { to { opacity: 1; } }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow .25s var(--ease);
  border: 2px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 94% 100%, 0 100%);
  position: relative;
  will-change: transform;
}
.btn-primary {
  background: var(--verde-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--verde-950); box-shadow: 0 16px 30px -12px rgba(6,101,61,0.55); }
.btn-ghost {
  border-color: currentColor;
  color: var(--verde-950);
}
.btn-ghost:hover { background: var(--verde-950); color: var(--white); }
.btn-lg { padding: 1.05em 2em; font-size: var(--fs-base); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 248, 243, 0.97);
  box-shadow: 0 8px 30px -12px rgba(6, 101, 61, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: var(--sp-2); }
.brand-logo { border-radius: 50%; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--verde-950);
}
.brand-name em { font-style: normal; font-weight: 500; color: var(--verde-600); }

.main-nav ul { display: flex; gap: var(--sp-5); }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--verde-600);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--verde-950); }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--verde-950);
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--verde-100);
  padding: var(--sp-4);
  box-shadow: 0 20px 30px -20px rgba(6,101,61,0.3);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--verde-950);
}

/* ============================================================
   NAV DE PROGRESO LATERAL
   ============================================================ */
.progress-nav {
  position: fixed;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
}
.progress-nav ul { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.progress-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.progress-nav span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--verde-200);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
  display: block;
}
.progress-nav em {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--verde-950);
  background: var(--white);
  padding: 3px 9px;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 6px 16px -8px rgba(6,101,61,0.4);
}
.progress-nav a:hover em { opacity: 1; transform: translateX(0); }
.progress-nav a.is-active span { background: var(--verde-600); transform: scale(1.5); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--verde-950);
  color: var(--verde-100);
  overflow: hidden;
  padding-block: var(--sp-3);
  border-block: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: var(--sp-5);
  align-items: center;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-lg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-sep { color: var(--verde-600); font-size: 0.9rem; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   REVEAL / SPLIT TEXT
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.word-inner {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  transition: transform 0.9s var(--ease-soft);
}
.is-split-visible .word-inner { transform: translateY(0) rotate(0deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.06);
  transition: transform 8s var(--ease);
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6,20,14,0.82) 0%, rgba(6,20,14,0.55) 42%, rgba(6,20,14,0.15) 68%, rgba(6,20,14,0.35) 100%);
}
.hero-media-overlay::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,20,14,0.6), transparent 55%);
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 40%), rgba(4,148,53,0.35), transparent 65%);
  mix-blend-mode: screen;
  transition: opacity 0.4s var(--ease);
  opacity: 0;
}
html.has-cursor .hero-spotlight { opacity: 1; }

.hero-peaks {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 90px;
  fill: var(--cream);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding-block: var(--sp-9) var(--sp-7); }
.hero-lead {
  max-width: 56ch;
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.92);
  margin-top: var(--sp-4);
}
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .eyebrow { color: var(--verde-200); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero .btn-ghost { color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--verde-950); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.scroll-cue-track {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-cue-dot {
  width: 4px; height: 8px;
  border-radius: 999px;
  background: var(--white);
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================================
   WATERMARK TIPOGRÁFICO
   ============================================================ */
.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 18rem);
  color: var(--verde-950);
  opacity: 0.035;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.02em;
}
.watermark-right { left: auto; right: -4%; transform: translate(0, -50%); }

/* ============================================================
   SOMOS
   ============================================================ */
.somos { padding-block: var(--sp-9); background: var(--cream); position: relative; overflow: hidden; }
.somos-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-8);
  align-items: center;
}
.somos-copy p { margin-top: var(--sp-3); max-width: 62ch; }
.pull-quote {
  margin-block: var(--sp-5);
  padding-left: var(--sp-4);
  border-left: 3px solid var(--verde-600);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-xl);
  color: var(--verde-950);
  line-height: 1.3;
  max-width: 22ch;
}
.somos-mark { display: flex; justify-content: center; }
.somos-mark-frame { position: relative; max-width: 360px; width: 100%; }
.somos-mark-frame::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 100%; height: 100%;
  border: 2px solid var(--verde-600);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.somos-mark-frame img {
  filter: drop-shadow(0 25px 40px rgba(6,101,61,0.18));
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios { padding-block: var(--sp-9); background: var(--verde-50); }
.service-list {
  max-width: 880px;
  margin: var(--sp-8) auto 0;
  position: relative;
}
.service-list::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--verde-200);
}
.rail-fill {
  position: absolute;
  left: 38px;
  top: 10px;
  width: 2px;
  height: 0%;
  background: var(--verde-600);
  transition: height 0.15s linear;
  box-shadow: 0 0 12px rgba(4,148,53,0.6);
}
.service-item {
  display: grid;
  grid-template-columns: 76px 76px 1fr;
  gap: var(--sp-4);
  align-items: start;
  padding-block: var(--sp-5);
  position: relative;
}
.service-item + .service-item { border-top: 1px solid var(--verde-100); }
.service-index {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--verde-200);
}
.service-icon {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2);
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
  box-shadow: 0 10px 24px -14px rgba(6,101,61,0.35);
  transition: transform 0.35s var(--ease);
}
.service-item:hover .service-icon { transform: translateY(-6px) rotate(-4deg) scale(1.06); }
.service-item h3 { margin-bottom: var(--sp-2); }

/* ============================================================
   SOLIDARIDAD
   ============================================================ */
.solidaridad {
  position: relative;
  background: var(--verde-950);
  color: var(--white);
  padding-block: var(--sp-9);
  overflow: hidden;
}
.solidaridad-peaks-top {
  position: absolute;
  top: -1px; left: 0; right: 0;
  width: 100%; height: 70px;
  fill: var(--verde-50);
}
.solidaridad-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.solidaridad-shapes svg {
  position: absolute;
  width: 260px; height: 260px;
  fill: rgba(255,255,255,0.04);
}
.solidaridad-shapes svg:nth-child(1) { top: -40px; left: -60px; animation: drift-a 18s ease-in-out infinite; }
.solidaridad-shapes svg:nth-child(2) { bottom: -60px; right: -40px; animation: drift-b 22s ease-in-out infinite; }
@keyframes drift-a { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(24px,18px) rotate(8deg); } }
@keyframes drift-b { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-20px,-16px) rotate(-6deg); } }
.solidaridad-content { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; text-align: center; }
.solidaridad h2 { color: var(--white); margin-top: var(--sp-2); }
.solidaridad p { color: rgba(255,255,255,0.85); margin-top: var(--sp-4); font-size: var(--fs-lg); }

/* ============================================================
   ASOCIATE
   ============================================================ */
.asociate { padding-block: var(--sp-9); background: var(--cream); }
.asociate-head { max-width: 640px; margin-bottom: var(--sp-7); }
.asociate-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--sp-8);
  align-items: center;
}
.stat-plaques { display: flex; flex-direction: column; }
.stat-plaque {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  column-gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--verde-200);
  transition: padding-left 0.35s var(--ease);
}
.stat-plaque:hover { padding-left: var(--sp-2); }
.stat-index {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--verde-600);
}
.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-2xl);
  color: var(--verde-950);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.stat-plaques .btn { margin-top: var(--sp-6); align-self: flex-start; }

.asociate-media { position: relative; aspect-ratio: 4 / 5; }
.asociate-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 25% center;
  border-radius: var(--radius-lg);
  clip-path: polygon(0 6%, 94% 0, 100% 94%, 6% 100%);
  position: relative;
  z-index: 1;
}
.asociate-media-frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--verde-600);
  border-radius: var(--radius-lg);
  z-index: 0;
}

/* ============================================================
   REQUISITOS
   ============================================================ */
.requisitos { padding-block: var(--sp-9); background: var(--verde-50); position: relative; overflow: hidden; }
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
  position: relative;
}
.steps-list::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--verde-200) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step-item { position: relative; text-align: center; z-index: 1; }
.step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--verde-600);
  transition: transform 0.35s var(--ease), background-color .35s var(--ease);
}
.step-item:hover .step-circle { transform: scale(1.08); background: var(--verde-600); }
.step-item:hover .step-number { color: var(--white); }
.step-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  color: var(--verde-600);
  transition: color 0.35s var(--ease);
}
.step-item img { margin-inline: auto; margin-bottom: var(--sp-3); }
.step-item h3 { font-size: var(--fs-base); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); position: relative; overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: var(--sp-6);
  padding-block: var(--sp-8);
  position: relative;
  z-index: 1;
}
.footer-brand img { border-radius: 50%; margin-bottom: var(--sp-3); }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 32ch; }
.site-footer h4 {
  color: var(--white);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--sp-4);
}
.footer-nav ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-nav a, .footer-contact a { transition: color 0.2s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--verde-200); }
.footer-contact address p { margin-bottom: var(--sp-2); color: rgba(255,255,255,0.75); }
.footer-wordmark {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: 0.8;
  color: rgba(255,255,255,0.045);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  margin-top: -1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--sp-4);
  font-size: var(--fs-sm);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.back-to-top {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.back-to-top:hover { background: var(--verde-600); border-color: var(--verde-600); transform: translateY(-4px); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 90;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: var(--verde-600);
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 14px 30px -10px rgba(6,101,61,0.55);
  transition: transform 0.3s var(--ease), background-color .3s var(--ease);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { background: var(--verde-950); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
  .container { padding-inline: var(--sp-5); }
  .somos-grid, .asociate-grid { gap: var(--sp-6); }
  .progress-nav { display: none; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .somos-grid { grid-template-columns: 1fr; }
  .somos-mark { order: -1; }
  .somos-mark-frame { max-width: 220px; }

  .asociate-grid { grid-template-columns: 1fr; }
  .asociate-media { order: -1; aspect-ratio: 16/9; }

  .steps-list { grid-template-columns: 1fr 1fr; }
  .steps-list::before { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: auto; }
  .cursor-dot { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .hero-content { padding-block: var(--sp-8) var(--sp-6); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .service-item { grid-template-columns: 56px 1fr; }
  .service-index { display: none; }
  .service-list::before, .rail-fill { left: 26px; }
  .steps-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .pull-quote { font-size: var(--fs-lg); }
  .marquee-track span { font-size: var(--fs-base); }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .solidaridad-shapes svg { animation: none; }
  .scroll-cue-dot { animation: none; }
}
