/* ==========================================================================
   Play Padel Court · Web comercial
   Hoja única. Sin dependencias. Orden:
   1. Fuente y tokens   2. Base   3. Utilidades y botones   4. Cabecera
   5. Mockups (CRM, móvil)   6. Secciones   7. Formulario   8. FAQ
   9. Pie   10. Páginas legales   11. Animaciones   12. Responsive
   ========================================================================== */

/* 1. Fuente y tokens ------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca (los de la app: noche azul profundo + lima de pelota de pádel) */
  --lime: #c6f432;
  --lime-strong: #d4ff4a;
  --lime-ink: #0b1220;
  --lime-soft: rgba(198, 244, 50, 0.12);
  --blue: #2f7df6;

  /* Superficies */
  --bg: #060a12;
  --bg-2: #0a101c;
  --surface: #0e1524;
  --surface-2: #131c2e;
  --surface-3: #1a2540;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Texto */
  --text: #f4f7fb;
  --text-2: #c3cbdb;
  --muted: #8f9bb4;

  /* Estados */
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;

  /* Tipografía fluida */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: clamp(1.06rem, 0.98rem + 0.35vw, 1.22rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-hero: clamp(2.6rem, 1.5rem + 5vw, 5.6rem);

  /* Espaciado y forma */
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.05; font-weight: 750; text-wrap: balance; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* 3. Utilidades y botones -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; overflow-x: clip; }
.section--tight { padding-block: calc(var(--section) * 0.7); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: var(--fs-h2); margin-top: 1rem; }
.section-lead { margin-top: 1.25rem; font-size: var(--fs-lg); color: var(--text-2); max-width: 640px; }
.section-head--center .section-lead { margin-inline: auto; }
.text-lime { color: var(--lime); }
.text-muted { color: var(--muted); }
.gradient-text {
  background: linear-gradient(100deg, #fff 10%, var(--lime) 55%, #9fe0ff 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--primary {
  --btn-bg: var(--lime);
  --btn-fg: var(--lime-ink);
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(198, 244, 50, 0), 0 10px 30px -10px rgba(198, 244, 50, 0.55);
}
.btn--primary:hover { --btn-bg: var(--lime-strong); box-shadow: 0 0 0 6px rgba(198, 244, 50, 0.14), 0 14px 40px -12px rgba(198, 244, 50, 0.7); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--fs-sm);
  color: var(--text-2);
  backdrop-filter: blur(8px);
}
.pill__tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.example-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.example-note::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
}

/* Fondo: rejilla de pista y luces */
.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}
.glow--lime { background: radial-gradient(circle, rgba(198, 244, 50, 0.5), transparent 65%); }
.glow--blue { background: radial-gradient(circle, rgba(47, 125, 246, 0.45), transparent 65%); }

/* 4. Cabecera -------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 10, 18, 0.78);
  border-bottom-color: var(--border);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex: none;
}
.brand img { width: 34px; height: 34px; }
.brand span span { color: var(--lime); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 0.25rem; list-style: none; }
.nav__link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 550;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.header-cta { flex: none; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  padding: 1.5rem var(--gutter) 2rem;
  background: rgba(6, 10, 18, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu .btn { margin-top: 1.5rem; }
body.menu-open { overflow: hidden; }

/* 5. Mockups --------------------------------------------------------------- */

