/* ============================================================
   WELLWORK · styles.css · v20260625
   Archetype: Glassmorphism Modern — adapted to brand palette
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --verde-oscuro:   #1E4D3E;
  --verde-oscuro-2: #173C30;
  --verde-oscuro-3: #0F2921;
  --verde-acento:   #6EC9A4;
  --verde-acento-2: #4FAF88;
  --verde-claro:    #F0F6F3;
  --verde-medio:    #3A8C6A;
  --texto:          #16201C;
  --texto-suave:    #3A4A42;
  --texto-muted:    #6B8070;
  --blanco:         #FAFCFB;
  --linea:          rgba(30,77,62,.12);
  --linea-clara:    rgba(110,201,164,.15);
  --glass:          rgba(240,246,243,.72);
  --glass-dark:     rgba(14,35,27,.65);
  --sombra:         0 20px 60px -15px rgba(22,32,28,.25);
  --sombra-lg:      0 40px 80px -20px rgba(22,32,28,.35);
  --radio:          20px;
  --radio-sm:       12px;
  --font-display:   'Montserrat', sans-serif;
  --font-body:      'Hanken Grotesk', sans-serif;
  --nav-h:          80px;
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.45, 0, 0.55, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; zoom: 0.9; }
body {
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--verde-claro);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- SPLASH ---- */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--verde-oscuro-3);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.splash.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; }
.splash-logo {
  display: flex; align-items: center; justify-content: center;
}
.splash-logo-img {
  height: clamp(40px, 8vw, 70px); width: auto;
}
.splash-bar {
  width: 160px; height: 3px; background: rgba(255,255,255,.15);
  border-radius: 99px; margin: 20px auto 0; overflow: hidden;
}
.splash-bar-fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--verde-acento), var(--verde-medio));
  animation: splash-fill 1.6s var(--ease-in-out) forwards;
}
@keyframes splash-fill { to { width: 100%; } }

