/* Fuentes autoalojadas (variables, subconjunto latino) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url("fonts/archivo-latin.woff2?v=1") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 600 900; font-display: swap; src: url("fonts/big-shoulders-display-latin.woff2?v=1") format("woff2"); }

/* ============================================================
   ZGYM DIAZ · Propuesta de rediseño · mediafels 2026
   Club premium. Base carbón + hueso. Rojo solo como acento.
   Tipografía: Big Shoulders Display (titulares) + Archivo (texto).
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --panel: #151517;
  --panel-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4f1ec;
  --bone: #e8e2d7;
  --muted: #a8a49c;
  --muted-2: #6f6c66;
  --red: #d1332a;
  --red-hot: #e8483d;
  --red-soft: rgba(209, 51, 42, 0.14);
  --ok: #3ecf6e;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", sans-serif;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 4px; }

/* Grano sutil de fondo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); position: relative; z-index: 2; }

/* ---------- Utilidades tipográficas ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.h-display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.005em;
  color: var(--ink);
}

/* Palabra destacada: mismo tipo condensado, acento en rojo. Sin cursivas. */
.h-display em {
  font-style: normal;
  color: var(--red-hot);
}

.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 16px; max-width: 56ch; font-size: 1.02rem; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  min-height: 52px;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: scale(0.98); }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(209, 51, 42, 0.6);
}
.btn-red:hover { background: #bd2a22; transform: translateY(-2px); }

.btn-bone {
  background: var(--bone);
  color: #101012;
}
.btn-bone:hover { background: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-wa {
  background: #1f3d2b;
  color: #d9f5e2;
  border-color: rgba(62, 207, 110, 0.35);
}
.btn-wa:hover { background: #265036; transform: translateY(-2px); }

.btn-big { padding: 19px 38px; font-size: 1.02rem; min-height: 60px; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.header.solid {
  background: rgba(10, 10, 11, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px clamp(20px, 5vw, 40px);
  max-width: 1360px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.header .btn { padding: 12px 24px; min-height: 44px; font-size: 0.85rem; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); transition: all 0.3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(10, 10, 11, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(1.9rem, 8vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px;
  color: var(--ink);
}
.mobile-menu a:hover { color: var(--red-hot); }
.mobile-menu .btn { margin-top: 22px; font-family: var(--body); font-size: 1rem; text-transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.75) contrast(1.08) brightness(0.8);
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.93) 0%, rgba(10, 10, 11, 0.7) 52%, rgba(10, 10, 11, 0.42) 100%),
    linear-gradient(0deg, var(--bg) 3%, rgba(10, 10, 11, 0.25) 46%, rgba(10, 10, 11, 0.55) 100%);
}

.hero-in {
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  margin: 18px 0 22px;
}
/* Filete rojo fino bajo el titular, en vez de teñir palabras enteras */
.hero h1 em, .alta-head h1 em { position: relative; color: var(--ink); white-space: nowrap; }
.hero h1 em::after, .alta-head h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 5px;
  background: var(--red);
}

/* Foto de acción del hero */
.hero-shot {
  position: relative;
  justify-self: end;
  width: min(400px, 100%);
  margin: 0;
}
.hero-shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.hero-shot figcaption {
  position: absolute;
  left: -20px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 250px;
  padding: 14px 18px;
  background: rgba(14, 14, 16, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.9);
}
.hero-shot figcaption b {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--red-hot);
  flex: none;
}
.hero-shot figcaption span { font-size: 0.78rem; color: var(--muted); line-height: 1.35; }

.hero-sub {
  color: #c9c5bd;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

/* Franja de datos clave bajo el hero */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-fact {
  background: rgba(10, 10, 11, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 18px 20px;
}
.hero-fact b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.hero-fact span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

/* ---------- Cinta ---------- */

.tape {
  position: relative;
  z-index: 3;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  overflow: hidden;
}
.tape-track {
  display: flex;
  width: max-content;
  animation: tape-scroll 40s linear infinite;
}
.tape span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.tape span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
@keyframes tape-scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */

.stats { padding: clamp(64px, 9vw, 110px) 0 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 40px);
}
.stat { border-top: 1px solid var(--line-2); padding-top: 24px; }
.stat .num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 1;
  color: var(--ink);
}
.stat .num i { font-style: normal; color: var(--red-hot); }
.stat p { color: var(--muted); margin-top: 10px; max-width: 30ch; font-size: 0.94rem; }

/* ---------- Actividades ---------- */

.acts-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.act {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  grid-column: span 2;
}
.act:nth-child(4), .act:nth-child(5) { grid-column: span 3; }
.act img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.7s ease;
  filter: saturate(0.78) brightness(0.82);
}
.act:hover img { transform: scale(1.05); filter: saturate(0.95) brightness(0.92); }
.act::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 9, 0.94) 0%, rgba(8, 8, 9, 0.3) 48%, transparent 72%);
}
.act-body { position: relative; z-index: 2; padding: 24px; width: 100%; }
.act-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--red-hot);
}
.act h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1;
  margin: 8px 0 10px;
}
.act p { color: #c5c1ba; font-size: 0.9rem; max-width: 46ch; margin-bottom: 14px; }
.act-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.act-link svg { transition: transform 0.25s ease; }
.act:hover .act-link svg { transform: translateX(5px); }
.act-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10, 10, 11, 0.72);
  border: 1px solid var(--line-2);
  padding: 7px 13px;
  border-radius: 100px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Método ---------- */

