/* Padel Manager 27 — web pública. Mobile first; los tokens viven en brand.css */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pm-navy);
  color: var(--pm-white);
  font: 400 16px/1.6 var(--pm-font-body);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--pm-font-display); font-weight: 700; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pm-lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.muted { color: var(--pm-muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--pm-lime); color: var(--pm-lime-ink); border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: .9rem;
  color: var(--pm-lime);
  font: 700 .95rem/1 var(--pm-font-display);
  letter-spacing: .16em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.lead { margin-top: 1rem; color: var(--pm-muted); font-size: 1.08rem; max-width: 62ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7em 1.3em;
  border: 2px solid transparent; border-radius: 10px;
  font: 700 1.05rem/1.1 var(--pm-font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--pm-ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--pm-lime); color: var(--pm-lime-ink); box-shadow: 0 10px 30px rgba(198, 243, 75, .25); }
.btn--lime:hover { box-shadow: 0 14px 40px rgba(198, 243, 75, .4); }
.btn--ghost { border-color: rgba(245, 250, 255, .35); background: rgba(7, 19, 31, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--pm-white); }
.btn--sm { min-height: 40px; padding: .5em .9em; font-size: .95rem; }
.btn--lg { min-height: 60px; padding: .8em 1.6em; font-size: 1.15rem; }
.btn--lg .ico { width: 1.6em; height: 1.6em; }
.btn span { display: flex; flex-direction: column; align-items: flex-start; }
.btn small { font-size: .72em; letter-spacing: .12em; opacity: .75; }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: box-shadow .3s;
}
/* El fondo va en un pseudo-elemento: un backdrop-filter en .topbar la convertiría en el
   bloque contenedor del menú móvil (position: fixed) y lo dejaría aplastado bajo la barra. */
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 19, 31, .88); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .3s;
}
.topbar.is-solid { box-shadow: 0 1px 0 var(--pm-line); }
.topbar.is-solid::before { opacity: 1; }
.topbar__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand img { width: 118px; height: auto; }
.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topbar__cta span { display: none; }

/* La altura se fija con dvh (la parte visible, sin las barras del navegador): con `bottom: 0` el menú
   quedaba más alto que la pantalla y las últimas entradas se cortaban bajo la barra del móvil. */
