/* =====================================================================
   Código Prime — booking page
   Tokens del brandbook: negro 70% · oro 22% · hueso 8%
   ===================================================================== */
:root {
  --onix: #0B0A09;
  --carbon: #110F0B;
  --hueso: #F2EDE6;
  --humo: #8A847F;
  --oro: #CDB36A;
  --oro-grad: linear-gradient(135deg, #F8ECC4 0%, #DCC078 34%, #B4923E 64%, #9A7B2E 82%, #EFD99C 100%);
  --oro-25: rgba(205, 179, 106, 0.25);
  --oro-12: rgba(205, 179, 106, 0.12);
  --oro-06: rgba(205, 179, 106, 0.06);
  --rojo: #B11226;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--onix);
  color: var(--hueso);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }

/* Fondo: retícula de puntos oro + halo */
.bg-dots {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(205, 179, 106, 0.13) 1px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35) 40%, rgba(0,0,0,.15));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35) 40%, rgba(0,0,0,.15));
}
.bg-glow {
  position: fixed; left: 50%; top: -30vh; z-index: 0; pointer-events: none;
  width: 120vw; height: 80vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(205, 179, 106, 0.16) 0%, transparent 60%);
}
main { position: relative; z-index: 1; }

/* Utilidades tipográficas */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--humo); }
.gold { background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono.gold, .gold.mono { color: var(--oro); background: none; -webkit-text-fill-color: initial; }
.red { color: var(--rojo); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 14px;
}
.label {
  text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--oro); margin: 0 0 12px;
}
.sub { color: var(--humo); font-weight: 400; font-size: 15px; max-width: 520px; }
.h2 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(30px, 6vw, 44px); text-align: center; margin-bottom: 10px;
}

/* ================= HERO ================= */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 20px 12px; max-width: 760px; margin: 0 auto;
}
.badge {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11, 10, 9, 0.85); border: 1px solid rgba(205, 179, 106, 0.6);
  box-shadow: 0 0 0 6px rgba(205, 179, 106, 0.07), 0 20px 50px rgba(0,0,0,.6);
  margin-bottom: 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.badge img { width: 54px; height: auto; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 0 0 10px rgba(205, 179, 106, 0.1), 0 24px 60px rgba(0,0,0,.7); }
.hero h1 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.98;
  font-size: clamp(34px, 8.6vw, 62px); max-width: 720px;
}
.hero .sub { margin-top: 16px; font-size: clamp(14px, 2.6vw, 17px); }
.stats {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 28px; margin-top: 22px;
}
.stats li { display: flex; align-items: baseline; gap: 8px; }
.stats strong { font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--oro); }
.stats span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--humo); }