.metodo { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metodo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}
.metodo-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.metodo-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.metodo-img .stamp {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--bone);
  color: #101012;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  padding: 11px 17px;
  border-radius: 10px;
}
.metodo-list { margin-top: 32px; }
.metodo-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.metodo-item:first-child { border-top: 1px solid var(--line); }
.metodo-item .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--muted-2);
  min-width: 42px;
}
.metodo-item h4 { font-size: 1.02rem; font-weight: 700; }
.metodo-item p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Cuotas ---------- */

.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; }
.plan {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.plan.hot { border-color: rgba(209, 51, 42, 0.45); }
.plan.hot:hover { border-color: var(--red); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 100px;
}
.plan h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 6px; flex-wrap: wrap; }
.plan-price .amount {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 1;
}
.plan-price .per { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.plan-note { color: var(--muted-2); font-size: 0.78rem; margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: #d3d0c9; font-size: 0.93rem; }
.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23e8483d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.plan .btn { margin-top: auto; }

.plans-extra {
  margin-top: 24px;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 20px 24px;
}
.plans-extra p { color: var(--muted); font-size: 0.9rem; }
.plans-extra p strong { color: var(--ink); }
.plans-legal { margin-top: 18px; color: var(--muted-2); font-size: 0.78rem; max-width: 900px; }

/* ---------- Galería ---------- */

.gallery { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gal-scroll 52s linear infinite;
}
.gallery:hover .gallery-track { animation-play-state: paused; }
.gallery-track img {
  height: clamp(230px, 32vw, 400px);
  width: auto;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  filter: saturate(0.82);
  transition: filter 0.4s ease;
}
.gallery-track img:hover { filter: saturate(1); }
@keyframes gal-scroll { to { transform: translateX(-50%); } }

/* ---------- Testimonios ---------- */

.testis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testi:hover { transform: translateY(-4px); border-color: var(--line-2); }
.testi .quote-mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 0.5;
  color: var(--muted-2);
}
.testi blockquote { color: #d3d0c9; font-size: 0.96rem; flex: 1; }
.testi footer { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  flex: none;
}
.testi .who b { display: block; font-size: 0.9rem; }
.testi .who span { color: var(--muted-2); font-size: 0.79rem; }

/* ---------- Horarios ---------- */

.hours { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hour-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--panel);
  text-align: center;
}
.hour-card .day {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.hour-card .time {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-top: 10px;
}
.hour-card .time i { font-style: normal; color: var(--muted-2); }
.hours-note { margin-top: 22px; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  position: relative;
  min-height: 60px;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red-hot);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { color: var(--muted); padding: 0 0 22px; max-width: 66ch; font-size: 0.95rem; }

/* ---------- CTA final ---------- */

.cta-final { position: relative; overflow: hidden; text-align: center; padding: clamp(76px, 12vw, 148px) 0; }
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/hero-sala-960.webp") center / cover;
  opacity: 0.16;
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 5%, rgba(10, 10, 11, 0.55) 60%, var(--bg) 100%);
}
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(2.8rem, 8vw, 6rem); }
.cta-final p { color: var(--muted); margin: 20px auto 34px; max-width: 46ch; font-size: 1.05rem; }
.cta-final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: #070708; padding: clamp(48px, 7vw, 80px) 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: clamp(26px, 4vw, 50px); }
.footer h5 {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-brand img { height: 64px; width: auto; aspect-ratio: 1; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.89rem; max-width: 30ch; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a, .footer ul li { color: var(--muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--ink); }
.footer-map {
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(0.9) invert(0.92) contrast(0.9);
  aspect-ratio: 16 / 10;
}
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-bottom {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.81rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Barra fija móvil ---------- */

.sticky-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  gap: 10px;
  background: rgba(16, 16, 18, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 8px;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.85);
}
.sticky-bar .btn { flex: 1; min-height: 50px; padding: 12px 14px; font-size: 0.92rem; }
.sticky-bar .btn-wa { flex: 0 0 auto; width: 54px; padding: 0; }

/* ---------- Animaciones de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tape-track, .gallery-track { animation: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   ALTA ONLINE (alta.html)
   ============================================================ */

.alta-page { min-height: 100svh; background: var(--bg); }

.alta-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 110px clamp(16px, 4vw, 32px) 70px;
  position: relative;
  z-index: 2;
}

.alta-head { text-align: center; margin-bottom: 36px; }
.alta-head h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-top: 14px; }
.alta-head p { color: var(--muted); margin-top: 12px; }

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffd9a8;
  background: rgba(255, 170, 60, 0.1);
  border: 1px solid rgba(255, 170, 60, 0.35);
  padding: 8px 16px;
  border-radius: 100px;
  margin-top: 18px;
}