.nav {
  position: fixed; top: calc(64px + env(safe-area-inset-top)); left: 0; right: 0; z-index: 49;
  height: calc(100vh - 64px - env(safe-area-inset-top));
  height: calc(100dvh - 64px - env(safe-area-inset-top));
  display: grid; align-content: start; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 8px 16px calc(40px + env(safe-area-inset-bottom));
  background: rgba(7, 19, 31, .97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pm-line);
  transform: translateY(-110%); visibility: hidden;
  transition: transform .35s var(--pm-ease), visibility .35s;
}
.nav.is-open { transform: none; visibility: visible; }
.nav a {
  padding: 14px 4px; border-bottom: 1px solid var(--pm-line);
  font: 700 1.25rem/1 var(--pm-font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.nav a:hover, .nav a.is-active { color: var(--pm-lime); }
@media (max-height: 640px) { .nav a { padding: 11px 4px; font-size: 1.1rem; } }

.burger { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px;
  border: 1px solid var(--pm-line); border-radius: 9px; cursor: pointer; list-style: none;
  font: 700 .95rem/1 var(--pm-font-display); text-transform: uppercase; letter-spacing: .08em;
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  min-width: 170px; background: var(--pm-panel); border: 1px solid var(--pm-line); border-radius: 12px; box-shadow: var(--pm-shadow);
}
.lang a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.lang a:hover { background: var(--pm-panel-2); }
.lang a[aria-current="true"] { color: var(--pm-lime); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden;
  padding: calc(96px + env(safe-area-inset-top)) 0 96px;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__bg img { object-position: 62% 50%; animation: heroZoom 18s var(--pm-ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 19, 31, .55) 0%, rgba(7, 19, 31, 0) 25%, rgba(7, 19, 31, .55) 55%, var(--pm-navy) 100%);
}
.hero__content { position: relative; }
.hero__logo { margin: 0 0 1.2rem; }
.hero__logo img { width: min(440px, 82vw); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .55)); }
.hero__title { font: 700 clamp(1.7rem, 6vw, 2.6rem)/1.05 var(--pm-font-display); text-transform: uppercase; max-width: 18ch; }
.hero__lead { margin-top: 1rem; max-width: 52ch; color: #dbe5ee; font-size: 1.05rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.hero__ctas { display: grid; gap: 12px; margin-top: 1.8rem; }
.countdown {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 1.4rem; padding: 10px 16px;
  border: 1px solid rgba(198, 243, 75, .35); border-radius: 12px; background: rgba(7, 19, 31, .6); backdrop-filter: blur(6px);
}
.countdown[hidden] { display: none; }
.countdown__label { color: var(--pm-lime); font: 700 .9rem/1 var(--pm-font-display); letter-spacing: .14em; text-transform: uppercase; }
.countdown__units { display: flex; gap: 14px; }
.countdown__units span { display: flex; align-items: baseline; gap: 5px; }
.countdown__units b { font: 700 1.9rem/1 var(--pm-font-display); font-variant-numeric: tabular-nums; }
.countdown__units small { color: var(--pm-muted); font-size: .8rem; }
.countdown__live { color: var(--pm-lime); font: 700 1.2rem/1 var(--pm-font-display); letter-spacing: .06em; text-transform: uppercase; }
.countdown.is-live .countdown__label, .countdown.is-live .countdown__units { display: none; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 1.2rem; color: var(--pm-muted); font-size: .92rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pm-lime); box-shadow: 0 0 0 0 rgba(198, 243, 75, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(198, 243, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 243, 75, 0); } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: none; color: var(--pm-muted); font: 700 .8rem/1 var(--pm-font-display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.hero__scroll::after { content: ""; display: block; width: 2px; height: 34px; margin: 10px auto 0; background: linear-gradient(var(--pm-lime), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 80px 0; }
.section--tight { padding: 32px 0 64px; }
.section--alt { background: linear-gradient(180deg, var(--pm-navy-2), var(--pm-navy)); border-block: 1px solid rgba(31, 58, 80, .5); }
.head { margin-bottom: 40px; }

/* Tráiler */
.trailer { position: relative; overflow: hidden; border-radius: var(--pm-radius); border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow); background: #000; aspect-ratio: 16 / 9; }
.trailer video { width: 100%; height: 100%; object-fit: cover; }
.trailer__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--pm-lime); color: var(--pm-lime-ink); box-shadow: 0 0 0 12px rgba(198, 243, 75, .2);
  transition: transform .25s var(--pm-ease), box-shadow .25s;
}
.trailer__play:hover { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(198, 243, 75, .18); }
.trailer__play .ico { width: 36px; height: 36px; margin-left: 4px; }
.trailer.is-playing .trailer__play { display: none; }
.trailer__lead { margin: 1.4rem auto 0; max-width: 60ch; text-align: center; color: var(--pm-muted); font-size: 1.05rem; }

/* Cita */
.story { padding: 32px 0 24px; }
.story blockquote { margin: 0 auto; max-width: 900px; text-align: center; }
.story p { font: 700 clamp(1.5rem, 4.6vw, 2.5rem)/1.15 var(--pm-font-display); text-transform: uppercase; }
.story cite { display: block; margin-top: 1rem; color: var(--pm-lime); font: 700 .9rem/1 var(--pm-font-display); letter-spacing: .2em; text-transform: uppercase; font-style: normal; }

/* Pilares */
.pillars { display: grid; gap: 14px; }
.pillar {
  position: relative; padding: 26px 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--pm-panel), rgba(16, 35, 51, .4));
  border: 1px solid var(--pm-line); border-radius: var(--pm-radius);
  transition: border-color .3s, transform .3s var(--pm-ease);
}
.pillar::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--pm-lime); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--pm-ease); }
.pillar:hover { border-color: #2b5170; transform: translateY(-4px); }
.pillar:hover::after { transform: none; }
.pillar__ico { width: 40px; height: 40px; color: var(--pm-lime); margin-bottom: 16px; }
.pillar p { margin-top: .6rem; color: var(--pm-muted); }

/* A tu ritmo */
.pace { display: grid; gap: 14px; }
.pace__item { padding: 24px 22px; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); background: var(--pm-panel); }
.pace__value { margin-bottom: 14px; color: var(--pm-cyan); font: 700 clamp(1.7rem, 5vw, 2.2rem)/1 var(--pm-font-display); letter-spacing: .02em; }
.pace__item:first-child .pace__value { color: var(--pm-lime); }
.pace__item p:last-child { margin-top: .5rem; color: var(--pm-muted); }

