/* ============================================================
   Menava — Component styles (screens)
   ============================================================ */

/* ---------- Welcome ---------- */
.welcome { width: 100%; max-width: 1100px; margin: clamp(8px, 3vh, 40px) auto 0; }
.welcome-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(7,103,115,0.12);
  padding: 8px 14px; border-radius: 999px;
}
.welcome-h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--teal-deep);
  margin: 22px 0 0;
  max-width: 16ch;
  text-wrap: balance;
}
.welcome-sub {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--ink-soft);
  margin: 20px 0 0;
  max-width: 46ch;
  text-wrap: pretty;
}
.welcome-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.welcome-fine { font-size: 13px; color: var(--ink-faint); margin: 22px 0 0; }

.aside-card { padding: 28px; }
.aside-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.aside-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.aside-list li { display: flex; gap: 14px; align-items: flex-start; }
.al-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; color: var(--teal-deep);
  background: linear-gradient(150deg, rgba(201,225,227,0.9), rgba(120,186,190,0.5));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.aside-list b { display: block; font-size: 15.5px; color: var(--ink); }
.aside-list span span { display: block; font-size: 13.5px; color: var(--ink-faint); margin-top: 2px; }
.aside-foot { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(7,103,115,0.1); }
.aside-foot .rag { padding: 5px; }
.aside-foot-t { font-size: 12.5px; color: var(--ink-faint); margin-left: 6px; }

/* ---------- Progress ---------- */
.qwrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.progress { margin: 6px 0 22px; }
.progress-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.progress-step { font-size: 14px; font-weight: 700; color: var(--teal-deep); }
.progress-step .of { font-weight: 500; color: var(--ink-faint); }
.progress-pct { font-size: 12.5px; color: var(--ink-faint); font-weight: 500; }
.progress-track { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.55); box-shadow: inset 0 1px 3px rgba(7,76,82,0.12); overflow: hidden; }
.progress-fill {
  position: absolute; inset: 0 auto 0 0; height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-mid), var(--coral));
  transition: width .5s cubic-bezier(.2,.8,.2,1);
}
.progress-dots { display: none; }