/* Progreso */
.steps-bar { display: flex; align-items: flex-start; margin-bottom: 34px; counter-reset: step; }
.steps-bar .st {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.steps-bar .st::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  background: var(--panel);
  border: 1px solid var(--line-2);
  color: var(--muted);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}
.steps-bar .st::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: var(--line);
  z-index: 1;
}
.steps-bar .st:last-child::after { display: none; }
.steps-bar .st span {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}
.steps-bar .st.is-active::before { background: var(--red); border-color: var(--red); color: #fff; }
.steps-bar .st.is-active span { color: var(--ink); }
.steps-bar .st.done::before {
  background: var(--panel-2);
  border-color: rgba(209, 51, 42, 0.6);
  color: var(--red-hot);
  content: "\2713";
}

/* Tarjeta del paso */
.step-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.step-panel { display: none; }
.step-panel.is-active { display: block; animation: step-in 0.4s cubic-bezier(0.2, 0.6, 0.2, 1); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.step-panel h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 6px;
}
.step-panel > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 24px; }

/* Selección de plan */
.plan-pick { display: grid; gap: 14px; margin-bottom: 20px; }
.pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.pick:hover { transform: translateY(-2px); border-color: var(--line-2); }
.pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.pick .radio {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--muted-2);
  transition: all 0.2s ease;
}
.pick .info { flex: 1; min-width: 0; }
.pick .info b { display: block; font-size: 1rem; }
.pick .info span { color: var(--muted); font-size: 0.84rem; }
.pick .price { font-family: var(--display); font-weight: 800; font-size: 1.65rem; white-space: nowrap; }
.pick .price small { font-family: var(--body); font-weight: 600; font-size: 0.7rem; color: var(--muted); }
.pick.sel { border-color: var(--red); background: linear-gradient(120deg, rgba(209, 51, 42, 0.07), var(--bg-2) 60%); }
.pick.sel .radio { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 4px var(--bg-2); }

.minor-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}
.minor-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.minor-toggle .sw {
  flex: none;
  width: 46px;
  height: 26px;
  border-radius: 100px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  position: relative;
  transition: background 0.25s ease;
}
.minor-toggle .sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  transition: all 0.25s ease;
}
.minor-toggle input:checked + .sw { background: var(--red); border-color: var(--red); }
.minor-toggle input:checked + .sw::after { left: 22px; background: #fff; }
.minor-toggle b { font-size: 0.94rem; }
.minor-toggle > span > span { display: block; color: var(--muted); font-size: 0.81rem; }

/* Formularios */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fgrid .full { grid-column: 1 / -1; }

.field { position: relative; }
.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field label small {
  color: var(--muted-2);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-2);
  border-radius: 13px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  padding: 15px 44px 15px 17px;
  min-height: 54px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.field input::placeholder, .field textarea::placeholder { color: #8b877f; font-weight: 400; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a49c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.26); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px var(--red-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* El autorrelleno de Chrome pintaba los campos de azul y rompia el tema oscuro */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field select:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: inset 0 0 0 1000px #141416;
  caret-color: var(--ink);
  transition: background-color 9999s ease-in-out 0s;
}
/* Calendario del campo de fecha, legible sobre fondo oscuro */
.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.72);
  cursor: pointer;
  opacity: 0.8;
}
/* El campo de fecha ya trae su propio icono: no le ponemos el tic encima */
.field input[type="date"] { padding-right: 17px; }
.field[data-v="fnac"] .mark { display: none; }