/* ---- CURSOR ---- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; opacity: 0; transition: opacity .25s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: fixed; width: 8px; height: 8px; border-radius: 50%;
  background: var(--verde-acento); transform: translate(-50%, -50%);
  transition: transform .1s, background .2s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--verde-acento); transform: translate(-50%, -50%);
  transition: transform .18s var(--ease-out), width .25s, height .25s, border-color .2s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring { width: 52px; height: 52px; border-color: var(--verde-medio); }
@media (hover: none) { .cursor { display: none; } }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  transition: transform .22s var(--ease-out), box-shadow .22s, background .25s, color .25s, border-color .25s;
  white-space: nowrap; letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--verde-acento); color: var(--verde-oscuro-3);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 2px 6px rgba(110,201,164,.15);
}
.btn-primary:hover { box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 12px 32px -8px rgba(110,201,164,.5); background: #7ed4b0; }
.btn-ghost {
  background: transparent; color: var(--blanco);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-ghost:hover { border-color: var(--verde-acento); color: var(--verde-acento); background: rgba(110,201,164,.08); }
.btn-nav {
  background: var(--verde-acento); color: var(--verde-oscuro-3);
  font-size: 14px; padding: 11px 22px;
}
.btn-nav:hover { box-shadow: 0 10px 28px -6px rgba(110,201,164,.45); }
.btn-large { font-size: 16px; padding: 17px 36px; }
.btn-full { width: 100%; justify-content: center; }
.mt-2 { margin-top: 24px; }

/* ---- GLASS CARD ---- */
.glass-card {
  background: rgba(240,246,243,.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(110,201,164,.25);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.glass-card:hover {
  border-color: rgba(110,201,164,.45);
  box-shadow: var(--sombra), 0 0 18px -4px rgba(110,201,164,.25);
}
@supports not (backdrop-filter: blur(1px)) {
  .glass-card { background: rgba(240,246,243,.96); }
}

/* ---- HERO IDENTITY BAR ---- */
.hero-identity-bar {
  position: absolute; bottom: 16vh; left: 0; right: 0;
  background: rgba(22,32,28,.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px 24px;
  text-align: center;
  z-index: 3;
  border-top: 1px solid rgba(110,201,164,.2);
  border-bottom: 1px solid rgba(110,201,164,.1);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-identity-text {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(16px, 2.4vw, 22px);
  color: rgba(250,252,251,.85); letter-spacing: -.01em; line-height: 1.5;
}
.hero-identity-pills {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}

/* ---- VALUE CAROUSEL ---- */
.value-carousel {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: transparent;
  padding: 8px 24px 4vh;
  text-align: center;
  z-index: 3;
}
.value-carousel-inner {
  max-width: 900px; margin: 0 auto;
  position: relative;
}
.value-carousel-track {
  position: relative;
  min-height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.value-phrase {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(15px, 2.2vw, 20px);
  line-height: 1.5; letter-spacing: -.01em;
  color: rgba(250,252,251,.85);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
  padding: 0 20px;
}
.value-phrase.active {
  opacity: 1;
  transform: translateY(0);
}
/* Identity block */
.value-phrase-identity {
  flex-direction: column; gap: 16px;
}
.value-identity-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(16px, 2.4vw, 22px);
  color: rgba(250,252,251,.9); letter-spacing: -.01em;
}
.value-identity-pills {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.value-pill {
  font-family: var(--font-display);
  font-weight: 600; font-size: 12px;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--verde-acento);
  border: 1px solid rgba(110,201,164,.35);
  border-radius: 20px; padding: 6px 16px;
  background: rgba(110,201,164,.08);
  transition: box-shadow .3s var(--ease-out), background .3s, border-color .3s;
}
.value-pill:hover {
  box-shadow: 0 0 14px -2px rgba(110,201,164,.35);
  background: rgba(110,201,164,.15);
  border-color: rgba(110,201,164,.5);
}
/* Stats block */
.value-phrase-stats {
  padding: 0 10px;
}
.value-stats-row {
  display: flex; align-items: center; justify-content: center; gap: 0;
  width: 100%;
}
.value-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex: 1; padding: 0 12px;
}
.value-stat-num {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(22px, 3vw, 32px);
  color: var(--verde-acento); letter-spacing: -.02em;
  transition: transform .4s var(--ease-out);
}
.value-phrase.active .value-stat-num {
  animation: stat-pulse 2.4s ease-in-out infinite;
}
@keyframes stat-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.value-stat-label {
  font-size: 11px; line-height: 1.4;
  color: rgba(250,252,251,.55); text-align: center;
  max-width: 140px;
}
.value-stat-sep {
  width: 1px; height: 36px;
  background: rgba(110,201,164,.2); flex-shrink: 0;
}
/* Arrows */
.value-arrow {
  position: absolute; top: 50%; transform: translateY(-60%);
  background: none; border: none; cursor: pointer;
  color: rgba(250,252,251,.4);
  font-size: 28px; line-height: 1;
  padding: 8px 4px; z-index: 2;
  transition: color .3s;
}
.value-arrow:hover { color: var(--verde-acento); }
.value-arrow-prev { left: -8px; }
.value-arrow-next { right: -8px; }
/* Dots */
.value-carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 6px;
}
.value-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(250,252,251,.2);
  transition: background .4s, transform .4s;
  cursor: pointer;
}
.value-dot:hover { background: rgba(250,252,251,.5); }
.value-dot.active {
  background: var(--verde-acento);
  transform: scale(1.3);
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(240,246,243,.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 32px -12px rgba(22,32,28,.12);
  border-bottom: 1.5px solid rgba(110,201,164,.4);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img {
  height: 36px; width: auto; object-fit: contain;
  position: absolute; top: 0; left: 0;
  transition: opacity .35s;
}
.nav-logo { position: relative; min-width: 140px; min-height: 36px; }
.nav-logo-img-white { opacity: 1; }
.nav-logo-img-dark { opacity: 0; }
.nav.is-scrolled .nav-logo-img-white { opacity: 0; }
.nav.is-scrolled .nav-logo-img-dark { opacity: 1; }
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center;
}
.nav-link {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--blanco); padding: 8px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav.is-scrolled .nav-link { color: var(--texto); }
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 2px; background: var(--verde-acento); border-radius: 1px;
  transform: scaleX(0); transition: transform .25s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--verde-acento); }
