/* ============================================================
   Foro Valor Emprendedor — Stylesheet
   ============================================================ */

@font-face {
  font-family: "Outfit";
  src: url("../assets/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors */
  --c-lima: #7ce565;
  --c-medio: #00b27b;
  --c-oscuro: #072b1f;
  --c-menta: #0ee2a6;
  --c-suave: #d6f2e8;
  --c-oliva: #d6d669;
  --c-crema: #f9f4e5;

  /* Semantic (dark mode default) */
  --bg: var(--c-oscuro);
  --bg-elev: #0c3a2a;
  --bg-contrast: var(--c-crema);
  --fg: var(--c-crema);
  --fg-dim: rgba(249, 244, 229, 0.65);
  --fg-faint: rgba(249, 244, 229, 0.18);
  --accent: var(--c-lima);
  --accent-fg: var(--c-oscuro);
  --border: rgba(249, 244, 229, 0.12);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "Outfit", system-ui, sans-serif;

  --radius-btn: 999px;
  --radius-card: 20px;

  --space: 1;
  --pad-section: calc(120px * var(--space));
  --pad-x: max(24px, 5vw);
}

[data-mode="light"] {
  --bg: var(--c-crema);
  --bg-elev: #fff;
  --bg-contrast: var(--c-oscuro);
  --fg: var(--c-oscuro);
  --fg-dim: rgba(7, 43, 31, 0.65);
  --fg-faint: rgba(7, 43, 31, 0.15);
  --border: rgba(7, 43, 31, 0.12);
}

[data-density="compact"] { --space: 0.7; }
[data-density="spacious"] { --space: 1.3; }

[data-btn="rounded"] { --radius-btn: 14px; }
[data-btn="sharp"] { --radius-btn: 0px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; padding: 0; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--c-lima);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--c-lima);
  border-radius: 50%;
  transition: transform .1s ease-out, background .12s ease-out, border-color .12s ease-out;
  display: flex; align-items: center; justify-content: center;
}
.cursor-ring.is-hover {
  background: var(--c-lima);
  mix-blend-mode: normal;
}
.cursor-label {
  font-size: 11px;
  color: var(--c-oscuro);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: scale(0.42);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background .18s, color .18s, border-color .18s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-xl { padding: 24px 36px; font-size: 17px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover {
  background: var(--c-crema);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--fg);
  background: var(--fg-faint);
}
.btn.is-disabled { opacity: 0.5; pointer-events: none; }
.btn-play {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  transition: background .2s, backdrop-filter .2s, padding .2s;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--border);
}
.nav-logo img {
  height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .2s;
}
.nav-logo:hover img { transform: scale(1.05); }
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  gap: 4px;
  background: var(--fg-faint);
  padding: 6px;
  border-radius: 999px;
}
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  overflow: hidden;
  height: 32px;
  display: inline-flex;
  align-items: center;
}
.nav-links a span {
  display: block;
  transition: transform .24s cubic-bezier(.7,0,.3,1);
}
.nav-links a span:nth-child(2) {
  position: absolute;
  top: 100%;
  left: 16px;
}
.nav-links a:hover {
  background: var(--accent);
  color: var(--accent-fg);
}
.nav-links a:hover span:nth-child(1) { transform: translateY(-100%); }
.nav-links a:hover span:nth-child(2) { transform: translateY(-100%); }
.nav-links a.is-active {
  background: var(--accent);
  color: var(--accent-fg);
}

.nav-social {
  display: inline-flex;
  gap: 6px;
}
.nav-social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.nav-social-btn:hover {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.nav-mobile-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-date {
  font-size: 12px;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.nav-date-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 30%, transparent);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
}