/* Estados de validación */
.field .mark {
  position: absolute;
  right: 16px;
  top: 41px;
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.field.ok .mark {
  opacity: 1;
  transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233ecf6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 17px no-repeat;
}
.field.bad .mark {
  opacity: 1;
  transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ff8b3d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v5M12 16.5v.01'/%3E%3C/svg%3E") center / 19px no-repeat;
}
.field.ok input, .field.ok select { border-color: rgba(62, 207, 110, 0.45); }
.field.bad input, .field.bad select { border-color: #ff8b3d; background: rgba(255, 139, 61, 0.05); }
.field .msg {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  color: #ffc79b;
  margin-top: 7px;
  line-height: 1.35;
}
.field.bad .msg { display: flex; }
.field .hint { font-size: 0.76rem; color: var(--muted-2); margin-top: 7px; }
.field.bad .hint { display: none; }

/* ---------- Desplegable propio (el nativo no se puede estilar) ---------- */

.dd { position: relative; }
.dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-2);
  border-radius: 13px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  padding: 15px 17px;
  min-height: 54px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.dd-btn::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a49c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s ease;
}
.dd-btn:hover { border-color: rgba(255, 255, 255, 0.26); }
.dd.open .dd-btn {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.dd.open .dd-btn::after { transform: rotate(180deg); }

.dd-list {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 40;
  list-style: none;
  margin: 0;
  padding: 7px;
  background: #17171a;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.9);
  max-height: 260px;
  overflow-y: auto;
  display: none;
  animation: sel-in 0.16s ease;
}
@keyframes sel-in { from { opacity: 0; transform: translateY(-5px); } }
.dd.open .dd-list { display: block; }
.dd-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.97rem;
  color: #d6d3cc;
  transition: background 0.15s ease, color 0.15s ease;
}
.dd-list li:hover, .dd-list li.hl { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.dd-list li.on { color: var(--ink); font-weight: 600; }
.dd-list li.on::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e8483d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Fecha de nacimiento en tres casillas ---------- */

.dob { display: flex; align-items: center; gap: 9px; }
.dob input {
  text-align: center;
  padding: 15px 8px !important;
  letter-spacing: 0.04em;
}
.dob .d, .dob .m { flex: 1 1 0; min-width: 0; }
.dob .y { flex: 1.5 1 0; min-width: 0; }
.dob i { font-style: normal; color: var(--muted-2); font-weight: 600; flex: none; }

/* Subtítulo que agrupa campos dentro de un paso */
.fsub {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 30px 0 16px;
}
.fsub:first-of-type { margin-top: 0; }
.fsub::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.fset {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 24px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.018);
}
.fset > b {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 18px;
}
.fset > b::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fset .auto-note {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  color: #a9e8c0;
  background: rgba(62, 207, 110, 0.08);
  border: 1px solid rgba(62, 207, 110, 0.28);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 18px;
}
.fset.auto .auto-note { display: flex; }

