/* SRO Core Design System v1.0 — shared by all 4 stages.
   Royal Architectural Luxury: Ivory #F8F7F4 · Navy #0B2347 · Gold #C79A3B */
:root {
  --ivory: #f8f7f4; --paper: #ffffff; --navy: #0b2347; --navy-2: #06152b; --ink: #13213a;
  --slate: #55657e; --line: rgba(11, 35, 71, .12); --gold: #c79a3b; --gold-2: #a5781e; --gold-soft: rgba(199, 154, 59, .14);
  --ok: #0f7a4f; --warn: #b4540a; --radius: 22px; --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(11, 35, 71, .28); --shadow-sm: 0 8px 24px -12px rgba(11, 35, 71, .25);
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.35rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--gold-2); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--slate); max-width: 60ch; }
.muted { color: var(--slate); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 14px; border: 1px solid transparent;
  font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: linear-gradient(135deg, #d9b25a, var(--gold) 55%, var(--gold-2)); color: #1b1404; box-shadow: 0 10px 28px -12px rgba(165, 120, 30, .7); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-wa { background: #128c4a; color: #fff; }
.btn-wa:hover { background: #0e7a40; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* Header + Journey rail */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(248, 247, 244, .86); backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--gold-soft); padding: 4px; }
.brand b { display: block; font: 800 14px/1.1 var(--sans); letter-spacing: .2em; color: var(--navy); }
.brand small { display: block; font: 700 9px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.rail { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.rail-step a, .rail-step > span { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.rail-step a:hover { border-color: var(--gold); }
.rail-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 800 11px/1 var(--sans); background: var(--ivory); color: var(--slate); }
.rail-txt { font: 700 11px/1.15 var(--sans); color: var(--navy); white-space: nowrap; }
.rail-txt small { display: block; font-weight: 600; font-size: 9px; color: var(--slate); letter-spacing: .04em; }
.is-current > span { border-color: var(--gold); background: var(--gold-soft); }
.is-current .rail-dot { background: var(--navy); color: #fff; }
.is-done .rail-dot { background: var(--ok); color: #fff; }
.is-next { opacity: .72; }
@media (max-width: 1080px) { .rail-txt { display: none; } .rail-step a, .rail-step > span { padding: 4px; } }
@media (max-width: 560px) {
  .head-cta, .brand small { display: none; }
  .brand b { font-size: 12px; letter-spacing: .14em; }
  .brand img { width: 34px; height: 34px; }
  .rail { gap: 4px; }
  .rail-dot { width: 22px; height: 22px; font-size: 10px; }
}
html, body { overflow-x: clip; }
.wrap > *, [class*="grid"] > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid-2 { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn { transition: none; } }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font: 700 12px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.field input, .field select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory);
  font: 600 16px/1.2 var(--sans); color: var(--navy); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); background: #fff; }
.field .hint { font-size: 12px; color: var(--slate); }
.field.invalid input { border-color: #c0392b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 13px/1 var(--sans); color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Footer */
.site-foot { background: var(--navy-2); color: rgba(255, 255, 255, .78); padding: 56px 0 36px; font-size: 14px; }
.site-foot a { color: #fff; }
.site-foot h4 { margin: 0 0 12px; font: 700 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(6, 21, 43, .6); backdrop-filter: blur(6px); padding: 20px; }
.modal.open { display: grid; }
.modal-box { width: min(420px, 100%); background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.modal-box img { margin: 16px auto; border-radius: 14px; border: 1px solid var(--line); }
