:root {
  --black: #0f0f0f;
  --charcoal: #191919;
  --charcoal-soft: #22201f;
  --gold: #c99a5b;
  --gold-light: #e0b87f;
  --red: #b2363e;
  --cream: #f4efe6;
  --muted: #a9a19a;
  --line: rgba(244, 239, 230, 0.14);
  --gold-line: rgba(201, 154, 91, 0.36);
  --container: 1180px;
  --section-pad: clamp(3rem, 5.5vw, 4.75rem);
  --radius: 3px;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 2%, rgba(201, 154, 91, 0.09), transparent 27rem),
    radial-gradient(circle at 7% 35%, rgba(178, 54, 62, 0.045), transparent 25rem),
    var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.07;
  pointer-events: none;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  background: var(--cream);
  color: var(--black);
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.display-quote {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.45rem;
  font-size: clamp(3.45rem, 13.5vw, 7.3rem);
}

h1 em {
  display: inline-block;
  color: var(--gold-light);
  font-style: normal;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.55rem, 9.5vw, 5rem);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 2rem), var(--container));
  height: 96px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.brand {
  display: flex;
  width: 148px;
  height: auto;
  align-items: center;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.brand img {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.26));
}

.text-link,
.footer-button {
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 100svh;
  max-width: var(--container);
  margin: 0 auto;
  padding: 7rem 1rem 3.5rem;
  align-items: center;
  gap: 3rem;
}