/* Documento */
.dz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.dz-head label { font-size: 0.79rem; font-weight: 700; color: #cdcac3; }
.dz-head span { font-size: 0.76rem; color: var(--muted-2); }
.dropzones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.dz {
  position: relative;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-s);
  background: var(--bg-2);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.dz:hover, .dz.drag { border-color: var(--red); background: rgba(209, 51, 42, 0.05); }
.dz input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz .ico { font-size: 1.5rem; margin-bottom: 8px; }
.dz b { display: block; font-size: 0.88rem; word-break: break-word; }
.dz span { color: var(--muted-2); font-size: 0.75rem; }
.dz.ok { border-style: solid; border-color: rgba(62, 207, 110, 0.55); background: rgba(62, 207, 110, 0.06); }
.dz.ok b { color: #a9e8c0; }

/* Firma */
.sign-wrap { margin-bottom: 22px; }
.sign-pad {
  position: relative;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-s);
  background: #f6f4ef;
  height: 170px;
  overflow: hidden;
  touch-action: none;
}
.sign-pad canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sign-pad .ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3aca0;
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sign-pad.has .ghost { opacity: 0; }
.sign-clear {
  margin-top: 10px;
  background: none;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}
.sign-clear:hover { color: var(--ink); border-color: var(--ink); }

/* Checks legales */
.legal-checks { display: grid; gap: 12px; }
.lcheck {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  cursor: pointer;
  font-size: 0.87rem;
  color: #cdcac3;
}
.lcheck input { position: absolute; opacity: 0; width: 0; height: 0; }
.lcheck .box {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--muted-2);
  margin-top: 1px;
  transition: all 0.2s ease;
}
.lcheck input:checked + .box {
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;
  border-color: var(--red);
}
.lcheck a { color: var(--red-hot); text-decoration: underline; text-underline-offset: 3px; }

/* Pago */
.pay-summary {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 20px;
  margin-bottom: 22px;
}
.pay-summary .row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 0.92rem; color: var(--muted); }
.pay-summary .row b { color: var(--ink); font-weight: 600; text-align: right; }
.pay-summary .row.total {
  border-top: 1px solid var(--line-2);
  margin-top: 10px;
  padding-top: 16px;
  font-size: 1.02rem;
  align-items: center;
}
.pay-summary .row.total b { font-family: var(--display); font-size: 1.85rem; font-weight: 800; }

.pay-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.pay-tab {
  flex: 1;
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 14px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 50px;
}
.pay-tab.is-active { border-color: var(--red); color: var(--ink); background: rgba(209, 51, 42, 0.07); }

.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #000;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-height: 52px;
}
.wallet-btn:hover { transform: translateY(-2px); border-color: #fff; }
.pay-or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.stripe-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.79rem;
  text-align: center;
}
.stripe-note svg { flex: none; }
.stripe-note b { color: var(--muted); }

/* Navegación de pasos */
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.step-nav .btn-back { background: none; border: 1px solid var(--line-2); color: var(--muted); }
.step-nav .btn-back:hover { color: var(--ink); border-color: var(--ink); }
.step-nav .btn-next { flex: 1; max-width: 320px; margin-left: auto; }

.step-error {
  display: none;
  background: rgba(255, 139, 61, 0.1);
  border: 1px solid rgba(255, 139, 61, 0.4);
  color: #ffc79b;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 0.87rem;
  margin-top: 18px;
}
.step-error.show { display: block; }

/* Éxito */
.success-panel { text-align: center; padding: 24px 4px; }
.success-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: rgba(62, 207, 110, 0.12);
  border: 2px solid rgba(62, 207, 110, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes pop-in { from { transform: scale(0.4); opacity: 0; } }
.success-panel h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 2.8rem); }
.success-panel > p { color: var(--muted); margin: 14px auto 28px; max-width: 44ch; }
.next-steps { display: grid; gap: 12px; text-align: left; max-width: 480px; margin: 0 auto 28px; }
.next-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 16px 18px;
}
.next-step .n { flex: none; font-family: var(--display); font-weight: 800; color: var(--muted-2); font-size: 1.2rem; }
.next-step p { font-size: 0.89rem; color: var(--muted); }
.next-step p b { color: var(--ink); }

/* ============================================================
   DOCUMENTO DE ALTA (lo que recibe el gimnasio)
   ============================================================ */

.doc-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 7, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 24px 16px 60px;
  display: none;
}
.doc-overlay.open { display: block; }