.nav.is-scrolled .nav-link:hover { color: var(--verde-oscuro); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: rgba(255,255,255,.7); letter-spacing: .08em;
  padding: 6px 10px; border-radius: 6px;
  transition: color .2s;
}
.nav.is-scrolled .lang-toggle { color: var(--texto-muted); }
.lang-toggle:hover { color: var(--verde-acento); }
.lang-toggle .lang-es.active,
.lang-toggle .lang-cat.active { color: var(--verde-acento); }
.lang-sep { color: rgba(255,255,255,.3); margin: 0 2px; }
.nav.is-scrolled .lang-sep { color: var(--linea); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--blanco); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.is-scrolled .burger span { background: var(--texto); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(240,246,243,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px clamp(20px,5vw,48px) 32px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease-out), opacity .3s, visibility .3s;
  border-bottom: 1px solid var(--linea);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-link {
  display: block; padding: 12px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--texto); border-bottom: 1px solid var(--linea);
  transition: color .2s;
}
.mobile-link:hover { color: var(--verde-oscuro); }
.mobile-cta { display: inline-flex; }

/* ---- HERO ---- */
.hero {
  min-height: 112vh; position: relative;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.45) saturate(1.2);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,41,33,.55) 0%, transparent 40%),
    linear-gradient(0deg, rgba(15,41,33,.8) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(110,201,164,.08), transparent 70%);
}
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 700px at var(--mx,60%) var(--my,40%), rgba(110,201,164,.07), transparent 60%);
  transition: background .6s ease;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(40px,8vh,100px) clamp(20px,5vw,60px);
  width: 100%;
}
.hero-kicker {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--verde-acento); letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.03; letter-spacing: -2px;
  color: var(--blanco); max-width: 14ch;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(15,41,33,.35), 0 1px 3px rgba(0,0,0,.15);
}
.hero-line { display: block; }
.hero-line-accent { color: var(--verde-acento); }
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px); line-height: 1.65;
  color: rgba(250,252,251,.82); max-width: 52ch;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-fundae { margin-top: 8px; }
.fundae-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(110,201,164,.15);
  border: 1px solid rgba(110,201,164,.3);
  border-radius: 50px;
  padding: 10px 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  color: var(--verde-acento);
}
.fundae-icon { font-size: 16px; }
.hero-scroll-hint {
  position: absolute; bottom: 36vh; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 4;
}
.scroll-line {
  width: 1px; height: 48px; background: rgba(110,201,164,.5);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}
.scroll-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(250,252,251,.5);
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* Staggered reveal delays for sibling elements */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }
/* Safety net — reveals all hidden after 6s */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--verde-oscuro);
  padding: clamp(32px, 5vh, 52px) 0;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px,5vw,60px);
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1; min-width: 200px; padding: 16px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--verde-acento); line-height: 1;
  letter-spacing: -1.5px;
}
.stat-unit {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--verde-acento); margin-left: 2px;
}
.stat-label {
  font-size: 13px; line-height: 1.5;
  color: rgba(250,252,251,.65); max-width: 20ch; margin: 8px auto 0;
}
.stat-divider {
  width: 1px; height: 60px; background: rgba(110,201,164,.15);
  flex-shrink: 0;
}

