/* ===== Design tokens ===== */
:root {
  --paper: #faf9f7;
  --paper-alt: #f2efe9;
  --ink: #121214;
  --ink-muted: #6b6b70;
  --panel: #0d0d0f;
  --panel-2: #17171b;
  --panel-line: rgba(255, 255, 255, 0.09);
  --gold-1: #ffe9ac;
  --gold-2: #f2b53d;
  --gold-3: #d98a1a;
  --gold-grad: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 55%, var(--gold-3) 100%);
  --gold-text-grad: linear-gradient(135deg, #e8a91f 0%, #cf7f0e 60%, #a8630a 100%);
  --green: #25d366;
  --line: rgba(18, 18, 20, 0.1);
  --card-bg: #ffffff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-head: "Cabinet Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --container-w: 880px;
  --shadow-gold: 0 10px 30px rgba(217, 138, 26, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

.icon {
  width: 1em; height: 1em;
  display: inline-block; flex-shrink: 0;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1040px; }

/* ===== Background grid ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(18, 18, 20, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 18, 20, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 40%, transparent 90%);
}

/* ===== Nav ===== */
.nav-wrap { padding: 22px 0; }
.nav { display: flex; align-items: center; justify-content: center; }
.logo { display: flex; align-items: center; color: var(--ink); }
.logo-svg { height: 22px; width: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700;
  border-radius: 999px; white-space: nowrap; cursor: pointer; border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity .18s ease;
}
.btn-gold {
  background: var(--gold-grad);
  color: #241705;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(217, 138, 26, 0.45); }
.btn-gold:active { transform: translateY(0); }

.btn-dark {
  background: var(--panel);
  color: #fff;
  border: 1px solid var(--panel-line);
}
.btn-dark:hover { background: #1c1c20; }

.btn-whatsapp { background: var(--green); color: #06210f; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35); }
.btn-whatsapp:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45); }

.btn-ghost-line {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); padding: 13px 26px;
}
.btn-ghost-line:hover { border-color: var(--ink); background: rgba(18,18,20,0.03); }

.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-md { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ===== Hero / headline ===== */
.hero { text-align: center; padding: 44px 24px 20px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-bg); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 26px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-3); box-shadow: 0 0 0 3px rgba(217, 138, 26, 0.22); }

.hero-title {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.16; letter-spacing: -0.01em;
  max-width: 760px; margin: 0 auto;
}

.reveal-word { display: inline-block; opacity: 0; transform: translateY(0.35em); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-word.in { opacity: 1; transform: none; }

.hl {
  background: var(--gold-text-grad);
  -webkit-background-clip: text; background-clip: text;
  color: #a8630a;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero-sub {
  max-width: 640px; margin: 20px auto 0;
  font-size: 17px; color: var(--ink-muted);
}

/* ===== Video card ===== */
.video-card {
  position: relative;
  max-width: 760px; margin: 36px auto 0;
  background: var(--panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(18,18,20,0.22);
  border: 1px solid var(--panel-line);
}
.video-card video, .video-card img.video-poster {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
}
.video-card-topbar {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 18px 22px;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
  color: #fff; text-align: center;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(13px, 2vw, 16px); line-height: 1.35;
  z-index: 2; pointer-events: none;
}
.video-card-topbar small {
  display: block; font-family: var(--font-body); font-weight: 700;
  letter-spacing: .05em; color: var(--gold-2); font-size: 11px; margin-bottom: 4px;
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(217,138,26,0.5);
  cursor: pointer; border: none; z-index: 3;
  transition: transform .18s ease;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.play-btn .icon { width: 26px; height: 26px; color: #241705; fill: #241705; stroke: none; margin-left: 4px; }

.video-card-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 18px; display: flex; justify-content: flex-end; align-items: center; gap: 10px;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
  z-index: 2; pointer-events: none;
}
.video-tag {
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.14); padding: 4px 10px; border-radius: 999px;
}

.video-cta-wrap { text-align: center; margin: 30px auto 0; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 9, 6, 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-card {
  width: 100%; max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  position: relative;
  transform: translateY(16px) scale(.98); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); opacity: 1; }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,0.16); }

.modal-title {
  font-family: var(--font-head); font-weight: 500; color: #fff;
  font-size: clamp(20px, 3vw, 24px); line-height: 1.3; text-align: center;
  margin-bottom: 24px;
}
.modal-title .hl { display: inline; }

.field {
  width: 100%; margin-bottom: 12px;
  background: #1c1c20; border: 1px solid var(--panel-line);
  border-radius: var(--radius-sm); padding: 15px 18px;
  color: #fff; font-size: 15px; font-family: var(--font-body);
}
.field::placeholder { color: #86868c; }
.field:focus { outline: none; border-color: var(--gold-2); }

.field-error { border-color: #e5484d !important; }
.field-error-msg { color: #ff8a8f; font-size: 12.5px; margin: -6px 0 10px 4px; display: none; }
.field-error-msg.show { display: block; }

.form-note { color: #86868c; font-size: 12.5px; text-align: center; margin-top: 14px; }

/* ===== Sections / cards shared ===== */
.section { padding: 56px 0; }
.section-alt { background: var(--paper-alt); }

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-3); text-align: center; margin-bottom: 10px;
}

/* ===== Quiz / qualification steps ===== */
.quiz-wrap { max-width: 620px; margin: 0 auto; }

.progress-track {
  height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 34px;
}
.progress-fill { height: 100%; background: var(--gold-grad); border-radius: 999px; transition: width .35s ease; width: 16%; }

.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeUp .35s ease; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.step-kicker { font-size: 13px; font-weight: 700; color: var(--gold-3); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; text-align: center; }
.step-question {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(21px, 3.4vw, 27px); text-align: center; margin-bottom: 26px; line-height: 1.3;
}

.option-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.option-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card-bg); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
  font-size: 15.5px; font-weight: 600;
}
.option-card:hover { border-color: var(--gold-2); }
.option-card input { accent-color: var(--gold-3); width: 18px; height: 18px; flex-shrink: 0; }
.option-card.selected { border-color: var(--gold-3); background: #fff8ea; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
@media (max-width: 520px) { .option-grid { grid-template-columns: 1fr; } }

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

.step-nav { display: flex; gap: 12px; justify-content: center; margin-top: 6px; }
.step-nav .btn-ghost-line { flex: 0 0 auto; }

.other-input { margin-top: -2px; }

/* ===== Calendar / booking ===== */
.contact-recap {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-muted);
}
.contact-recap strong { color: var(--ink); }

.date-scroller {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px;
  scrollbar-width: thin;
}
.date-chip {
  flex: 0 0 auto; width: 68px; padding: 12px 0; text-align: center;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--card-bg);
  cursor: pointer; font-weight: 700; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.date-chip small { display: block; font-weight: 600; font-size: 11px; color: var(--ink-muted); text-transform: uppercase; margin-bottom: 4px; }
.date-chip.selected { background: var(--panel); border-color: var(--panel); color: #fff; }
.date-chip.selected small { color: var(--gold-2); }

.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
@media (max-width: 480px) { .time-grid { grid-template-columns: repeat(2, 1fr); } }
.time-chip {
  padding: 12px 6px; text-align: center; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--card-bg); cursor: pointer;
  font-weight: 600; font-size: 14px; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.time-chip.selected { background: var(--panel); border-color: var(--panel); color: #fff; }
.time-empty { text-align: center; color: var(--ink-muted); font-size: 14px; padding: 20px 0; }

/* ===== Thank you page ===== */
.ty-hero { text-align: center; padding: 60px 24px 10px; }
.ty-emoji { font-size: 46px; margin-bottom: 14px; }
.ty-title { font-family: var(--font-head); font-weight: 500; font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 14px; }
.ty-sub { max-width: 560px; margin: 0 auto; color: var(--ink-muted); font-size: 16.5px; }
.ty-detail-card {
  max-width: 420px; margin: 26px auto 0; background: var(--panel); color: #fff;
  border-radius: var(--radius-md); padding: 20px 24px; text-align: left;
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--panel-line);
}
.ty-detail-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ty-detail-icon .icon { color: #241705; }
.ty-detail-card strong { display: block; font-size: 15.5px; }
.ty-detail-card span { font-size: 13px; color: #a8a8ae; }

.wa-card {
  max-width: 480px; margin: 0 auto; text-align: center;
  background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px;
}
.wa-card h2 { font-family: var(--font-head); font-weight: 500; font-size: 22px; margin-bottom: 10px; }
.wa-card p { color: var(--ink-muted); margin-bottom: 22px; font-size: 15px; }
.wa-card ul { text-align: left; margin: 18px auto 0; max-width: 360px; display: flex; flex-direction: column; gap: 8px; }
.wa-card ul li { font-size: 14.5px; color: var(--ink-muted); padding-left: 22px; position: relative; }
.wa-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-3); font-weight: 700; }

.testi-title { text-align: center; font-family: var(--font-head); font-weight: 500; font-size: 22px; margin-bottom: 22px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin: 0 auto; }
@media (max-width: 640px) { .testi-grid { grid-template-columns: 1fr; max-width: 320px; } }
.testi-card {
  aspect-ratio: 9/14; border-radius: var(--radius-md); overflow: hidden; position: relative;
  background: linear-gradient(160deg, #2a2a30, #101012);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  color: #fff; border: 1px solid var(--panel-line);
}
.testi-card .play-btn { width: 52px; height: 52px; position: static; transform: none; }
.testi-card .play-btn .icon { width: 18px; height: 18px; }
.testi-card small { font-size: 12px; color: #b7b7bd; padding: 0 14px; text-align: center; }
.testi-note {
  text-align: center; color: var(--ink-muted); font-size: 12.5px; margin-top: 16px;
}

/* ===== Footer ===== */
.footer { padding: 30px 0 60px; text-align: center; }
.footer-copy { color: var(--ink-muted); font-size: 13px; margin-top: 12px; }

/* ===== Utility ===== */
.mt-0 { margin-top: 0 !important; }
.hidden { display: none !important; }

@media (max-width: 560px) {
  .video-card { border-radius: var(--radius-md); }
  .modal-card { padding: 28px 22px 24px; }
}
