/* =========================================================
   Alfonso Ramos FC Coaching — hoja de estilos
   Paleta: crema #F6F3EC · verde #16321F · oro #C89B3C
   Tipografía: Teko (títulos) + Inter (texto)
   ========================================================= */

:root {
  --cream: #F6F3EC;
  --cream-card: #FFFDF7;
  --green: #16321F;
  --green-deep: #102418;
  --green-soft: #24462E;
  --gold: #C89B3C;        /* solo sobre verde, o en elementos grandes/decorativos */
  --gold-text: #8A6A1F;   /* oro accesible para texto pequeño sobre crema (4.5:1) */
  --gold-light: #E0B45A;
  --ink: #1B2620;
  --muted: #55635B;
  --muted-on-green: rgba(255, 253, 247, 0.78);
  --line: rgba(27, 38, 32, 0.12);
  --line-green: rgba(255, 253, 247, 0.16);

  --radius: 22px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand__text, .price {
  margin: 0;
  font-family: "Teko", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 100%; height: 100%; fill: currentColor; }

::selection { background: var(--gold); color: var(--green); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn svg .stroke { stroke: currentColor; stroke-width: 2; fill: none; }
.btn svg circle { fill: none; stroke: currentColor; stroke-width: 2; }

.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-soft); transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--white:hover { border-color: var(--green); transform: translateY(-2px); }

.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.link-gold {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-gold:hover { color: var(--green); }
.card--green .link-gold:hover { color: #fff; }

/* ---------------- Navegación ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(246, 243, 236, 0.96); }

.nav__inner { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; }
.brand__icon { width: 22px; height: 22px; color: var(--gold); flex: none; }
.brand__text { font-size: 1.42rem; letter-spacing: 0.005em; }

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-text);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--green); }

.lang { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; }
.lang__on { color: var(--gold-text); }
.lang__sep, .lang__off { color: rgba(27, 38, 32, 0.35); }
.lang__off:hover { color: var(--gold-text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 16px; height: 1.5px; margin: 0 auto; background: var(--ink); transition: transform 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 10px 24px 22px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 13px 0; font-size: 1rem; color: var(--ink); }
.nav__mobile a.btn { margin-top: 12px; color: var(--cream); }

/* ---------------- Hero ---------------- */
.hero { padding: 64px 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero__text { max-width: 560px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-card);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.pill svg { width: 15px; height: 15px; color: var(--gold); }

.hero__social { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; }
.hero__social a {
  align-self: flex-start;
  color: var(--gold-text);
  font-size: 0.86rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}
.hero__social a:hover { color: var(--green); }

.hero h1 { margin-top: 18px; font-size: clamp(3rem, 6.4vw, 4.6rem); }
.hero__sub { margin-top: 18px; color: var(--muted); font-size: 1.02rem; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__media { margin: 0; }
.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(16, 36, 24, 0.18);
}

/* Marquee de credenciales */
.marquee {
  margin-top: 56px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee__track {
  /* --copies lo ajusta script.js según el ancho de pantalla, para que
     nunca aparezca un hueco vacío antes de reiniciar el bucle */
  --copies: 2;
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee var(--marquee-duration, 22s) linear infinite;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  white-space: nowrap;
}
.marquee__group { display: flex; align-items: center; gap: 20px; padding-right: 20px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% / var(--copies))); } }

/* ---------------- Estructura de sección ---------------- */
.section { padding: 92px 0; }
.section--tight { padding: 56px 0; }

.section__head { max-width: 680px; margin-bottom: 46px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.lead { margin-top: 14px; color: var(--muted); font-size: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow svg { width: 14px; height: 14px; }
.eyebrow--dark { color: var(--green); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------------- Tarjetas base ---------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16, 36, 24, 0.08); }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.93rem; }

.card--green { background: var(--green); border-color: var(--green); color: var(--cream-card); }
.card--green h3 { color: var(--cream-card); }
.card--green p { color: var(--muted-on-green); }

/* ---------------- Testimonios ---------------- */
.quote {
  margin: 0;
  padding: 26px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote blockquote { margin: 0; font-size: 0.98rem; color: var(--ink); }
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}
.quote figcaption span { color: var(--muted); font-size: 0.8rem; }

/* ---------------- Experiencia ---------------- */
.xp { display: grid; gap: 20px; }
.xp__card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 22px;
  background: var(--green);
  border-radius: 26px;
  color: var(--cream-card);
}
.xp__media { margin: 0; }
.xp__media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}
.xp__media--pending {
  display: grid;
  place-items: center;
  gap: 10px;
  height: 320px;
  background: var(--cream-card);
  border-radius: 16px;
}
.xp__media--pending img { width: 46px; height: 46px; object-fit: contain; }
.xp__media--pending figcaption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.xp__body { padding: 4px 28px 4px 0; }
.xp__body h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  margin-bottom: 12px;
}
.xp__body p {
  color: var(--muted-on-green);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 52ch;
}