/* ---- SECTION TYPOGRAPHY ---- */
.section-kicker {
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--verde-medio); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.08; letter-spacing: -1.2px;
  color: var(--verde-oscuro); margin-bottom: 20px;
}
.section-subtitle {
  font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65;
  color: var(--texto-suave); max-width: 60ch;
}
.section-body {
  font-size: 16px; line-height: 1.75; color: var(--texto-suave);
  max-width: 58ch; margin-bottom: 12px;
}
.section-header {
  text-align: center; margin-bottom: clamp(48px, 7vh, 80px);
}
.section-header .section-subtitle { margin: 0 auto; }

/* ---- SECTION TRANSITIONS ---- */
.problema,
.servicios,
.como-trabajamos,
.resultados,
.contacto { position: relative; }
/* Light section top-edge fade (from verde-claro into section bg) */
.problema::before,
.como-trabajamos::before,
.contacto::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, rgba(250,252,251,.5), transparent);
  pointer-events: none; z-index: 1;
}
/* Green-tinted section top-edge fade */
.servicios::before,
.resultados::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, rgba(240,246,243,.5), transparent);
  pointer-events: none; z-index: 1;
}

/* ---- PROBLEMA ---- */
.problema {
  padding: clamp(80px, 12vh, 120px) 0;
  background: var(--blanco);
}
.problema-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.problema-cards-stack { display: flex; flex-direction: column; gap: 16px; }
.problema-card {
  padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.problema-card:hover { transform: translateX(8px); box-shadow: var(--sombra-lg); }
.problema-card-icon {
  flex-shrink: 0; margin-top: 2px; font-size: 32px;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(110,201,164,.1);
  filter: grayscale(1) sepia(1) hue-rotate(90deg) saturate(2) brightness(0.9);
}
.problema-card h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: var(--verde-oscuro); margin-bottom: 6px;
}
.problema-card p { font-size: 14px; line-height: 1.6; color: var(--texto-suave); }

/* ---- SERVICIOS ---- */
.servicios {
  padding: clamp(80px, 12vh, 120px) 0;
  background: var(--verde-claro);
}
.servicios-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.servicio-card {
  overflow: hidden; position: relative;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.servicio-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.servicio-img-wrap { position: relative; height: 240px; overflow: hidden; }
.servicio-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 0;
  transition: transform .65s var(--ease-out), filter .4s, border-radius .5s var(--ease-out);
}
.servicio-card:hover .servicio-img-wrap img {
  transform: scale(1.05); filter: saturate(1.1) brightness(1.05);
  border-radius: 4px;
}
.servicio-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,35,27,.6) 0%, transparent 50%);
}
.servicio-body { padding: 28px 28px 12px; }
.servicio-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(30,77,62,.08); border: 1px solid rgba(110,201,164,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.servicio-icon {
  font-size: 22px;
  filter: grayscale(1) sepia(1) hue-rotate(90deg) saturate(2) brightness(0.9);
}
.servicio-num {
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  letter-spacing: .1em; color: var(--verde-acento-2); margin-bottom: 6px;
}
.servicio-title {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--verde-oscuro); margin-bottom: 12px; letter-spacing: -.4px;
}
.servicio-desc { font-size: 14.5px; line-height: 1.65; color: var(--texto-suave); margin-bottom: 16px; }
.servicio-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pill {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  padding: 5px 13px; border-radius: 50px;
  background: rgba(30,77,62,.08); color: var(--verde-oscuro);
  border: 1px solid rgba(30,77,62,.12);
}
.pill-fundae {
  background: rgba(110,201,164,.15); color: var(--verde-medio);
  border-color: rgba(110,201,164,.3);
}
.servicio-expand {
  display: flex; align-items: center; gap: 6px;
  width: 100%; padding: 14px 28px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  color: var(--verde-medio); letter-spacing: .02em;
  border-top: 1px solid var(--linea); background: rgba(110,201,164,.04);
  transition: background .2s, color .2s;
}
.servicio-expand:hover { background: rgba(110,201,164,.1); color: var(--verde-oscuro); }
.servicio-expand::after { content: '↓'; transition: transform .3s var(--ease-out); }
.servicio-expand[aria-expanded="true"]::after { transform: rotate(180deg); }
.servicio-detail {
  padding: 0 28px;
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out), padding .5s;
  font-size: 14.5px; line-height: 1.7; color: var(--texto-suave);
  background: rgba(240,246,243,.6);
}
.servicio-detail.is-open { max-height: 300px; padding: 20px 28px 24px; }
.servicio-detail p { }