@media (max-width: 960px) {
  .nav-links, .nav-date { display: none; }
  .nav {
    padding: 14px 20px;
  }
  .nav-logo {
    max-width: calc(100% - 64px);
  }
  .nav-logo img {
    height: 42px;
    max-width: min(240px, 62vw);
  }
  .nav-right {
    gap: 8px;
    flex: 0 0 auto;
  }
  .nav-right .btn,
  .nav-social {
    display: none;
  }
  .nav-burger { display: flex; }
  .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px var(--pad-x) 32px;
  }
  .nav-mobile a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
  }
  .nav-mobile .btn { margin-top: 12px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 43, 31, 0.38) 0%, rgba(7, 43, 31, 0.62) 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -6%;
  background:
    linear-gradient(180deg, rgba(7, 43, 31, 0.18) 0%, rgba(7, 43, 31, 0.34) 100%),
    url("../assets/06.jpg") center/cover no-repeat;
  filter: blur(18px) saturate(0.9);
  transform: scale(1.08);
  opacity: 0.34;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, color-mix(in oklab, var(--c-medio) 50%, transparent), transparent 45%),
    radial-gradient(circle at 85% 80%, color-mix(in oklab, var(--c-lima) 25%, transparent), transparent 55%);
  opacity: 0.55;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-orb-1 {
  top: -100px; right: -80px;
  width: 500px; height: 500px;
  background: var(--c-medio);
  opacity: 0.35;
}
.hero-orb-2 {
  bottom: -150px; left: -100px;
  width: 600px; height: 600px;
  background: var(--c-lima);
  opacity: 0.2;
}

.hero-meta-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.hero-meta-item {
  font-size: 12px;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dot-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-lima);
  position: relative;
}
.dot-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--c-lima);
  animation: pulse 1.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 50vw;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-word {
  display: inline-block;
  animation: heroRise .55s cubic-bezier(.2,.8,.2,1) both;
}
.hero-line:nth-child(2) .hero-word { animation-delay: .1s; }
.hero-line:nth-child(3) .hero-word { animation-delay: .2s; }
@keyframes heroRise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.hero-word-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}
.hero-italic {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--c-lima);
}
.hero-amp {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--c-lima);
  padding: 0 0.05em;
}

.hero-sub-row {
  display: block;
  margin-top: 60px;
  animation: heroRise .65s .2s cubic-bezier(.2,.8,.2,1) both;
}
.hero-sub-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-sub {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--fg-dim);
  margin: 0;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-count {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-count-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
}
.hero-count-grid {
  display: flex;
  gap: 16px;
}
.hero-count-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.hero-count-grid b {
  font-size: 43px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.hero-count-grid span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

.hero-organizers {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
  min-width: 0;
}
.hero-organizers-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  white-space: nowrap;
}
.hero-organizers-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 16px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.45);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.hero-organizers-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--c-lima) 30%, var(--border));
  background: color-mix(in oklab, var(--bg) 62%, transparent);
  box-shadow: 0 24px 42px -28px rgba(0, 0, 0, 0.5);
}
.hero-organizers-logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .hero { padding: 120px 20px 30px; min-height: auto; }
  .hero-sub-row { grid-template-columns: 1fr; gap: 28px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .hero-organizers {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-organizers-card {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-scroll { display: none; }
  .hero-count-grid b { font-size: 28px; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .45s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section common ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  font-weight: 500;
}
.eyebrow-line {
  width: 40px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 24px 0 0;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-head);
  color: #0ee2a6;
}

/* ---------- Video section ---------- */
.video-section {
  padding: var(--pad-section) var(--pad-x);
  max-width: 1600px;
  margin: 0 auto;
}
.video-wrap {
  margin-top: 60px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-elev);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.video-frame:hover { transform: scale(1.005); }
.video-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.video-placeholder-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    color-mix(in oklab, var(--c-medio) 30%, transparent) 0,
    color-mix(in oklab, var(--c-medio) 30%, transparent) 2px,
    transparent 2px,
    transparent 14px
  ), linear-gradient(135deg, var(--c-oscuro), #0c3a2a);
}
.video-placeholder-label {
  position: absolute;
  bottom: 24px; left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--fg-dim);
  font-size: 12px;
}
.mono { font-family: var(--font-mono); }