/* ---------------- Trayectoria ---------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 72px; /* separación con la primera experiencia profesional */
}
.tl-card {
  /* Cada tarjeta puede llevar su foto con style="--tl-img:url('img/...')" */
  --tl-img: none;
  position: relative;
  padding: 26px 20px;
  border: 1px solid var(--green);
  border-radius: 18px;
  background-color: var(--green);
  background-image:
    linear-gradient(165deg, rgba(16, 36, 24, 0.58) 0%, rgba(16, 36, 24, 0.88) 60%, rgba(16, 36, 24, 0.94) 100%),
    var(--tl-img);
  background-size: cover;
  background-position: center;
  color: var(--cream-card);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tl-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16, 36, 24, 0.22); }
.tl-card .eyebrow { color: var(--gold); }
.tl-card h3 { font-size: 1.32rem; margin-bottom: 10px; color: var(--gold); }
.tl-card p { color: var(--muted-on-green); font-size: 0.85rem; }

/* ---------------- Servicios ---------------- */
.card--service .card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.card--service .eyebrow { margin-bottom: 6px; }
.card__icon { width: 20px; height: 20px; flex: none; color: var(--gold-text); }
.card--service h3 { font-size: 1.75rem; margin: 6px 0 8px; }
.price {
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--gold-text);
}
.card--service .btn { margin-top: 22px; }
.card--service p:not(.price) { flex: 1 0 auto; }

/* Aviso de apertura */
.opening {
  padding: 16px 0;
  background: var(--green);
  color: var(--cream-card);
}
.opening__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.opening__tag {
  flex: none;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.opening__text {
  font-size: 0.9rem;
  color: var(--muted-on-green);
  max-width: 82ch;
  text-wrap: balance; /* reparte las líneas para que no quede una palabra suelta */
}
.opening__text strong { color: var(--cream-card); }
.opening__text a { color: var(--gold); font-weight: 600; border-bottom: 1px solid currentColor; }
.opening__text a:hover { color: var(--gold-light); }

/* Precio de lanzamiento */
.launch {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price__after {
  margin: -8px 0 14px;
  font-size: 0.78rem;
  color: var(--muted);
}
.card--green .price__after, .pack .price__after { color: var(--muted-on-green); }

/* Pack de clases */
.pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  padding: 26px 30px;
  background: var(--cream-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}
.pack__main { flex: 1 1 340px; }
.pack__main h3 { font-size: 1.7rem; margin-bottom: 8px; }
.pack__main p { color: var(--muted); font-size: 0.93rem; max-width: 60ch; }
.pack__note { margin-top: 8px; font-size: 0.78rem; color: var(--muted); font-style: italic; }
.pack__side {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pack__side .price { margin: 0; font-size: 2.2rem; font-family: "Teko", sans-serif; letter-spacing: -0.02em; }
.pack__side .btn { white-space: nowrap; }

/* Banda Twitch */
.twitch {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 22px;
  padding: 26px 30px;
  background: var(--green);
  border-radius: var(--radius);
  color: var(--cream-card);
}
.twitch__tag {
  flex: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.twitch h3 { font-size: 1.5rem; margin-bottom: 8px; }
.twitch p { color: var(--muted-on-green); font-size: 0.93rem; max-width: 70ch; }

/* ---------------- Método ---------------- */
.steps .card h3 { font-size: 1.45rem; }

/* ---------------- Formulario de reserva ---------------- */
.booking {
  padding: 46px clamp(24px, 5vw, 64px) 52px;
  background: var(--green);
  border-radius: 32px;
  color: var(--cream-card);
}
.booking__head { max-width: 560px; margin: 0 auto 34px; text-align: center; }
.booking__head h2 { font-size: clamp(2.1rem, 4.4vw, 3rem); }
.booking__head p { margin-top: 12px; color: var(--muted-on-green); font-size: 0.95rem; }

.form { max-width: 780px; margin: 0 auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
/* Huecos libres */
.slots {
  margin-bottom: 26px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line-green);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.05);
}
.slots[hidden] { display: none; }
.slots__title { font-family: "Teko", sans-serif; font-size: 1.5rem; font-weight: 700; }
.slots__meta { margin-top: 2px; font-size: 0.76rem; color: var(--muted-on-green); }
.slots__grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  /* Con muchas fechas el bloque no debe empujar el formulario fuera de pantalla */
  max-height: 330px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 155, 60, 0.6) transparent;
}
.slots__grid::-webkit-scrollbar { width: 6px; }
.slots__grid::-webkit-scrollbar-thumb { background: rgba(200, 155, 60, 0.6); border-radius: 3px; }
.slots__grid::-webkit-scrollbar-track { background: transparent; }
.slots .slot--other {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-green);
}
.slots__date {
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.slots__times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { position: relative; cursor: pointer; }
.slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.slot span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line-green);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.06);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.slot:hover span { border-color: var(--gold); }
.slot input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--green); }
.slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.slot--other span { font-weight: 500; font-size: 0.8rem; }
.slots__note { margin-top: 14px; font-size: 0.78rem; color: var(--muted-on-green); }