/* Bloques imagen + texto */
.split { display: grid; gap: 36px; align-items: center; }
.checks { display: grid; gap: 12px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { margin-top: .2em; color: var(--pm-lime); }
.checks--sm { gap: 9px; margin-top: 1rem; font-size: .95rem; color: var(--pm-muted); }
.checks--sm .ico { width: 1em; height: 1em; margin-top: .3em; }

.shots { min-width: 0; }
.shots__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--pm-radius); border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow); background: var(--pm-panel); }
.shots__item { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s; cursor: zoom-in; }
.shots__item.is-active { opacity: 1; }
.shots__item img { width: 100%; height: 100%; object-fit: cover; }
.shots__tabs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.shots__tabs::-webkit-scrollbar { display: none; }
.shots__tabs button {
  flex: none; min-height: 40px; padding: 8px 14px; border: 1px solid var(--pm-line); border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--pm-muted); font-size: .9rem; white-space: nowrap;
}
.shots__tabs button[aria-selected="true"] { border-color: var(--pm-cyan); color: var(--pm-white); background: rgba(63, 217, 255, .1); }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.6rem 0; }
.figures div { padding: 14px 12px; border: 1px solid var(--pm-line); border-radius: var(--pm-radius-sm); background: var(--pm-panel); }
.figures dt { color: var(--pm-cyan); font: 700 2.2rem/1 var(--pm-font-display); }
.figures dd { margin: 6px 0 0; color: var(--pm-muted); font-size: .85rem; line-height: 1.35; }

/* Mundo */
.world { overflow: hidden; }
.world__bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 107, 255, .35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(198, 243, 75, .12), transparent 40%);
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.stat { padding: 22px 16px; text-align: center; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); background: rgba(16, 35, 51, .6); }
.stat dt { color: var(--pm-lime); font: 700 clamp(2.3rem, 9vw, 3.8rem)/1 var(--pm-font-display); font-variant-numeric: tabular-nums; }
.stat dd { margin: 8px 0 0; color: var(--pm-muted); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.ladder { margin-top: 40px; }
.ladder h3 { margin-bottom: 18px; }
.ladder ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ladder li {
  counter-increment: step; display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: var(--pm-radius-sm); border: 1px solid var(--pm-line);
  background: linear-gradient(90deg, rgba(198, 243, 75, calc(.03 * var(--s, 1))), transparent), var(--pm-panel);
}
.ladder li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--pm-navy); border: 2px solid var(--pm-lime); color: var(--pm-lime); font: 700 1rem/1 var(--pm-font-display); }
.ladder li:last-child { border-color: var(--pm-lime); }
.ladder li:last-child::before { background: var(--pm-lime); color: var(--pm-lime-ink); }

/* Galería */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filters button { min-height: 42px; padding: 8px 18px; border: 1px solid var(--pm-line); border-radius: 999px; background: transparent; cursor: pointer; font: 700 1rem/1 var(--pm-font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--pm-muted); }
.filters button[aria-pressed="true"] { background: var(--pm-lime); border-color: var(--pm-lime); color: var(--pm-lime-ink); }
.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery__item[hidden] { display: none; }
.gallery button { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--pm-line); border-radius: var(--pm-radius-sm); overflow: hidden; background: var(--pm-panel); cursor: zoom-in; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pm-ease); }
.gallery span {
  position: absolute; inset: auto 0 0; padding: 28px 12px 10px; text-align: left; font-size: .85rem; line-height: 1.3;
  background: linear-gradient(transparent, rgba(7, 19, 31, .92));
}
.gallery button:hover img { transform: scale(1.04); }

/* Funcionalidades */
.features { display: grid; gap: 24px; }
.tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 1.1rem; letter-spacing: .1em; }
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.tag--done::before { background: var(--pm-green); }
.tag--wip::before { background: var(--pm-yellow); }
.features__grid { display: grid; gap: 12px; }
.fgroup { padding: 22px 20px; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); background: var(--pm-panel); }
.fgroup h4 { font-size: 1.25rem; }
.fgroup .ico { color: var(--pm-green); }
.features__wip { align-self: start; padding: 22px 20px; border: 1px dashed rgba(255, 212, 71, .45); border-radius: var(--pm-radius); background: rgba(255, 212, 71, .04); }
.features__wip ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: var(--pm-muted); }
.features__wip li { display: flex; gap: 12px; }
.features__wip .ico { color: var(--pm-yellow); margin-top: .2em; }