.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
}
.video-frame:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-play-btn::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ringPulse 1.5s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.video-meta {
  position: absolute;
  top: 24px; right: 24px;
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  background: color-mix(in oklab, var(--c-oscuro) 70%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.video-footnote {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.video-footnote > div:not(.video-footnote-line) {
  font-size: 14px;
  color: var(--fg-dim);
}
.video-footnote b {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-right: 8px;
}
.video-footnote-line {
  width: 40px; height: 1px;
  background: var(--border);
}

/* ---------- About ---------- */
.about-section {
  padding: var(--pad-section) var(--pad-x);
  max-width: 1600px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}
.about-title { margin-bottom: 40px; }
.about-body p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0 0 18px;
  max-width: 520px;
}
.about-body b {
  color: var(--fg);
  font-weight: 600;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.pill {
  display: inline-flex;
  padding: 8px 14px;
  background: var(--fg-faint);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.pill:hover {
  background: var(--accent);
  color: var(--accent-fg);
}

.about-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-elev);
}
.about-card-placeholder {
  position: absolute;
  inset: 0;
}
.about-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02) brightness(0.88);
}
.stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    color-mix(in oklab, var(--c-lima) 20%, transparent) 0,
    color-mix(in oklab, var(--c-lima) 20%, transparent) 1px,
    transparent 1px,
    transparent 12px
  ), linear-gradient(135deg, #0c3a2a, var(--c-oscuro));
}
.about-card-placeholder .mono {
  position: absolute;
  bottom: 20px; left: 20px;
  font-size: 11px;
  color: var(--fg-dim);
}
.about-card-overlay {
  position: absolute;
  top: 20px; left: 20px;
}
.about-card-overlay-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: color-mix(in oklab, var(--c-oscuro) 80%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.about-small-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-mini {
  padding: 20px;
  background: var(--fg-faint);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .18s, transform .18s;
}
.about-mini:hover {
  background: color-mix(in oklab, var(--c-lima) 15%, var(--fg-faint));
  transform: translateY(-2px);
}
.about-mini-num {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 700;
  color: var(--c-lima);
  font-size: 28px;
  line-height: 1;
}
.about-mini-text b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.about-mini-text span {
  font-size: 12px;
  color: var(--fg-dim);
}

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .video-section, .about-section { padding: 80px 20px; }
}