/* ---- FUNDAE ---- */
.fundae-section {
  padding: clamp(60px, 10vh, 100px) 0;
  background: var(--verde-oscuro);
}
.fundae-wrap {
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
  background: rgba(255,255,255,.05);
  border-color: rgba(110,201,164,.2);
}
.fundae-wrap .section-kicker { color: var(--verde-acento); }
.fundae-wrap .section-title { color: var(--blanco); }
.fundae-wrap .section-body { color: rgba(250,252,251,.72); }
.fundae-steps {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-top: 32px;
}
.fundae-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.fundae-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--verde-acento); color: var(--verde-oscuro-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 16px;
}
.fundae-step p {
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  color: rgba(250,252,251,.7); max-width: 10ch; line-height: 1.3;
}
.fundae-step-arrow { color: var(--verde-acento); font-size: 20px; opacity: .5; }
.fundae-visual { text-align: center; flex-shrink: 0; }
.fundae-big-text {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(72px, 10vw, 120px);
  color: var(--verde-acento); line-height: 1;
  letter-spacing: -4px;
}
.fundae-big-sub {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: rgba(250,252,251,.5); letter-spacing: .04em; text-transform: uppercase;
  margin-top: 8px;
}

/* ---- CÓMO TRABAJAMOS ---- */
.como-trabajamos {
  padding: clamp(80px, 12vh, 120px) 0;
  background: var(--blanco);
}
.proceso-list { display: flex; flex-direction: column; gap: 64px; margin-top: 12px; }
.proceso-item {
  display: grid; grid-template-columns: 80px 1fr 1fr;
  gap: 40px; align-items: center;
}
.proceso-item-rev { direction: rtl; }
.proceso-item-rev > * { direction: ltr; }
.proceso-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 6vw, 72px); line-height: 1;
  color: rgba(30,77,62,.12);
  letter-spacing: -2px;
  flex-shrink: 0;
}
.proceso-copy h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--verde-oscuro); margin-bottom: 12px; letter-spacing: -.4px;
}
.proceso-copy p { font-size: 15.5px; line-height: 1.7; color: var(--texto-suave); }
.proceso-img {
  border-radius: var(--radio); overflow: hidden; height: 280px;
}
.proceso-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.proceso-item:hover .proceso-img img { transform: scale(1.04); }

/* ---- RESULTADOS ---- */
.resultados {
  padding: clamp(80px, 12vh, 120px) 0;
  background: var(--verde-claro);
}
.resultados-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 48px;
}
.resultado-card {
  padding: 40px 32px; text-align: center;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.resultado-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.resultado-icon {
  margin: 0 auto 16px; color: var(--verde-acento);
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(110,201,164,.1);
  transition: transform .35s var(--ease-out);
}
.resultado-card:hover .resultado-icon {
  transform: scale(1.12);
}
.resultado-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 5vw, 64px);
  color: var(--verde-oscuro); line-height: 1; letter-spacing: -2px;
  margin-bottom: 12px;
}
.resultado-num span:last-child { font-size: .65em; }
.resultado-label { font-size: 14px; line-height: 1.6; color: var(--texto-suave); }

/* Testimonial */
.testimonial-wrap { max-width: 800px; margin: 0 auto; }
.testimonial { padding: 48px; position: relative; }
.testimonial-quote {
  font-family: var(--font-display); font-size: 96px; line-height: .8;
  color: var(--verde-acento); opacity: .3;
  position: absolute; top: 24px; left: 36px;
}
blockquote { position: relative; z-index: 1; }
.testimonial-text {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7;
  color: var(--texto); font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; flex-direction: column; gap: 4px; }