/* Roadmap */
.roadmap { position: relative; display: grid; gap: 18px; margin: 0; padding: 0 0 0 26px; list-style: none; }
.roadmap::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--pm-lime), var(--pm-cyan) 40%, var(--pm-line)); }
.phase { position: relative; }
.phase__when { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--pm-muted); font: 700 1rem/1 var(--pm-font-display); letter-spacing: .12em; text-transform: uppercase; }
.phase__dot { position: absolute; left: -26px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--pm-navy); border: 3px solid var(--pm-line); }
.phase--now .phase__dot { border-color: var(--pm-lime); background: var(--pm-lime); box-shadow: 0 0 0 6px rgba(198, 243, 75, .2); }
.phase--launch .phase__dot { width: 18px; height: 18px; left: -28px; border-color: var(--pm-lime); background: var(--pm-navy); box-shadow: 0 0 0 4px var(--pm-navy), 0 0 0 6px var(--pm-lime); }
.phase--launch .phase__when { color: var(--pm-lime); }
.phase--launch .phase__card { border: 2px solid var(--pm-lime); background: linear-gradient(160deg, rgba(198, 243, 75, .14), var(--pm-panel) 60%); box-shadow: 0 12px 40px rgba(198, 243, 75, .12); }
.badge--launch { background: var(--pm-white); color: var(--pm-navy); }
.phase--next .phase__dot { border-color: var(--pm-cyan); }
.phase--later .phase__dot { border-color: #4b6b88; }
.phase--explore .phase__dot { border-style: dashed; border-color: var(--pm-violet); }
.phase__card { padding: 20px; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); background: var(--pm-panel); }
.phase--now .phase__card { border-color: rgba(198, 243, 75, .55); background: linear-gradient(160deg, rgba(198, 243, 75, .08), var(--pm-panel) 50%); }
.phase--explore .phase__card { border-style: dashed; background: transparent; }
.phase__card h3 { margin: 10px 0 12px; }
.phase__card ul { display: grid; gap: 8px; margin: 0; padding-left: 1.1em; color: var(--pm-muted); }
.phase__card li::marker { color: var(--pm-lime); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 .78rem/1.2 var(--pm-font-display); letter-spacing: .12em; text-transform: uppercase; }
.badge--now { background: var(--pm-lime); color: var(--pm-lime-ink); }
.badge--next { background: rgba(63, 217, 255, .14); color: var(--pm-cyan); }
.badge--later { background: rgba(183, 197, 208, .1); color: var(--pm-muted); }
.badge--explore { background: rgba(160, 107, 255, .14); color: #c6a8ff; }
.note { margin-top: 24px; color: var(--pm-dim); font-size: .9rem; }

/* Lista de deseados */
.wish { overflow: hidden; background: radial-gradient(ellipse at 70% 0%, rgba(47, 107, 255, .3), transparent 60%), var(--pm-navy); }
.wish__inner { display: grid; gap: 32px; align-items: center; }
.steps { display: grid; gap: 12px; margin: 1.6rem 0 2rem; padding: 0; list-style: none; counter-reset: wstep; }
.steps li { display: flex; align-items: center; gap: 14px; counter-increment: wstep; }
.steps__n::before { content: counter(wstep); }
.steps__n { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--pm-panel-2); border: 1px solid var(--pm-line); color: var(--pm-lime); font: 700 1.1rem/1 var(--pm-font-display); }
.wish__widget { display: grid; gap: 12px; }
.wish__capsule { width: 100%; border-radius: var(--pm-radius); box-shadow: var(--pm-shadow); border: 1px solid var(--pm-line); }
.wish__widget iframe { width: 100%; max-width: 646px; height: 190px; border: 0; border-radius: 10px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.6rem; }
.socials:empty { display: none; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--pm-line); border-radius: 12px; color: var(--pm-muted); transition: color .2s, border-color .2s, transform .2s; }
.socials a:hover { color: var(--pm-lime); border-color: var(--pm-lime); transform: translateY(-2px); }
.socials .ico { width: 22px; height: 22px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--pm-line); border-radius: var(--pm-radius-sm); background: var(--pm-panel); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--pm-lime); transition: transform .25s; }
.faq details[open] summary .ico { transform: rotate(90deg); }
.faq details p { padding: 0 20px 20px; color: var(--pm-muted); }

/* Prensa */
.press { display: grid; gap: 32px; }
.press__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.press__contact { margin-top: 1.2rem; color: var(--pm-muted); }
.facts { display: grid; margin: 0; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); overflow: hidden; background: var(--pm-panel); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--pm-line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--pm-dim); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 0; font-weight: 600; }

