/* San Mateo · Complejo Deportivo — sitio público */

@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/exo-2-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/exo-2-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/exo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #07100b;
  --bg-2: #0a1610;
  --surface: #0e1c14;
  --surface-2: #13261b;
  --line: rgba(214, 255, 228, .09);
  --line-2: rgba(214, 255, 228, .17);
  --text: #eef6f0;
  --muted: #a6baad;
  --dim: #718878;
  --brand: #0a6435;
  --brand-2: #128a48;
  --led: #3ee07f;
  --led-2: #1fb862;
  --led-ink: #03210f;
  --led-soft: rgba(62, 224, 127, .13);

  --display: "Exo 2", "Arial Black", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --radius-sm: 12px;
  --topbar-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); text-transform: uppercase; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 700; }
p { margin: 0; }
.prose p + p { margin-top: .8em; }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--led); color: var(--led-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Botones ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 1.4em;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1 var(--body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s;
}
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --h: 42px; padding: 0 1.1em; font-size: .95rem; }
.btn-lg { --h: 58px; padding: 0 1.8em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-wa {
  background: linear-gradient(180deg, var(--led) 0%, var(--led-2) 100%);
  color: var(--led-ink);
  box-shadow: 0 0 0 1px rgba(62, 224, 127, .35), 0 10px 30px -10px rgba(62, 224, 127, .55);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(62, 224, 127, .5), 0 16px 40px -12px rgba(62, 224, 127, .75); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(62, 224, 127, .55); background: var(--led-soft); }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topbar-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled, .topbar.is-open {
  background: rgba(7, 16, 11, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: italic 800 1.3rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--topbar-h) + 48px) 0 36px;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(62, 224, 127, .20), transparent 70%),
    radial-gradient(50% 45% at 92% 6%, rgba(62, 224, 127, .14), transparent 70%),
    linear-gradient(180deg, #0a1a11 0%, var(--bg) 78%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 16, 11, .55) 0%, rgba(7, 16, 11, .35) 35%, rgba(7, 16, 11, .92) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7, 16, 11, .7) 0%, transparent 70%);
}
.hero-pitch {
  position: absolute; left: 50%; bottom: -8%; z-index: -1;
  width: 150%; max-width: 1900px; aspect-ratio: 1050 / 680;
  background: url("../img/pitch.svg") center / contain no-repeat;
  opacity: .11;
  transform: translateX(-50%) perspective(900px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  pointer-events: none;
}
.has-photo .hero-pitch { opacity: .06; }
.hero-glow {
  position: absolute; z-index: -1; inset: auto 0 0; height: 45%;
  background: radial-gradient(60% 80% at 50% 100%, rgba(62, 224, 127, .10), transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: calc(900px + var(--gutter) * 2); margin-left: max(0px, calc((100% - var(--wrap)) / 2 - var(--gutter))); margin-right: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7, 16, 11, .45);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 12px var(--led); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.8rem, 8.4vw, 6.4rem);
  line-height: .92; text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .35);
}
.hero-sub { margin-top: 22px; max-width: 34em; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: #cfdcd3; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  border-top: 1px solid var(--line);
}
.facts li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; font-size: .98rem; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: var(--led); flex: none; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 11vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-row > div:first-child { max-width: 680px; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--led); margin-bottom: 14px; }
.lead { margin-top: 16px; color: var(--muted); font-size: 1.12rem; max-width: 36em; }
.tag {
  display: inline-block; font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--led); background: var(--led-soft); border: 1px solid rgba(62, 224, 127, .25);
  padding: 6px 11px; border-radius: 999px;
}
.fineprint { margin-top: 28px; color: var(--dim); font-size: .9rem; }

/* Imagen o placeholder de marca */
.media-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(62, 224, 127, .16), transparent 70%),
    url("../img/pitch-soft.svg") center / 140% no-repeat,
    linear-gradient(160deg, #10261a, #0a150f);
}
.media-placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 16, 11, .6)); }
.media-placeholder img { width: 30%; max-width: 150px; opacity: .22; }

/* Tarjetas */
.cards { display: grid; gap: 20px; }
.cards + .feature, .feature + .cards, .feature + .feature, .cards + .cards { margin-top: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media > img { transform: scale(1.04); }
.tag-float { position: absolute; left: 16px; top: 16px; z-index: 1; background: rgba(7, 16, 11, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.card-body .prose { color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 8px; display: grid; gap: 14px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--led-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee07f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.price { font: italic 800 1.9rem/1 var(--display); color: var(--text); }
.price small { font: 500 .95rem/1 var(--body); color: var(--muted); font-style: normal; margin-left: 4px; }

/* Bloque destacado (cumpleaños) */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(62, 224, 127, .10), transparent 60%),
    var(--surface);
  border: 1px solid rgba(62, 224, 127, .22); border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
}
.feature-media { position: relative; min-height: 420px; background: var(--surface-2); }
.feature-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.feature-body h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; line-height: .95; }
.feature-body .prose { color: #c8d7cd; font-size: 1.1rem; }
.includes-title { margin-top: 6px; font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.feature-body .checks { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.feature-body .btn { margin-top: 10px; }

/* ---------- Carrusel ---------- */
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-nav[aria-hidden="true"] { display: none; }
.round-btn {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text);
  font-size: 1.2rem; cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s;
}
.round-btn:hover { background: var(--led-soft); border-color: rgba(62, 224, 127, .5); }
.round-btn:disabled { opacity: .35; cursor: default; background: transparent; border-color: var(--line); }
.carousel { position: relative; }
.carousel-track {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  list-style: none; margin: 0; padding: 4px var(--pad) 8px;
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(82vw, 620px); scroll-snap-align: start; }
.slide-btn {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--surface);
}
.slide-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.slide-btn:hover img { transform: scale(1.03); }
.slide-caption { margin-top: 12px; color: var(--muted); font-size: .98rem; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.carousel-dots button[aria-current="true"] { width: 26px; background: var(--led); }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 8, 5, .94); color: var(--text);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(3, 8, 5, .9); }
.lightbox figure { margin: 0; padding: 60px 8px; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 160px); width: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: var(--muted); text-align: center; }
.lightbox-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-arrow { margin: 0 12px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--text); font-size: 1.2rem; cursor: pointer; }