/* ================= CARDS ================= */
.card {
  background: var(--carbon);
  border: 1px solid var(--oro-25);
  border-radius: var(--r);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { border-color: rgba(205, 179, 106, 0.5); }
.card-light {
  background: var(--hueso); color: var(--onix);
  border: 1px solid rgba(205, 179, 106, 0.55); border-radius: var(--r);
  box-shadow: 0 0 0 6px rgba(205, 179, 106, 0.06), 0 30px 80px rgba(0,0,0,.55);
  overflow: hidden;
}

/* ================= FILTRO (gate) ================= */
.agenda { max-width: 720px; margin: 0 auto; padding: 22px 16px 48px; }
.gate { padding: 22px 20px 18px; }
.gate-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.gate-step { color: var(--oro); white-space: nowrap; }
.progress { flex: 1; display: grid; grid-auto-flow: column; gap: 4px; height: 4px; }
.progress i { display: block; height: 100%; border-radius: 2px; background: var(--oro-12); transition: background .4s var(--ease); }
.progress i.on { background: var(--oro-grad); }

.q-title { font-weight: 700; font-size: clamp(19px, 3.6vw, 23px); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 6px; }
.q-help { color: var(--humo); font-size: 14px; margin-bottom: 16px; }

.opts { display: grid; gap: 8px; margin-top: 14px; }
.opt {
  width: 100%; text-align: left; cursor: pointer;
  background: var(--onix); color: var(--hueso);
  border: 1px solid var(--oro-25); border-radius: 12px; padding: 14px 16px 14px 46px;
  position: relative; font-size: 15px; line-height: 1.35;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.opt::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; border: 1.5px solid var(--oro); transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.opt:hover { border-color: var(--oro); background: var(--oro-06); transform: translateX(3px); }
.opt.on { border-color: var(--oro); background: var(--oro-12); }
.opt.on::before { background: var(--oro-grad); box-shadow: inset 0 0 0 3px var(--onix); }
.opt:focus-visible, .btn:focus-visible, .field input:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }

.fields { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field.extra { display: none; opacity: 0; transform: translateY(6px); }
.field.extra.show { display: block; animation: fieldIn .45s var(--ease) forwards; }
@keyframes fieldIn { to { opacity: 1; transform: translateY(0); } }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--humo); margin-bottom: 6px; }
.field input {
  width: 100%; background: var(--onix); color: var(--hueso); border: 1px solid var(--oro-25);
  border-radius: 12px; padding: 13px 14px; font-size: 16px; font-family: var(--sans);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder { color: rgba(138, 132, 127, 0.7); }
.field input:hover { border-color: rgba(205, 179, 106, 0.5); }
.field input:focus { border-color: var(--oro); box-shadow: 0 0 0 3px var(--oro-12); outline: none; }
.field input.err { border-color: var(--rojo); }
.field .msg { font-size: 12px; color: var(--rojo); margin-top: 5px; min-height: 14px; }

.gate-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.link { background: none; border: 0; color: var(--humo); cursor: pointer; padding: 8px 0; transition: color .25s var(--ease); }
.link:hover { color: var(--oro); }
.legal { color: var(--humo); font-size: 11px; margin-top: 14px; text-align: center; }

/* ================= BOTONES ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--oro-grad); color: var(--onix); text-decoration: none; cursor: pointer;
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px;
  border: 0; border-radius: 12px; padding: 15px 26px; margin-left: auto;
  box-shadow: 0 10px 30px rgba(205, 179, 106, 0.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease), opacity .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(205, 179, 106, 0.3); filter: saturate(1.1); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { width: 100%; max-width: 520px; padding: 18px 34px; font-size: 17px; margin: 0 auto; }

/* ================= CALENDARIO ================= */
.calendar-wrap { margin-top: 18px; }
.calendar { position: relative; min-height: 700px; }
#calendly-embed { min-height: 700px; }
.calendar-loader {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--humo); z-index: 1; background: var(--hueso); pointer-events: none;
  transition: opacity .4s var(--ease);
}
.calendar-loader.off { opacity: 0; }
.calendar-loader .mono { color: #6f6a64; margin-right: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--oro); display: inline-block; animation: pulse 1.4s infinite ease-in-out both; }
.dot:nth-child(3) { animation-delay: .2s; } .dot:nth-child(4) { animation-delay: .4s; }
@keyframes pulse { 0%, 80%, 100% { transform: scale(0); opacity: .4 } 40% { transform: scale(1); opacity: 1 } }
.calendar-note { color: var(--humo); font-size: 13px; text-align: center; margin-top: 12px; }

.done { text-align: center; padding: 34px 22px; }
.done h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; font-size: clamp(28px, 6vw, 40px); }
.done .sub { margin: 12px auto 0; }

/* ================= DIVISOR / SECCIONES ================= */
.divider {
  height: 1px; max-width: 800px; margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--oro-25), var(--oro), var(--oro-25), transparent);
}
.section { max-width: 960px; margin: 0 auto; padding: 56px 16px; }
@media (min-width: 768px) { .section { padding: 80px 20px; } }

