/* Fuentes servidas desde el propio dominio (subconjunto latin de Google Fonts, licencia OFL): evita bloquear el pintado.
   Solo 3 archivos (los que se precargan): el peso 600 se quitó y esos textos usan 800. */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("media/fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("media/fonts/firasans-400.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("media/fonts/firasans-800.woff2") format("woff2"); }

:root {
  --bg: #050505;
  --surface: #121212;
  --border: #2a2414;
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --gold: #f5c518;
  --gold-deep: #c99a06;
  --bar: #e8f000;
  /* Rojo: reservado solo para los botones de acción. */
  --cta: #e3172b;
  --cta-hover: #c10f22;
  --radius: 14px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding-bottom: 76px; /* espacio para la barra fija */
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--body);
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

/* ---------- HERO ---------- */
.hero {
  padding: 22px 0 28px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgb(245 197 24 / 0.22), transparent 60%),
    var(--bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  font-size: 13px;
  font-weight: 800;
}

/* Pulso con transform + opacity (animación compuesta por la GPU, no repinta la página). */
.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta);
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cta);
  animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(3); opacity: 0; } }

h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.h1-top {
  display: block;
  font-size: clamp(40px, 12vw, 62px);
  background: linear-gradient(180deg, #fff6c2 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgb(0 0 0 / 0.6));
}

.h1-bottom {
  display: block;
  margin-top: 6px;
  font-size: clamp(24px, 7vw, 36px);
  color: #fff;
}

.h1-bottom em {
  font-style: normal;
  color: var(--gold);
}

.authority {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  text-align: left;
}

.authority img {
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.authority p { margin: 0; font-size: 14px; line-height: 1.35; }

.authority span { color: var(--muted); font-size: 13px; }

.quote-bar {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #3a3a3a;
  font-size: clamp(18px, 5vw, 22px);
  line-height: 1.3;
  text-align: center;
}

.quote-bar strong { color: var(--gold); }

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16.5px;
}

.lead b { color: var(--text); }

.lead--left { text-align: left; }

/* ---------- CTA ---------- */
.cta {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--cta);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 0 #8f0a17, 0 12px 28px rgb(227 23 43 / 0.35);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.cta:hover,
.cta:focus-visible { background: var(--cta-hover); }

.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #8f0a17; }

.cta-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- CONTENIDO ---------- */
main.wrap { padding-top: 8px; }

.section-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 7vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
}

.section-title span { color: var(--gold); }

.testimonials { margin: 28px 0 32px; text-align: left; }

.testimonials .section-title { text-align: center; }

.testimonials-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.video.video--testimonio {
  aspect-ratio: auto;
  max-width: 320px;
  max-height: none;
  margin-bottom: 16px;
}

.video.video--testimonio figcaption {
  padding: 8px 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.video.video--testimonio video { height: auto; aspect-ratio: 9 / 16; }

/* Testimonios escritos: tarjetas tipo publicación de la comunidad, con foto real y frase destacada. */
.comments { display: grid; gap: 12px; }

.comment {
  margin: 0;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius);
  background: #161616;
  text-align: left;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.comment-head img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-head strong { display: block; font-size: 15.5px; line-height: 1.2; }

.comment-head small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }

.comment blockquote { margin: 0; }

.comment-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.comment p:not(.comment-title) { margin: 0; color: #cfcfcf; font-size: 15px; }

.video {
  margin: 0 auto 32px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 72vh;
  box-shadow: 0 0 40px rgb(245 197 24 / 0.18);
}

.video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card {
  margin: 0 0 20px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
}

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

.list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
}

.list li:last-child { margin-bottom: 0; }

.list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.list--learn li::before { content: "→"; }

.list--check li::before { content: "✔"; }

.loss {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}

.loss strong { color: var(--text); }

.about {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about img {
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.about p { margin: 0; }

/* Garantía (página /grabacion) */
.guarantee { display: flex; gap: 16px; align-items: center; }

.guarantee-badge {
  flex: none;
  display: grid;
  place-items: center;
  align-content: center;
  width: 84px;
  height: 84px;
  margin: 0;
  border: 3px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  /* Fira Sans 800 en vez de Anton: el "7" condensado se leía mal. */
  font-family: var(--body);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
}

.guarantee-badge span { font-family: var(--body); font-size: 12px; font-weight: 800; text-transform: uppercase; }

.guarantee p:not(.guarantee-badge) { margin: 0; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}

.steps li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 40px;
  counter-increment: paso;
}

.steps li:last-child { margin-bottom: 0; }

.steps li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  font-size: 14px;
}

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

.faq details:last-of-type { border-bottom: 1px solid var(--border); }

.faq summary {
  position: relative;
  padding: 14px 32px 14px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 10px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
}

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

.faq details p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.final-lead {
  margin: 34px 0 14px;
  font-family: var(--display);
  font-size: clamp(26px, 7.5vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
}

.final-lead span { color: var(--gold); }

.legal {
  margin-top: 40px;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.legal p { margin: 0 0 8px; }

.legal a { color: var(--muted); }

/* ---------- BARRA FIJA ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--bar);
  color: #111;
  box-shadow: 0 -6px 20px rgb(0 0 0 / 0.4);
}

.sticky-bar p { margin: 0; font-size: 14px; line-height: 1.25; text-align: left; }

.sticky-bar span { font-size: 13px; }

.sticky-cta {
  flex: none;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
}

.sticky-cta:hover,
.sticky-cta:focus-visible { background: var(--cta-hover); }

@media (min-width: 600px) {
  .sticky-bar { justify-content: center; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .dot::after { animation: none; }
  .cta { transition: none; }
}

/* ---------- PRIVACIDAD ---------- */
.doc { padding-top: 24px; text-align: left; }
.doc h1 { font-family: var(--body); font-size: 28px; font-weight: 800; text-transform: none; }
.doc h2 { font-size: 19px; margin-top: 24px; }
.doc a { color: var(--gold); }