/* ---------- Stats ---------- */
.stats-section {
  padding: var(--pad-section) var(--pad-x);
  background: color-mix(in oklab, var(--fg) 4%, var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-header {
  max-width: 1600px;
  margin: 0 auto 80px;
}
.stats-title {
  max-width: 900px;
}
.stats-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.stat-card {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background .2s;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover {
  background: color-mix(in oklab, var(--c-lima) 8%, transparent);
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
}
.stat-sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.45;
}
.stat-arrow {
  position: absolute;
  top: 40px; right: 32px;
  color: var(--fg-dim);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity .18s, transform .18s;
}
.stat-card:hover .stat-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 960px) {
  .stats-section { padding: 80px 0; }
  .stats-header { padding: 0 20px; margin-bottom: 48px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 28px 20px; }
  .stat-card:nth-child(2n) { border-right: none; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ---------- Topics ---------- */
.topics-section {
  padding: var(--pad-section) var(--pad-x);
  background:
    radial-gradient(circle at 18% 20%, color-mix(in oklab, var(--c-lima) 10%, transparent) 0, transparent 36%),
    radial-gradient(circle at 82% 18%, color-mix(in oklab, var(--c-menta) 12%, transparent) 0, transparent 34%),
    color-mix(in oklab, var(--fg) 3%, var(--bg));
}
.topics-shell {
  max-width: 1600px;
  margin: 0 auto;
}
.topics-top {
  display: block;
}
.topics-copy p {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}
.topics-headline {
  width: min(100%, 760px);
}
.topics-title {
  margin: 18px 0 0;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-align: left;
}
.topics-title em {
  font-style: normal;
  color: var(--accent);
}
.topics-divider {
  height: 1px;
  margin: 44px 0 40px;
  background: color-mix(in oklab, var(--fg) 14%, transparent);
}
.topics-copy {
  max-width: 1120px;
  margin-bottom: 40px;
}
.topics-copy-lead {
  margin-top: 26px;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.topic-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 30px 30px 28px;
  border: 1px solid color-mix(in oklab, var(--c-lima) 28%, rgba(255, 255, 255, 0.26));
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(214, 242, 232, 0.22), rgba(124, 229, 101, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 60px -38px rgba(0, 0, 0, 0.38);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s, box-shadow .22s, background .22s;
}
.topic-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 229, 101, 0.22) 0%, rgba(124, 229, 101, 0.02) 70%);
  filter: blur(14px);
  opacity: 1;
  pointer-events: none;
}
.topic-card::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(249, 244, 229, 0.22) 0, rgba(214, 242, 232, 0.12) 16%, rgba(124, 229, 101, 0.08) 26%, transparent 44%);
  opacity: 0;
  transition: opacity .16s ease;
  pointer-events: none;
}
.topic-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--c-lima) 64%, white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 34px 70px -38px rgba(0, 0, 0, 0.45);
}
.topic-card:hover::after {
  opacity: 1;
}
.topic-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.topic-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--c-lima), color-mix(in oklab, var(--c-lima) 64%, var(--c-menta)));
  color: var(--c-oscuro);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 10px 24px -16px rgba(124, 229, 101, 0.75);
}
.topic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--c-lima), color-mix(in oklab, var(--c-lima) 70%, var(--c-menta)));
  color: var(--c-oscuro);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.topic-card-title {
  margin: 0 0 14px;
  max-width: 520px;
  font-family: var(--font-head);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: color-mix(in oklab, var(--c-oscuro) 92%, black);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.topic-card-desc {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(7, 43, 31, 0.28);
}

@media (max-width: 960px) {
  .topics-section { padding: 80px 20px; }
  .topics-top {
    display: block;
  }
  .topics-headline {
    width: 100%;
  }
  .topics-title {
    text-align: left;
    font-size: clamp(40px, 12vw, 64px);
  }
  .topics-divider {
    margin: 32px 0 28px;
  }
  .topics-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    min-height: unset;
    padding: 24px 22px;
    border-radius: 22px;
  }
  .topic-card-title {
    font-size: clamp(24px, 7vw, 34px);
  }
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: var(--pad-section) var(--pad-x);
  max-width: 1600px;
  margin: 0 auto;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq-title { max-width: 420px; }
.faq-side {
  margin-top: 40px;
  max-width: 340px;
}
.faq-side p {
  font-size: 15px;
  color: var(--fg-dim);
  margin: 0 0 20px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--border);
  transition: border-color .18s;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  text-align: left;
  transition: color .18s;
}
.faq-q:hover { color: var(--c-lima); }
.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  min-width: 24px;
}
.faq-q-text {
  flex: 1;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.faq-plus {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-plus span {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform .2s cubic-bezier(.7,0,.3,1);
  transform: translateY(-50%);
}
.faq-plus span:nth-child(2) {
  transform: translateY(-50%) rotate(90deg);
}
.faq-item.is-open .faq-plus span:nth-child(2) {
  transform: translateY(-50%) rotate(0deg);
}
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s cubic-bezier(.7,0,.3,1);
}
.faq-item.is-open .faq-a-wrap {
  grid-template-rows: 1fr;
}
.faq-a {
  overflow: hidden;
  min-height: 0;
}
.faq-item.is-open .faq-a {
  padding: 0 0 28px 44px;
}
.faq-a::before {
  content: "";
  display: block;
  height: 0;
}
.faq-a {
  padding: 0 0 0 44px;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.55;
  max-width: 720px;
}

@media (max-width: 960px) {
  .faq-section { padding: 80px 20px; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-item.is-open .faq-a { padding-left: 0; }
  .faq-a { padding-left: 0; }
}

/* ---------- Contacto ---------- */
.contact-section {
  padding: var(--pad-section) var(--pad-x);
  background: var(--c-crema);
  color: var(--c-oscuro);
}
[data-mode="light"] .contact-section {
  background: var(--c-oscuro);
  color: var(--c-crema);
}
.contact-section .section-eyebrow {
  color: color-mix(in oklab, currentColor 60%, transparent);
}
.contact-section .eyebrow-line {
  background: var(--c-medio);
}
.contact-section .section-title em {
  color: var(--c-medio);
}
.contact-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-title {
  margin-bottom: 32px;
}
.contact-desc {
  font-size: 17px;
  line-height: 1.5;
  max-width: 460px;
  opacity: 0.7;
  margin-bottom: 48px;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid color-mix(in oklab, currentColor 15%, transparent);
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px;
  background: color-mix(in oklab, currentColor 5%, transparent);
  border-radius: 14px;
  border-top: 1.5px solid color-mix(in oklab, var(--c-medio) 55%, transparent);
}
.contact-info-item--full {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.contact-info-item--full .contact-info-label {
  flex: 0 0 auto;
  padding-right: 28px;
  border-right: 1px solid color-mix(in oklab, currentColor 15%, transparent);
}
.contact-info-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.contact-info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.45;
  margin-bottom: 2px;
}
.contact-info-val {
  font-size: 15px;
  font-weight: 600;
  display: block;
}
.contact-info-sub {
  font-size: 13px;
  opacity: 0.6;
  display: block;
}
.contact-link {
  text-decoration: none;
  transition: color .16s, opacity .16s;
}
.contact-link:hover {
  color: var(--c-medio);
  opacity: 1;
}

.contact-form-wrap {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  color: var(--c-oscuro);
  box-shadow: 0 20px 60px -20px rgba(7, 43, 31, 0.2);
}
[data-mode="light"] .contact-form-wrap {
  background: var(--c-oscuro);
  color: var(--c-crema);
}
.form-tabs {
  display: flex;
  gap: 4px;
  background: color-mix(in oklab, var(--c-oscuro) 8%, transparent);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 28px;
  width: fit-content;
}
.form-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  transition: background .16s, color .16s;
}
.form-tab.is-active {
  background: var(--c-oscuro);
  color: var(--c-crema);
}
[data-mode="light"] .form-tab.is-active {
  background: var(--c-lima);
  color: var(--c-oscuro);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field > span {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-field > span em {
  text-transform: none;
  font-style: normal;
  opacity: 0.7;
}
.form-field input, .form-field textarea {
  padding: 14px 16px;
  border: 1.5px solid color-mix(in oklab, var(--c-oscuro) 10%, transparent);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: transparent;
  color: inherit;
  transition: border-color .16s;
}
[data-mode="light"] .form-field input, [data-mode="light"] .form-field textarea {
  border-color: color-mix(in oklab, var(--c-crema) 15%, transparent);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--c-medio);
}
.form-field.is-error input, .form-field.is-error textarea {
  border-color: #d45;
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 320px;
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.4;
}
.form-check input {
  accent-color: var(--c-medio);
  margin-top: 2px;
}
.contact-form .btn-primary {
  background: var(--c-oscuro);
  color: var(--c-crema);
}
.contact-form .btn-primary:hover {
  background: var(--c-lima);
  color: var(--c-oscuro);
}
[data-mode="light"] .contact-form .btn-primary {
  background: var(--c-lima);
  color: var(--c-oscuro);
}

.contact-sent {
  text-align: center;
  padding: 40px 20px;
}
.contact-sent-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c-lima);
  color: var(--c-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.contact-sent h3 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contact-sent p {
  color: var(--fg-dim);
  margin: 0 0 24px;
}
.contact-sent-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.form-status {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.form-status.is-error {
  color: #c63b57;
}

@media (max-width: 960px) {
  .contact-section { padding: 80px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-info-item--full { flex-direction: column; gap: 8px; }
  .contact-info-item--full .contact-info-label { border-right: none; padding-right: 0; }
  .contact-info-item--full { grid-column: span 1; }
}

/* ---------- CTA final ---------- */
.cta-final {
  padding: var(--pad-section) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in oklab, var(--c-lima) 18%, transparent), transparent 55%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-final-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 48px;
  text-wrap: balance;
}
.cta-final-italic {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--c-lima);
}
.cta-final-block {
  display: inline-block;
}
.cta-final-row {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-final-meta {
  font-size: 13px;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-oscuro);
  color: var(--c-crema);
  padding: 80px var(--pad-x) 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2.6fr);
  gap: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(249, 244, 229, 0.12);
  align-items: start;
}
.footer-brand img {
  height: 58px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(249, 244, 229, 0.6);
  margin: 0;
  max-width: 320px;
}
.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 0.95fr) minmax(220px, 1.35fr) minmax(130px, 0.75fr);
  gap: 24px;
  align-items: start;
}
.footer-cols > div {
  min-width: 0;
}
.footer-cols h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-lima);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: rgba(249, 244, 229, 0.7);
  margin-bottom: 10px;
  transition: color .16s;
  overflow-wrap: anywhere;
}
.footer-cols a:hover { color: var(--c-lima); }

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: rgba(249, 244, 229, 0.5);
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--c-lima); }

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  min-width: 62px;
  padding: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 40px -20px rgba(37, 211, 102, 0.8);
  overflow: hidden;
  transform-origin: center center;
  transition: transform .18s ease, box-shadow .18s ease, width .22s ease, background .18s ease, padding .22s ease;
}
.wa-float:hover {
  width: 296px;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 18px;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 46px -18px rgba(37, 211, 102, 0.9);
  background: #20c45a;
}
.wa-float-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 0;
}
.wa-float-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transform: translateX(8px);
  overflow: hidden;
  transition: max-width .22s ease, opacity .16s ease, transform .18s ease;
}
.wa-float:hover .wa-float-label {
  max-width: 220px;
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 960px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    min-width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
  }
  .wa-float:hover {
    width: 58px;
    gap: 0;
    padding: 0;
    transform: translateY(-2px) scale(1.02);
  }
  .wa-float:hover .wa-float-label {
    max-width: 0;
    opacity: 0;
    transform: translateX(8px);
  }
}

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 200;
  background: var(--c-oscuro);
  color: var(--c-crema);
  border: 1px solid rgba(249, 244, 229, 0.15);
  border-radius: 16px;
  width: 280px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4);
  font-family: var(--font-body);
}
.tweaks-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(249, 244, 229, 0.12);
}
.tweaks.is-closed .tweaks-toggle { border-bottom: none; }
.tweaks-body {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 70vh;
  overflow-y: auto;
}
.tweaks-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(249, 244, 229, 0.5);
  display: block;
  margin-bottom: 8px;
}
.tweaks-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tweaks-swatch {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}
.tweaks-swatch.is-active {
  border-color: var(--c-crema);
}
.tweaks-swatch:hover { transform: scale(1.08); }

.tweaks-opts {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tweaks-opt {
  padding: 6px 10px;
  background: rgba(249, 244, 229, 0.08);
  border-radius: 8px;
  font-size: 12px;
  transition: background .2s;
}
.tweaks-opt.is-active {
  background: var(--c-lima);
  color: var(--c-oscuro);
}
.tweaks-opt:hover:not(.is-active) { background: rgba(249, 244, 229, 0.18); }