/* ---------- Ubicación ---------- */
.location { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.info-list { margin: 28px 0 0; display: grid; gap: 0; }
.info-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list > div:first-child { border-top: 1px solid var(--line); }
.info-list dt { color: var(--dim); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.info-list dd { margin: 0; font-weight: 500; }
.info-list a { color: var(--led); text-decoration: none; font-weight: 600; }
.location-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--surface);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map-facade {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px;
  background:
    radial-gradient(40% 40% at 50% 45%, rgba(62, 224, 127, .16), transparent 70%),
    url("../img/pitch-soft.svg") center / 120% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .025) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .025) 39px 40px),
    #0b1711;
}
.map-facade p { font: italic 800 1.4rem/1 var(--display); text-transform: uppercase; }
.map-facade small { color: var(--dim); font-size: .8rem; }
.map-pin { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); box-shadow: 0 0 0 10px rgba(62, 224, 127, .12), 0 0 40px rgba(62, 224, 127, .35); }
.map-pin img { width: 40px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: rgba(62, 224, 127, .3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--led), var(--led)) center / 14px 2px no-repeat,
    linear-gradient(var(--led), var(--led)) center / 2px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .prose { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-final { position: relative; isolation: isolate; overflow: hidden; padding: clamp(88px, 13vw, 150px) 0; text-align: center;
  background: radial-gradient(50% 60% at 50% 100%, rgba(62, 224, 127, .18), transparent 70%), var(--bg); }
.cta-final .hero-pitch { opacity: .1; bottom: -30%; }
.cta-inner { display: grid; justify-items: center; gap: 18px; }
.cta-iso { width: 64px; opacity: .9; margin-bottom: 6px; }
.cta-final h2 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
.cta-final p { color: var(--muted); font-size: 1.15rem; max-width: 30em; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; font: italic 800 1.1rem/1 var(--display); text-transform: uppercase; color: var(--text); }
.footer-brand span { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center; }
.footer-list a, .footer-legal a { text-decoration: none; }
.footer-list a:hover, .footer-legal a:hover { color: var(--text); }
.footer-legal { display: grid; gap: 4px; text-align: right; font-size: .85rem; color: var(--dim); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--led), var(--led-2)); color: var(--led-ink);
  box-shadow: 0 0 0 1px rgba(62, 224, 127, .4), 0 12px 30px -8px rgba(62, 224, 127, .6);
  transition: transform .25s var(--ease), opacity .3s, visibility .3s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(62, 224, 127, .45); animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.js .wa-float:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* ---------- Página legal ---------- */
.legal { max-width: calc(760px + var(--gutter) * 2); padding-top: calc(var(--topbar-h) + 56px); padding-bottom: 88px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); text-transform: uppercase; }
.legal h2 { font-size: 1.35rem; text-transform: none; margin: 40px 0 12px; }
.legal p, .legal li { color: #c8d7cd; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 12px 0 0; }
.legal a { color: var(--led); }
.legal-updated { margin-top: 12px; color: var(--dim) !important; font-size: .92rem; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 16 / 9; }
  .faq-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 860px) {
  :root { --topbar-h: 62px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer;
  }
  .nav-toggle i { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease); }
  .topbar.is-open .nav-toggle i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .topbar.is-open .nav-toggle i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: var(--topbar-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: rgba(7, 16, 11, .97); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .topbar.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--text); }
  .topbar-inner { gap: 10px; }
  .location { grid-template-columns: 1fr; }
  .section-head-row { align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-text small { display: none; }
  .brand img { width: 34px; }
  .topbar-cta span { display: none; }
  .topbar-cta { width: 44px; padding: 0; }
  .hero { min-height: 100svh; padding-bottom: 28px; }
  .hero-ctas .btn { width: 100%; }
  .facts { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .feature-body .checks { grid-template-columns: 1fr; }
  .feature-body .btn { width: 100%; }
  .carousel-nav { display: none; }
  .info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox-arrow { position: absolute; bottom: 20px; }
  .lightbox-arrow.prev { left: calc(50% - 64px); }
  .lightbox-arrow.next { right: calc(50% - 64px); }
}