/* 5.1 Ventana de navegador con el CRM (tema claro, como el CRM real) */
.browser {
  position: relative;
  border-radius: 18px;
  background: #0d1320;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 14px;
  background: #121a2a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser__dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.browser__dot:nth-child(1) { background: #ff5f57; }
.browser__dot:nth-child(2) { background: #febc2e; }
.browser__dot:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #8f9bb4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.browser__url svg { width: 10px; height: 10px; }

.crm {
  --c-bg: #f6f8fb;
  --c-line: #e3e8ef;
  --c-text: #0f172a;
  --c-muted: #64748b;
  --c-court: #1f5fae;
  display: grid;
  grid-template-columns: 168px 1fr;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 11px;
  line-height: 1.35;
  min-height: 420px;
}
.crm__side {
  background: #fff;
  border-right: 1px solid var(--c-line);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.crm__brand { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; font-weight: 700; font-size: 12px; }
.crm__brand i {
  width: 20px; height: 20px; border-radius: 6px; background: #0b1220; display: grid; place-items: center;
}
.crm__brand i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.crm__group { padding: 8px 8px 4px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; font-weight: 600; }
.crm__nav { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: #475569; font-weight: 550; }
.crm__nav svg { width: 13px; height: 13px; color: #94a3b8; flex: none; }
.crm__nav.is-active { background: #eef5fc; color: var(--c-court); }
.crm__nav.is-active svg { color: var(--c-court); }
.crm__main { padding: 14px 16px; min-width: 0; }
.crm__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.crm__title { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.crm__sub { color: var(--c-muted); font-size: 10px; margin-top: 1px; }
.crm__btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 9px; border-radius: 7px; font-weight: 600; font-size: 10px;
  background: var(--c-court); color: #fff; white-space: nowrap;
}
.crm__btn--ghost { background: #fff; color: #334155; border: 1px solid var(--c-line); }
.crm__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.crm__date { font-weight: 650; font-size: 11px; padding: 0 4px; }
.crm__legend { margin-left: auto; display: flex; gap: 10px; color: #475569; }
.crm__legend span { display: inline-flex; align-items: center; gap: 4px; }
.sw { width: 12px; height: 8px; border-radius: 2px; display: inline-block; }
.sw--private { background: var(--c-court); }
.sw--match { background: #ecfdf5; border: 1px dashed #10b981; }
.sw--class { background: #f5f3ff; border: 1px solid #ddd6fe; border-left: 3px solid #8b5cf6; }

/* Calendario por pistas */
.cal {
  position: relative;
  display: grid;
  grid-template-columns: 34px repeat(var(--cols, 4), minmax(0, 1fr));
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.cal__head {
  padding: 6px 6px;
  border-bottom: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
  font-weight: 650;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal__head small { display: block; font-weight: 500; color: var(--c-muted); font-size: 9px; }
.cal__corner { border-bottom: 1px solid var(--c-line); }
.cal__times { position: relative; }
.cal__times span { position: absolute; right: 4px; transform: translateY(-50%); color: #94a3b8; font-size: 9px; }
.cal__col {
  position: relative;
  border-left: 1px solid var(--c-line);
  height: var(--cal-h, 300px);
  background-image: linear-gradient(#eef2f7 1px, transparent 1px);
  background-size: 100% calc(var(--cal-h, 300px) / var(--rows, 8));
}
.cal__col--off { background-color: #f8fafc; background-image: repeating-linear-gradient(135deg, #f1f5f9 0 6px, #f8fafc 6px 12px); }
.ev {
  position: absolute;
  left: 4px;
  right: 4px;
  top: var(--t);
  height: var(--h);
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 9.5px;
  line-height: 1.3;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ev b { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.ev b svg { width: 10px; height: 10px; flex: none; }
.ev em { font-style: normal; opacity: 0.8; display: block; }
.ev--private { background: var(--c-court); color: #fff; border: 1px solid #1a4d8d; }
.ev--match { background: #ecfdf5; color: #064e3b; border: 1px dashed #10b981; }
.ev--class { background: #f5f3ff; color: #2e1065; border: 1px solid #ddd6fe; border-left: 3px solid #8b5cf6; }
.ev__tag {
  display: inline-block;
  margin-top: 3px;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 14px;
}
.ev__tag--pending { background: #fef3c7; color: #78350f; }
.ev__tag--paid { background: #d1fae5; color: #065f46; }
.ev__tag--done { background: #1e293b; color: #fff; }
.dots { display: inline-flex; gap: 2px; vertical-align: middle; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: #059669; }
.dots i.o { background: #fff; border: 1px solid #10b981; }
.cal__now {
  position: absolute;
  left: 34px;
  right: 0;
  top: var(--now, 52%);
  height: 0;
  border-top: 1.5px solid #ef4444;
  z-index: 3;
}
.cal__now::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
}

/* 5.2 Teléfono con la app (tema oscuro, como la app real) */
.phone {
  --p-bg: #0b1220;
  --p-surface: #131c2e;
  --p-alt: #1a2540;
  --p-border: #24314f;
  --p-muted: #8a97b1;
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 9 / 19.2;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #2a3348, #0b0f18 40%, #1b2232);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: var(--p-bg);
  color: #f4f7fb;
  font-size: 11px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
}
.phone__island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: 20px;
  background: #000;
  z-index: 5;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px 0;
  font-size: 10.5px;
  font-weight: 650;
  height: 40px;
  flex: none;
}
.phone__status i { display: inline-flex; gap: 4px; align-items: center; }
.phone__status i::before, .phone__status i::after { content: ""; width: 14px; height: 7px; border-radius: 2px; border: 1px solid #f4f7fb; }
.phone__status i::before { width: 10px; border: 0; background: linear-gradient(90deg, #f4f7fb 0 25%, transparent 25% 35%, #f4f7fb 35% 60%, transparent 60% 70%, #f4f7fb 70%); height: 7px; }
.phone__body { flex: 1; padding: 6px 14px 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.phone__tabs {
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 6px 16px;
  border-top: 1px solid var(--p-border);
  background: #0e1626;
}
.phone__tab { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--p-muted); font-size: 8.5px; font-weight: 600; }
.phone__tab svg { width: 16px; height: 16px; }
.phone__tab.is-active { color: var(--lime); }

.p-title { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.p-sub { color: var(--p-muted); font-size: 10.5px; margin-top: 2px; }
.p-label { font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-muted); }
.p-card { background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 14px; padding: 10px; }
.p-hero {
  border-radius: 16px;
  padding: 12px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(198, 244, 50, 0.18), transparent 50%), var(--p-surface);
  border: 1px solid var(--p-border);
}
.p-hero .p-label { color: var(--lime); }
.p-big { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.p-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-row + .p-row { margin-top: 6px; }
.p-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  background: var(--p-alt); color: #c7d2e6; font-size: 9.5px; font-weight: 600; white-space: nowrap;
}
.p-chip--lime { background: var(--lime); color: var(--lime-ink); }
.p-chip--ok { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.p-btn { display: block; text-align: center; padding: 8px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-weight: 750; font-size: 11px; }
.p-list { display: flex; flex-direction: column; gap: 7px; }
.p-club { display: flex; gap: 9px; align-items: center; }
.p-club__img {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #1f5fae, #0b1220);
  position: relative; overflow: hidden;
}
.p-club__img::before { content: ""; position: absolute; inset: 7px 9px; border: 1.5px solid rgba(255, 255, 255, 0.7); border-radius: 3px; }
.p-club__img::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; border-top: 1.5px solid var(--lime); }
.p-club b { display: block; font-size: 11.5px; }
.p-club small { color: var(--p-muted); font-size: 9.5px; }
.p-heart { margin-left: auto; color: var(--lime); }
.p-heart svg { width: 14px; height: 14px; }
.p-days { display: flex; gap: 5px; }
.p-day { flex: 1; text-align: center; padding: 5px 0; border-radius: 9px; background: var(--p-surface); border: 1px solid var(--p-border); font-size: 9px; color: var(--p-muted); }
.p-day b { display: block; color: #f4f7fb; font-size: 12px; }
.p-day.is-active { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.p-day.is-active b { color: var(--lime-ink); }
.p-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.p-slot { text-align: center; padding: 8px 0; border-radius: 9px; border: 1px solid var(--p-border); background: var(--p-surface); font-weight: 700; font-size: 11px; }
.p-slot small { display: block; font-weight: 500; color: var(--p-muted); font-size: 8.5px; }
.p-slot.is-active { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime) inset; color: var(--lime); }
.p-match__dots { display: inline-flex; gap: 3px; }
.p-match__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.p-match__dots i.o { background: transparent; border: 1.5px solid var(--lime); }
.p-stat { flex: 1; padding: 9px; border-radius: 12px; background: var(--p-surface); border: 1px solid var(--p-border); }
.p-stat b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.p-stat small { color: var(--p-muted); font-size: 9px; }
.p-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; padding-top: 6px; }
.p-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--p-alt); }
.p-bars i.hi { background: var(--lime); }
.p-oauth { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 11px; border: 1px solid var(--p-border); background: var(--p-surface); font-weight: 650; font-size: 10.5px; }
.p-oauth--apple { background: #fff; color: #000; border-color: #fff; }
.p-oauth--mail { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.p-oauth svg { width: 13px; height: 13px; }

/* 6. Secciones ------------------------------------------------------------- */

/* 6.1 Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow-1 { width: 720px; height: 720px; top: -260px; left: 50%; transform: translateX(-30%); }
.hero__glow-2 { width: 520px; height: 520px; top: 280px; left: -240px; opacity: 0.35; }
.hero__copy { position: relative; z-index: 1; text-align: center; max-width: 960px; margin-inline: auto; }
.hero__title { font-size: var(--fs-hero); margin-top: 1.5rem; letter-spacing: -0.05em; line-height: 0.98; font-weight: 800; }
.hero__lead { margin: 1.6rem auto 0; max-width: 680px; font-size: var(--fs-lg); color: var(--text-2); }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hero__points {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  list-style: none;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.hero__points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__points svg { width: 16px; height: 16px; color: var(--lime); }

.hero__stage {
  position: relative;
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
  perspective: 1800px;
}
.hero__browser {
  max-width: 1000px;
  margin-inline: auto;
  transform: rotateX(8deg);
  transform-origin: 50% 0;
  transition: transform 1.2s var(--ease);
}
.hero__stage.is-visible .hero__browser { transform: rotateX(0); }
.hero__phone {
  position: absolute;
  right: max(0px, calc(50% - 560px));
  bottom: -40px;
  width: clamp(170px, 22vw, 250px);
  transform: rotate(4deg);
  z-index: 2;
}
.hero__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(14, 21, 36, 0.86);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  font-size: 0.82rem;
  color: var(--text-2);
}
.hero__float b { display: block; color: var(--text); font-size: 0.88rem; }
.hero__float i {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--lime-soft); color: var(--lime);
}
.hero__float i svg { width: 18px; height: 18px; }
.hero__float--1 { left: max(0px, calc(50% - 650px)); top: 18%; }
.hero__float--2 { left: max(8px, calc(50% - 600px)); bottom: 6%; }

/* 6.2 Problema → solución */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: stretch; }
.chaos, .order {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  min-height: 460px;
  overflow: hidden;
}
.chaos { background: linear-gradient(180deg, #11141b, #0c0f15); border: 1px solid var(--border); }
.order { background: radial-gradient(100% 80% at 80% 0%, rgba(198, 244, 50, 0.12), transparent 60%), var(--surface); border: 1px solid rgba(198, 244, 50, 0.25); }
.panel-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.order .panel-label { color: var(--lime); }
.panel-title { font-size: var(--fs-h3); margin-top: 0.75rem; max-width: 420px; }
.chaos__board { position: relative; margin-top: 1.75rem; height: 300px; }
.note {
  position: absolute;
  max-width: 220px;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.8);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.6s var(--ease);
}
.note b { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; opacity: 0.75; }
.note--call { background: #1b1f29; color: #e6e9f0; border: 1px solid #2c3242; }
.note--chat { background: #16261e; color: #b8f5d5; border: 1px solid #1f3b2c; }
.note--alert { background: #2a1416; color: #ffc9c9; border: 1px solid #4a1f23; }
.chaos:hover .note { transform: rotate(calc(var(--r, 0deg) * 1.6)) translateY(-2px); }
.problem-list { margin-top: 1.5rem; display: grid; gap: 0.6rem; list-style: none; }
.problem-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-2); font-size: 0.95rem; }
.problem-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.chaos .problem-list svg { color: var(--danger); }
.order .problem-list svg { color: var(--lime); }
.order__panel { margin-top: 1.75rem; display: grid; gap: 0.6rem; }
.order__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.order__row i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime); flex: none; }
.order__row i svg { width: 17px; height: 17px; }
.order__row span { color: var(--muted); font-size: 0.8rem; margin-left: auto; text-align: right; }

/* 6.3 Dos experiencias */
.duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.25rem; }
.duo__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  min-height: 560px;
}
.duo__copy { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); position: relative; z-index: 1; }
.duo__copy h3 { font-size: var(--fs-h3); margin-top: 0.75rem; }
.duo__copy p { margin-top: 0.8rem; color: var(--text-2); max-width: 470px; }
.duo__tags { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; }
.duo__tags li { padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.8rem; color: var(--text-2); }
.duo__visual { position: relative; margin-top: auto; padding: 0 clamp(1.25rem, 1rem + 1vw, 2.5rem); }
.duo__card--crm .duo__visual .browser { border-radius: 14px 14px 0 0; transform: translateY(18px); }
.duo__card--app { background: radial-gradient(90% 70% at 50% 100%, rgba(198, 244, 50, 0.14), transparent 60%), var(--surface); }
.duo__card--app .duo__visual { display: flex; justify-content: center; height: 330px; overflow: hidden; }
.duo__card--app .phone { max-width: 240px; transform: translateY(20px); }
.duo__link {
  position: absolute;
  top: 50%;
  left: calc(56.5% - 26px);
  z-index: 4;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px rgba(198, 244, 50, 0.5);
}
.duo__link svg { width: 22px; height: 22px; }
.duo-wrap { position: relative; }

/* 6.4 Reservas (calendario grande) */
.bookings { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.feature-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 2rem; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; }
.feature-list i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--lime);
}
.feature-list i svg { width: 19px; height: 19px; }
.feature-list b { display: block; font-size: 1rem; font-weight: 650; }
.feature-list span { color: var(--muted); font-size: 0.92rem; }
.bookings__visual { position: relative; }
.bookings__visual .browser { transform: perspective(1600px) rotateY(-6deg); transition: transform 0.8s var(--ease); }
.bookings__visual:hover .browser { transform: perspective(1600px) rotateY(0); }
.slot-pop {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 40px;
  width: 230px;
  padding: 0.9rem;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.75);
  font-size: 0.78rem;
}
.slot-pop h4 { font-size: 0.9rem; letter-spacing: -0.01em; }
.slot-pop p { color: #64748b; font-size: 0.75rem; margin-top: 2px; }
.slot-pop__opts { margin-top: 0.7rem; display: grid; gap: 0.35rem; }
.slot-pop__opts span { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.55rem; border: 1px solid #e3e8ef; border-radius: 8px; font-weight: 600; }

/* 6.5 Bento del CRM */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile {
  --mx: 50%;
  --my: 50%;
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(198, 244, 50, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}
.tile:hover { border-color: rgba(198, 244, 50, 0.3); }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile--tall { grid-row: span 2; }
.tile__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lime-soft); color: var(--lime); flex: none;
}
.tile__icon svg { width: 21px; height: 21px; }
.tile h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-top: 1rem; line-height: 1.2; }
.tile p { color: var(--muted); font-size: 0.93rem; margin-top: 0.5rem; }
.tile ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.4rem; }
.tile li { display: flex; gap: 0.5rem; font-size: 0.88rem; color: var(--text-2); }
.tile li::before { content: ""; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 50%; background: var(--lime); flex: none; }
.tile__visual { margin-top: auto; padding-top: 1.25rem; }

/* mini interfaces dentro del bento */
.mini {
  border-radius: 12px;
  background: #f6f8fb;
  color: #0f172a;
  font-size: 11px;
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.mini--dark { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.mini__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 4px; border-bottom: 1px solid #e3e8ef; }
.mini--dark .mini__row { border-color: var(--border); }
.mini__row:last-child { border-bottom: 0; }
.mini--table { display: grid; grid-template-columns: 1fr 1fr auto; }
.mini--table .mini__row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
.mini--table .badge { justify-self: end; }
.mini__row b { font-weight: 650; }
.mini__muted { color: #64748b; }
.mini--dark .mini__muted { color: var(--muted); }
.badge { display: inline-flex; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 650; white-space: nowrap; }
.badge--ok { background: #d1fae5; color: #065f46; }
.badge--warn { background: #fef3c7; color: #92400e; }
.badge--off { background: #e2e8f0; color: #475569; }
.badge--blue { background: #eef5fc; color: #1f5fae; }
.badge--violet { background: #f5f3ff; color: #6d28d9; }
.badge--dark-ok { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.badge--dark-red { background: rgba(248, 113, 113, 0.14); color: #fca5a5; }
.badge--dark-lime { background: var(--lime-soft); color: var(--lime); }
.rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rate { border-radius: 10px; padding: 10px; background: #fff; border: 1px solid #e3e8ef; color: #0f172a; }
.rate small { display: block; color: #64748b; font-size: 10px; }
.rate b { display: block; font-size: 15px; letter-spacing: -0.02em; margin-top: 2px; }
.rate em { font-style: normal; display: flex; justify-content: space-between; color: #475569; font-size: 10px; margin-top: 4px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week span { text-align: center; padding: 6px 0; border-radius: 7px; background: #fff; border: 1px solid #e3e8ef; color: #0f172a; font-size: 10px; font-weight: 600; }
.week span small { display: block; color: #64748b; font-weight: 500; font-size: 8.5px; }
.week span.off { background: #f1f5f9; color: #94a3b8; }
.cash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cash div { border-radius: 10px; padding: 9px; background: var(--surface-3); border: 1px solid var(--border); }
.cash div.total { background: rgba(198, 244, 50, 0.08); border-color: rgba(198, 244, 50, 0.3); }
.cash small { display: block; color: var(--muted); font-size: 10px; }
.cash b { display: block; font-size: 15px; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.roles { display: grid; gap: 6px; }
.role { display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: center; font-size: 11px; }
.role b { font-weight: 650; }
.role span { display: flex; gap: 4px; flex-wrap: wrap; }

/* 6.6 App: escaparate de pantallas */
.app-section { overflow: hidden; }
.app-showcase { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.screen-tabs { margin-top: 2rem; display: grid; gap: 0.5rem; }
.screen-tab {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}
.screen-tab i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--muted); transition: background-color 0.25s, color 0.25s;
}
.screen-tab i svg { width: 19px; height: 19px; }
.screen-tab b { display: block; font-weight: 650; font-size: 1rem; }
.screen-tab span { display: block; color: var(--muted); font-size: 0.88rem; }
.screen-tab:hover { background: rgba(255, 255, 255, 0.03); }
.screen-tab[aria-selected="true"] { background: var(--surface); border-color: rgba(198, 244, 50, 0.3); }
.screen-tab[aria-selected="true"] i { background: var(--lime); color: var(--lime-ink); }
.app-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}
.app-stage__ring {
  position: absolute;
  width: min(560px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle, rgba(198, 244, 50, 0.1), transparent 60%);
}
.app-stage__ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}
.app-stage .phone { max-width: 300px; position: relative; z-index: 1; }
.app-stage .phone--ghost { position: absolute; max-width: 240px; opacity: 0.45; filter: saturate(0.6); z-index: 0; }
.app-stage .phone--ghost.left { transform: translateX(-62%) rotate(-8deg) scale(0.9); }
.app-stage .phone--ghost.right { transform: translateX(62%) rotate(8deg) scale(0.9); }
.screen { display: none; flex: 1; min-height: 0; flex-direction: column; gap: 10px; }
.screen.is-active { display: flex; animation: screen-in 0.45s var(--ease); }
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.app-extras { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.extra { padding: 1.25rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
.extra i { color: var(--lime); }
.extra i svg { width: 22px; height: 22px; }
.extra b { display: block; margin-top: 0.75rem; font-weight: 650; }
.extra span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* 6.7 A medida */
.tailor {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(47, 125, 246, 0.18), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(198, 244, 50, 0.14), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.tailor__title { font-size: var(--fs-h2); }
.tailor__lead { margin-top: 1.2rem; color: var(--text-2); font-size: var(--fs-lg); max-width: 560px; }
.tailor__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.config { display: grid; gap: 0.7rem; }
.config__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: rgba(6, 10, 18, 0.55);
  border: 1px solid var(--border);
  font-size: 0.93rem;
}
.config__row span { color: var(--muted); font-size: 0.82rem; text-align: right; }
.toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--lime); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime-ink); }
.toggle.off { background: var(--surface-3); }
.toggle.off::after { right: auto; left: 3px; background: var(--muted); }

/* 6.8 CTA final */
.final {
  position: relative;
  text-align: center;
  padding-block: clamp(6rem, 4rem + 8vw, 11rem);
  overflow: hidden;
  isolation: isolate;
}
.final__court {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(1100px, 140vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%) perspective(900px) rotateX(58deg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(198, 244, 50, 0.55) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent 28%, rgba(255, 255, 255, 0.12) 28% calc(28% + 2px), transparent calc(28% + 2px) 72%, rgba(255, 255, 255, 0.12) 72% calc(72% + 2px), transparent calc(72% + 2px)),
    linear-gradient(transparent calc(50% - 1px), rgba(255, 255, 255, 0.12) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(ellipse at center, rgba(47, 125, 246, 0.2), transparent 70%);
  box-shadow: 0 0 120px rgba(47, 125, 246, 0.15) inset;
}
.final__ball {
  position: absolute;
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f2ffb0, var(--lime) 45%, #8fb81a);
  box-shadow: 0 0 40px rgba(198, 244, 50, 0.7);
  top: 18%; left: 64%;
  z-index: -1;
  animation: bounce 3.2s var(--ease) infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, 90px); }
}
.final__title { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.4rem); letter-spacing: -0.05em; font-weight: 800; line-height: 1; max-width: 900px; margin-inline: auto; }
.final__lead { margin: 1.5rem auto 0; max-width: 600px; font-size: var(--fs-lg); color: var(--text-2); }
.final__actions { margin-top: 2.4rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

/* 7. Formulario ------------------------------------------------------------ */
.demo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.demo__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.demo__aside h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.demo__aside p:not(.eyebrow) { color: var(--text-2); font-size: var(--fs-lg); margin-top: 1.2rem; }
.demo__list { list-style: none; margin-top: 2rem; display: grid; gap: 0.9rem; }
.demo__list li { display: flex; gap: 0.75rem; color: var(--text-2); }
.demo__list svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 2px; }

.form-card {
  position: relative;
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--surface);
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--lime); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 500; font-size: 0.8rem; }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(6, 10, 18, 0.6);
  color: var(--text);
  font-size: 16px; /* evita el zoom de iOS */
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9bb4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}
.select option { background: var(--surface); color: var(--text); }
.input::placeholder, .textarea::placeholder { color: #6b7790; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, 0.15); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12); }
.field__error { display: none; color: #fca5a5; font-size: 0.82rem; }
.field.is-invalid .field__error { display: block; }
.radio-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; border: 0; padding: 0; margin: 0; }
.radio-group legend { margin-bottom: 0.4rem; padding: 0; }
.radio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(6, 10, 18, 0.6);
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio::before {
  content: "";
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
  transition: border 0.2s, background-color 0.2s;
}
.radio:has(input:checked) { border-color: var(--lime); background: rgba(198, 244, 50, 0.07); }
.radio:has(input:checked)::before { border: 5px solid var(--lime); }
.radio:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; flex: none; margin: 1px 0 0;
  border-radius: 6px; border: 1.5px solid var(--border-strong); background: rgba(6, 10, 18, 0.6);
  display: grid; place-items: center; cursor: pointer;
}
.check input:checked { background: var(--lime); border-color: var(--lime); }
.check input:checked::after {
  content: ""; width: 6px; height: 11px; margin-top: -2px;
  border: solid var(--lime-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.check a { color: var(--lime); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form-footer .btn { min-width: 200px; }
.form-note { color: var(--muted); font-size: 0.82rem; flex: 1 1 240px; }
.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  font-size: 0.93rem;
  line-height: 1.5;
}
.form-status.is-visible { display: flex; gap: 0.7rem; align-items: flex-start; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-status--info { background: rgba(47, 125, 246, 0.1); border: 1px solid rgba(47, 125, 246, 0.35); color: #c4dafd; }
.form-status--success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.4); color: #a7f3d0; }
.form-status--error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); color: #fecaca; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11, 18, 32, 0.25); border-top-color: var(--lime-ink); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 8. FAQ ------------------------------------------------------------------- */
.faq { max-width: 1160px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.faq__col { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
  font-weight: 620;
  letter-spacing: -0.01em;
  cursor: pointer;
  border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lime); }
.faq__icon {
  position: relative;
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq details[open] .faq__icon { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 3.5rem 1.6rem 0.25rem; color: var(--text-2); }
.faq__answer p + p { margin-top: 0.75rem; }

/* 9. Pie ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 4rem 2rem; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-about p { color: var(--muted); margin-top: 1rem; max-width: 360px; }
.footer-col h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.footer-col ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--lime); }
.placeholder {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  border: 1px dashed rgba(251, 191, 36, 0.5);
  color: #fcd34d;
  font-size: 0.82rem;
}
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.85rem; }

/* 10. Páginas legales ------------------------------------------------------ */
.legal { padding-top: calc(var(--header-h) + 4rem); padding-bottom: 5rem; }
.legal__inner { max-width: 780px; margin-inline: auto; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); }
.legal__meta { margin-top: 1rem; color: var(--muted); }
.legal__warning {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px dashed rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.06);
  color: #fde68a;
  font-size: 0.93rem;
}
.legal h2 { font-size: 1.4rem; margin-top: 2.75rem; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--text-2); margin-top: 0.9rem; }
.legal ul { padding-left: 1.2rem; }
.legal table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: 0.9rem; }
.legal th, .legal td { text-align: left; padding: 0.7rem; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; }
.legal th { color: var(--text); font-weight: 650; }
.legal a { color: var(--lime); }

/* 11. Animaciones de entrada ---------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__browser, .bookings__visual .browser { transform: none !important; }
  .final__ball { animation: none; }
}

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide, .tile--half { grid-column: span 1; }
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-row: auto; }
  .app-extras { grid-template-columns: repeat(2, 1fr); }
  .hero__float--1 { display: none; }
}

@media (max-width: 900px) {
  .problem, .duo, .bookings, .app-showcase, .tailor, .demo { grid-template-columns: 1fr; }
  .duo__link { display: none; }
  .demo__aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .bookings__visual .browser { transform: none; }
  .slot-pop { right: 10px; bottom: -30px; }
  .app-stage { min-height: 560px; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .crm { grid-template-columns: 1fr; min-height: 0; }
  .crm__side { display: none; }
  .crm__legend { display: none; }
  .hero__phone { position: relative; right: auto; bottom: auto; margin: -70px auto 0; width: 190px; transform: rotate(0); }
  .hero__float--2 { display: none; }
  .chaos, .order { min-height: 0; }
  .chaos__board { height: 340px; }
  .form-grid { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .app-stage .phone--ghost { display: none; }
  .app-stage { min-height: 0; padding-block: 1rem; }
  .app-stage__ring { width: 120%; }
  .slot-pop { position: relative; right: auto; bottom: auto; margin: -20px auto 0; width: min(260px, 90%); }
  .faq__answer { padding-right: 0.25rem; }
  .faq { grid-template-columns: 1fr; }
  .faq__col + .faq__col { border-top: 0; }
  .cal { --cols: 3; }
  .cal .is-wide-only { display: none; }
}

@media (max-width: 560px) {
  .bento, .app-extras { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .final__actions .btn, .tailor__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .form-footer .btn { width: 100%; }
  .duo__card { min-height: 0; }
  .duo__card--app .duo__visual { height: 300px; }
  .note { max-width: 180px; font-size: 0.78rem; }
  .config__row span { display: none; }
  .final__ball { top: 6%; left: 80%; }
  .order__row span { display: none; }
}

@media (min-width: 1600px) {
  :root { --container: 1320px; }
}