.eyebrow,
.kicker {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  margin-bottom: 1.2rem;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow span {
  width: 1.75rem;
  height: 1px;
  background: var(--red);
}

.hero-intro {
  max-width: 600px;
  margin-bottom: 1.7rem;
  color: #d5cec5;
  font-size: 1.02rem;
  line-height: 1.65;
}

.offer-row {
  display: flex;
  margin-bottom: 1.2rem;
  padding: 1rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-block: 1px solid var(--line);
}

.offer-label {
  display: block;
  margin-bottom: -0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.offer-row strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.remaining-pill {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.45rem;
  text-align: right;
}

.remaining-pill > span {
  grid-row: 1 / 3;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.remaining-pill small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.cta-group {
  display: grid;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 58px;
  padding: 0.95rem 1.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.025em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 230, 191, 0.42);
  background: linear-gradient(105deg, #b98243 0%, var(--gold-light) 50%, #c58c4a 100%);
  color: #17120d;
  box-shadow: 0 14px 42px rgba(201, 154, 91, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-primary:hover {
  background: linear-gradient(105deg, #c58c4a 0%, #efd09f 50%, #d5a15f 100%);
  box-shadow: 0 18px 48px rgba(201, 154, 91, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.button-primary::after {
  margin-left: 0.75rem;
  content: "→";
  font-size: 1.08rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.button-primary:hover::after {
  transform: translateX(3px);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover {
  border-color: var(--gold-line);
  background: rgba(201, 154, 91, 0.07);
}

.button-light {
  background: var(--cream);
  color: var(--black);
}

/* --- Stack de opciones de pago: transferencia > Mercado Pago > WhatsApp ---
   Tarjeta OPACA a propósito: el sitio tiene secciones de fondo oscuro y una
   de fondo crema ("Hay regalos que se compran..."). Si el fondo de este
   bloque dependiera de transparencia sobre lo que hay detrás, el texto claro
   se vuelve ilegible en las secciones claras. Con fondo opaco propio, se ve
   igual sin importar dónde se coloque. */
.payment-stack {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, #211a12, #14100b);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.payment-stack-closed {
  color: var(--muted);
  font-size: 0.85rem;
}

.payment-option {
  display: block;
  border-radius: var(--radius);
  text-align: left;
}

.option-primary {
  position: relative;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--gold-line);
  background: rgba(201, 154, 91, 0.1);
}

.option-tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--gold);
  color: #17120d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.option-title {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 800;
}

/* Variante compacta: el título es el <summary> de un <details> */
.option-compact {
  padding: 0;
  background: none;
  border: none;
}

.option-compact summary {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: rgba(201, 154, 91, 0.14);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
}

.option-compact summary::-webkit-details-marker {
  display: none;
}

.option-compact[open] summary {
  border-radius: var(--radius) var(--radius) 0 0;
}

.option-compact .transfer-details {
  border: 1px solid var(--gold-line);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.transfer-details {
  padding: 0.9rem 1rem 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
}

.transfer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}

.transfer-row:last-of-type {
  border-bottom: none;
}

.transfer-label {
  min-width: 90px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.transfer-value {
  flex: 1;
  color: var(--cream);
  font-weight: 700;
  font-size: 0.92rem;
  word-break: break-word;
}

.copy-button {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.copy-button:hover {
  background: var(--gold);
  color: #17120d;
}

.copy-button.is-copied {
  background: var(--gold);
  color: #17120d;
}

.transfer-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.option-secondary {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
}

.option-secondary:hover {
  border-color: var(--gold-line);
  background: rgba(201, 154, 91, 0.1);
}

.option-tertiary {
  padding: 0.4rem 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 3px;
}

.option-tertiary:hover {
  color: var(--gold-light);
}

.post-payment-link,
.arrow-link {
  display: inline-block;
  margin-top: 0.9rem;
  border-bottom: 1px solid var(--gold-line);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
}

.post-payment-link {
  color: var(--gold-light);
}

.post-payment-link:hover {
  border-color: var(--gold);
  color: var(--cream);
}

.trust-row {
  display: flex;
  margin: 1.25rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  list-style: none;
}

.trust-row li::before {
  margin-right: 0.4rem;
  color: var(--gold);
  content: "•";
}

.hero-visual {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.hero-visual::before {
  position: absolute;
  top: -1rem;
  right: -0.7rem;
  width: 62%;
  height: 58%;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 15, 15, 0.82) 100%);
  content: "";
}

.portrait-frame img {
  width: 100%;
  height: clamp(500px, 72vh, 660px);
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
  object-position: 50% 18%;
  filter: contrast(1.04) saturate(0.87);
}

.portrait-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.portrait-caption span {
  max-width: 9rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.portrait-caption strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 1rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.85rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.video-section {
  border-top: 1px solid var(--line);
}

.video-grid {
  display: grid;
  gap: 1.6rem;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 680px;
  border: 1px solid var(--gold-line);
  background: #090909;
}

.video-shell img,
.video-shell video,
.video-shell iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 15, 15, 0.72);
  color: var(--cream);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.video-copy {
  align-self: center;
}

.display-quote {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 8vw, 4.6rem);
}

.video-copy > p:not(.display-quote),
.emotional-copy > p,
.paid-inner p {
  color: #c5bdb4;
}

.emotional {
  display: grid;
  max-width: none;
  padding-inline: 0;
  padding-block: 0;
  background: var(--cream);
  color: var(--black);
}

.emotional-image {
  min-height: 370px;
}

.emotional-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.04);
}

.emotional-copy {
  max-width: 640px;
  padding: 3.75rem 1rem;
  align-self: center;
}

.emotional-copy > p {
  color: #504b45;
}

.emotional-copy .arrow-link {
  color: var(--black);
}

.process-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
}

.process-card {
  min-height: 190px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.process-card > span,
.included-list li span {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.process-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.centered-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.selected-story {
  display: grid;
  gap: 1.5rem;
  border-block: 1px solid var(--line);
}

.estimated-value {
  display: flex;
  max-width: 390px;
  padding-top: 1.1rem;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--gold-line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.estimated-value strong {
  color: var(--cream);
}

.included-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  display: grid;
  padding: 1.1rem 0;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.included-list li span {
  margin: 0;
}

.scope-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.listen {
  display: grid;
  gap: 2rem;
}

.platforms {
  border-top: 1px solid var(--line);
}

.platform-link {
  display: flex;
  padding: 1.15rem 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  transition: color 160ms ease, padding 160ms ease;
}

.platform-link:hover {
  padding-left: 0.55rem;
  color: var(--gold-light);
}

.scarcity {
  max-width: none;
  background: linear-gradient(135deg, #231b15, var(--charcoal) 50%, #171314);
}

.scarcity-card {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 1rem;
}

.spot-count {
  display: flex;
  margin-block: 1.45rem 0.85rem;
  align-items: end;
  gap: 1rem;
}

.spot-count strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 25vw, 10rem);
  font-weight: 600;
  line-height: 0.72;
}

.spot-count span {
  padding-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.18);
  background: rgba(15, 15, 15, 0.58);
}

.progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 500ms ease;
}

.progress-labels {
  display: flex;
  margin-top: 0.55rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.scarcity-actions {
  margin-top: 1.5rem;
}

.paid {
  padding-block: 2rem;
}

.thank-you-page {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.93), rgba(15, 15, 15, 0.7)),
    url("../images/w-martinez-black.jpeg") center 22% / cover;
}

.thank-you-header {
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
}

.thank-you-main {
  display: grid;
  width: min(calc(100% - 2rem), 880px);
  min-height: calc(100svh - 190px);
  margin: 0 auto;
  padding: 2rem 0 4rem;
  place-items: center;
}

.thank-you-card {
  width: 100%;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--gold-line);
  background: rgba(15, 15, 15, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
}

.thank-you-mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.4rem;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.9rem;
}

.thank-you-card h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.2rem, 12vw, 6rem);
}

