/* ==========================================================================
   Millennia Services: site styles
   Brand: navy, burgundy and gold on warm cream, taken from the logo.
   Type: Marcellus (inscription serif, echoes the wordmark) + Public Sans.
   ========================================================================== */

:root {
  --cream: #FBF8F2;
  --linen: #F5EFE5;
  --sand: #ECE3D5;
  --sand-2: #E2D6C4;
  --paper: #FFFFFF;
  --line: #E6DCCD;
  --line-strong: #CFC0AA;
  --taupe: #6A5D51;
  --taupe-2: #8C7E70;
  --ink: #1C2228;
  --ink-2: #3A424A;

  --navy: #0B2B40;
  --navy-ink: #002337;
  --navy-2: #123A55;
  --navy-3: #1C4A68;
  --navy-line: rgba(255, 255, 255, .12);
  --on-navy: #E9EEF2;
  --on-navy-2: #A9BCCB;

  --wine: #8C1D40;
  --wine-2: #6B0024;
  --wine-soft: #F6E6EA;
  --wine-ink: #6B0024;

  --gold: #B2813C;
  --gold-2: #8A6224;
  --gold-3: #D9B56E;
  --gold-soft: #F4EAD6;

  --teal: #2F6B66;
  --ok: #2B6A4C;
  --ok-soft: #E3F0E8;
  --warn: #8A5A12;
  --warn-soft: #F8ECD4;
  --err: #9B2C2C;
  --err-soft: #F9E4E2;
  --info-soft: #E6EEF3;

  --serif: "Marcellus", "Cinzel", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1440px;
  --gutter: clamp(18px, 4vw, 64px);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(0, 35, 55, .06);
  --shadow: 0 1px 2px rgba(0, 35, 55, .04), 0 12px 32px -14px rgba(0, 35, 55, .22);
  --shadow-lg: 0 2px 6px rgba(0, 35, 55, .05), 0 30px 60px -24px rgba(0, 35, 55, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hbar: 66px;
  --htop: 14px;
  --hspace: calc(var(--hbar) + var(--htop) * 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hspace) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: var(--wine); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--wine-2); }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--navy); color: #fff; }
[hidden] { display: none !important; }