.testimonial-author strong {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--verde-oscuro);
}
.testimonial-author span { font-size: 13.5px; color: var(--texto-muted); }

/* ---- EQUIPO ---- */
.equipo {
  padding: clamp(80px, 12vh, 120px) 0;
  background: var(--verde-oscuro);
}
.equipo .section-kicker { color: var(--verde-acento); }
.equipo .section-title { color: var(--blanco); }
.equipo .section-subtitle { color: rgba(250,252,251,.7); }
.equipo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; max-width: 860px; margin: 0 auto;
}
.equipo-card {
  overflow: hidden; background: rgba(255,255,255,.06);
  border-color: rgba(110,201,164,.15);
  border-radius: 20px;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.equipo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.35);
}
.equipo-img-wrap {
  height: 380px; overflow: hidden; position: relative;
}
.equipo-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 15%;
  transition: transform .6s var(--ease-out);
}
.equipo-card:first-child .equipo-img-wrap img {
  object-position: center 25%;
}
.equipo-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(22,32,28,.7) 0%, transparent 100%);
  pointer-events: none;
}
.equipo-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(110,201,164,.2), rgba(30,77,62,.25));
  opacity: 0;
  transition: opacity .45s var(--ease-out);
  pointer-events: none; z-index: 1;
}
.equipo-card:hover .equipo-img-wrap::after { opacity: 1; }
.equipo-card:hover .equipo-img-wrap img { transform: scale(1.06); }
.equipo-info {
  padding: 28px 28px 32px;
  text-align: center;
}
.equipo-info h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--blanco); margin-bottom: 6px;
  letter-spacing: -.01em;
}
.equipo-role {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .05em; color: var(--verde-acento); margin-bottom: 14px;
  text-transform: uppercase;
}
.equipo-bio {
  font-size: 14.5px; line-height: 1.65; color: rgba(250,252,251,.55);
  max-width: 320px; margin: 0 auto;
}
.equipo-card-cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 340px;
  border: 2px dashed rgba(110,201,164,.25);
  background: rgba(255,255,255,.03);
}
.equipo-cta-content { text-align: center; padding: 32px; }
.equipo-cta-icon {
  display: block; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(110,201,164,.15); border: 1.5px solid rgba(110,201,164,.3);
  font-size: 28px; line-height: 56px; color: var(--verde-acento);
  margin: 0 auto 20px;
}
.equipo-cta-content h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--blanco); margin-bottom: 10px;
}
.equipo-cta-content p {
  font-size: 14px; line-height: 1.6; color: rgba(250,252,251,.6);
  margin-bottom: 20px;
}
.equipo-cta-content .btn-ghost { border-color: rgba(110,201,164,.3); color: var(--verde-acento); }
.equipo-cta-content .btn-ghost:hover { border-color: var(--verde-acento); }

/* ---- MARQUEE ---- */
.marquee-section {
  background: var(--verde-acento); overflow: hidden;
  padding: 20px 0;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee-run 28s linear infinite;
  width: max-content;
}
.marquee-inner span {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--verde-oscuro-3); padding: 0 18px; display: inline-block;
}
.marquee-dot { color: var(--verde-oscuro); opacity: .5; padding: 0 4px !important; }
@keyframes marquee-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation-duration: 80s; }
  .value-phrase.active .value-stat-num { animation: none; }
  .reveal:nth-child(n) { transition-delay: 0s; }
}