/* ---------- Question card ---------- */
.qcard { padding: clamp(24px, 3.4vw, 38px); }
.qcard-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.qtheme { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 14.5px; color: var(--teal-deep); letter-spacing: 0.01em; }
.qtheme-ico {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: var(--teal-deep);
  background: linear-gradient(150deg, rgba(201,225,227,0.95), rgba(120,186,190,0.55));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.qindex { font-family: var(--font-display); font-size: 30px; color: rgba(7,103,115,0.28); line-height: 1; }
.qtext {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.22; letter-spacing: -0.01em;
  color: var(--ink); margin: 20px 0 0; text-wrap: pretty; font-weight: 600;
}

.why {
  display: inline-flex; align-items: center; gap: 9px; margin: 18px 0 0;
  background: rgba(255,255,255,0.45); border: 1px solid rgba(7,103,115,0.14);
  color: var(--teal-deep); font-weight: 600; font-size: 13.5px;
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.why:hover { background: rgba(255,255,255,0.7); }
.why-chev { display: inline-flex; transition: transform .25s ease; opacity: .7; }
.why.open .why-chev { transform: rotate(90deg); }
.why-body {
  margin: 14px 0 0; padding: 18px 20px;
  background: rgba(201,225,227,0.34); border-radius: var(--r-md);
  border: 1px solid rgba(120,186,190,0.35);
}
.why-body p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.why-term { margin-top: 12px !important; font-size: 14px !important; color: var(--teal-deep) !important; }
.why-term b { color: var(--teal-deep); }

.opts { display: flex; flex-direction: column; gap: 11px; margin: 24px 0 0; }
.opt {
  display: flex; align-items: flex-start; gap: 14px; text-align: left;
  padding: 17px 18px; border-radius: var(--r-md); cursor: pointer;
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(7,103,115,0.12);
  transition: border-color .18s, background .18s, transform .14s, box-shadow .2s;
  font-family: var(--font-body); color: var(--ink);
}
.opt:hover { background: rgba(255,255,255,0.74); border-color: rgba(120,186,190,0.7); transform: translateY(-1px); }
.opt.on {
  background: rgba(201,225,227,0.5);
  border-color: var(--teal-mid);
  box-shadow: 0 12px 30px -18px rgba(7,103,115,0.5), inset 0 0 0 1px rgba(120,186,190,0.5);
}
.opt-mark {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  color: var(--ink-soft); background: rgba(255,255,255,0.7);
  border: 1px solid rgba(7,103,115,0.12);
  transition: all .18s;
}
.opt.on .opt-mark { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.opt-text { font-size: 15.5px; line-height: 1.45; padding-top: 3px; }

.qnav { display: flex; align-items: center; justify-content: space-between; margin: 22px 2px 0; }

/* ---------- Results ---------- */
.results { width: 100%; max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }

.result-hero {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 30px; align-items: center;
  padding: clamp(28px, 3.6vw, 44px);
  position: relative; overflow: hidden;
}
.result-hero::before {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(238,187,142,0.22), transparent 65%);
  pointer-events: none;
}
.rh-left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; }
.rh-headline { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; color: var(--teal-deep); letter-spacing: -0.01em; margin: 4px 0 0; text-wrap: balance; }
.rh-sub { font-size: 16.5px; color: var(--ink-soft); margin: 0; max-width: 48ch; text-wrap: pretty; }
.rh-sub b { color: var(--teal-deep); }
.rh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.rh-right { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.dial-foot { font-size: 12px; color: var(--ink-faint); text-align: center; line-height: 1.5; font-weight: 500; }

/* dial */
.dial { position: relative; width: 200px; height: 200px; }
.dial-svg { width: 100%; height: 100%; }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial-num { font-family: var(--font-display); font-size: 62px; line-height: 1; color: var(--teal-deep); }
.dial-unit { font-size: 26px; opacity: .6; margin-left: 2px; }
.dial-cap { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

/* sections */
.result-section { display: flex; flex-direction: column; gap: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 0 4px; }
.section-title { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; color: var(--teal-deep); margin: 0; letter-spacing: -0.01em; }
.section-title svg { color: var(--teal-mid); }
.section-note { font-size: 13px; color: var(--ink-faint); }

.empty-card { display: flex; align-items: center; gap: 14px; padding: 24px 26px; color: var(--green); }
.empty-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* risks */
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.risk-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.risk-top { display: flex; align-items: center; justify-content: space-between; }
.risk-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--teal-deep); background: linear-gradient(150deg, rgba(201,225,227,0.9), rgba(120,186,190,0.5)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.risk-title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.25; }
.risk-blocks { font-size: 13.8px; color: var(--ink-soft); margin: 0; line-height: 1.5; flex: 1; }
.risk-foot { padding-top: 4px; }
.tier-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); }

/* roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: r; }
.road-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; }
.road-num {
  flex: none; width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff;
  font-family: var(--font-display);
}
.road-num.red { background: linear-gradient(150deg, #d49183, var(--red)); }
.road-num.amber { background: linear-gradient(150deg, #e7b078, var(--amber)); }
.road-num.green { background: linear-gradient(150deg, #7bb19c, var(--green)); }
.road-body { flex: 1; }
.road-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.road-title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; }
.road-action { font-size: 15px; color: var(--ink-soft); margin: 7px 0 0; line-height: 1.5; text-wrap: pretty; }
.road-tier { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-faint); margin-top: 12px; }

/* pathway */
.pathway-card { padding: clamp(24px, 3vw, 34px); }
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pathway-col {
  border-radius: var(--r-lg); padding: 22px; border: 1.5px solid rgba(7,103,115,0.1);
  background: rgba(255,255,255,0.4); transition: all .25s;
}
.pathway-col.active {
  border-color: var(--coral);
  background: linear-gradient(165deg, rgba(255,255,255,0.85), rgba(247,223,202,0.55));
  box-shadow: 0 22px 50px -28px rgba(214,143,90,0.6);
  grid-row: span 1;
}
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-level { font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); }
.pc-badge { font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #4a2c14; background: var(--coral); padding: 4px 9px; border-radius: 999px; }
.pc-tag { font-size: 18px; font-weight: 700; color: var(--ink); margin: 12px 0 0; }
.pc-desc { font-size: 14.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.55; }
.pc-points { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pc-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink); }
.pc-points svg { color: var(--green); flex: none; margin-top: 2px; }