/* Pie */
.footer { padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--pm-line); background: #050e17; }
.footer__inner { display: grid; gap: 24px; }
.footer__inner p { margin-top: 10px; color: var(--pm-muted); }
.footer .socials { margin-top: 0; }
.footer__langs { display: flex; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.footer__langs a { display: grid; place-items: center; min-width: 44px; height: 36px; border-radius: 8px; border: 1px solid var(--pm-line); text-decoration: none; font: 700 .9rem/1 var(--pm-font-display); letter-spacing: .08em; color: var(--pm-muted); }
.footer__langs a[aria-current="true"] { color: var(--pm-lime); border-color: var(--pm-lime); }
.footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--pm-line); color: var(--pm-dim); font-size: .8rem; display: grid; gap: 6px; }

/* CTA fija (móvil) */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px;
  border: 1px solid var(--pm-line); border-radius: 14px; background: rgba(11, 26, 42, .94); backdrop-filter: blur(12px); box-shadow: var(--pm-shadow);
  transform: translateY(140%); transition: transform .4s var(--pm-ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta img { border-radius: 8px; }
.sticky-cta span { flex: 1; min-width: 0; font-size: .8rem; line-height: 1.25; color: var(--pm-muted); }
.sticky-cta .btn { flex: none; }

/* Visor */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #03090f; color: var(--pm-white); inset: 0; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(3, 9, 15, .8); }
.lightbox figure { margin: 0; grid-column: 1 / -1; grid-row: 1; padding: 56px 8px; }
.lightbox img { max-height: calc(100dvh - 150px); margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { margin-top: 14px; text-align: center; color: var(--pm-muted); }
.lightbox__close { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pm-panel); font-size: 1.8rem; cursor: pointer; z-index: 2; }
.lightbox__nav { grid-row: 1; grid-column: 3; z-index: 2; width: 48px; height: 48px; margin: 8px; border: 0; border-radius: 50%; background: rgba(16, 35, 51, .85); cursor: pointer; display: grid; place-items: center; }
.lightbox__nav--prev { grid-column: 1; }
.lightbox__nav--prev .ico { transform: rotate(180deg); }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--pm-ease), transform .7s var(--pm-ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .hero__ctas { display: flex; flex-wrap: wrap; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pace { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .topbar__cta span { display: inline; }
  .facts div { grid-template-columns: 150px 1fr; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 1000px) {
  .section { padding: 120px 0; }
  .section--tight { padding: 40px 0 80px; }
  .head { margin-bottom: 56px; }
  .brand img { width: 140px; }
  .burger { display: none; }
  .nav {
    position: static; inset: auto; height: auto; display: flex; flex: 1 1 auto; min-width: 0; gap: 2px; padding: 0; margin-left: 12px;
    overflow: hidden; /* nunca barra de scroll: lo que no cabe lo oculta site.js */
    background: none; backdrop-filter: none; border: 0; transform: none; visibility: visible;
  }
  .nav a { flex: none; padding: 10px 7px; border: 0; font-size: .95rem; color: #d6e1ea; white-space: nowrap; }
  .nav a.is-hidden { display: none; }
  .topbar__cta { white-space: nowrap; }
  .hero { align-items: center; padding-bottom: 120px; }
  .hero__content { padding-top: 40px; }
  .hero__logo img { width: 520px; }
  .hero__scroll { display: block; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pace { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pillar { padding: 32px 28px; }
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split--rev { grid-template-columns: 7fr 5fr; }
  .split--rev .split__text { order: 2; }
  .ladder ol { grid-template-columns: repeat(5, 1fr); }
  .ladder li { flex-direction: column; align-items: flex-start; min-height: 120px; padding: 18px; }
  .ladder li:nth-child(2) { margin-top: -10px; } .ladder li:nth-child(3) { margin-top: -20px; }
  .ladder li:nth-child(4) { margin-top: -30px; } .ladder li:nth-child(5) { margin-top: -40px; }
  .ladder ol { align-items: end; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .features { grid-template-columns: 2fr 1fr; gap: 32px; }
  .roadmap { grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 34px 0 0; }
  .roadmap::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--pm-lime), var(--pm-cyan) 30%, var(--pm-line) 70%); }
  .phase { display: flex; flex-direction: column; }
  .phase__dot { left: 0; top: -34px; }
  .phase--launch .phase__dot { left: -2px; top: -36px; }
  .phase__card { flex: 1; }
  .phase__card ul { font-size: .93rem; }
  .wish__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .press { grid-template-columns: 3fr 2fr; gap: 64px; align-items: center; }
  .footer { padding-bottom: 48px; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__right { display: grid; justify-items: end; }
  .sticky-cta { display: none; }
  .lightbox figure { padding: 40px 80px; }
}


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