/* ---- CONTACTO ---- */
.contacto {
  padding: clamp(80px, 12vh, 120px) 0;
  background: var(--blanco);
}
.contacto-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 72px; align-items: start;
}
.contacto-info { margin: 24px 0; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--verde-oscuro);
  transition: color .2s;
}
.contact-link:hover { color: var(--verde-medio); }
.contact-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(30,77,62,.08); display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.contacto-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.trust-item {
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  color: var(--verde-medio); background: rgba(30,77,62,.06);
  border: 1px solid rgba(30,77,62,.1);
  padding: 6px 14px; border-radius: 50px;
}
.contacto-form { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--verde-oscuro); letter-spacing: .02em;
  transition: color .25s var(--ease-out);
}
.form-group:focus-within label {
  color: var(--verde-medio);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px; border-radius: var(--radio-sm);
  border: 1.5px solid var(--linea);
  background: rgba(255,255,255,.8);
  color: var(--texto); font-size: 15px; line-height: 1.5;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--verde-acento);
  box-shadow: 0 0 0 4px rgba(110,201,164,.12), 0 0 16px -4px rgba(110,201,164,.2);
  background: rgba(255,255,255,.95);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--texto-suave); cursor: pointer;
  padding: 10px 14px; border-radius: var(--radio-sm);
  border: 1.5px solid var(--linea); background: rgba(255,255,255,.6);
  transition: border-color .2s, background .2s;
}
.checkbox-item:hover { border-color: var(--verde-acento); background: rgba(110,201,164,.05); }
.checkbox-item input[type="checkbox"] { accent-color: var(--verde-oscuro); width: 16px; height: 16px; }
.form-legal {
  font-size: 12px; color: var(--texto-muted); line-height: 1.5;
  margin-top: 12px; text-align: center;
}
.form-success {
  text-align: center; padding: 60px 40px;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--verde-acento); color: var(--verde-oscuro-3);
  font-size: 28px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--verde-oscuro); margin-bottom: 12px;
}
.form-success p { font-size: 15px; color: var(--texto-suave); line-height: 1.65; }
.form-success a { color: var(--verde-medio); text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: var(--verde-oscuro-3);
  padding: clamp(48px, 8vh, 80px) 0 32px;
  position: relative;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(110,201,164,.1);
}
.footer-logo { height: 32px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 13.5px; color: rgba(250,252,251,.45); line-height: 1.5; }
.footer-nav { display: flex; gap: 48px; }
.footer-nav-col h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(250,252,251,.4); margin-bottom: 16px;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a {
  font-size: 14px; color: rgba(250,252,251,.65);
  transition: color .2s;
}
.footer-nav-col a:hover { color: var(--verde-acento); }
.footer-contact h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(250,252,251,.4); margin-bottom: 16px;
}
.footer-email {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--verde-acento);
  word-break: break-all; display: block; margin-bottom: 8px;
  transition: color .2s;
}
.footer-email:hover { color: #7ed4b0; }
.footer-location { font-size: 13px; color: rgba(250,252,251,.4); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 13px; color: rgba(250,252,251,.35); }
.footer-copy a { color: rgba(250,252,251,.45); transition: color .2s; }
.footer-copy a:hover { color: var(--verde-acento); }
.footer-credits { font-size: 12px; color: rgba(250,252,251,.25); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .proceso-item,
  .proceso-item-rev { grid-template-columns: 60px 1fr; }
  .proceso-img { display: none; }
  .fundae-wrap { grid-template-columns: 1fr; gap: 32px; }
  .fundae-visual { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .burger { display: flex; }

  .hero-title { font-size: clamp(38px, 9vw, 56px); letter-spacing: -1.5px; }

  .stats-inner { display: grid; grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .stat-item { border-bottom: 1px solid rgba(110,201,164,.1); }

  .problema-grid { grid-template-columns: 1fr; gap: 40px; }
  .servicios-grid { grid-template-columns: 1fr; }
  .resultados-grid { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: 1fr; }

  .proceso-item { grid-template-columns: 48px 1fr; gap: 20px; }

  .contacto-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }

  .fundae-steps { justify-content: center; }
  .fundae-step-arrow { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .testimonial { padding: 32px 24px; }

  .contacto-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-large { width: 100%; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-bottom: 1px solid rgba(110,201,164,.1); }
  .stat-divider { display: none; }
  .fundae-wrap { padding: 28px 24px; }
}