.thank-you-lead {
  max-width: 650px;
  margin-bottom: 1.6rem;
  color: #d5cec5;
  font-size: 1.05rem;
}

.registration-steps {
  display: grid;
  margin: 0 0 1.7rem;
  padding: 1.2rem 0;
  gap: 0.7rem;
  border-block: 1px solid var(--line);
  color: var(--muted);
  list-style: none;
}

.registration-steps li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.6rem;
  line-height: 1.45;
}

.registration-steps li::before {
  color: var(--gold);
  content: "✓";
  font-weight: 700;
}

.thank-you-actions {
  display: grid;
  gap: 0.8rem;
}

.folio-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.is-disabled,
button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.45);
  opacity: 0.62;
  pointer-events: none;
}

.registration-form {
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.check-field {
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(244, 239, 230, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--cream);
  font: inherit;
  line-height: 1.45;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field select {
  color-scheme: dark;
}

.field input[type="file"] {
  padding: 0.65rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(201, 154, 91, 0.2);
  outline-offset: 1px;
}

.field small,
.form-microcopy {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.check-field {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: 1.2rem 1fr;
  align-items: start;
  gap: 0.7rem;
  color: #cfc7bd;
  font-weight: 450;
  line-height: 1.5;
}

.check-field input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.check-field a,
.legal-card a:not(.button) {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.submit-button {
  width: 100%;
  margin-top: 1.4rem;
}

.form-alert {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.5;
}

.form-alert ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.form-alert-error {
  border-color: rgba(178, 54, 62, 0.65);
  background: rgba(178, 54, 62, 0.14);
  color: #ffdeda;
}

.form-alert-success {
  border-color: var(--gold-line);
  background: rgba(201, 154, 91, 0.11);
  color: var(--cream);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.reference-card {
  display: grid;
  margin: 1.25rem 0;
  padding: 1rem 1.2rem;
  gap: 0.25rem;
  border: 1px solid var(--gold-line);
  background: rgba(201, 154, 91, 0.08);
}

.reference-card span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reference-card strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.legal-page,
.admin-page {
  min-height: 100svh;
  background: var(--black);
}

.legal-page .site-header,
.admin-page .site-header {
  position: relative;
  left: auto;
  margin: 0 auto;
  transform: none;
}

.legal-main,
.admin-main {
  width: min(calc(100% - 2rem), var(--container));
  min-height: calc(100svh - 108px);
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  background: var(--charcoal);
}

.legal-card h1,
.admin-main h1 {
  max-width: none;
  font-size: clamp(3rem, 10vw, 5.5rem);
}

.legal-card p {
  color: #c8c0b6;
}

.legal-warning {
  padding: 1rem;
  border-left: 3px solid var(--red);
  background: rgba(178, 54, 62, 0.09);
}

.admin-main {
  width: min(calc(100% - 2rem), 1440px);
}

.admin-login {
  max-width: 460px;
  margin: 4rem auto;
  padding: 2rem;
  border: 1px solid var(--gold-line);
  background: var(--charcoal);
}

.admin-login form {
  display: grid;
  gap: 1rem;
}

.admin-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
}

.admin-metrics {
  display: grid;
  margin: 1.5rem 0;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.admin-metrics article {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--charcoal);
}

.admin-metrics span,
.admin-metrics strong {
  display: block;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-metrics strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.admin-filters {
  display: flex;
  margin-bottom: 1rem;
  overflow-x: auto;
  gap: 0.55rem;
}

.admin-filters a {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.admin-filters a.is-active,
.admin-filters a:hover {
  border-color: var(--gold);
  color: var(--cream);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.admin-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: var(--charcoal);
  font-size: 0.78rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.admin-table th {
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td > strong,
.admin-table td > small,
.admin-table td > a {
  display: block;
}

.admin-table td > small {
  color: var(--muted);
}

.admin-table a {
  color: var(--gold-light);
}

.admin-table details {
  max-width: 330px;
}

.admin-table details summary {
  cursor: pointer;
  color: var(--gold-light);
}

.admin-table details p {
  color: #c8c0b6;
  white-space: normal;
}

.folio-badge,
.status-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.2rem 0.42rem;
  border: 1px solid var(--gold-line);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.status-pending { color: var(--gold-light); }
.status-confirmed { color: #a9dda9; border-color: rgba(111, 180, 111, 0.45); }
.status-rejected { color: #ef999f; border-color: rgba(178, 54, 62, 0.55); }

.inline-actions {
  display: flex;
  gap: 0.4rem;
}

.mini-button {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
}

.mini-button.confirm { border-color: rgba(111, 180, 111, 0.5); color: #bfe9bf; }
.mini-button.reject { border-color: rgba(178, 54, 62, 0.55); color: #ef999f; }
.empty-cell { padding: 2rem !important; color: var(--muted); text-align: center !important; }

.paid-inner {
  display: grid;
  padding: 1.75rem 1.25rem;
  align-items: center;
  gap: 1.25rem;
  background: var(--red);
}

.paid-inner h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.1rem, 8vw, 3.8rem);
}

.paid-inner p {
  margin-bottom: 0;
  color: #f7e6e4;
}

.check-mark {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 1.4rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  padding: 1.25rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--gold);
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  padding: 0 2rem 1.25rem 0;
  color: var(--muted);
}

.final-cta {
  max-width: none;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.93), rgba(15, 15, 15, 0.7)),
    url("../images/w-martinez-black.jpeg") center 22% / cover;
}

.final-cta-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta .cta-group {
  max-width: 560px;
  margin: 0 auto;
}

.final-microcopy {
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.25rem 1rem 7rem;
}

.footer-brand {
  width: 190px;
  margin-bottom: 2rem;
}

.footer-brand p {
  width: 250px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.footer-links a,
.footer-button {
  font-size: 0.78rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.privacy-placeholder,
.copyright {
  max-width: 800px;
  color: #77716c;
  font-size: 0.68rem;
  line-height: 1.5;
}

.bases-dialog {
  width: min(92vw, 800px);
  max-height: 88svh;
  padding: 0;
  border: 1px solid var(--gold-line);
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.bases-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  padding: 1.35rem;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(25, 25, 25, 0.97);
}

.dialog-header h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.4rem);
}

.dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
}

.dialog-content {
  padding: 1.35rem;
}

.dialog-content ol {
  margin: 0;
  padding-left: 1.25rem;
}

.dialog-content li {
  margin-bottom: 0.85rem;
  padding-left: 0.4rem;
  color: #c8c0b6;
  font-size: 0.86rem;
  line-height: 1.55;
}

.dialog-content strong {
  color: var(--cream);
}

.legal-note {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.mobile-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: grid;
  min-height: 70px;
  padding: 0.65rem max(0.75rem, env(safe-area-inset-right)) calc(0.65rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border-top: 2px solid var(--gold);
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(16px);
}

.mobile-sticky strong,
.mobile-sticky small {
  display: block;
  line-height: 1.35;
}

.mobile-sticky strong {
  font-size: 0.82rem;
}

.mobile-sticky small {
  color: var(--muted);
  font-size: 0.65rem;
}

.mobile-sticky .button {
  min-height: 46px;
  padding-inline: 1.05rem;
  box-shadow: 0 8px 26px rgba(201, 154, 91, 0.38);
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.06);
}

/* En escritorio no hay barra sticky (ver media query de .mobile-sticky abajo);
   el botón de WhatsApp baja a la esquina para no verse suelto a media altura. */
@media (min-width: 768px) {
  .whatsapp-float {
    bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}

.toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 2rem), 440px);
  padding: 0.9rem 1rem;
  transform: translate(-50%, -150%);
  border: 1px solid var(--gold-line);
  background: var(--cream);
  color: var(--black);
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.motion-ready .reveal {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease;
}

.motion-ready .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 620px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-inline: 2rem;
  }

  .cta-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thank-you-actions {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .admin-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .emotional-copy {
    padding-inline: 3rem;
  }

  .paid-inner {
    padding: 2.5rem;
  }
}

@media (min-width: 860px) {
  .site-header {
    height: 108px;
  }

  .brand {
    width: 190px;
  }

  .hero {
    min-height: 780px;
    padding-top: 8rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }

  .hero-copy {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 6.4vw, 5.5rem);
  }

  .portrait-frame img {
    height: 700px;
  }

  .hero-intro {
    font-size: 1.08rem;
  }

  .video-grid {
    grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
  }

  .video-shell {
    aspect-ratio: 9 / 16;
  }

  .video-copy .button {
    min-width: 240px;
  }

  .emotional {
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
  }

  .emotional-copy {
    padding: 4rem clamp(3rem, 6vw, 6rem);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .selected-story {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .selected-heading {
    align-self: center;
  }

  .scope-note {
    grid-column: 2;
  }

  .listen {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .scarcity-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
  }

  .spot-count {
    margin-top: 0;
    justify-self: end;
  }

  .progress-track,
  .progress-labels,
  .scarcity-actions {
    grid-column: 1 / -1;
  }

  .paid-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 2rem;
  }

  .paid-inner .button {
    min-width: 220px;
  }

  .final-cta .cta-group {
    grid-template-columns: 1.1fr 1fr;
  }

  .mobile-sticky {
    display: none;
  }

  .site-footer {
    padding-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