.steps { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.steps li { padding: 22px 20px; }
.steps li:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.steps h3 { font-weight: 700; font-size: 18px; margin: 10px 0 6px; letter-spacing: -0.01em; }
.steps p { color: var(--humo); font-size: 14px; }

.cta-wrap { text-align: center; padding: 40px 16px; }
.cta-note { color: var(--humo); font-size: 12px; margin-top: 10px; }

/* ================= FAQ ================= */
.faq { max-width: 720px; margin: 22px auto 0; display: grid; gap: 8px; }
.faq-item {
  background: var(--carbon); border: 1px solid var(--oro-25); border-radius: 12px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq-item:hover, .faq-item[open] { border-color: rgba(205, 179, 106, 0.55); }
.faq-item[open] { background: #14110C; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 15px 16px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-size: 20px; color: var(--oro); flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 16px 16px; color: var(--humo); font-size: 14px; line-height: 1.65; }

/* ================= FOOTER ================= */
.foot { text-align: center; padding: 28px 16px 40px; display: grid; justify-items: center; gap: 10px; }
.foot img { width: 160px; height: auto; opacity: .9; transition: opacity .3s; }
.foot img:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= SELECTOR DE PAÍS (intl-tel-input, tema oscuro) ================= */
.iti { width: 100%; --iti-border-color: rgba(205,179,106,0.25); --iti-dialcode-color: #8A847F;
  --iti-dropdown-bg: #110F0B; --iti-arrow-color: #CDB36A; --iti-hover-color: rgba(205,179,106,0.12); }
.iti input.iti__tel-input { width: 100%; }
.iti__country-container { border-radius: 12px 0 0 12px; }
.iti__selected-country { background: transparent; border-right: 1px solid rgba(205,179,106,0.25); border-radius: 12px 0 0 12px; transition: background .25s; }
.iti__selected-country:hover { background: rgba(205,179,106,0.08); }
.iti__selected-dial-code { color: var(--hueso); font-size: 15px; margin-right: 12px; margin-left: 4px; }
.iti__dropdown-content { background: #110F0B; border: 1px solid rgba(205,179,106,0.4); border-radius: 12px; color: var(--hueso);
  box-shadow: 0 20px 60px rgba(0,0,0,.7); }
.iti__search-input { background: var(--onix); color: var(--hueso); border: 0; border-bottom: 1px solid rgba(205,179,106,0.25); padding: 12px 14px; font-family: var(--sans); font-size: 15px; border-radius: 12px 12px 0 0; }
.iti__search-input::placeholder { color: rgba(138,132,127,0.7); }
.iti__country-list { scrollbar-width: thin; scrollbar-color: rgba(205,179,106,0.4) transparent; }
.iti__country { padding: 9px 12px; font-size: 14px; transition: background .2s; }
.iti__country:hover, .iti__country.iti__highlight { background: rgba(205,179,106,0.12); }
.iti__dial-code { color: var(--humo); }

/* ================= PULIDO MÓVIL ================= */
@media (max-width: 560px) {
  .hero { padding: 36px 16px 8px; }
  .badge { width: 84px; height: 84px; }
  .badge img { width: 46px; }
  .stats { gap: 6px 16px; margin-top: 18px; }
  .stats strong { font-size: 19px; }
  .stats span { font-size: 10px; }
  .agenda { padding: 18px 12px 40px; }
  .gate { padding: 18px 14px 14px; }
  .gate-head { gap: 12px; margin-bottom: 16px; }
  .opt { padding: 13px 14px 13px 42px; font-size: 14.5px; }
  .opt::before { left: 14px; }
  .opt:hover { transform: none; }
  .btn { width: 100%; margin-left: 0; }
  .gate-nav { flex-direction: column-reverse; align-items: stretch; }
  .gate-nav .link { text-align: center; }
  .section { padding: 44px 14px; }
  .steps li { padding: 18px 16px; }
  .steps li:hover { transform: none; }
  .calendar, #calendly-embed { min-height: 620px; }
  .faq-item summary { font-size: 14px; padding: 14px 14px; }
  .faq-a { font-size: 13.5px; }
}
input, button { touch-action: manipulation; }

/* ================= PÁGINA DE GRACIAS ================= */
.ty-hero { padding-bottom: 40px; }
.check {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  font-size: 40px; font-weight: 900; color: var(--onix);
  background: var(--oro-grad); box-shadow: 0 0 0 8px rgba(205,179,106,0.1), 0 20px 50px rgba(0,0,0,.6);
  margin-bottom: 22px;
}
.ty-hero .btn-wa { margin-top: 24px; }
.btn-wa { background: #25D366; color: #062b16; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.22); }
.btn-wa:hover { box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35); }
.btn-wa[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.ty-video-sec { max-width: 860px; }
.ty-video { margin-top: 26px; overflow: hidden; aspect-ratio: 16 / 9; position: relative; }
.ty-video-ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ty-video-ph .mono { color: var(--oro); letter-spacing: .18em; }
.ty-iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Logo grande del hero */
.hero-logo { width: min(340px, 78vw); height: auto; margin-bottom: 26px; filter: drop-shadow(0 12px 34px rgba(0,0,0,.6)); transition: transform .35s var(--ease); }
.hero-logo:hover { transform: scale(1.02); }

/* Footer premium: logo + línea-texto-línea */
.foot-line { display: flex; align-items: center; justify-content: center; gap: 18px; }
.foot-line img { width: 170px; height: auto; }
.foot-line .fl { width: 30px; height: 1px; background: var(--oro); display: inline-block; opacity: .7; }
.foot-line .ft { font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--humo); }