.pathway-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 22px; padding: 22px 24px; border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(7,103,115,0.96), rgba(7,76,82,0.98));
  flex-wrap: wrap;
}
.pcta-title { color: #fff; font-size: 25px; margin: 0; }
.pcta-sub { color: rgba(255,255,255,0.8); font-size: 14.5px; margin: 6px 0 0; max-width: 42ch; }
.pathway-cta .btn-primary { flex: none; }

.results-foot { display: flex; justify-content: center; padding: 4px 0 10px; }

/* ---------- Review sheet + booking ---------- */
.sheet-scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(7,55,60,0.32); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
@media (min-width: 720px) { .sheet-scrim { align-items: center; padding: 24px; } }
.sheet {
  width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto;
  padding: 26px; border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: rgba(255,255,255,0.92);
}
@media (min-width: 720px) { .sheet { border-radius: var(--r-xl); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-title { font-size: 26px; color: var(--teal-deep); margin: 0; }
.sheet-list { display: flex; flex-direction: column; gap: 8px; }
.sheet-row {
  display: flex; align-items: center; gap: 13px; text-align: left; width: 100%;
  padding: 13px 14px; border-radius: var(--r-md); cursor: pointer;
  background: rgba(201,225,227,0.22); border: 1px solid rgba(7,103,115,0.08);
  font-family: var(--font-body); transition: background .18s;
}
.sheet-row:hover { background: rgba(201,225,227,0.45); }
.sr-ico { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; color: var(--teal-deep); background: rgba(255,255,255,0.7); }
.sr-body { flex: 1; min-width: 0; }
.sr-body b { display: block; font-size: 14.5px; color: var(--ink); }
.sr-body span { display: block; font-size: 12.8px; color: var(--ink-faint); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-seed { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.sr-seed.green { background: var(--green); } .sr-seed.amber { background: var(--amber); } .sr-seed.red { background: var(--red); }

.booking {
  width: 100%; max-width: 460px; padding: 36px 32px; text-align: center;
  border-radius: var(--r-xl) var(--r-xl) 0 0; position: relative; overflow: hidden;
  background: rgba(255,255,255,0.95);
}
@media (min-width: 720px) { .booking { border-radius: var(--r-xl); } }
.booking-glow { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 280px; height: 160px; background: radial-gradient(circle, rgba(238,187,142,0.4), transparent 70%); pointer-events: none; }
.booking-ico { position: relative; width: 58px; height: 58px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; color: var(--teal-deep); background: linear-gradient(150deg, rgba(201,225,227,0.95), rgba(120,186,190,0.6)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.booking-title { font-size: 30px; color: var(--teal-deep); margin: 18px 0 0; }
.booking-sub { font-size: 15.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.55; }
.booking-rows { display: flex; flex-direction: column; gap: 11px; margin: 22px 0 0; text-align: left; }
.booking-row { display: inline-flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.booking-row svg { color: var(--teal-deep); flex: none; }
.booking-confirm { width: 100%; margin: 22px 0 0; }
.booking-fine { font-size: 12px; color: var(--ink-faint); margin: 14px 0 0; }

/* ---------- Lead capture (welcome gate) ---------- */
.lead-form { margin: 28px 0 0; max-width: 540px; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.01em; }
.field-input {
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  padding: 13px 15px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.62);
  border: 1.5px solid rgba(7,103,115,0.16);
  transition: border-color .18s, background .18s, box-shadow .2s;
}
.field-input::placeholder { color: var(--ink-faint); }
.field-input:focus {
  outline: none; background: rgba(255,255,255,0.9);
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 4px rgba(120,186,190,0.22);
}
.lead-consent {
  display: flex; gap: 11px; align-items: flex-start; margin: 18px 0 0;
  font-size: 14px; color: var(--ink-soft); line-height: 1.5; cursor: pointer;
}
.lead-consent input[type="checkbox"] {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-deep); cursor: pointer;
}
.lead-consent a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; }
.lead-consent-wrap { margin: 18px 0 0; }
.lead-consent-wrap .lead-consent { margin: 0; }
.policy-toggle {
  display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  color: var(--teal-deep); letter-spacing: 0.01em;
}
.policy-toggle:hover { color: var(--ink); }
.policy-toggle .policy-chev { display: inline-flex; transition: transform .25s ease; opacity: .7; transform: rotate(90deg); }
.policy-toggle.open .policy-chev { transform: rotate(-90deg); }
.policy-body {
  margin: 12px 0 0; padding: 18px 20px;
  max-height: 280px; overflow-y: auto;
  background: rgba(201,225,227,0.34);
  border: 1px solid rgba(120,186,190,0.35);
  border-radius: var(--r-md);
  font-size: 13px; line-height: 1.55; color: var(--ink-soft);
}
.policy-body .policy-title { font-size: 15px; font-weight: 700; color: var(--teal-deep); margin: 0 0 10px; }
.policy-body p { margin: 0 0 11px; }
.policy-body p:last-child { margin-bottom: 0; }
.policy-body b { color: var(--teal-deep); }
.policy-body ul { margin: 0 0 11px; padding-left: 20px; display: flex; flex-direction: column; gap: 3px; }
.policy-body a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; }
.policy-body .policy-updated { font-size: 12px; color: var(--ink-faint); margin-top: 12px; }
.lead-form .welcome-actions { margin: 22px 0 0; }

/* ---------- Results: greeting, bridge, disclaimer ---------- */
.rh-greeting {
  grid-column: 1 / -1; order: -2;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--teal-deep); margin: 0; line-height: 1.1;
  position: relative;
}
.cta-book { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 360px; }
.cta-bridge { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.82); margin: 0; }
.cta-bridge a { color: #fff; font-weight: 600; text-decoration: underline; }
.cta-book .btn-primary { width: 100%; }
.legal-disclaimer {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-faint);
  text-align: center; max-width: 64ch; margin: -4px auto 0; padding: 0 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 28px; }
  .welcome-aside { order: -1; }
  .result-hero { grid-template-columns: 1fr; text-align: left; }
  .rh-right { order: -1; align-items: flex-start; flex-direction: row; gap: 18px; }
  .risk-grid { grid-template-columns: 1fr; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-col:not(.active) { display: none; }
  .cta-book { max-width: none; width: 100%; }
}
@media (max-width: 520px) {
  .topbar .save-note { display: none; }
  .rh-right { flex-direction: column; align-items: center; }
  .dial { width: 168px; height: 168px; }
  .dial-num { font-size: 52px; }
  .qnav .btn-primary { padding: 14px 20px; }
  .pathway-cta { flex-direction: column; align-items: flex-start; }
  .pathway-cta .btn-primary { width: 100%; }
  .lead-fields { grid-template-columns: 1fr; }
}

/* ---------- Print: clean roadmap PDF (Menava teal palette) ---------- */
@media print {
  @page { margin: 14mm; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html, body { background: #fff !important; }
  .dawn, .sun, .topbar, [data-omelette-chrome], .twk-panel,
  .rh-actions, .results-foot, .pathway-cta, .why, .save-note { display: none !important; }
  .app { min-height: 0 !important; }
  .stage { padding: 0 !important; }
  .results { max-width: none !important; gap: 18px !important; }
  .glass {
    background: #fff !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: 1px solid #C9E1E3 !important;
    break-inside: avoid;
  }
  .result-hero::before { display: none !important; }
  .rh-greeting, .rh-headline, .section-title, .pcta-title, .dial-num { color: #076773 !important; }
  .rh-sub, .road-action, .risk-blocks, .section-note, .road-title, .risk-title, .pc-tag, .pc-desc { color: #0c4a52 !important; }
  .road-num.red { background: #c47d6e !important; }
  .road-num.amber { background: #d99a5b !important; }
  .road-num.green { background: #5f9b86 !important; }
  .road-item, .risk-card, .result-section { break-inside: avoid; }
  .pathway-col:not(.active) { display: block !important; }
}
