:root {
  --navy: #0f1e3c;
  --navy-mid: #1a2f5a;
  --navy-light: #243d73;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-pale: #f5e9c8;
  --cream: #faf8f3;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #16203a;
  --text: #1a1a2e;
  --muted: #6b7280;
  --line: #e2d9c5;
  --line-soft: #efe8d8;

  --success: #166534;
  --success-bg: #dcfce7;
  --warning: #92400e;
  --warning-bg: #fef3c7;
  --danger: #991b1b;
  --danger-bg: #fee2e2;

  --shadow: 0 18px 50px -28px rgba(15,30,60,0.35);
  --shadow-lg: 0 40px 90px -40px rgba(15,30,60,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--navy); }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Fleuron divider — fine-stationery ornament */
.fleuron {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--gold);
}
.fleuron::before, .fleuron::after {
  content: ''; height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.fleuron::after { background: linear-gradient(90deg, currentColor, transparent); }
.fleuron span { font-size: 14px; letter-spacing: 4px; }

.eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

/* ─── NAV ─────────────────────────────────────────── */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  background: transparent;
  transition: background .3s, padding .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; width: min(1120px, 100% - 48px); }
.site-nav.scrolled {
  background: rgba(15,30,60,0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom-color: rgba(201,168,76,0.2);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.6);
}
.nav-brand { display: flex; flex-direction: column; line-height: 1; }
.nav-brand .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: var(--gold);
  letter-spacing: 3px;
}
.nav-brand .sub {
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 400;
  letter-spacing: .3px; transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: 9px 20px; background: var(--gold); color: var(--navy) !important;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  transition: background .2s, transform .1s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-toggle { display: none; }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative; background: var(--navy); color: var(--white);
  padding: 168px 0 96px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 18% 30%, rgba(201,168,76,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(201,168,76,0.06) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 64px, rgba(255,255,255,0.018) 64px, rgba(255,255,255,0.018) 65px),
    repeating-linear-gradient(90deg, transparent, transparent 64px, rgba(255,255,255,0.018) 64px, rgba(255,255,255,0.018) 65px);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.4vw, 68px); font-weight: 600; line-height: 1.04;
  letter-spacing: -0.5px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lede {
  margin-top: 24px; font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.66); max-width: 30em; font-weight: 300;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer;
  padding: 15px 28px; border: none; transition: transform .12s, background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Slot ledger card — the brand's signature artefact */
.ledger {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.28);
  padding: 30px 30px 26px; position: relative;
  backdrop-filter: blur(8px);
}
.ledger::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ledger-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px dashed rgba(201,168,76,0.3); padding-bottom: 14px; margin-bottom: 16px;
}
.ledger-head .t {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.ledger-head .yr { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold); }
.ledger-number {
  font-family: 'Cormorant Garamond', serif; line-height: 1;
  display: flex; align-items: baseline; gap: 10px;
}
.ledger-number .big { font-size: 64px; font-weight: 700; color: var(--gold); }
.ledger-number .of { font-size: 18px; color: rgba(255,255,255,0.5); }
.ledger-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.ledger-track { height: 6px; background: rgba(255,255,255,0.08); margin-top: 18px; overflow: hidden; }
.ledger-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .9s ease; }
.ledger-foot {
  margin-top: 16px; font-size: 11px; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 8px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--gold); animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .8 } 100% { transform: scale(1.8); opacity: 0 } }

/* trust strip */
.trust {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2;
}
.trust .item .n {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1;
}
.trust .item .l { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 6px; }