h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--navy-ink); letter-spacing: -0.005em; line-height: 1.08; text-wrap: balance; }
h3, h4 { margin: 0; font-family: var(--sans); font-weight: 700; color: var(--navy-ink); letter-spacing: -0.015em; line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.7vw, 3rem); }
h3 { font-size: clamp(1.14rem, 1.05rem + .3vw, 1.35rem); }
h4 { font-size: 1.0625rem; }
p { margin: 0; text-wrap: pretty; }
.num, .price, .amount { font-variant-numeric: tabular-nums lining-nums; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.muted { color: var(--taupe); }
.small { font-size: .9rem; }
.xsmall { font-size: .8125rem; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
svg.inline { display: inline-block; vertical-align: -3px; }
.ico .duo { fill: var(--gold); fill-opacity: .28; stroke: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.eyebrow.light, .on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .section-navy .eyebrow, .section-wine .eyebrow { color: var(--gold-3); }
.lead { font-size: clamp(1.07rem, 1rem + .3vw, 1.24rem); line-height: 1.62; color: var(--taupe); max-width: 62ch; }
.placeholder { background: #FFF3C4; color: #6B5500; padding: 0 .3em; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn { --b: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .75rem 1.5rem; font: 600 1rem/1.2 var(--sans); letter-spacing: -0.005em; border-radius: 999px; border: 1.5px solid var(--b); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--wine); color: #fff; --b: var(--wine); box-shadow: 0 10px 24px -12px rgba(140, 29, 64, .75); }
.btn-primary:hover { background: var(--wine-2); --b: var(--wine-2); color: #fff; box-shadow: 0 14px 28px -12px rgba(107, 0, 36, .8); }
.btn-secondary { background: transparent; color: var(--navy-ink); --b: var(--line-strong); }
.btn-secondary:hover { background: var(--navy); --b: var(--navy); color: #fff; }
.btn-deep { background: var(--navy); color: #fff; --b: var(--navy); }
.btn-deep:hover { background: var(--navy-3); --b: var(--navy-3); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .06); color: #fff; --b: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; --b: #fff; color: var(--navy-ink); }
.btn-gold { background: var(--gold); color: #fff; --b: var(--gold); }
.btn-gold:hover { background: var(--gold-2); --b: var(--gold-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--wine); padding-inline: .3rem; min-height: 44px; border-radius: 8px; }
.btn-ghost:hover { color: var(--wine-2); }
.btn-lg { min-height: 58px; padding: .95rem 1.9rem; font-size: 1.0625rem; }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Floating header ---------- */
.site-header { position: fixed; inset: var(--htop) 0 auto 0; z-index: 80; pointer-events: none; transition: transform .45s var(--ease); }
.header-bar { pointer-events: auto; width: calc(100% - var(--gutter) * 2); max-width: calc(var(--container) - var(--gutter) * 2); margin-inline: auto; height: var(--hbar); display: flex; align-items: center; gap: 1rem; padding: 0 .55rem 0 1.25rem; border-radius: 20px; background: rgba(251, 248, 242, .78); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 12px 34px -16px rgba(0, 35, 55, .32), 0 0 0 1px rgba(0, 35, 55, .05); transition: background .35s, box-shadow .35s, height .35s var(--ease); }
body.scrolled .header-bar { background: rgba(251, 248, 242, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 16px 40px -18px rgba(0, 35, 55, .4), 0 0 0 1px rgba(0, 35, 55, .06); }
body.header-hidden .site-header { transform: translateY(calc(-100% - var(--htop) - 10px)); }
.brand { display: inline-flex; align-items: center; margin-right: auto; flex: none; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.brand .logo-light { display: none; }
.nav-desktop { display: flex; align-items: center; gap: .15rem; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .96rem; text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--navy-ink); background: rgba(0, 35, 55, .06); }
.nav-link[aria-current="page"] { color: var(--navy-ink); font-weight: 700; }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--gold); transform: rotate(45deg); }
.nav-actions { display: flex; align-items: center; gap: .4rem; margin-left: .5rem; }
.nav-account { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; color: var(--navy-ink); font-weight: 600; font-size: .96rem; text-decoration: none; border-radius: 999px; white-space: nowrap; }
.nav-account:hover { background: rgba(0, 35, 55, .06); color: var(--navy-ink); }
.nav-actions .btn { min-height: 46px; }

/* Menu button: floating, borderless, morphs into a cross */
.menu-btn { display: none; position: relative; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 35, 55, .65); transition: background .3s, transform .3s var(--ease), box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.menu-btn:hover { transform: scale(1.05); }
.menu-btn:active { transform: scale(.94); }
.menu-btn .bar { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), opacity .25s, width .35s var(--ease), top .35s var(--ease); }
.menu-btn .bar:nth-child(1) { top: 18px; }
.menu-btn .bar:nth-child(2) { top: 24px; right: 21px; }
.menu-btn .bar:nth-child(3) { top: 30px; }
.menu-btn:hover .bar:nth-child(2) { right: 15px; }
body.menu-open .menu-btn { background: var(--gold); box-shadow: 0 10px 30px -8px rgba(217, 181, 110, .6); }
body.menu-open .menu-btn .bar:nth-child(1) { top: 24px; transform: rotate(45deg); }
body.menu-open .menu-btn .bar:nth-child(2) { opacity: 0; transform: translateX(10px); }
body.menu-open .menu-btn .bar:nth-child(3) { top: 24px; transform: rotate(-45deg); }

/* Full-screen menu */
.menu-panel { position: fixed; inset: 0; z-index: 70; background: var(--navy); color: var(--on-navy); overflow-y: auto; clip-path: circle(0 at calc(100% - var(--gutter) - 34px) calc(var(--htop) + var(--hbar) / 2)); visibility: hidden; transition: clip-path .7s cubic-bezier(.76, 0, .24, 1), visibility 0s linear .7s; }
.menu-panel::before { content: ""; position: absolute; inset: 0; background: url("../img/orbits.svg") no-repeat right -160px top 40px / 720px auto; opacity: .5; pointer-events: none; }
body.menu-open .menu-panel { clip-path: circle(150% at calc(100% - var(--gutter) - 34px) calc(var(--htop) + var(--hbar) / 2)); visibility: visible; transition: clip-path .75s cubic-bezier(.76, 0, .24, 1), visibility 0s; }
body.menu-open { overflow: hidden; }
body.menu-open .header-bar { background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .brand .logo-dark { display: none; }
body.menu-open .brand .logo-light { display: block; }
.menu-inner { position: relative; min-height: 100%; display: flex; flex-direction: column; gap: 2rem; padding: calc(var(--hspace) + 24px) var(--gutter) 32px; }
.menu-links { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-links li { border-bottom: 1px solid var(--navy-line); overflow: hidden; }
.menu-links a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; color: #fff; text-decoration: none; font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 3vw, 2.6rem); line-height: 1.15; transform: translateY(105%); opacity: 0; transition: transform .6s var(--ease), opacity .4s, color .2s; transition-delay: 0s; }
.menu-links a .n { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--gold-3); min-width: 2ch; }
.menu-links a .ico { margin-left: auto; align-self: center; color: var(--gold-3); opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease); }
.menu-links a:hover, .menu-links a[aria-current="page"] { color: var(--gold-3); }
.menu-links a:hover .ico { opacity: 1; transform: none; }
body.menu-open .menu-links a { transform: none; opacity: 1; transition-delay: calc(.18s + var(--i) * .06s); }
.menu-foot { margin-top: auto; display: grid; gap: 1.5rem; opacity: 0; transform: translateY(16px); transition: all .5s var(--ease); }
body.menu-open .menu-foot { opacity: 1; transform: none; transition-delay: .55s; }
.menu-foot .btn-row .btn { flex: 1 1 200px; }
.menu-contact { display: grid; gap: .6rem; font-size: .95rem; color: var(--on-navy-2); }
.menu-contact a { color: var(--on-navy); text-decoration: none; }
.menu-contact div { display: flex; gap: .7rem; align-items: flex-start; }
.menu-contact .ico { color: var(--gold-3); margin-top: 3px; }

@media (max-width: 1180px) {
  .nav-desktop, .nav-actions { display: none; }
  .menu-btn { display: inline-block; }
  .header-bar { padding: 0 .5rem 0 1rem; }
}
@media (min-width: 1181px) { .menu-panel { display: none; } }
@media (max-width: 560px) {
  :root { --hbar: 60px; --htop: 10px; }
  .brand img { height: 38px; }
  .menu-btn { width: 46px; height: 46px; }
  .menu-btn .bar { left: 13px; right: 13px; }
  .menu-btn .bar:nth-child(1) { top: 16px; } .menu-btn .bar:nth-child(2) { top: 22px; right: 19px; } .menu-btn .bar:nth-child(3) { top: 28px; }
  body.menu-open .menu-btn .bar:nth-child(1), body.menu-open .menu-btn .bar:nth-child(3) { top: 22px; }
}

main { padding-top: var(--hspace); }
main > .hero:first-child, main > .page-hero:first-child { margin-top: calc(var(--hspace) * -1); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 128px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-linen { background: var(--linen); }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-wine { background: var(--wine-2); color: #F6E9EC; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-wine h1, .section-wine h2, .section-wine h3 { color: #fff; }
.section-navy .lead { color: var(--on-navy-2); }
.section-wine .lead { color: #EBD3D9; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2.5rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > div { display: grid; gap: .9rem; max-width: 760px; }
.has-orbits { position: relative; overflow: hidden; isolation: isolate; }
.has-orbits::after { content: ""; position: absolute; z-index: -1; width: min(900px, 90vw); aspect-ratio: 1; right: -18%; top: 50%; transform: translateY(-50%); background: url("../img/orbits.svg") no-repeat center / contain; opacity: .6; pointer-events: none; }

.grid { display: grid; gap: clamp(16px, 1.6vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
@media (min-width: 1240px) { .grid-4.fixed { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-3.fixed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(1200px 600px at 85% 0%, #17476A 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(140, 29, 64, .35), transparent 60%), var(--navy); color: var(--on-navy); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 1100px; height: 1100px; right: -320px; top: -260px; background: url("../img/orbits.svg") no-repeat center / contain; opacity: .55; animation: orbit 120s linear infinite; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-top: calc(var(--hspace) + clamp(40px, 6vw, 96px)); padding-bottom: clamp(56px, 7vw, 112px); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 1.5rem + 4vw, 5.4rem); line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--gold-3); }
.hero-copy { display: grid; gap: 1.6rem; align-content: start; }
.hero .lead { color: #C9D6E0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-top: 1.4rem; margin-top: .4rem; border-top: 1px solid var(--navy-line); font-size: .9rem; color: var(--on-navy-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta .ico { color: var(--gold-3); }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } }

/* Service finder */
.finder { background: var(--cream); color: var(--ink); border-radius: var(--r-xl); padding: clamp(18px, 2vw, 26px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); position: relative; }
.finder::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(217, 181, 110, .9), rgba(217, 181, 110, 0) 40%, rgba(217, 181, 110, 0) 60%, rgba(217, 181, 110, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.finder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .3rem .4rem 1rem; }
.finder-head h2 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); }
.finder-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; background: var(--sand); border-radius: 16px; }
.finder-tab { display: grid; justify-items: center; gap: .35rem; padding: .7rem .3rem .6rem; border: 0; border-radius: 12px; background: transparent; color: var(--taupe); font: 600 .8rem/1.2 var(--sans); text-align: center; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.finder-tab .ico { color: var(--navy-3); }
.finder-tab:hover { color: var(--navy-ink); }
.finder-tab[aria-selected="true"] { background: var(--paper); color: var(--navy-ink); box-shadow: var(--shadow-sm), 0 6px 14px -8px rgba(0, 35, 55, .25); }
.finder-tab[aria-selected="true"] .ico { color: var(--wine); }
.finder-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 8px; }
.finder-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .85rem .9rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.finder-list a:hover { border-color: var(--gold); transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.finder-list .t { font-weight: 700; color: var(--navy-ink); line-height: 1.3; }
.finder-list .s { font-size: .82rem; color: var(--taupe); }
.finder-list .p { font-weight: 800; color: var(--navy-ink); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; font-size: .95rem; }
.finder-list .p small { display: block; font-weight: 600; font-size: .72rem; color: var(--gold-2); }
.finder-panel[hidden] { display: none; }
.finder-panel { animation: fadeUp .45s var(--ease); }
.finder-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .4rem .2rem; font-size: .9rem; }
.finder-foot a { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .finder-tab { font-size: .72rem; padding-inline: .15rem; } .finder-list a { grid-template-columns: auto minmax(0, 1fr); } .finder-list .p { grid-column: 2; text-align: left; } }

.icon-tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--navy-ink); flex: none; }
.icon-tile.sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-tile.lg { width: 58px; height: 58px; border-radius: 18px; }
.icon-tile.navy { background: var(--navy); color: #fff; }
.icon-tile.navy .duo { fill: var(--gold-3); fill-opacity: .35; }
.icon-tile.glass { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.icon-tile.glass .duo { fill: var(--gold-3); fill-opacity: .4; }

/* Promise strip */
.promise { background: var(--paper); border-bottom: 1px solid var(--line); }
.promise .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.6rem 1.4rem; border-left: 1px solid var(--line); font-size: .92rem; color: var(--taupe); line-height: 1.45; }
.promise-item:first-child { border-left: 0; padding-left: 0; }
.promise-item strong { display: block; color: var(--navy-ink); font-size: 1rem; margin-bottom: .15rem; }
@media (max-width: 980px) { .promise .container { grid-template-columns: 1fr 1fr; } .promise-item:nth-child(3) { border-left: 0; padding-left: 0; } .promise-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .promise .container { grid-template-columns: 1fr; } .promise-item { border-left: 0; padding-left: 0; } .promise-item + .promise-item { border-top: 1px solid var(--line); } }

/* ---------- Bento of services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 20px); }
.tile { grid-column: span 3; position: relative; display: flex; flex-direction: column; gap: .85rem; min-height: 280px; padding: clamp(20px, 1.8vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.tile .cat { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-2); text-align: right; max-width: 12ch; line-height: 1.35; }
.tile h3 { font-size: 1.22rem; margin-top: auto; }
.tile .desc { color: var(--taupe); font-size: .93rem; line-height: 1.5; }
.tile-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-strong); }
.tile .price { font-size: 1.45rem; font-weight: 800; color: var(--navy-ink); letter-spacing: -0.02em; line-height: 1.1; }
.tile .pay { font-size: .78rem; font-weight: 600; color: var(--gold-2); margin-top: .2rem; }
.go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--linen); color: var(--navy-ink); transition: background .3s, color .3s, transform .45s var(--ease); }
.tile:hover .go { background: var(--wine); color: #fff; transform: rotate(-45deg); }
.tile.feature-tile { grid-column: span 6; grid-row: span 2; background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.tile.feature-tile::after { content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; right: -260px; bottom: -300px; background: url("../img/orbits.svg") no-repeat center / contain; opacity: .7; transition: transform 1.2s var(--ease); }
.tile.feature-tile:hover::after { transform: rotate(25deg); }
.tile.feature-tile h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.7rem); letter-spacing: 0; line-height: 1.1; }
.tile.feature-tile .desc { color: var(--on-navy-2); font-size: 1.02rem; max-width: 46ch; }
.tile.feature-tile .cat { color: var(--gold-3); }
.tile.feature-tile .price { color: #fff; font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); }
.tile.feature-tile .pay { color: var(--gold-3); font-size: .9rem; }
.tile.feature-tile .tile-foot { border-color: var(--navy-line); }
.tile.feature-tile .go { background: var(--wine); color: #fff; width: 56px; height: 56px; }
.tile.feature-tile ul { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.2rem; font-size: .92rem; color: var(--on-navy); }
.tile.feature-tile li { display: flex; gap: .55rem; align-items: flex-start; }
.tile.feature-tile li .ico { color: var(--gold-3); margin-top: 3px; }
@media (max-width: 1180px) { .tile { grid-column: span 6; } .tile.feature-tile { grid-column: span 12; grid-row: auto; } }
@media (max-width: 640px) { .tile { grid-column: span 12; min-height: 0; } .tile.feature-tile ul { grid-template-columns: 1fr; } }

/* ---------- Journey (how it works) ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; position: relative; counter-reset: j; }
.journey::before { content: ""; position: absolute; top: 33px; left: 6%; right: 6%; height: 2px; background-image: linear-gradient(90deg, var(--gold) 50%, transparent 50%); background-size: 14px 2px; opacity: .7; }
.journey li { position: relative; display: grid; gap: .65rem; justify-items: start; counter-increment: j; }
.journey .stop { position: relative; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy-ink); box-shadow: 0 0 0 8px var(--linen), var(--shadow); }
.journey .stop::after { content: counter(j, decimal-leading-zero); position: absolute; top: -6px; right: -10px; font: 700 .7rem/1 var(--sans); letter-spacing: .05em; color: #fff; background: var(--wine); border-radius: 999px; padding: .32rem .45rem; }
.journey h3 { font-size: 1.08rem; margin-top: .5rem; }
.journey p { color: var(--taupe); font-size: .93rem; line-height: 1.5; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { top: 20px; bottom: 20px; left: 33px; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--gold) 50%, transparent 50%); background-size: 2px 14px; }
  .journey li { grid-template-columns: 68px minmax(0, 1fr); column-gap: 1.25rem; padding-bottom: 1.6rem; }
  .journey .stop { grid-row: span 2; }
  .journey h3 { margin-top: .9rem; }
}

/* ---------- Boarding pass ---------- */
.pass { --notch: var(--cream); display: grid; grid-template-columns: minmax(0, 1fr) 300px; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.pass-main { padding: clamp(22px, 3vw, 40px); display: grid; gap: 1.6rem; }
.pass-stub { position: relative; padding: clamp(22px, 3vw, 40px); background: var(--navy); color: var(--on-navy); display: grid; gap: 1rem; align-content: space-between; }
.pass-stub::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 2px dashed rgba(255, 255, 255, .25); }
.pass-stub::after, .pass-main::after { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: var(--notch); right: 284px; }
.pass-main::after { top: -16px; }
.pass-stub::after { bottom: -16px; left: -16px; right: auto; }
.pass-route { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 1rem; }
.pass-route .code { font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); color: var(--navy-ink); line-height: 1; }
.pass-route .code small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-2); margin-top: .5rem; }
.pass-route .path { position: relative; height: 2px; background-image: linear-gradient(90deg, var(--gold) 50%, transparent 50%); background-size: 12px 2px; }
.pass-route .path .ico { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); background: var(--paper); padding: 4px; color: var(--wine); width: 32px; height: 32px; }
.pass-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pass-field .k { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-2); }
.pass-field .v { font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem); font-weight: 800; color: var(--navy-ink); font-variant-numeric: tabular-nums; margin-top: .25rem; }
.pass-field.hl .v { color: var(--wine); }
.pass-stub .k { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.pass-stub .v { font-size: 1.5rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.pass-stub p { font-size: .88rem; color: var(--on-navy-2); line-height: 1.5; }
.barcode { height: 46px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 9px, #fff 9px 12px, transparent 12px 14px); opacity: .85; border-radius: 2px; }
@media (max-width: 860px) {
  .pass { grid-template-columns: 1fr; }
  .pass-stub::before { left: 18px; right: 18px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .25); }
  .pass-main::after, .pass-stub::after { display: none; }
  .pass-fields { grid-template-columns: 1fr 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(900px 480px at 90% -10%, #17476A, transparent 60%), var(--navy); color: var(--on-navy); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 860px; height: 860px; right: -300px; top: -300px; background: url("../img/orbits.svg") no-repeat center / contain; opacity: .5; }
.page-hero .container { position: relative; display: grid; gap: 1.1rem; padding-top: calc(var(--hspace) + clamp(36px, 4.5vw, 72px)); padding-bottom: clamp(44px, 5.5vw, 88px); }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); }
.page-hero .lead { color: #C9D6E0; }
.page-hero.teal { background: radial-gradient(900px 480px at 90% -10%, #A3173F, transparent 60%), var(--wine-2); }
.page-hero.teal .lead { color: #EBD3D9; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .86rem; color: var(--on-navy-2); }
.crumbs a { color: var(--on-navy); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--gold-3); opacity: .8; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.2vw, 32px); box-shadow: var(--shadow-sm); }
.card-cream { background: var(--cream); }
.card-sand { background: var(--linen); border-color: var(--linen); box-shadow: none; }
.card-flat { box-shadow: none; }
.card h3 + p, .card h2 + p { margin-top: .6rem; }
.card-title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.card > h2:first-child, .form-card > h2:first-child { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); }
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); background: var(--gold-soft); padding: .35rem .65rem; border-radius: 999px; }
.feature { display: grid; gap: .7rem; align-content: start; }
.feature-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--navy-ink); }
.feature p { color: var(--taupe); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.4rem 1.4rem; display: grid; gap: .45rem; align-content: start; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--taupe); font-size: .95rem; line-height: 1.5; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.split-wide-aside { grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); }
.split.aside-left { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); }
.split.admin-split { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); }
.split > aside { position: sticky; top: calc(var(--hspace) + 16px); }
@media (max-width: 1000px) { .split, .split-wide-aside, .split.aside-left, .split.admin-split { grid-template-columns: minmax(0, 1fr); } .split > aside { position: static; } }
.content-stack { display: grid; gap: clamp(28px, 3vw, 44px); min-width: 0; }
.split > *, .content-stack > *, .grid > *, .card, .form-card { min-width: 0; }

/* ---------- Price panel: ticket ---------- */
.price-panel { --notch: var(--cream); position: relative; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--ink); }
.price-panel-head { position: relative; padding: 1.6rem 1.7rem 1.4rem; background: var(--navy); color: var(--on-navy); border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.price-panel-head::before { content: ""; position: absolute; width: 380px; height: 380px; right: -170px; top: -170px; background: url("../img/orbits.svg") no-repeat center / contain; opacity: .55; pointer-events: none; }
.price-panel-head > * { position: relative; }
.price-panel-head .label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); font-weight: 700; }
.price-panel-head .price { font-family: var(--sans); font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin-top: .35rem; }
.price-panel-head .sub { font-size: .9rem; color: var(--on-navy-2); margin-top: .35rem; }
.price-panel-head .tag { background: rgba(255, 255, 255, .1); color: var(--gold-3); }
.price-panel-head h2 { color: #fff; }
.price-panel-body { position: relative; padding: 1.6rem 1.7rem 1.7rem; display: grid; gap: 1.15rem; }
.price-panel-head + .price-panel-body { border-top: 2px dashed var(--line-strong); }
.price-panel-head + .price-panel-body::before, .price-panel-head + .price-panel-body::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--notch); }
.price-panel-head + .price-panel-body::before { left: -12px; }
.price-panel-head + .price-panel-body::after { right: -12px; }
.hero .price-panel { --notch: var(--navy); }
.kv { display: grid; gap: .6rem; font-size: .975rem; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.kv .k, .kv dt { color: var(--taupe); }
.kv .v, .kv dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--navy-ink); }
.kv .total { padding-top: .75rem; border-top: 1px solid var(--line); font-size: 1.1rem; }
.kv .total .v { color: var(--wine); font-weight: 800; }