/* Trampa antispam: invisible para las personas, visible para los bots */
.hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream-card);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream-card);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA39D; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.25);
}
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2355635B' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.hint { display: block; margin-top: 6px; font-size: 0.74rem; color: var(--muted-on-green); }
.error { display: block; margin-top: 6px; font-size: 0.76rem; color: #F3B0A5; }
.field.has-error input { border-color: #F3B0A5; }

.form__scarcity {
  margin: 6px 0 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}
.form__note { margin-top: 14px; text-align: center; font-size: 0.82rem; color: var(--muted-on-green); }
.form__note.is-success { color: var(--gold-light); font-weight: 600; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 10px; }
.faq__item {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: "Teko", sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--gold-text), var(--gold-text)) center/14px 1.6px no-repeat,
    linear-gradient(var(--gold-text), var(--gold-text)) center/1.6px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(90deg); background-size: 14px 1.6px, 0 0; }
.faq__item p { padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; max-width: 72ch; }

/* ---------------- Guía gratuita ---------------- */
.lead-magnet {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 48px clamp(24px, 4vw, 56px);
  background: var(--gold);
  border-radius: 26px;
}
.lead-magnet h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); color: var(--green); }
.lead-magnet__text p:not(.eyebrow) { margin-top: 14px; color: rgba(16, 36, 24, 0.82); font-size: 0.95rem; max-width: 44ch; }
.lead-magnet__form {
  padding: 26px;
  background: var(--cream-card);
  border-radius: 18px;
}
.lead-magnet__form label { color: var(--ink); }
.lead-magnet__form .field input { background: var(--cream); border-color: var(--line); }
.lead-magnet__form .error { color: #B4402F; }
.lead-magnet__form .form__note { color: var(--muted); }
.lead-magnet__form .form__note.is-success { color: var(--green); }

/* ---------------- Footer ---------------- */
.footer { padding: 22px 0; background: var(--green); color: var(--cream-card); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal { font-size: 0.78rem; color: var(--muted-on-green); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.78rem; color: var(--muted-on-green); }
.footer__links a { border-bottom: 1px solid transparent; }
.footer__links a:hover { color: var(--gold); border-bottom-color: currentColor; }
.footer__tag { font-size: 0.78rem; font-weight: 600; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { width: 18px; height: 18px; color: var(--muted-on-green); transition: color 0.2s var(--ease); }
.footer__social a:hover { color: var(--gold); }

/* ---------------- Ventaja Twitch en el hero ---------------- */
.hero__perk {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero__perk svg { width: 17px; height: 17px; flex: none; color: var(--gold-text); }
.hero__perk strong { color: var(--ink); }

/* ---------------- Calendario (Calendly) ---------------- */
.calendar {
  margin: 0 auto 30px;
  max-width: 780px;
  background: var(--cream-card);
  border-radius: 18px;
  overflow: hidden;
}
.calendar__gate {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 26px;
  text-align: center;
}
.calendar__title { font-family: "Teko", sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.calendar__text { max-width: 46ch; color: var(--muted); font-size: 0.88rem; }
.calendar__text--small { font-size: 0.8rem; }
.calendar__frame { width: 100%; min-height: 680px; border: 0; display: block; }
.calendar.is-loaded { background: transparent; }

.booking__or {
  position: relative;
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}
.booking__or::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-green);
}
.booking__or span {
  position: relative;
  padding: 0 14px;
  background: var(--green);
  color: var(--muted-on-green);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------- Testimonios en capturas ---------------- */
/* Se adapta al número de capturas que haya: 1, 2, 3 o 4 quedan centradas */
.shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.shot { flex: 1 1 280px; max-width: 360px; }
.shot {
  margin: 0;
  padding: 14px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.shot figcaption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.shot.is-empty img { display: none; }
.shot.is-empty {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 260px;
  border-style: dashed;
  border-color: rgba(27, 38, 32, 0.25);
}
.shot.is-empty figcaption {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* ---------------- Casilla de consentimiento ---------------- */
.field--check { margin-top: 4px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.check a { text-decoration: underline; }
.lead-magnet__form .check { color: var(--ink); }
.lead-magnet__form .check a { color: var(--gold-text); }

/* ---------------- CTA fijo en móvil ---------------- */
.cta-bar {
  display: none;
  position: fixed;
  z-index: 90;
  left: 12px;
  right: 12px;
  bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 36, 24, 0.28);
  color: var(--cream-card);
  transform: translateY(140%);
  transition: transform 0.3s var(--ease);
}
.cta-bar.is-visible { transform: none; }
.cta-bar strong { display: block; font-size: 0.86rem; }
.cta-bar span { font-size: 0.72rem; color: var(--muted-on-green); }
.btn--sm { padding: 10px 20px; font-size: 0.86rem; }

/* ---------------- Páginas legales ---------------- */
.legal { padding: 56px 0 80px; }
.legal__back { display: inline-block; margin-bottom: 22px; color: var(--gold-text); font-size: 0.85rem; font-weight: 600; }
.legal__back:hover { color: var(--green); }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 8px; }
.prose h2 { font-size: 1.7rem; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 0.95rem; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold-text); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.9rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--cream-card); }
.prose__updated { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.prose mark {
  background: rgba(200, 155, 60, 0.28);
  color: var(--ink);
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}

/* ---------------- Animación de entrada ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Red de seguridad: sin JS no se oculta nada */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* Entradas laterales: imagen desde la izquierda, texto desde la derecha */
.reveal--left { transform: translateX(-56px); }
.reveal--right { transform: translateX(56px); }
.reveal--left, .reveal--right { transition-duration: 0.75s; }

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

/* ---------------- Responsive ---------------- */
@media (max-width: 1040px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .xp__card { grid-template-columns: 1fr; gap: 22px; }
  .xp__body { padding: 0 6px 8px; }
  .xp__media img, .xp__media--pending { height: 260px; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__text { max-width: none; }
  .hero__media { order: -1; }
  .hero__media img { max-height: 420px; object-fit: cover; object-position: top center; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .lead-magnet { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .nav__links, .lang { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }
  .section { padding: 68px 0; }
  .hero { padding: 40px 0 0; }
  .hero h1 br { display: none; }
  .brand__text { font-size: 1.2rem; white-space: nowrap; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .booking { padding: 34px 22px 40px; border-radius: 24px; }
  .twitch { flex-direction: column; gap: 14px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { flex: 1 1 auto; }
  .calendar__frame { min-height: 900px; }
  .cta-bar { display: flex; }
  body { padding-bottom: 82px; }
}

@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
}