/* ─── SECTION SCAFFOLD ────────────────────────────── */
section { padding: 92px 0; }
.sec-head { max-width: 620px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head h2 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 44px);
  font-weight: 600; color: var(--navy); line-height: 1.1; letter-spacing: -0.5px;
}
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ─── SERVICES ────────────────────────────────────── */
.services { background: var(--cream); }
.svc-grid {
  margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.svc {
  background: var(--paper); padding: 30px 24px; position: relative;
  transition: background .25s, transform .25s;
}
.svc:hover { background: var(--white); }
.svc .mark {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--gold); letter-spacing: 1px;
}
.svc h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 600;
  color: var(--navy); margin: 14px 0 8px;
}
.svc p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.svc .from {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--text);
}
.svc .from b { font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--navy); font-weight: 700; }

/* Referencing standards strip */
.standards {
  margin-top: 28px; background: var(--navy); color: var(--white);
  padding: 30px 32px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: center;
}
.standards-head .eyebrow { display: block; margin-bottom: 8px; }
.standards-head p { font-size: 14px; color: rgba(255,255,255,0.6); }
.std-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.std-pills span {
  font-size: 12.5px; letter-spacing: .3px; padding: 7px 14px;
  border: 1px solid rgba(201,168,76,0.35); color: var(--gold-light);
  border-radius: 30px; background: rgba(201,168,76,0.06);
}

/* The desk (team of 5) */
.desk { background: var(--paper); }
.desk-grid {
  margin-top: 46px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.desk-card { background: var(--paper); padding: 26px 20px; transition: background .25s; }
.desk-card:hover { background: var(--white); }
.desk-card .role {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--gold);
  letter-spacing: 1px; margin-bottom: 14px;
}
.desk-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.15; }
.desk-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── PROCESS ─────────────────────────────────────── */
.process { background: var(--navy); color: var(--white); }
.process .sec-head h2 { color: var(--white); }
.process .sec-head p { color: rgba(255,255,255,0.55); }
.steps {
  margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  counter-reset: step;
}
.step { padding: 0 26px 0 0; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 18px; right: 13px; width: 26px; height: 1px;
  background: rgba(201,168,76,0.4);
}
.step .num {
  width: 38px; height: 38px; border: 1px solid var(--gold); color: var(--gold);
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  margin-bottom: 18px;
}
.step h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; margin-bottom: 8px;
}
.step p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ─── RESERVE / FLOW ──────────────────────────────── */
.reserve { background: var(--cream); }
.reserve-grid { margin-top: 48px; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: start; }

.reserve-aside h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 27px; color: var(--navy); font-weight: 600; margin-bottom: 8px;
}
.reserve-aside .price {
  font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 700; color: var(--navy);
  line-height: 1; margin: 18px 0 6px; display: flex; align-items: baseline; gap: 8px;
}
.reserve-aside .price .cur { font-size: 22px; color: var(--gold); }
.reserve-aside .price small { font-size: 14px; color: var(--muted); font-family: 'DM Sans'; font-weight: 400; }
.incl { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.incl li { display: flex; gap: 12px; font-size: 14px; color: var(--text); }
.incl li svg { flex-shrink: 0; margin-top: 3px; }
.aside-note {
  margin-top: 26px; padding: 16px 18px; background: var(--gold-pale);
  border-left: 3px solid var(--gold); font-size: 13px; color: #7a5c1a; line-height: 1.6;
}

/* Console — the swapping panel that runs the flow */
.console {
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.console::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold); }
.console-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--line-soft); background: var(--white);
}
.console-bar .lbl { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 7px; }
.stepper i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s;
}
.stepper i.on { background: var(--gold); transform: scale(1.25); }
.stepper i.done { background: var(--navy); }

.panel { padding: 30px 28px; display: none; animation: rise .45s ease both; }
.panel.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  transition: border-color .2s, box-shadow .2s; outline: none; border-radius: 2px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.14);
}
.field textarea { resize: vertical; min-height: 86px; }
.field input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  background: #fff;
}
.field input[type="date"] { cursor: pointer; }
.field .label-optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.field .hint { font-size: 11px; color: var(--muted); margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.err { color: var(--danger); font-size: 12px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid input[type="file"] { border-color: var(--danger); }
.field.invalid .err { display: block; }

.panel .btn { width: 100%; justify-content: center; margin-top: 6px; }
.btn-dark { background: var(--navy); color: var(--gold); }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--navy); }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
.btn-row .btn { margin-top: 0; }