.doc-bar {
  max-width: 820px;
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.doc-bar p { color: var(--muted); font-size: 0.86rem; max-width: 46ch; }
.doc-bar p b { color: var(--ink); }
.doc-bar .acts { display: flex; gap: 10px; flex: none; }
.doc-bar .btn { min-height: 46px; padding: 12px 22px; font-size: 0.88rem; }

/* Hoja A4 en claro: es un documento, no una pantalla */
.doc {
  max-width: 820px;
  margin: 0 auto;
  background: #fbfaf7;
  color: #16161a;
  border-radius: 6px;
  padding: clamp(26px, 5vw, 54px);
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.doc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #16161a;
}
.doc-head img { height: 62px; width: auto; }
.doc-head .t h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #16161a;
}
.doc-head .t p { color: #5c5a55; font-size: 0.82rem; margin-top: 4px; }
.doc-head .ref { text-align: right; font-size: 0.76rem; color: #5c5a55; flex: none; }
.doc-head .ref b { display: block; color: #16161a; font-size: 0.92rem; font-family: var(--display); letter-spacing: 0.04em; }

.doc h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.02rem;
  letter-spacing: 0.07em;
  color: #16161a;
  margin: 26px 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #d8d4cb;
}

.doc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.doc-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dotted #d3cfc6;
}
.doc-row.wide { grid-column: 1 / -1; }
.doc-row span { color: #6a6862; flex: none; }
.doc-row b { font-weight: 600; text-align: right; word-break: break-word; }

.doc-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #16161a;
  color: #fbfaf7;
  border-radius: 8px;
  padding: 16px 22px;
  margin-top: 12px;
}
.doc-plan .p b { display: block; font-size: 1.05rem; }
.doc-plan .p span { font-size: 0.8rem; color: #b6b2aa; }
.doc-plan .amt {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  white-space: nowrap;
}
.doc-paid {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c7a41;
  background: #e4f6ea;
  border: 1px solid #a7ddbc;
  border-radius: 100px;
  padding: 7px 14px;
}

.doc-legal { margin-top: 10px; }
.doc-legal li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dotted #d3cfc6;
  font-size: 0.82rem;
}
.doc-legal li::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border-radius: 4px;
  background: #1c7a41 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.doc-legal li i { font-style: normal; color: #6a6862; font-size: 0.76rem; display: block; margin-top: 2px; }

.doc-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.doc-proof.one { grid-template-columns: 1fr; max-width: 380px; }
.doc-box {
  border: 1px solid #d3cfc6;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.doc-box p {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a6862;
  margin-bottom: 9px;
}
.doc-box img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f2efe9;
  border-radius: 5px;
}
.doc-box .missing {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f2efe9;
  border-radius: 5px;
  color: #8a8780;
  font-size: 0.78rem;
  padding: 12px;
}
.doc-sign { margin-top: 22px; }
.doc-sign .pad {
  border: 1px solid #d3cfc6;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}
.doc-sign img { width: 100%; max-width: 380px; height: auto; display: block; }
.doc-sign .who { margin-top: 8px; font-size: 0.8rem; color: #6a6862; }
.doc-sign .who b { color: #16161a; }

.doc-foot {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #d8d4cb;
  font-size: 0.72rem;
  color: #6a6862;
  line-height: 1.5;
}
.doc-foot b { color: #16161a; }

@media print {
  body { background: #fff; }
  body.alta-page > *:not(.doc-overlay) { display: none !important; }
  .doc-overlay { position: static; display: block; padding: 0; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .doc-bar { display: none; }
  .doc { box-shadow: none; max-width: none; padding: 0; border-radius: 0; }
  .doc-plan { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

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

@media (max-width: 1020px) {
  .acts-grid { grid-template-columns: repeat(2, 1fr); }
  .act, .act:nth-child(4), .act:nth-child(5) { grid-column: span 1; min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header .btn-red { display: none; }
  .burger { display: flex; }
  .header-in { padding: 11px 20px; }
  .logo img { height: 40px; }

  .hero { min-height: auto; padding: 106px 0 44px; align-items: flex-start; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-shot { display: none; }
  .hero-bg img { object-position: center 42%; animation: none; transform: scale(1.06); }
  .hero-bg::after {
    background:
      linear-gradient(0deg, var(--bg) 6%, rgba(10, 10, 11, 0.55) 52%, rgba(10, 10, 11, 0.78) 100%);
  }
  .hero h1 { max-width: none; margin: 14px 0 18px; }
  .hero-sub { font-size: 1rem; margin-bottom: 26px; }
  .hero-ctas { gap: 10px; margin-bottom: 32px; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .stats { padding-top: clamp(48px, 8vw, 70px); }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .stat { padding-top: 18px; }
  .stat .num { font-size: 3.2rem; }

  .metodo-grid { grid-template-columns: 1fr; }
  .metodo-img img { aspect-ratio: 3 / 2; }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-extra { flex-direction: column; align-items: stretch; text-align: center; }
  .plans-extra .btn { width: 100%; }
  .testis-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; gap: 12px; }
  .hour-card { padding: 20px; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .hour-card .time { margin-top: 0; font-size: 1.7rem; }

  .cta-final { padding: 70px 0; }
  .cta-final .hero-ctas .btn { flex: 1 1 100%; }

  .sticky-bar { display: flex; }
  .footer { padding-bottom: 128px; }

  /* La marca de agua de la demo se montaba encima de la barra fija */
  #mf-demo-badge {
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    right: 10px !important;
    font-size: 9px !important;
    padding: 5px 9px !important;
    opacity: 0.7;
  }

  /* Todo un punto más contenido en pantalla pequeña */
  .btn-big { padding: 16px 26px; font-size: 0.98rem; min-height: 54px; }
  .hero h1 { font-size: clamp(2.4rem, 10.5vw, 3.4rem); }
  .hero-sub { font-size: 0.96rem; margin-bottom: 24px; }
  .hero-ctas { gap: 9px; }
  .alta-head h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .alta-head p { font-size: 0.94rem; }
  .step-panel > p { font-size: 0.9rem; margin-bottom: 20px; }
  .fgrid { gap: 15px; }
  .dd-list { max-height: 210px; }

  .gallery-track { animation-duration: 34s; }
  .gallery-track img { height: 220px; }

  /* Alta online */
  .alta-shell { padding-top: 96px; }
  .fgrid { grid-template-columns: 1fr; }
  .dropzones { grid-template-columns: 1fr; }
  .steps-bar .st span { display: none; }
  .steps-bar { margin-bottom: 26px; }
  .step-nav { flex-direction: column-reverse; }
  .step-nav .btn-next { max-width: none; margin-left: 0; }
  .step-nav .btn-back { width: 100%; }
  .wallets { grid-template-columns: 1fr; }
  .pick { flex-wrap: wrap; gap: 12px; }
  .pick .info { flex: 1 1 calc(100% - 38px); }
  .pick .price { width: 100%; padding-left: 38px; }

  .doc-rows { grid-template-columns: 1fr; }
  .doc-proof { grid-template-columns: 1fr; }
  .doc-head { flex-direction: column; }
  .doc-head .ref { text-align: left; }
  .doc-bar { flex-direction: column; align-items: stretch; }
  .doc-bar .acts .btn { flex: 1; }
}

@media (max-width: 560px) {
  .acts-grid { grid-template-columns: 1fr; }
  .act { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact { padding: 14px 18px; display: flex; align-items: baseline; gap: 10px; }
  .hero-fact b { font-size: 1.15rem; }
  .hero-fact span { margin-top: 0; }
  .section-head h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .tape span { font-size: 1rem; gap: 28px; padding: 0 14px; }
  .step-card { padding: 20px 16px; }
  .plan { padding: 26px 22px; }
}

/* Galeria estatica de la portada (sustituye a la cinta en bucle, que repetia las fotos) */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--line); }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Ajustes revision 2026-09-15 */
.mobile-menu { overflow-y: auto; justify-content: safe center; padding: 84px 0 32px; }
.testis-grid.solo { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
@media print { html, body { overflow: visible !important; height: auto !important; } }
a.act { color: inherit; text-decoration: none; cursor: pointer; }
a.act:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }
.pay-pick { display: grid; gap: 12px; margin: 22px 0 8px; }
.pay-pick .pick { padding-block: 16px; }

/* ---- Pie de foto del hero sin cifra suelta ---- */
.hero-shot figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.05rem; margin-bottom: 2px; }

/* ---- Movil (revision 2026-09-15): menos scroll, tarjetas mas compactas ---- */
@media (max-width: 700px) {
  .section { padding-block: 52px; }
  .section-head { margin-bottom: 26px; }
  .section-head p { font-size: 0.95rem; }
  .stats { padding-top: 38px; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; padding: 14px 0; }
  .stat .num { font-size: 2.3rem; }
  .stat p { font-size: 0.88rem; line-height: 1.4; margin-top: 0; }
  .acts-grid { gap: 12px; }
  .act { min-height: 300px; }
  .act-body { padding: 18px; }
  .act h3 { font-size: 1.6rem; }
  .act p { font-size: 0.86rem; margin-bottom: 10px; }
  .metodo-img img { aspect-ratio: 16 / 10; }
  .testi { padding: 22px; }
  .plans-extra { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 56px; width: auto; }
  .footer-brand p { max-width: 40ch; }
}