/* Options */
.options { display: grid; gap: .6rem; }
.option { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.05rem; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease); }
.option:hover { border-color: var(--line-strong); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; transition: border-color .2s; }
.option .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wine); transform: scale(0); transition: transform .25s var(--ease); }
.option .o-main { flex: 1; display: grid; gap: .15rem; min-width: 0; }
.option .o-title { font-weight: 700; color: var(--navy-ink); }
.option .o-sub { font-size: .86rem; color: var(--taupe); }
.option .o-price { font-weight: 800; color: var(--navy-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.option:has(input:checked), .option.is-checked { border-color: var(--wine); background: var(--wine-soft); box-shadow: 0 8px 20px -14px rgba(140, 29, 64, .7); }
.option:has(input:checked) .radio { border-color: var(--wine); }
.option:has(input:checked) .radio::after { transform: scale(1); }
.option:has(input:focus-visible) { outline: 2.5px solid var(--gold); outline-offset: 2px; }

.segmented { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 4px; padding: 4px; background: var(--sand); border-radius: 14px; }
.segmented label { position: relative; flex: 1 1 auto; display: grid; place-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 10px; font-weight: 600; color: var(--taupe); cursor: pointer; text-align: center; transition: background .2s, color .2s; }
.segmented input { position: absolute; opacity: 0; }
.segmented label:hover { color: var(--navy-ink); }
.segmented label:has(input:checked) { background: var(--paper); color: var(--navy-ink); box-shadow: var(--shadow-sm), 0 4px 10px -6px rgba(0, 35, 55, .25); }
.segmented label:has(input:focus-visible) { outline: 2.5px solid var(--gold); outline-offset: 1px; }

/* ---------- Lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.check-list.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem 2rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.5; }
.check-list li > .ico { color: var(--gold); margin-top: 1px; }
.bullet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bullet-list li { position: relative; padding-left: 1.5rem; line-height: 1.55; }
.bullet-list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.bullet-list.teal li::before { background: var(--wine); }

/* ---------- Notices ---------- */
.notice { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r); background: var(--info-soft); color: var(--navy-ink); font-size: .95rem; line-height: 1.55; }
.notice > .ico { margin-top: 2px; color: var(--navy-3); }
.notice a { color: var(--navy-ink); font-weight: 700; }
.notice.warn { background: var(--wine-soft); color: var(--wine-ink); }
.notice.warn > .ico { color: var(--wine); }
.notice.warn a { color: var(--wine-ink); }
.notice.sand { background: var(--gold-soft); color: var(--ink-2); }
.notice.sand > .ico { color: var(--gold-2); }
.alert { padding: 1rem 1.15rem; border-radius: var(--r); margin-bottom: 1.25rem; font-size: .975rem; border: 1px solid transparent; }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.alert-error { background: var(--err-soft); color: var(--err); border-color: #EBC4C0; }
.alert-success { background: var(--ok-soft); color: var(--ok); border-color: #C3DFCE; }
.alert-info { background: var(--info-soft); color: var(--navy-ink); border-color: #CBD9E3; }

/* ---------- Chips, tabs ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: 0 1.05rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--navy-ink); font: 600 .9rem/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: all .2s; }
.chip:hover { border-color: var(--navy-ink); color: var(--navy-ink); }
.chip .ico { color: var(--gold-2); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] .ico, .chip[aria-selected="true"] .ico, .chip.active .ico { color: var(--gold-3); }
.chip .count { font-size: .75rem; font-weight: 700; opacity: .65; }
.class-picker { display: flex; flex-wrap: wrap; gap: .5rem; }
.class-picker .chip { min-width: 52px; min-height: 52px; justify-content: center; border-radius: 14px; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
table.table { width: 100%; border-collapse: collapse; font-size: .975rem; }
.table th, .table td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--taupe-2); background: var(--cream); white-space: nowrap; }
.table tbody th { font-weight: 600; color: var(--ink-2); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover td, .table tbody tr:hover th { background: #FDFBF7; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table td.strong { color: var(--navy-ink); }
.table td .ico { color: var(--gold); }
.compare th:not(:first-child), .compare td:not(:first-child) { width: 34%; }

/* ---------- Catalogue ---------- */
.filter-bar { position: sticky; top: calc(var(--hspace) - 4px); z-index: 30; padding-block: .6rem; }
.filter-bar .container { display: flex; }
.filter-scroll { display: flex; gap: .4rem; overflow-x: auto; padding: 6px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); scrollbar-width: none; max-width: 100%; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-scroll .chip { flex: none; border-color: transparent; background: transparent; min-height: 40px; }
.filter-scroll .chip:hover { background: var(--linen); }
.filter-scroll .chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.cat-group { display: grid; gap: .8rem; scroll-margin-top: calc(var(--hspace) + 80px); }
.cat-group + .cat-group { margin-top: clamp(40px, 5vw, 72px); }
.cat-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line-strong); }
.cat-head h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2.1rem); }
.cat-head .muted { margin-left: auto; }
.svc-row { display: grid; grid-template-columns: auto minmax(0, 1.6fr) minmax(170px, .7fr) auto; gap: .75rem 1.6rem; align-items: center; padding: 1.15rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.svc-row:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-row .n { font-weight: 700; font-size: 1.05rem; color: var(--navy-ink); }
.svc-row .d { font-size: .92rem; color: var(--taupe); margin-top: .2rem; line-height: 1.5; }
.svc-row .p { font-weight: 800; font-size: 1.12rem; color: var(--navy-ink); font-variant-numeric: tabular-nums; }
.svc-row .pl { font-size: .8rem; color: var(--gold-2); font-weight: 600; margin-top: .15rem; }
.svc-row .btn { min-width: 168px; }
@media (max-width: 860px) { .svc-row { grid-template-columns: auto minmax(0, 1fr); } .svc-row > div:nth-child(3) { grid-column: 2; } .svc-row .btn { grid-column: 1 / -1; width: 100%; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.1rem 1.25rem; }
.field { display: grid; gap: .45rem; align-content: start; }
.field, .field > * { min-width: 0; }
.field > label, .field > .label, .label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: .84rem; color: var(--taupe); }
.req { color: var(--wine); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=number], .field input[type=date], .field input[type=search], .field select, .field textarea { width: 100%; max-width: 100%; min-height: 52px; padding: .75rem 1rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23002337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; background: var(--paper); border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(28, 74, 104, .14); }
.field input::placeholder, .field textarea::placeholder { color: #A39582; }
.field-full { grid-column: 1 / -1; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wine); flex: none; }
.check > span { min-width: 0; overflow-wrap: anywhere; }
.dropzone { width: 100%; display: grid; gap: .5rem; justify-items: center; text-align: center; padding: 1.9rem 1.25rem; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--cream); color: var(--taupe); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--gold); background: var(--gold-soft); }
.dropzone > .ico { color: var(--gold); }
.dropzone input[type=file] { width: 100%; max-width: 280px; font: inherit; font-size: .9rem; }
.dropzone .files { font-size: .875rem; color: var(--ink-2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; margin-top: .5rem; border-top: 1px solid var(--line); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 44px); }
.form-card > * + * { margin-top: 1.4rem; }
.success-state { display: grid; gap: 1rem; justify-items: start; padding: .5rem 0; }
.success-state .icon-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.ref-chip { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem .9rem; border-radius: 999px; background: var(--gold-soft); font-weight: 700; color: var(--navy-ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- Checkout ---------- */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; counter-reset: s; }
.stepper li { counter-increment: s; display: grid; gap: .55rem; font-size: .86rem; font-weight: 600; color: var(--taupe-2); }
.stepper li::before { content: ""; height: 4px; border-radius: 4px; background: var(--sand-2); transition: background .4s; }
.stepper li span::before { content: counter(s, decimal-leading-zero) "  "; font-family: var(--serif); color: var(--gold); white-space: pre; }
.stepper li.done { color: var(--ink-2); }
.stepper li.done::before { background: var(--gold); }
.stepper li.current { color: var(--navy-ink); font-weight: 700; }
.stepper li.current::before { background: var(--wine); }
@media (max-width: 640px) { .stepper li span { display: none; } .stepper li.current span { display: inline; white-space: nowrap; } }
.wizard.js [data-step]:not(.active) { display: none; }
.wizard.js [data-step].active { animation: fadeUp .45s var(--ease); }
.wizard:not(.js) [data-next], .wizard:not(.js) [data-prev] { display: none; }
.wizard:not(.js) [data-step] + [data-step] { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.wizard-step-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .9rem; }
.wizard-step-title .n { font-size: .74rem; font-weight: 700; color: var(--gold-2); letter-spacing: .16em; }
.wizard-step-title h2:focus { outline: none; }
@media (max-width: 560px) { .wizard-step-title { flex-direction: column; } }
.summary { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--on-navy); border-radius: var(--r-xl); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 1.15rem; box-shadow: var(--shadow-lg); }
.summary::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -220px; top: -220px; background: url("../img/orbits.svg") no-repeat center / contain; opacity: .5; }
.summary h2, .summary h3 { color: #fff; }
.summary .kv .k { color: var(--on-navy-2); }
.summary .kv .v { color: #fff; }
.summary .kv .total { border-color: var(--navy-line); }
.summary .kv .total .v { color: var(--gold-3); }
.summary .due { background: rgba(255, 255, 255, .06); border: 1px solid var(--navy-line); border-radius: var(--r); padding: 1rem 1.1rem; }
.summary .fine { font-size: .85rem; color: var(--on-navy-2); line-height: 1.5; }
.summary .fine .ico { color: var(--gold-3); }
.summary .eyebrow { color: var(--gold-3); }
.pay-method { display: grid; gap: 1rem; }
.pay-instructions { counter-reset: pi; list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.pay-instructions li { counter-increment: pi; display: flex; gap: .85rem; align-items: flex-start; }
.pay-instructions li::before { content: counter(pi); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700; }
.big-value { font-size: 1.35rem; font-weight: 800; color: var(--navy-ink); letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- Dashboard ---------- */
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.dash-head h1 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.tracker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.tracker li { display: grid; gap: .5rem; font-size: .84rem; font-weight: 600; color: var(--taupe-2); }
.tracker li::before { content: ""; height: 6px; border-radius: 6px; background: var(--sand-2); }
.tracker li.done { color: var(--ink-2); }
.tracker li.done::before { background: var(--gold); }
.tracker li.current { color: var(--navy-ink); font-weight: 800; }
.tracker li.current::before { background: var(--wine); }
@media (max-width: 640px) { .tracker { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; } }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pill-info { background: var(--info-soft); color: var(--navy-ink); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-err { background: var(--err-soft); color: var(--err); }
.pill-muted { background: var(--sand); color: var(--taupe); }
.progress { height: 10px; border-radius: 10px; background: var(--sand); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-3)); border-radius: 10px; }
.doc-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.doc-row .doc-name { display: flex; gap: .75rem; align-items: center; min-width: 0; flex: 1 1 260px; }
.doc-row .doc-name > .ico { color: var(--gold); }
.doc-list { display: grid; gap: .55rem; }
.case-switch { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-ink); color: var(--on-navy-2); font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; z-index: -1; width: 1000px; height: 1000px; left: -380px; bottom: -560px; background: url("../img/orbits.svg") no-repeat center / contain; opacity: .35; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-3); }
.footer-cta .container { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: end; gap: 2rem; padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--navy-line); }
.footer-cta h2 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 4.2rem); max-width: 16ch; }
.footer-cta h2 em { font-style: normal; color: var(--gold-3); }
@media (max-width: 860px) { .footer-cta .container { grid-template-columns: 1fr; } }
.footer-main .container { display: grid; grid-template-columns: minmax(0, 1.75fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(44px, 5vw, 72px); }
.footer-main h3 { color: var(--gold-3); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-brand { display: grid; gap: 1.2rem; align-content: start; max-width: 380px; }
.footer-brand img { height: 56px; width: auto; }
.footer-contact { display: grid; gap: .65rem; }
.footer-contact div { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .ico { margin-top: 3px; color: var(--gold-3); }
.footer-legal .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem; font-size: .84rem; border-top: 1px solid var(--navy-line); }
@media (max-width: 1180px) { .footer-main .container { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 980px) { .footer-main .container { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-main .container { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.qa { display: grid; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 700; color: var(--navy-ink); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); margin-right: 4px; }
.qa details[open] summary::after { transform: rotate(-135deg); }
.qa details p { padding: 0 0 1.2rem; color: var(--taupe); max-width: 70ch; }
.auth-wrap { min-height: calc(100vh - 360px); display: grid; place-items: center; padding-block: clamp(40px, 6vw, 96px); }
.auth-card { width: 100%; max-width: 500px; }
.empty { text-align: center; display: grid; gap: 1rem; justify-items: center; padding: clamp(32px, 5vw, 64px) 1rem; }
.empty .feature-icon { width: 72px; height: 72px; border-radius: 22px; }
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.7rem; margin: 2.2rem 0 .8rem; }
.prose p, .prose ul { margin: 0 0 1rem; color: var(--ink-2); }
.prose ul { padding-left: 1.25rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Scroll reveal (added by JavaScript only) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .form-actions > .btn, .form-actions > button { flex: 1 1 100%; }
  .form-card { padding: 20px; border-radius: var(--r-lg); }
}
@media (min-width: 1700px) { :root { --container: 1640px; } body { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
@media print { .site-header, .site-footer, .filter-bar, .menu-panel, .btn { display: none !important; } main { padding-top: 0; } body { background: #fff; } }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin { background: #F4F0E9; }
.admin main { padding-top: 0; }
.admin-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--navy-ink); color: var(--on-navy-2); padding: 1.4rem 1rem; display: flex; flex-direction: column; gap: 1.6rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { margin: 0 .4rem; }
.admin-side .brand img { height: 40px; }
.admin-nav { display: grid; gap: .2rem; }
.admin-nav a { display: flex; align-items: center; gap: .75rem; min-height: 46px; padding: 0 .85rem; border-radius: 12px; color: var(--on-navy); text-decoration: none; font-weight: 500; }
.admin-nav a .ico { color: var(--gold-3); }
.admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; }
.admin-nav .badge { margin-left: auto; background: var(--wine); color: #fff; border-radius: 999px; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; }
.admin-side .who { margin-top: auto; font-size: .875rem; border-top: 1px solid var(--navy-line); padding-top: 1rem; display: grid; gap: .5rem; }
.admin-side .who a { color: var(--on-navy); }
.admin-main { padding: clamp(20px, 2.6vw, 40px); display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.admin-head h1 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem 1.3rem; display: grid; gap: .3rem; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.stat:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.stat .v { font-size: 2.1rem; font-weight: 800; color: var(--navy-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .l { font-size: .9rem; color: var(--taupe); font-weight: 600; }
.stat.attention .v { color: var(--wine); }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.toolbar .field { min-width: 180px; }
.toolbar .field input, .toolbar .field select { min-height: 44px; }
.admin .table td a.rowlink { font-weight: 700; color: var(--navy-ink); text-decoration: none; white-space: nowrap; }
.admin .table td a.rowlink:hover { color: var(--wine); text-decoration: underline; }
.admin .card h2 { font-size: 1.35rem; }
.inline-form { display: inline; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.25rem; font-size: .95rem; margin: 0; }
.dl dt { color: var(--taupe); }
.dl dd { margin: 0; font-weight: 600; word-break: break-word; }
/* ---------- Admin on tablets and phones: top bar, slide-out menu, bottom tabs, tables as cards ---------- */
.admin-top, .admin-tabs, .admin-close, .admin-scrim { display: none; }
@media (max-width: 960px) {
  .admin { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .admin-shell { display: block; }
  .admin-top { display: flex; align-items: center; gap: .8rem; position: sticky; top: 0; z-index: 60; padding: .6rem .8rem .6rem 1rem; background: var(--navy-ink); color: #fff; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); }
  .admin-top-brand img { height: 30px; width: auto; display: block; }
  .admin-top-title { flex: 1; min-width: 0; font-weight: 700; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--on-navy); text-align: right; }
  .admin-menu-btn { position: relative; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
  .admin-menu-btn .dot { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 2px var(--navy-ink); }
  .admin-side { position: fixed; z-index: 90; inset: 0 auto 0 0; width: min(86vw, 320px); height: 100%; padding: 1.2rem 1rem calc(1.2rem + env(safe-area-inset-bottom)); transform: translateX(-104%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .6); overflow-y: auto; }
  body.admin-menu-open .admin-side { transform: none; }
  body.admin-menu-open { overflow: hidden; }
  .admin-close { display: grid; place-items: center; position: absolute; top: .9rem; right: .8rem; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
  .admin-scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(0, 20, 30, .5); }
  .admin-scrim[hidden] { display: none; }
  .admin-nav a { min-height: 50px; font-size: 1rem; }
  .admin-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; padding: .3rem .3rem calc(.3rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 35, 55, .35); }
  .admin-tabs a, .admin-tabs button { display: grid; justify-items: center; gap: .15rem; padding: .35rem 0 .3rem; border: 0; background: none; border-radius: 12px; font: 600 .72rem var(--sans); color: var(--taupe); text-decoration: none; cursor: pointer; }
  .admin-tabs .ti { position: relative; display: grid; place-items: center; width: 44px; height: 28px; border-radius: 999px; }
  .admin-tabs a[aria-current="page"] { color: var(--navy-ink); }
  .admin-tabs a[aria-current="page"] .ti { background: #E7EEF2; }
  .admin-tabs .badge { position: absolute; top: -4px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--wine); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
  .admin-main { padding: 1rem .9rem 1.5rem; gap: 1rem; }
  .admin-head { align-items: flex-start; }
  .admin-head h1 { font-size: 1.55rem; line-height: 1.2; word-break: break-word; }
  .admin .card { padding: 1.1rem 1rem; border-radius: 16px; }
  .admin .card h2 { font-size: 1.15rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .stat { padding: .9rem 1rem; border-radius: 14px; }
  .stat .v { font-size: 1.7rem; }
  .stat .l { font-size: .82rem; line-height: 1.3; }
  .toolbar { display: grid; grid-template-columns: 1fr; }
  .toolbar .field { min-width: 0; }
  .toolbar .btn { width: 100%; }
  .admin .form-actions { flex-direction: column; align-items: stretch; gap: .8rem; }
  .admin .form-actions .btn { width: 100%; }
  .admin .btn-row { flex-wrap: wrap; }
  .admin .doc-row { padding: .8rem; }
  .admin .doc-row > .btn-row, .admin .doc-row > span.btn-row { width: 100%; }
  .admin .dl { grid-template-columns: 1fr; gap: .1rem; }
  .admin .dl dd { margin-bottom: .5rem; }
  /* tables become one card per row */
  .admin .table-wrap { overflow: visible; border: 0; background: none; box-shadow: none; }
  .admin .table, .admin .table tbody, .admin .table tr, .admin .table td { display: block; width: 100%; }
  .admin .table thead { display: none; }
  .admin .table tr { margin: 0 0 .7rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 16px -14px rgba(0, 35, 55, .4); }
  .admin .table td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: .6rem; padding: .35rem 0; border: 0; text-align: left; font-size: .92rem; }
  .admin .table td::before { content: attr(data-label); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--taupe); padding-top: .1rem; }
  .admin .table td:first-child { display: block; padding: 0 0 .55rem; margin-bottom: .35rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .admin .table td:first-child::before { display: none; }
  .admin .table td[data-label=""]::before { display: none; }
  .admin .table td[data-label=""] { grid-template-columns: 1fr; }
  .admin .table td.num { text-align: left; }
  .admin .table td > .pill, .admin .table td > .trk-pill, .admin .table td > span.pill { justify-self: start; width: auto; }
  .admin .table td > * { min-width: 0; }
  .admin .table td .btn, .admin .table td select { max-width: 100%; }
  .admin .table td form { display: flex; flex-wrap: wrap; gap: .4rem; }
}

.page-hero .hero-icon { position: absolute; right: var(--gutter); bottom: clamp(36px, 4.5vw, 72px); width: clamp(96px, 9vw, 132px); height: clamp(96px, 9vw, 132px); border-radius: 32px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -30px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); transform: rotate(-6deg); }
.page-hero .hero-icon .duo { fill: var(--gold-3); fill-opacity: .45; }
@media (max-width: 860px) { .page-hero .hero-icon { display: none; } }

/* ---------- Refinements ---------- */
.tile-top { flex-direction: column; align-items: flex-start; gap: 1rem; }
.tile .cat { text-align: left; max-width: none; }
.tile h3 { margin-top: 0; }
.tile .desc { flex-grow: 1; }
.tile .price { font-size: 1.35rem; }
.tile.feature-tile .tile-top { flex-direction: row; justify-content: space-between; width: 100%; }
.tile.feature-tile h3 { margin-top: auto; }
.tile.feature-tile .desc { flex-grow: 0; }
.journey::before { right: 10%; }
.brand img { height: 50px; }
@media (max-width: 560px) {
  .brand img { height: 40px; }
  .hero .btn-row .btn, .footer-cta .btn-row .btn { flex: 1 1 100%; }
  .finder-head span { display: none; }
  .hero-meta { gap: .5rem 1.2rem; }
}
.filter-bar { transition: top .45s var(--ease); }
body.header-hidden .filter-bar { top: 6px; }
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .6rem .6rem 1.1rem; border-radius: 20px; background: rgba(0, 35, 55, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .5s var(--ease); }
.mobile-cta.show { transform: none; }
.mobile-cta .mc-k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); font-weight: 700; }
.mobile-cta .mc-v { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.mobile-cta .btn { min-height: 46px; padding-inline: 1.2rem; flex: none; }
@media (max-width: 1000px) { .mobile-cta { display: flex; } }
body.menu-open .mobile-cta { transform: translateY(140%); }
.split.split-even { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.group-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 1000px) { .split.split-even { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .group-cards { grid-template-columns: 1fr; } }

/* ---------- Nav: underline with a soft glow instead of a filled pill ---------- */
.nav-link, .nav-account { border-radius: 0; background: none !important; }
.nav-link::before, .nav-account::before { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 9px; height: 2px; border-radius: 2px; background: var(--wine); box-shadow: 0 2px 10px rgba(140, 29, 64, .55), 0 0 1px rgba(140, 29, 64, .6); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease), background .25s; }
.nav-account { position: relative; }
.nav-link:hover::before, .nav-account:hover::before, .nav-link:focus-visible::before { transform: scaleX(1); }
.nav-link[aria-current="page"]::after { display: none; }
.nav-link[aria-current="page"]::before { transform: scaleX(1); background: var(--gold); box-shadow: 0 2px 12px rgba(178, 129, 60, .7), 0 0 1px rgba(178, 129, 60, .8); }
.nav-link:hover { color: var(--navy-ink); }

/* ---------- Tighter corners on large surfaces ---------- */
:root { --r: 10px; --r-lg: 12px; --r-xl: 16px; }
.header-bar { border-radius: 14px; }
.finder-tabs { border-radius: 10px; }
.finder-tab { border-radius: 8px; }
.finder-list a { border-radius: 8px; }
.icon-tile { border-radius: 10px; }
.icon-tile.sm { border-radius: 8px; }
.icon-tile.lg { border-radius: 12px; }
.feature-icon { border-radius: 10px; }
.page-hero .hero-icon { border-radius: 18px; }
.segmented { border-radius: 10px; }
.segmented label { border-radius: 7px; }
.class-picker .chip { border-radius: 8px; }
.group-cards > div { border-radius: 12px !important; }

/* ---------- Header: full width, separated by a line and soft shadow ---------- */
:root { --htop: 0px; --hbar: 76px; }
.site-header { inset: 0 0 auto 0; }
.header-bar { width: 100%; max-width: none; margin: 0; height: var(--hbar); border-radius: 0; border: 0; border-bottom: 1px solid rgba(0, 35, 55, .1); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); background: rgba(251, 248, 242, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 6px 24px -14px rgba(0, 35, 55, .35); }
body.scrolled .header-bar { background: rgba(251, 248, 242, .97); border-bottom-color: rgba(0, 35, 55, .12); box-shadow: 0 10px 30px -16px rgba(0, 35, 55, .45); }
body.header-hidden .site-header { transform: translateY(calc(-100% - 12px)); }
.nav-link::before, .nav-account::before { bottom: 14px; }
@media (max-width: 560px) { :root { --hbar: 64px; --htop: 0px; } }
.header-bar { background: rgba(251, 248, 242, .98); }

/* ==========================================================================
   Header styles: chosen with 'header_style' in app/config.php
   gradient | floating | navy | glass
   ========================================================================== */

/* A. gradient: full width, light gradient, gold hairline */
body.hs-gradient .header-bar { background: linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 55%, #F2EADC 100%); border-bottom: 0; box-shadow: inset 0 -1px 0 rgba(178, 129, 60, .35), inset 0 -10px 18px -14px rgba(178, 129, 60, .45), 0 10px 28px -18px rgba(0, 35, 55, .45); }
body.hs-gradient .header-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-3) 50%, var(--gold) 80%, transparent); opacity: .8; pointer-events: none; }
body.hs-gradient .header-bar { position: relative; }

/* B. floating: enclosed, tight corners, inner shading */
body.hs-floating { --htop: 12px; }
body.hs-floating .header-bar { width: calc(100% - var(--gutter) * 2); max-width: calc(var(--container) - var(--gutter) * 2); margin-inline: auto; padding-inline: 1.3rem .6rem; border-radius: 10px; border: 1px solid rgba(0, 35, 55, .08); background: linear-gradient(180deg, #FFFFFF 0%, #F7F1E7 100%); box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -12px 20px -16px rgba(0, 35, 55, .22), 0 14px 34px -18px rgba(0, 35, 55, .5); }
body.hs-floating.scrolled .header-bar { box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -12px 20px -16px rgba(0, 35, 55, .25), 0 18px 40px -18px rgba(0, 35, 55, .6); }
@media (max-width: 560px) { body.hs-floating { --htop: 8px; } body.hs-floating .header-bar { padding-inline: .9rem .45rem; } }

/* C. navy: full width deep navy gradient, light logo, gold hairline */
body.hs-navy .header-bar { background: linear-gradient(180deg, #0F3550 0%, #0B2B40 60%, #082233 100%); border-bottom: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(217, 181, 110, .45), 0 12px 30px -16px rgba(0, 0, 0, .55); }
body.hs-navy .brand .logo-dark { display: none; }
body.hs-navy .brand .logo-light { display: block; }
body.hs-navy .nav-link, body.hs-navy .nav-account { color: #DCE5EC; }
body.hs-navy .nav-link:hover, body.hs-navy .nav-account:hover, body.hs-navy .nav-link[aria-current="page"] { color: #fff; }
body.hs-navy .nav-link::before, body.hs-navy .nav-account::before { background: var(--gold-3); box-shadow: 0 2px 12px rgba(217, 181, 110, .7); }
body.hs-navy .menu-btn { background: var(--gold); }

/* D. glass: floating, tight corners, frosted with a gold inner edge */
body.hs-glass { --htop: 12px; }
body.hs-glass .header-bar { width: calc(100% - var(--gutter) * 2); max-width: calc(var(--container) - var(--gutter) * 2); margin-inline: auto; padding-inline: 1.3rem .6rem; border-radius: 12px; border: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(246, 239, 228, .86)); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(178, 129, 60, .28), inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -14px 24px -18px rgba(178, 129, 60, .45), 0 16px 40px -20px rgba(0, 35, 55, .55); }
@media (max-width: 560px) { body.hs-glass { --htop: 8px; } body.hs-glass .header-bar { padding-inline: .9rem .45rem; } }
body.menu-open .header-bar { background: transparent !important; box-shadow: none !important; border-color: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body.menu-open .header-bar::after { display: none; }
body.hs-floating, body.hs-glass { --hspace: calc(var(--hbar) + var(--htop) * 2); }
body.hs-floating .site-header, body.hs-glass .site-header { inset: var(--htop) 0 auto 0; }

/* Show / hide password */
.pw-wrap{position:relative;display:block;width:100%}
.pw-wrap input{width:100%;padding-right:5.4rem}
.pw-toggle{position:absolute;top:50%;right:.35rem;transform:translateY(-50%);display:inline-flex;align-items:center;gap:.35rem;height:calc(100% - .7rem);min-height:34px;padding:0 .65rem;border:0;border-radius:8px;background:transparent;color:var(--navy,#0B2B40);font:600 .8rem/1 inherit;font-family:inherit;letter-spacing:.02em;cursor:pointer;transition:background .2s,color .2s}
.pw-toggle:hover{background:rgba(11,43,64,.07)}
.pw-toggle:focus-visible{outline:2px solid var(--gold,#B2813C);outline-offset:1px}
.pw-toggle[aria-pressed="true"]{color:var(--wine,#8C1D40)}
.pw-toggle svg{flex:none}

/* Pass type picker (text tabs) */
.pass-picker{display:flex;flex-wrap:wrap;gap:.5rem}
.pass-picker .chip{width:auto;height:auto;min-height:42px;padding:.5rem 1rem;font-family:var(--sans);font-size:.92rem;font-weight:600;letter-spacing:0}
@media (max-width:420px){.pass-picker .chip{flex:1 1 auto;padding:.5rem .7rem;font-size:.86rem}}

/* Payment details */
.till-block{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:860px){.till-block.wide{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}}
.till-card{margin:0;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);box-shadow:0 18px 40px -26px rgba(11,43,64,.45);background:#fff;max-width:560px}
.till-card img{display:block;width:100%;height:auto}
.share-pay{display:grid;gap:1rem;padding:1.15rem 1.2rem;border-radius:var(--r);background:linear-gradient(135deg,rgba(178,129,60,.12),rgba(140,29,64,.06));border:1px solid rgba(178,129,60,.35)}
.share-pay-head{display:flex;gap:.9rem;align-items:flex-start}
.share-pay-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.share-pay-actions .btn{gap:.45rem;max-width:100%;white-space:normal;text-align:left}
.bank-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.bank-card{border:1px solid var(--line);border-radius:var(--r);background:#fff;overflow:hidden}
.bank-card-head{display:flex;align-items:center;gap:.6rem;padding:.8rem 1rem;background:var(--navy);color:#fff;font-weight:700;font-size:.95rem}
.bank-card-head .ico{color:var(--gold-3)}
.bank-card .table{margin:0}
.bank-card .table th{width:42%;font-weight:500;color:var(--ink-2,#4A5560)}
.abroad-list{display:grid;gap:.8rem;margin-top:1rem}
.abroad-item{display:flex;gap:.85rem;align-items:flex-start;padding:.9rem 1rem;border:1px dashed var(--line);border-radius:var(--r)}
.abroad-item p{margin-top:.15rem}
.pay-steps{counter-reset:ps;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));list-style:none;margin:0;padding:0}
.pay-steps li{counter-increment:ps;position:relative;padding:1.2rem 1.2rem 1.2rem 1.2rem;border-radius:var(--r);background:#fff;border:1px solid var(--line)}
.pay-steps li::before{content:counter(ps,decimal-leading-zero);display:block;font-family:var(--serif);font-size:1.6rem;color:var(--wine);margin-bottom:.35rem}
.pay-steps h3{font-size:1.02rem}
.pay-steps p{margin-top:.3rem}
.calendly-box{border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);background:#fff}
.calendly-inline-widget{min-width:280px;height:720px}
@media (max-width:640px){.calendly-inline-widget{height:1050px}}
.fees-band{margin-top:2.5rem;display:grid;gap:1.4rem;align-items:center;padding:clamp(22px,3vw,36px);border-radius:var(--r-lg);background:var(--gold-soft);border:1px solid rgba(178,129,60,.35)}
@media (min-width:900px){.fees-band{grid-template-columns:minmax(0,1.6fr) auto}}
.fees-band-text{display:grid;gap:.6rem}
.client-tiers .tier{display:grid;gap:1rem;align-content:start;padding:clamp(24px,3vw,40px)}
.client-tiers .tier-dark{background:var(--navy);border-color:var(--navy);color:var(--on-navy)}
.client-tiers .tier-dark .eyebrow{color:var(--gold-3)}
.client-tiers .tier-dark .check-list li{color:var(--on-navy)}
.client-tiers .tier-dark .check-list .ico{color:var(--gold-3)}
.promise-strip-lite{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.lite-item{display:flex;gap:.9rem;align-items:flex-start;padding:1.1rem;border-radius:var(--r);background:#fff;border:1px solid var(--line)}
.lite-item p{margin-top:.2rem}
.group-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:var(--r);padding:1.3rem;display:grid;gap:.8rem;text-decoration:none;transition:background .25s,border-color .25s,transform .25s}
.group-card:hover{background:rgba(255,255,255,.12);border-color:rgba(217,181,110,.55);transform:translateY(-2px)}
.bank-card .table td{text-align:left}
.mini-steps{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.1rem;counter-reset:ms}
.mini-steps li{counter-increment:ms;position:relative;padding:.55rem 0 .55rem 2.3rem;display:grid;font-size:.92rem;color:var(--on-navy-2)}
.mini-steps li::before{content:counter(ms);position:absolute;left:0;top:.6rem;width:1.6rem;height:1.6rem;border-radius:50%;display:grid;place-items:center;font-size:.78rem;font-weight:700;border:1px solid var(--navy-line);color:var(--on-navy)}
.mini-steps li.on::before{background:var(--gold-3);border-color:var(--gold-3);color:var(--navy-ink)}
.mini-steps strong{color:#fff;font-weight:600}
.mini-steps span{font-size:.82rem}

/* Service directory */
.dir-search{position:relative;margin-top:1.6rem;max-width:640px}
.dir-search .ico{position:absolute;left:1.1rem;top:50%;transform:translateY(-50%);color:var(--navy-3);pointer-events:none}
.dir-search input{width:100%;height:58px;border-radius:999px;border:0;padding:0 1.4rem 0 3.3rem;font:inherit;font-size:1.02rem;color:var(--ink);background:#fff;box-shadow:0 14px 40px -18px rgba(0,0,0,.55)}
.dir-search input:focus{outline:3px solid var(--gold-3);outline-offset:2px}
.dir-notice{background:var(--gold-soft);border-bottom:1px solid rgba(178,129,60,.3)}
.dir-notice .container{display:flex;gap:.8rem;align-items:flex-start;padding-top:.9rem;padding-bottom:.9rem}
.dir-notice .ico{flex:none;color:var(--gold-2);margin-top:.15rem}
.dir-notice p{margin:0;font-size:.9rem;color:var(--ink-2);line-height:1.55}
.dir-notice strong{color:var(--navy-ink)}
.dir-sub{display:flex;gap:.5rem;align-items:center;margin:-.4rem 0 1rem;font-size:.92rem;color:var(--ink-2)}
.dir-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));margin-bottom:.5rem}
.dir-card{position:relative;display:grid;grid-template-rows:auto 1fr auto;gap:.85rem;padding:1.2rem 1.2rem 1rem;border-radius:var(--r);background:#fff;border:1px solid var(--line);text-decoration:none;color:inherit;overflow:hidden;transition:border-color .2s,box-shadow .25s,transform .25s}
.dir-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--wine);transform:scaleY(0);transform-origin:top;transition:transform .3s var(--ease)}
.dir-card:hover,.dir-card:focus-visible{border-color:rgba(140,29,64,.35);box-shadow:0 16px 34px -22px rgba(11,43,64,.45);transform:translateY(-2px)}
.dir-card:hover::before,.dir-card:focus-visible::before{transform:scaleY(1)}
.dir-icon{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;background:var(--info-soft);color:var(--navy)}
.dir-body{display:grid;gap:.35rem;align-content:start}
.dir-title{font-weight:700;color:var(--navy-ink);font-size:1.02rem;line-height:1.3}
.dir-desc{font-size:.9rem;color:var(--ink-2);line-height:1.5}
.dir-foot{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;align-items:flex-end;padding-top:.8rem;border-top:1px solid var(--line)}
.dir-fee{display:grid;gap:.05rem}
.dir-fee .k{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);opacity:.8}
.dir-fee .v{font-weight:700;color:var(--navy-ink);font-size:.92rem}
.dir-fee.gov .v{font-weight:600;color:var(--teal)}
.dir-go{margin-left:auto;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--cream);color:var(--wine);transition:background .2s,color .2s}
.dir-card:hover .dir-go{background:var(--wine);color:#fff}
.dir-empty{padding:1.2rem;border:1px dashed var(--line);border-radius:var(--r);text-align:center}
.next-step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.4rem 1rem;align-items:center;padding:1rem 1.1rem;border-radius:var(--r);background:var(--info-soft);border:1px solid rgba(11,43,64,.12)}
.next-step .btn-row,.next-step>.btn{grid-column:1/-1;justify-self:start}
@media (min-width:760px){.next-step{grid-template-columns:auto minmax(0,1fr) auto}.next-step .btn-row,.next-step>.btn{grid-column:auto;justify-self:end}}
.next-step.last{background:var(--gold-soft);border-color:rgba(178,129,60,.35)}
.next-step p{margin-top:.15rem}
.next-n{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 .7rem;border-radius:999px;background:var(--navy);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.next-step.last .next-n{background:var(--wine)}
.submit-docs{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;padding:1.1rem 1.2rem;border-radius:var(--r);background:var(--cream);border:1px solid var(--line)}
.submit-docs p{margin-top:.15rem}
.talk-first{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;justify-content:space-between;padding:1.1rem 1.3rem;border-radius:var(--r);background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px -24px rgba(11,43,64,.5)}
.talk-first-text{display:flex;gap:.9rem;align-items:flex-start;flex:1 1 360px}
.talk-first p{margin-top:.15rem}
.firm-card{position:relative;display:grid;gap:.9rem;justify-items:center;text-align:center;padding:clamp(26px,3vw,38px) clamp(20px,2.4vw,30px);border-radius:var(--r-lg);background:linear-gradient(160deg,#173F44,#0E2E33);color:#F3E6BE;border:1px solid rgba(217,181,110,.55);box-shadow:inset 0 0 0 6px #123539,inset 0 0 0 7px rgba(217,181,110,.55),var(--shadow-lg)}
.firm-emblem{width:96px;height:auto;color:var(--gold-3)}
.firm-kicker{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:#CFE0DC}
.firm-name{font-family:var(--serif);font-size:clamp(1.6rem,1.3rem+1vw,2.1rem);color:var(--gold-3);line-height:1.1}
.firm-rule{display:flex;align-items:center;gap:.8rem;width:100%;color:var(--gold-3);font-weight:700;letter-spacing:.18em;text-transform:uppercase;font-size:.85rem}
.firm-rule::before,.firm-rule::after{content:"";flex:1;height:1px;background:rgba(217,181,110,.6)}
.firm-services{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem .5rem;font-family:var(--serif);font-size:1rem;color:#F3E6BE}
.firm-services li+li::before{content:"·";margin-right:.5rem;color:var(--gold-3)}
.firm-addr{display:flex;gap:.4rem;align-items:center;justify-content:center;font-size:.88rem;color:#CFE0DC;margin:0}
.firm-addr .ico{color:var(--gold-3)}
.firm-note{font-size:.78rem;color:#A9C4BF;margin:0}

/* Meet your consultant */
.consultant{display:grid;gap:clamp(28px,4vw,64px);align-items:center}
@media (min-width:900px){.consultant{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}}
.consultant-photo{position:relative;margin:0;max-width:440px;justify-self:center;width:100%}
.consultant-photo::before{content:"";position:absolute;inset:18px -18px -18px 18px;border:1px solid var(--gold);border-radius:var(--r-lg);z-index:0}
.consultant-photo img{position:relative;z-index:1;display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r-lg);box-shadow:0 30px 60px -30px rgba(11,43,64,.6)}
.consultant-photo figcaption{position:absolute;z-index:2;left:16px;bottom:16px;display:grid;padding:.7rem 1rem;border-radius:10px;background:rgba(0,35,55,.88);color:#fff;backdrop-filter:blur(6px)}
.consultant-photo figcaption span{font-size:.8rem;color:var(--gold-3);letter-spacing:.08em;text-transform:uppercase}
.consultant-text{display:grid;gap:1.1rem;align-content:center}
.consultant-text h2{font-size:clamp(1.8rem,1.4rem+1.4vw,2.7rem)}
.consultant-mini{display:flex;gap:1rem;align-items:center;padding:1rem;border-radius:var(--r);background:#fff;border:1px solid var(--line)}
.consultant-mini img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--gold-3)}
.talk-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--gold-3)}
.footer-contact>div,.menu-contact>div,.share-pay-head>div,.talk-first-text>div{min-width:0}
.footer-contact a,.footer-contact span,.menu-contact a,.share-pay-actions .btn,.abroad-item p{overflow-wrap:anywhere}
.share-pay,.share-pay-actions{min-width:0}
@media (max-width:640px){.consultant-photo::before{inset:12px -10px -12px 12px}.consultant-photo{max-width:calc(100% - 12px);justify-self:start}}

/* ---------- Searchable drop-down (nationality) ---------- */
.ss { position: relative; }
.ss .ss-native, .field select.ss-native { min-height: 0; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.ss-btn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; text-align: left; cursor: pointer; font: inherit; }
.ss-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-btn .ss-ph { color: var(--muted, #7a756c); }
.ss-btn svg { flex: none; transition: transform .2s ease; color: var(--navy-3, #3d5a6c); }
.ss.open .ss-btn svg { transform: rotate(180deg); }
.ss.open .ss-btn, .ss-btn:focus-visible { border-color: var(--navy-ink, #1F3A47); box-shadow: 0 0 0 3px rgba(31,58,71,.14); outline: none; }
.ss.is-invalid .ss-btn { border-color: #B3261E; }
.ss-pop { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line, #E3DBCF); border-radius: 12px; box-shadow: 0 18px 40px -14px rgba(20,35,45,.35); overflow: hidden; }
.ss-search { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line, #E3DBCF); background: var(--cream, #FAF6EF); color: var(--navy-3, #3d5a6c); }
.ss-search input, .field .ss-search input[type=text] { flex: 1; min-height: 0; border-radius: 0; box-shadow: none; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: .45rem 0; outline: none; color: var(--navy-ink, #1F3A47); }
.ss-list { list-style: none; margin: 0; padding: .35rem; max-height: 260px; overflow-y: auto; }
.ss-list li { padding: .62rem .75rem; border-radius: 8px; cursor: pointer; color: var(--navy-ink, #1F3A47); }
.ss-list li.on, .ss-list li:hover { background: var(--navy-ink, #1F3A47); color: #fff; }
.ss-list li[aria-selected="true"]:not(.on) { font-weight: 700; }
.ss-none { margin: 0; padding: .9rem 1rem; color: var(--muted, #7a756c); font-size: .95rem; }
input[data-upper] { text-transform: uppercase; }
input[data-upper]::placeholder { text-transform: none; }
.name-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .name-grid { grid-template-columns: 1fr; } }

/* ---------- Document upload slots (eCitizen style) ---------- */
.slot-rules { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.1rem 0 1.25rem; padding: .85rem 1rem; border-radius: var(--r); background: var(--info-soft); color: var(--navy-ink); font-size: .9rem; }
.slot-rules span { display: inline-flex; align-items: center; gap: .4rem; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: none; }
.slot { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) auto; gap: .9rem; align-items: start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: var(--r); background: var(--paper); }
.slot-received { border-left-color: var(--navy-3); }
.slot-accepted { border-left-color: #2E7D4F; background: #F4FAF6; }
.slot-rejected { border-left-color: #B3261E; background: #FDF4F3; }
.slot-n { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; background: var(--cream); color: var(--navy-ink); border: 1px solid var(--line); }
.slot-received .slot-n, .slot-accepted .slot-n { background: #2E7D4F; border-color: #2E7D4F; color: #fff; }
.slot-rejected .slot-n { background: #B3261E; border-color: #B3261E; color: #fff; }
.slot-title { font-weight: 700; color: var(--navy-ink); line-height: 1.35; }
.slot-req, .slot-opt { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.slot-req { background: var(--wine-soft); color: var(--wine-ink); }
.slot-opt { background: var(--cream); color: var(--taupe); }
.slot-opt:empty { display: none; }
.slot-files { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .25rem; font-size: .9rem; }
.slot-files a { display: inline-flex; align-items: center; gap: .35rem; color: var(--navy-3); word-break: break-all; }
.slot-side { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.slot-form { margin: 0; }
.slot-btn { position: relative; overflow: hidden; cursor: pointer; white-space: nowrap; }
.slot-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.slot-btn.busy { pointer-events: none; opacity: .75; }
.slot-msg { display: flex; gap: .4rem; align-items: center; margin: .5rem 0 0; font-size: .88rem; font-weight: 600; }
.slot-msg.ok { color: #2E7D4F; }
.slot-msg.err { color: #B3261E; }
.slot-other { grid-template-columns: 2.1rem minmax(0, 1fr); border-style: dashed; border-left-style: solid; }
.slot-other-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem .8rem; margin-top: .7rem; }
.slot-other-form .field { flex: 1 1 220px; margin: 0; }
.pill-xs { font-size: .68rem; padding: .05rem .4rem; }
@media (max-width: 640px) {
  .slot { grid-template-columns: 2.1rem minmax(0, 1fr); }
  .slot-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}
.finder-more { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .6rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--navy-ink); color: #fff; font-weight: 700; text-decoration: none; }
.finder-more:hover { background: var(--navy-3); color: #fff; }

/* ---------- Google reviews (like the millenniavisas.com widget) ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.reviews-sec { background: #fff; }
.rv-title { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 1.6rem; }
.rv-summary { display: grid; justify-items: center; gap: .65rem; text-align: center; margin: 0 auto 2.6rem; }
.rv-biz { font: 700 1.15rem/1.3 var(--serif, serif); text-transform: uppercase; letter-spacing: .02em; color: var(--navy-ink); }
.rv-score-row { display: flex; align-items: center; gap: .75rem 1.2rem; flex-wrap: wrap; justify-content: center; }
.rv-score { font: 700 3.1rem/1 var(--sans); color: var(--navy-ink); }
.rv-outof { font-size: .95rem; line-height: 1.35; color: var(--navy-ink); text-align: left; margin-right: .6rem; }
.rv-score-row .stars { gap: 6px; }
.rv-overall { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: center; font: 600 1.1rem/1.35 var(--serif, serif); text-transform: uppercase; letter-spacing: .02em; color: #555; text-decoration: none; max-width: 44ch; }
a.rv-overall:hover { color: var(--navy-ink); }
.rv-tick { width: 22px; height: 22px; border-radius: 50%; background: #1A73E8; display: inline-grid; place-items: center; flex: none; }
.rv-wrap { position: relative; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 2.2rem) / 4); gap: 2.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .6rem .6rem 1.4rem; scrollbar-width: none; outline: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 1.2rem; padding: 2.1rem 2rem 2.2rem; background: #fff; border-radius: 10px; box-shadow: 0 2px 14px rgba(0, 0, 0, .09); min-height: 300px; }
.rv-head { display: flex; align-items: flex-start; gap: 1.1rem; }
.rv-av { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; }
.rv-init { display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 1.9rem; }
.rv-head figcaption { display: grid; gap: .3rem; min-width: 0; flex: 1; }
.rv-name { color: #1A73E8; font-weight: 700; font-size: 1.12rem; line-height: 1.25; text-decoration: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
a.rv-name:hover { text-decoration: underline; }
.rv-when { font-size: .9rem; color: #9a9a9a; }
.rv-g { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem/1 Arial, sans-serif; color: #4285F4; border: 1px solid #e3e3e3; }
.rv-body { margin: 0; font-size: .97rem; line-height: 1.6; color: #555; max-height: 6.4em; overflow-y: auto; padding-right: .9rem; scrollbar-width: thin; scrollbar-color: #999 #eee; }
.rv-body::-webkit-scrollbar { width: 5px; } .rv-body::-webkit-scrollbar-track { background: #eee; border-radius: 4px; } .rv-body::-webkit-scrollbar-thumb { background: #999; border-radius: 4px; }
.rv-navs { display: flex; justify-content: space-between; margin-top: .4rem; padding-inline: .6rem; }
.rv-nav { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #666; background: #fff; color: #333; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.rv-nav:hover { background: var(--navy-ink); color: #fff; border-color: var(--navy-ink); }
.rv-nav[disabled] { opacity: .25; pointer-events: none; }
.rv-actions { margin-top: 1.6rem; justify-content: center; }
.hero-meta .hero-rating { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.hero-meta .hero-rating strong { color: #fff; }
.trust-line { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 1100px) { .rv-track { grid-auto-columns: calc((100% - 2 * 1.6rem) / 3); gap: 1.6rem; } }
@media (max-width: 820px) { .rv-track { grid-auto-columns: calc((100% - 1.2rem) / 2); gap: 1.2rem; } }
@media (max-width: 560px) { .rv-track { grid-auto-columns: 88%; } .rv-card { padding: 1.6rem 1.4rem; min-height: 0; } .rv-score { font-size: 2.6rem; } .rv-score-row .stars svg { width: 30px; height: 30px; } }

/* ---------- WhatsApp chat (like the millenniavisas.com widget) ---------- */
.wa-chat { position: fixed; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 65; transition: bottom .45s var(--ease, ease); }
.wa-chat.lift { bottom: calc(100px + env(safe-area-inset-bottom)); }
.wa-toggle { width: 66px; height: 66px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #25A55F; color: #fff; cursor: pointer; box-shadow: 0 10px 26px -8px rgba(10, 90, 45, .65); position: relative; transition: transform .25s ease, background .2s; }
.wa-toggle:hover { transform: scale(1.06); background: #1F9152; }
.wa-toggle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: waPulse 2.6s ease-out infinite; pointer-events: none; }
.wa-chat.open .wa-toggle::before { animation: none; }
.wa-toggle .wa-x { display: none; }
.wa-chat.open .wa-toggle .wa-x { display: block; } .wa-chat.open .wa-toggle .wa-bubble { display: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 165, 95, .5); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 165, 95, 0); } }
.wa-tip { position: absolute; left: 78px; bottom: 14px; white-space: nowrap; padding: .55rem .9rem; border-radius: 12px; background: #fff; color: #1f2b2f; font-weight: 600; font-size: .92rem; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .35); }
.wa-chat.open .wa-tip, .wa-tip[hidden] { display: none; }
.wa-panel { position: absolute; left: 0; bottom: 84px; width: min(370px, calc(100vw - 32px)); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .45); transform-origin: bottom left; transform: scale(.92) translateY(10px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s; }
.wa-chat.open .wa-panel { transform: none; opacity: 1; visibility: visible; transition: transform .25s ease, opacity .25s ease; }
.wa-panel-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; background: #4BA578; color: #fff; font-size: 1.1rem; font-weight: 600; }
.wa-panel-head .wa-close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: .2rem; display: grid; }
.wa-panel-body { min-height: 230px; padding: 1.4rem 1.1rem 1rem; background-color: #EFE9DF; background-image: radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1.2px); background-size: 14px 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.wa-msg { display: flex; gap: .6rem; align-items: flex-start; }
.wa-msg img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.wa-msg-bubble { position: relative; background: #fff; border-radius: 0 10px 10px 10px; padding: .55rem .9rem .4rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); max-width: 270px; color: #111; font-size: 1rem; line-height: 1.45; }
.wa-msg-bubble::before { content: ""; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: #fff; border-right-color: #fff; border-width: 0 8px 10px 0; }
.wa-msg-name { font-size: .78rem; font-weight: 700; color: #2E8B57; margin-bottom: .2rem; }
.wa-msg-bubble p { margin: 0 0 .5rem; }
.wa-msg-time { display: block; font-size: .7rem; color: #8a8a8a; }
.wa-form { display: flex; gap: .6rem; align-items: center; }
.wa-form input { flex: 1; min-width: 0; height: 50px; border: 0; border-radius: 999px; padding: 0 1.1rem; font: inherit; font-size: 1rem; background: #fff; outline: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.wa-form input:focus { box-shadow: 0 0 0 2px #4BA578; }
.wa-form button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: #4BA578; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.wa-form button:hover { background: #3a8f65; }
body.menu-open .wa-chat { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .wa-chat { left: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); } .wa-toggle { width: 58px; height: 58px; } .wa-panel { bottom: 74px; } .wa-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-toggle::before { animation: none; } }
@media print { .wa-chat { display: none; } }

/* ---------- Our partners ---------- */
.partners-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); text-transform: uppercase; letter-spacing: .04em; margin: .3rem 0 .8rem; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 1.4rem; align-items: start; }
.partner-card { display: grid; gap: 1.2rem; padding: 1.6rem 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 10px 26px -20px rgba(0, 35, 55, .4); }
.partner-top { display: flex; gap: 1.1rem; align-items: flex-start; }
.partner-mark { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-ink); color: var(--gold-3); flex: none; }
.partner-role { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.partner-card h3 { font-size: 1.25rem; margin: .2rem 0 .35rem; color: var(--navy-ink); }
.partner-group h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-3); margin: 0 0 .6rem; }
.partner-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.partner-chips li { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2, #444); background: var(--cream); }
.partner-actions { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.partner-actions .btn { margin-top: .8rem; }
.tax-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.4rem 2rem; margin-top: 1.4rem; }
.tax-groups h3 { font-size: 1rem; color: var(--navy-ink); }
.tax-groups .check-list li { font-size: .95rem; }

/* ---------- Application tracker (client portal) ---------- */
.trk { display: grid; gap: 1.1rem; }
.trk-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .8rem 1.2rem; }
.trk-k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: .2rem; }
.trk-no { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font: 700 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.15 var(--sans); letter-spacing: .01em; color: var(--navy-ink); font-variant-numeric: tabular-nums; }
.trk-no-draft { font-size: 1.15rem; color: var(--ink-2, #555); }
.trk-copy { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 .78rem var(--sans); color: var(--navy-3); cursor: pointer; letter-spacing: 0; }
.trk-copy:hover { border-color: var(--navy-3); }
.trk-pill { display: inline-flex; align-items: center; padding: .45rem 1rem; border-radius: 999px; font-weight: 800; font-size: .85rem; color: #fff; white-space: nowrap; }
.trk-blue { background: #2F6FDB; } .trk-violet { background: #7655D6; } .trk-orange { background: #E07020; } .trk-teal { background: #0F8B8D; } .trk-green { background: #2E8B57; } .trk-amber { background: #C99000; } .trk-muted { background: #8a8a8a; }
.trk-service { font-size: 1.45rem; margin: 0; }
.trk-facts { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 0; }
.trk-facts dt { font-size: .78rem; color: var(--taupe); font-weight: 600; }
.trk-facts dd { margin: .1rem 0 0; font-weight: 700; color: var(--navy-ink); }
.trk-next { display: flex; gap: .5rem; align-items: center; margin: 0; padding: .7rem 1rem; border-radius: var(--r); background: var(--info-soft); color: var(--navy-ink); font-weight: 600; }
.trk-action { padding: 1rem 1.1rem; border-radius: var(--r); border: 1.5px solid #E07020; background: #FFF4EB; color: #7A3A0C; }
.trk-action > strong { display: flex; gap: .45rem; align-items: center; font-size: 1.02rem; }
.trk-action.done { border-color: #2E8B57; background: #F1F9F4; color: #1F5E3A; }
.trk-need { margin-top: .7rem; padding: .7rem .9rem; border-radius: 10px; background: #fff; color: var(--ink); line-height: 1.55; }
.trk-box { padding: .9rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--cream); }
.trk-outcome { font: 800 1.25rem var(--sans); color: var(--navy-ink); }
.trk-dec-approved .trk-outcome { color: #2E8B57; } .trk-dec-refused .trk-outcome { color: #B3261E; }
.trk-steps { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.trk-step { position: relative; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; padding: 0 0 1rem; color: var(--taupe); }
.trk-step::before { content: ""; position: absolute; left: calc(1.1rem - 1px); top: 2.2rem; bottom: 0; width: 2px; background: var(--line); }
.trk-step:last-child::before { display: none; }
.trk-step.trk-done::before { background: #2E8B57; }
.trk-dot { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; background: #fff; border: 2px solid var(--line); color: var(--taupe); position: relative; z-index: 1; }
.trk-step strong { display: block; padding-top: .35rem; color: inherit; font-weight: 700; }
.trk-step p { margin: .3rem 0 0; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.trk-done { color: var(--navy-ink); } .trk-done .trk-dot { background: #2E8B57; border-color: #2E8B57; color: #fff; }
.trk-now { color: var(--navy-ink); } .trk-now .trk-dot { background: var(--navy-ink); border-color: var(--navy-ink); color: #fff; box-shadow: 0 0 0 5px rgba(0, 35, 55, .12); }
.trk-now > div { padding: .1rem 0 .3rem; }
.trk-optional { opacity: .6; } .trk-optional .trk-dot { border-style: dashed; }
.trk-hist { border-top: 1px solid var(--line); padding-top: .9rem; }
.trk-hist summary { cursor: pointer; font-weight: 700; color: var(--navy-ink); }
.trk-hist ol { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .8rem; }
.trk-hist li { display: grid; gap: .15rem; padding-left: .9rem; border-left: 3px solid var(--line-strong, #d8cbb6); }
.trk-hist time { font-size: .8rem; color: var(--taupe); }
.trk-hist span { font-size: .93rem; color: var(--ink-2, #555); }
.trk-live { display: flex; gap: .5rem; align-items: center; margin: 0; padding: .7rem 1rem; border-radius: var(--r); background: #FFF8E1; color: #6B4E00; font-weight: 600; }
.trk-live a { color: inherit; text-decoration: underline; }

/* ---------- Corporate landing: clients, corporate services, tracking ---------- */
.hero-individual { margin: .9rem 0 0; font-size: .95rem; color: var(--on-navy-2, rgba(255,255,255,.75)); }
.hero-individual a { color: var(--gold-3, #E8C98A); font-weight: 700; }
.clients-band { padding: clamp(28px, 4vw, 48px) 0; background: #fff; border-bottom: 1px solid var(--line); }
.clients-band .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 3rem; align-items: center; }
.clients-head h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin: .3rem 0 0; }
.clients-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; }
.client-logo { flex: 1 1 200px; max-width: 280px; }
.client-logo > a, .client-logo > .client-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; min-height: 112px; padding: 1rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.client-logo > a:hover { border-color: var(--gold); box-shadow: 0 12px 26px -18px rgba(0, 35, 55, .45); transform: translateY(-2px); }
.client-logo img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; display: block; }
.client-mark { display: block; }
.client-name { font: 700 .88rem/1.25 var(--sans); color: var(--navy-ink); text-align: center; }
.client-word { font: 700 1.05rem/1.25 var(--sans); color: var(--navy-ink); text-align: center; letter-spacing: .01em; }
.corp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.1rem; }
.corp-card { position: relative; display: grid; gap: .6rem; align-content: start; padding: 1.5rem 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.corp-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 34px -22px rgba(0, 35, 55, .5); }
.corp-card h3 { font-size: 1.15rem; margin: .3rem 0 0; color: var(--navy-ink); }
.corp-card p { margin: 0; color: var(--ink-2, #555); font-size: .95rem; line-height: 1.55; }
.corp-card .go { position: absolute; right: 1.2rem; top: 1.4rem; color: var(--gold); }
.track-promo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 3rem; align-items: center; }
.track-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.track-chips li { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--navy-ink); }
.track-chips span { width: 1.8rem; height: 1.8rem; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; }
.tc-blue span { background: #2F6FDB; } .tc-violet span { background: #7655D6; } .tc-orange span { background: #E07020; } .tc-teal span { background: #0F8B8D; } .tc-green span { background: #2E8B57; } .tc-amber span { background: #C99000; }
@media (max-width: 900px) { .clients-band .container, .track-promo { grid-template-columns: 1fr; } .clients-row { justify-content: flex-start; } }
@media (max-width: 480px) { .track-chips { grid-template-columns: 1fr; } .client-logo { flex-basis: 100%; max-width: none; } }

/* ---------- Study, visit and partner visa pages ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.plan > .btn { margin-top: auto; }
.plan h3 { font-size: 1.35rem; padding-right: 3rem; }
.plan-n { position: absolute; top: 1.2rem; right: 1.3rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2, #8A6328); font-family: var(--serif); font-size: 1.15rem; }
.plan-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--gold); color: #fff; }
.plan-price { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--navy); line-height: 1.1; }
.plan-price small { display: block; margin-top: .3rem; font-family: var(--sans); font-size: .85rem; color: var(--taupe); }
.plan-featured { background: var(--navy); border-color: var(--navy); color: var(--on-navy); box-shadow: var(--shadow-lg); }
.plan-featured h3, .plan-featured .plan-price { color: #fff; }
.plan-featured .plan-price small, .plan-featured .xsmall { color: #C9D6DF; }
.plan-featured .check-list .ico { color: var(--gold-3, #E2C48F); }
.plan-featured .plan-n { background: rgba(255,255,255,.1); color: var(--gold-3, #E2C48F); }
.plan-featured .plan-tag + h3 { padding-right: 0; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.dest { display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.dest h3 { font-size: 1.35rem; }
.dest-route { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; background: var(--info-soft); color: var(--navy-ink); font-size: .82rem; font-weight: 700; }
.dest .bullet-list { font-size: .95rem; }
.dest-note { margin: 0; padding: .75rem .9rem; border-left: 3px solid var(--gold); background: var(--cream); font-size: .88rem; color: var(--ink-2, #3A3F44); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.dest-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 700; color: var(--teal); }
.dest-meta { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; margin: 0; font-size: .88rem; }
.dest-meta dt { color: var(--taupe); }
.dest-meta dd { margin: 0; font-weight: 600; color: var(--ink); }

.journey-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); counter-reset: none; }
.journey-grid li { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.journey-grid .jn { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.journey-grid strong { color: var(--navy); font-size: 1.02rem; }
.journey-grid p { margin: 0; font-size: .9rem; color: var(--taupe); line-height: 1.5; }
@media (max-width: 1100px) { .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .journey-grid { grid-template-columns: minmax(0, 1fr); } }

.accord { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.accord > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); }
.accord > summary::-webkit-details-marker { display: none; }
.accord > summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold); line-height: 1; }
.accord[open] > summary::after { content: "\2212"; }
.accord > ul, .accord > div { padding: 0 1.2rem 1.2rem; margin: 0; }
.accord > ul.bullet-list { padding-left: 1.2rem; }

.incl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .incl-grid { grid-template-columns: minmax(0, 1fr); } }

/* Guide download band */
.guide-band { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(1.4rem, 3.5vw, 3rem); background: var(--gold-soft); border: 1px solid #E8D7B4; border-radius: var(--r-xl); }
.guide-cover { aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; padding: 1.3rem 1.2rem; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%); color: #fff; border-radius: 8px 16px 16px 8px; box-shadow: -6px 0 0 var(--gold) inset, var(--shadow-lg); transform: rotate(-3deg); }
.guide-cover-k { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3, #E2C48F); }
.guide-cover-t { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.guide-cover-p { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: #C9D6DF; }
.guide-body { display: grid; gap: .9rem; justify-items: start; }
.guide-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.guide-body p { margin: 0; max-width: 62ch; }
@media (max-width: 680px) { .guide-band { grid-template-columns: minmax(0, 1fr); } .guide-cover { width: 150px; justify-self: center; } .guide-body .btn { width: 100%; } }

/* Credentials strip */
.creds { padding: clamp(40px, 6vw, 72px) 0; background: var(--cream); border-top: 1px solid var(--line); }
.creds-head { display: grid; gap: .7rem; max-width: 720px; margin-bottom: clamp(22px, 3vw, 36px); }
.creds-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.creds-head p { margin: 0; color: var(--taupe); }
.creds-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cred { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: .8rem .8rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.cred:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cred-img { display: grid; place-items: center; height: 170px; margin-bottom: .5rem; background: var(--linen); border-radius: var(--r-sm); overflow: hidden; }
.cred-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cred strong { font-size: .95rem; color: var(--navy); }
.cred span:last-child { font-size: .8rem; color: var(--taupe); line-height: 1.45; }
@media (max-width: 980px) { .creds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .cred-img { height: 130px; } }

.lbx { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(0, 20, 32, .86); }
.lbx[hidden] { display: none; }
.lbx figure { margin: 0; display: grid; gap: .8rem; justify-items: center; max-height: 100%; }
.lbx img { max-width: min(92vw, 1000px); max-height: 80vh; border-radius: 6px; background: #fff; box-shadow: var(--shadow-lg); }
.lbx figcaption { color: #fff; font-size: .9rem; text-align: center; max-width: 60ch; }
.lbx-x { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .table-stack thead { display: none; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td, .table-stack th { display: block; width: 100%; }
  .table-stack tr { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td, .table-stack th { padding: .2rem 0; border: 0; }
  .table-stack td[data-l]::before { content: attr(data-l); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-2); margin-top: .5rem; }
  .table-wrap:has(.table-stack) { overflow: visible; }
}

/* Home: International Study Pathways */
.study-home-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.study-home-text { display: grid; gap: 1.1rem; justify-items: start; }
.study-home h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; }
.study-home-kicker { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
.study-home .lead { color: var(--on-navy); max-width: 60ch; margin: 0; }
.study-home-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; margin: .4rem 0; }
.study-plan { position: relative; display: grid; gap: .5rem; padding: 1.1rem 1.2rem 1.1rem 3.6rem; border: 1px solid var(--navy-line); border-radius: var(--r); background: rgba(255,255,255,.06); color: #fff; text-decoration: none; transition: background .2s var(--ease), border-color .2s var(--ease); }
.study-plan:hover { background: rgba(255,255,255,.11); border-color: var(--gold-3); color: #fff; }
.study-plan strong { font-size: 1rem; line-height: 1.3; }
.sp-n { position: absolute; left: 1.1rem; top: 1.1rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-family: var(--serif); }
.sp-p { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-3); }
.sp-p small { font-family: var(--sans); font-size: .78rem; color: #C9D6DF; }
.study-home-guide { display: grid; gap: 1.1rem; justify-items: center; text-align: center; color: #C9D6DF; text-decoration: none; }
.study-home-guide .guide-cover { width: min(230px, 70vw); box-shadow: -6px 0 0 var(--gold) inset, 0 30px 60px -20px rgba(0,0,0,.6); background: linear-gradient(160deg, #134563 0%, #06263A 100%); border: 1px solid rgba(255,255,255,.14); transition: transform .3s var(--ease); }
.study-home-guide:hover .guide-cover { transform: rotate(0deg) translateY(-4px); }
.study-home-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.study-home-flags span { padding: .25rem .65rem; border: 1px solid var(--navy-line); border-radius: 999px; font-size: .78rem; color: var(--on-navy); }
@media (max-width: 900px) { .study-home-in { grid-template-columns: minmax(0, 1fr); } .study-home-guide { order: -1; } .study-home-guide .guide-cover { width: 160px; } }
@media (max-width: 600px) { .study-home-plans { grid-template-columns: minmax(0, 1fr); } .study-home .btn-row .btn { width: 100%; } }
.hero-study { display: inline-flex; align-items: center; gap: .65rem; max-width: 100%; margin-top: .2rem; padding: .55rem 1rem .55rem .55rem; border: 1px solid rgba(217, 181, 110, .55); border-radius: 999px; background: rgba(178, 129, 60, .14); color: #fff; text-decoration: none; font-size: .92rem; line-height: 1.3; transition: background .2s var(--ease); }
.hero-study:hover { background: rgba(178, 129, 60, .28); color: #fff; }
.hero-study .ico { color: var(--gold-3); flex: none; }
.hero-study strong { color: var(--gold-3); margin-right: .25rem; }
.hs-tag { flex: none; padding: .2rem .55rem; border-radius: 999px; background: var(--gold); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 520px) { .hero-study { border-radius: var(--r); align-items: flex-start; } }
/* Header fits 7 links: tighten between 1100 and 1400px */
@media (max-width: 1480px) { .nav-link { padding: 0 .6rem; font-size: .92rem; } .nav-actions { margin-left: .2rem; } }
@media (max-width: 1360px) { .nav-actions .btn-primary { display: none; } }

/* Country flags */
img.flag, .flag { display: inline-block; flex: none; width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 35, 55, .12); vertical-align: -2px; }
.flag-none { background: var(--linen); }
.ss-list li { display: flex; align-items: center; gap: .65rem; }
.ss-btn .ss-val, .ss-btn .ss-ph { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; }
.ss-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-list li.on .flag { box-shadow: 0 0 0 1px rgba(255,255,255,.5); }

/* ---------- Client portal: in-place uploads, saves and feedback ---------- */
.spin { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -.15em; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-busy { pointer-events: none; opacity: .85; }
.slot { position: relative; transition: background .3s, border-color .3s, box-shadow .3s; }
.slot-busy { position: absolute; inset: 0; z-index: 2; display: none; grid-template-columns: auto 1fr; align-items: center; gap: .4rem .75rem; padding: 0 1.2rem; border-radius: inherit; background: rgba(255, 255, 255, .94); color: var(--navy-ink); font-weight: 700; font-size: .92rem; backdrop-filter: blur(2px); }
.slot.is-busy .slot-busy { display: grid; align-content: center; }
.slot-busy .spin { color: var(--wine); width: 1.2em; height: 1.2em; }
.slot-busy-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.slot-bar > span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--wine), #B4456A); transition: width .25s ease; }
.slot.just-done { box-shadow: 0 0 0 3px rgba(46, 125, 79, .35); background: #F1FAF4; }
.slot-hint { display: flex; gap: .35rem; align-items: flex-start; margin-top: .3rem; font-size: .84rem; color: var(--taupe); line-height: 1.45; }
.slot-hint .ico { flex: none; margin-top: 2px; color: var(--navy-3); }
.docs-count { font-size: .95rem; color: var(--navy-ink); white-space: nowrap; }
.docs-count strong { font-size: 1.15rem; }
.checklist-dl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; margin: 0 0 1.2rem; padding: .9rem 1rem; border: 1px solid #E8D7B4; border-radius: var(--r); background: var(--gold-soft); color: var(--ink); text-decoration: none; }
.checklist-dl > span:nth-child(2) { display: grid; gap: .15rem; }
.checklist-dl strong { color: var(--navy-ink); }
.checklist-dl:hover { box-shadow: var(--shadow); }
@media (max-width: 560px) { .checklist-dl { grid-template-columns: auto minmax(0, 1fr); } .checklist-dl .btn { grid-column: 1 / -1; } }

.toast-zone { position: fixed; z-index: 300; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: .6rem; width: min(520px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; gap: .75rem; align-items: center; padding: .9rem 1.1rem; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 18px 40px -12px rgba(0, 20, 35, .5); transform: translateY(16px); opacity: 0; transition: transform .35s var(--ease), opacity .35s; pointer-events: auto; }
.toast.on { transform: none; opacity: 1; }
.toast-ic { flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #2E7D4F; font-weight: 800; }
.toast-err { background: #5E1A1A; }
.toast-err .toast-ic { background: #B3261E; }

.confirm-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--warn-soft); border: 1px solid #EBD3A6; color: var(--ink); }
.confirm-bar form { margin: 0; }
@media (max-width: 640px) { .confirm-bar { grid-template-columns: auto minmax(0, 1fr); } .confirm-bar form { grid-column: 1 / -1; } .confirm-bar .btn { width: 100%; } }

.details-form { display: grid; gap: 1.1rem; margin-top: 1.2rem; transition: opacity .2s; }
.details-form.is-saving { opacity: .6; pointer-events: none; }
.det-group { margin: 0; padding: 1.1rem 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); min-width: 0; }
.det-group legend { padding: 0 .4rem; font-weight: 700; color: var(--navy-ink); }
.det-group .form-grid { margin: 0; }
.det-email { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; }
.det-email > span:first-child { display: inline-flex; gap: .45rem; align-items: center; word-break: break-all; }
.field .opt { font-weight: 400; color: var(--taupe-2); font-size: .85em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }

.submit-box { display: grid; gap: 1rem; padding: clamp(1.1rem, 2.4vw, 1.5rem); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.submit-head { display: flex; gap: .9rem; align-items: flex-start; }
.ready-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ready-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .85rem; border-radius: var(--r-sm); background: var(--cream); }
.ready-list li > span:last-child { display: grid; gap: .15rem; }
.ready-ic { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; color: #fff; background: var(--taupe-2); }
.ready-list .ok .ready-ic { background: #2E7D4F; }
.ready-list .no .ready-ic { background: #B3261E; }
.ready-list .soft .ready-ic { background: var(--gold); }
.ready-list .no { background: #FDF4F3; }
.submit-docs button[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Admin: clearer application page ---------- */
.admin .help, .help { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--taupe); padding: .7rem .9rem; border-radius: var(--r-sm); background: var(--cream); border-left: 3px solid var(--gold); }
.help-box { padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--info-soft); color: var(--navy-ink); font-size: .9rem; }
.help-box ol { margin: .5rem 0 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.adm-steps { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; counter-reset: none; }
.adm-steps li { position: relative; display: grid; gap: .45rem; justify-items: center; text-align: center; padding-top: 2px; }
.adm-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--sand); z-index: 0; }
.adm-steps li:first-child::before { display: none; }
.adm-steps li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); font-size: .75rem; font-weight: 800; color: var(--taupe); }
.adm-steps em { font-style: normal; font-size: .7rem; line-height: 1.25; color: var(--taupe); max-width: 11ch; }
.adm-steps .as-done > span { background: #2E7D4F; border-color: #2E7D4F; color: #fff; }
.adm-steps .as-done::before, .adm-steps .as-now::before { background: #2E7D4F; }
.adm-steps .as-now > span { background: var(--wine); border-color: var(--wine); color: #fff; box-shadow: 0 0 0 4px var(--wine-soft); }
.adm-steps .as-now em { color: var(--wine-ink); font-weight: 700; }
@media (max-width: 760px) { .adm-steps em { display: none; } .adm-steps .as-now em { display: block; position: absolute; top: 36px; white-space: nowrap; } .adm-steps { margin-bottom: 1.4rem; } }
.ov-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: 1.3rem; }
@media (max-width: 900px) { .ov-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ov-tile { display: grid; gap: .15rem; padding: .85rem 1rem; border-radius: var(--r); border: 1px solid var(--line); border-top: 4px solid var(--line-strong); background: var(--paper); color: var(--ink); text-decoration: none; }
.ov-tile:hover { box-shadow: var(--shadow); }
.ov-k { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.ov-tile strong { font-size: 1.15rem; color: var(--navy-ink); }
.ov-s { font-size: .82rem; color: var(--taupe); }
.ov-ok { border-top-color: #2E7D4F; }
.ov-warn { border-top-color: var(--gold); background: #FFFBF3; }
.ov-muted { border-top-color: var(--line-strong); }
.todo { margin-top: 1.1rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--navy); color: var(--on-navy); }
.todo-h { display: inline-flex; gap: .4rem; align-items: center; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-3); }
.todo ul { margin: .5rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.todo li { position: relative; padding-left: 1.1rem; font-size: .95rem; line-height: 1.5; }
.todo li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #9FB3C1; }
.todo li.todo-warn::before { background: var(--gold-3); }
.todo li.todo-ok::before { background: #6BCB93; }
.todo a { color: #fff; font-weight: 700; }
.dl-stack { grid-template-columns: 1fr; gap: .15rem; }
.dl-stack dt { font-size: .8rem; margin-top: .55rem; }
.dl-stack dt:first-child { margin-top: 0; }
.pill-xs { font-size: .68rem; padding: .1rem .45rem; }
.btn-danger { background: #B3261E; color: #fff; --b: #B3261E; }
.btn-danger:hover { background: #8E1D17; --b: #8E1D17; color: #fff; }
.danger-zone { border-color: #EBC4C0; background: #FFFAF9; }
.danger-zone > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; font-weight: 700; color: #9B2C2C; }
.danger-zone > summary::-webkit-details-marker { display: none; }
.danger-zone > summary > span:first-child { display: inline-flex; gap: .5rem; align-items: center; }
.sel-col{width:44px;text-align:center}.sel-col input{width:18px;height:18px;accent-color:var(--wine)}
.mini-prog{display:block;width:120px;max-width:100%;height:6px;margin:.15rem 0 .35rem;border-radius:6px;background:var(--sand);overflow:hidden}.mini-prog>span{display:block;height:100%;background:linear-gradient(90deg,#2E7D4F,#57A877);border-radius:6px}
.how-card > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy-ink); }
.how-card > summary::-webkit-details-marker { display: none; }
.how-card > summary > span:first-child { display: inline-flex; gap: .5rem; align-items: center; }
.how-steps { margin: 1.1rem 0 0; padding: 0; list-style: none; counter-reset: how; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .8rem; }
.how-steps li { counter-increment: how; position: relative; display: grid; gap: .3rem; padding: .9rem 1rem .9rem 3.1rem; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); font-size: .9rem; }
.how-steps li::before { content: counter(how); position: absolute; left: .9rem; top: .9rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .8rem; }
.how-steps strong { color: var(--navy-ink); }
.how-steps span { color: var(--taupe); line-height: 1.5; }
.chips .pill{white-space:normal;max-width:100%;text-align:left;line-height:1.35;height:auto}
.rv-widget{margin-top:1.5rem;min-height:220px}

/* Review cards, Google-widget style */
.rv-track { grid-auto-columns: calc((100% - 2 * 1.6rem) / 3); gap: 1.6rem; }
.rv-card { gap: .9rem; padding: 1.6rem 1.6rem 1.5rem; background: #F4F4F4; border-radius: 12px; box-shadow: none; min-height: 0; }
.rv-head { align-items: center; gap: .9rem; }
.rv-av { width: 48px; height: 48px; }
.rv-init { font-size: 1.4rem; }
.rv-head figcaption { gap: .1rem; }
.rv-name { color: #1C2228; font-size: 1.08rem; -webkit-line-clamp: 1; }
.rv-when { font-size: .92rem; color: #7a7a7a; }
.rv-g { flex: none; width: 26px; height: 26px; border: 0; border-radius: 0; align-self: flex-start; }
.rv-stars { display: flex; align-items: center; gap: .5rem; }
.rv-stars .stars { gap: 2px; }
.rv-ver { width: 18px; height: 18px; border-radius: 50%; background: #1A73E8; display: inline-grid; place-items: center; flex: none; }
.rv-body { font-size: 1.02rem; line-height: 1.6; color: #2b2b2b; max-height: none; overflow: hidden; padding: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.rv-card.open .rv-body { -webkit-line-clamp: unset; display: block; }
.rv-more { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: .95rem; color: #7a7a7a; cursor: pointer; }
.rv-more:hover { color: #1C2228; text-decoration: underline; }
@media (max-width: 1100px) { .rv-track { grid-auto-columns: calc((100% - 1.4rem) / 2); gap: 1.4rem; } }
@media (max-width: 680px) { .rv-track { grid-auto-columns: 88%; gap: 1rem; } .rv-card { padding: 1.3rem 1.2rem; } }
.rv-title { text-align: center; margin-inline: auto; }