.panel-title {
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--navy);
  margin-bottom: 4px;
}
.panel-sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

/* quote table */
.qline {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.qline .d { color: var(--text); }
.qline .d small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.qline .v { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.qline.muted .v { color: var(--muted); font-style: italic; font-size: 14px; font-family: 'DM Sans'; font-weight: 400; }
.qtotal {
  display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 4px;
}
.qtotal .d { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.qtotal .v { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 700; color: var(--navy); }
.qtotal .v .cur { font-size: 16px; color: var(--gold); margin-right: 4px; }

/* pay panel */
.till {
  text-align: center; padding: 26px; background: var(--navy); color: var(--white);
  position: relative; overflow: hidden; margin-bottom: 22px;
}
.till::before {
  content: 'M-PESA'; position: absolute; top: 12px; right: 16px;
  font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.25);
}
.till .cap { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.till .no {
  font-family: 'JetBrains Mono', monospace; font-size: 38px; font-weight: 500; color: var(--gold);
  letter-spacing: 4px; margin: 8px 0 4px;
}
.till .amt { font-size: 13px; color: rgba(255,255,255,0.7); }
.till .amt b { color: var(--white); font-family: 'Cormorant Garamond'; font-size: 18px; }

.pay-status {
  display: none; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--warning-bg); color: var(--warning); font-size: 13px; margin-bottom: 18px;
  border-radius: 2px;
}
.pay-status.show { display: flex; }
.pay-status.ok { background: var(--success-bg); color: var(--success); }
.spin {
  width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg) } }

.ref-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 30, 60, 0.55);
}
.ref-modal[hidden] { display: none !important; }
.ref-modal-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 30, 60, 0.2);
}
.ref-modal-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}
.ref-modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.pay-await { margin-top: 18px; }
.pay-await-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.portal-creds {
  margin-top: 18px;
  padding: 16px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}
.portal-creds h4 { margin: 0 0 8px; color: var(--navy); font-size: 15px; }
.portal-creds ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }
.pay-manual { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; line-height: 1.6; }

/* pay method tabs */
.paytabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.paytab {
  flex: 1; padding: 11px 10px; background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.paytab:hover { color: var(--navy); }
.paytab.active { color: var(--navy); border-bottom-color: var(--gold); }

/* bank box */
.bankbox { border: 1px solid var(--line); background: var(--white); padding: 6px 18px; margin-bottom: 20px; }
.bank-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.bank-row:last-child { border-bottom: none; }
.bank-row .k { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.bank-row .v { color: var(--text); text-align: right; }
.bank-row .v.mono { font-family: 'JetBrains Mono', monospace; color: var(--navy); }

/* invoice — signature artefact with PAID stamp */
.invoice {
  background: var(--paper); border: 1px solid var(--line); padding: 32px 30px; position: relative;
  overflow: hidden; background-image: linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 100% 28px;
}
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.inv-brand .b { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: 2px; }
.inv-brand .s { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.inv-meta { text-align: right; font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); line-height: 1.8; }
.inv-meta b { color: var(--navy); }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; font-size: 13px; }
.inv-parties .k { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.inv-parties .v { color: var(--text); line-height: 1.5; }
.inv-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.inv-table th {
  text-align: left; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  font-weight: 600; padding: 0 0 10px; border-bottom: 1px solid var(--line);
}
.inv-table th:last-child, .inv-table td:last-child { text-align: right; }
.inv-table td { padding: 13px 0; font-size: 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.inv-table td small { color: var(--muted); font-size: 11.5px; }
.inv-total-row { display: flex; justify-content: flex-end; gap: 40px; padding: 16px 0 4px; }
.inv-total-row .k { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; align-self: center; }
.inv-total-row .v { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--navy); }
.inv-foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line);
  font-size: 11.5px; color: var(--muted); line-height: 1.6; display: flex; justify-content: space-between; gap: 16px;
}
.inv-foot .ref { font-family: 'JetBrains Mono'; }

.stamp {
  position: absolute; top: 96px; right: 26px; transform: rotate(-13deg);
  border: 3px solid var(--danger); color: var(--danger); padding: 6px 18px;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 30px; letter-spacing: 4px;
  text-transform: uppercase; opacity: .82; border-radius: 4px; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(153,27,27,0.25);
}
.stamp.paid { border-color: var(--success); color: var(--success); box-shadow: inset 0 0 0 2px rgba(22,101,52,0.25); }

.inv-actions { display: flex; gap: 12px; margin-top: 22px; }
.inv-actions .btn { flex: 1; margin-top: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
}
.status-pill.unpaid { background: var(--danger-bg); color: var(--danger); }
.status-pill.paid { background: var(--success-bg); color: var(--success); }

/* ─── FOOTER ──────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-brand .b { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--gold); letter-spacing: 3px; }
.foot-brand p { margin-top: 12px; font-size: 13.5px; max-width: 28em; line-height: 1.7; }
.foot-col h5 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.foot-col a, .foot-col p { display: block; font-size: 13.5px; color: rgba(255,255,255,0.6); margin-bottom: 9px; transition: color .2s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 10px; }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { color: rgba(255,255,255,0.45); transition: color .2s; }
.foot-legal a:hover { color: var(--gold); }

/* legal pages */
.legal-page { padding: 120px 0 80px; min-height: 60vh; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 5vw, 48px);
  font-weight: 600; color: var(--navy); margin-bottom: 8px;
}
.legal-page .updated { font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.legal-page h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600;
  color: var(--navy); margin: 32px 0 12px;
}
.legal-page p, .legal-page li { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.legal-page ul { margin: 0 0 14px 1.2em; }
.legal-page a { color: var(--navy-mid); border-bottom: 1px solid var(--gold); }
.legal-page a:hover { color: var(--gold); }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 28px; transition: color .2s; }
.legal-back:hover { color: var(--navy); }
.site-nav--light { background: var(--navy); border-bottom: 1px solid rgba(201,168,76,0.2); }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--navy); color: var(--white); padding: 14px 22px; font-size: 13.5px;
  box-shadow: var(--shadow-lg); z-index: 400; display: flex; align-items: center; gap: 10px;
  border-left: 3px solid var(--gold); transition: transform .4s cubic-bezier(.2,.9,.3,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .standards { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .desk-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  .reserve-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; right: 24px;
    background: var(--navy); border: 1px solid rgba(201,168,76,0.25); padding: 18px 22px; gap: 16px;
    box-shadow: var(--shadow-lg); align-items: flex-start;
  }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--gold); }
}
@media (max-width: 560px) {
  .wrap { width: 100% - 32px; }
  .hero { padding: 130px 0 72px; }
  .svc-grid { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .ledger-number .big { font-size: 52px; }
  .stamp { font-size: 22px; top: 80px; right: 16px; }
  .inv-parties { grid-template-columns: 1fr; }
  .inv-meta { font-size: 11px; }
}

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

/* receipt download / print — invoice only */
@media print {
  @page { margin: 14mm; size: A4 portrait; }

  body { background: #fff !important; }

  nav, footer, .toast, .hero, .services, .desk, .process,
  .reserve .sec-head, .reserve-aside, .console-bar, .inv-actions,
  .pay-manual, .panel:not(#panel-invoice) {
    display: none !important;
  }

  .reserve, .reserve-grid, .console, #panel-invoice {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  .wrap { width: 100% !important; max-width: none !important; padding: 0 !important; }

  .invoice {
    border: 1px solid #e2d9c5 !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .stamp { opacity: 1 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
