/* =========================================================================
   Youngblood Notary Services — design system
   Deep maroon + off-white + metallic gold seal. Fraunces (display) + Inter (body).
   Brand palette: #591b18 maroon · #c39148/#dfb755 gold · #fbfbf7 off-white.
   ========================================================================= */

:root,
[data-theme='light'] {
  /* Surfaces — warm off-white (brand #fbfbf7) */
  --color-bg: #fbfbf7;
  --color-surface: #ffffff;
  --color-surface-2: #f7f4ee;
  --color-surface-offset: #f1ece2;
  --color-surface-offset-2: #e8e1d3;
  --color-divider: #ddd6c8;
  --color-border: #cdc4b2;

  /* Text */
  --color-text: #1c0a08;
  --color-text-muted: #636a69;
  --color-text-faint: #9a938a;
  --color-text-inverse: #fbfbf7;

  /* Deep maroon — primary (brand #591b18) */
  --color-primary: #591b18;
  --color-primary-hover: #451310;
  --color-primary-soft: #f4e3e1;

  /* Metallic gold — accent (brand #c39148 / #dfb755) */
  --color-accent: #c39148;
  --color-accent-hover: #a8742f;
  --color-accent-strong: #9c6a26;
  --color-accent-soft: #f4e7d1;
  --color-accent-bright: #dfb755;

  /* Semantic */
  --color-success: #437a22;
  --color-success-soft: #e3eed6;
  --color-warning: #9a5a16;
  --color-warning-soft: #f5e7d0;
  --color-danger: #661414;
  --color-danger-soft: #f3dcdc;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;

  --shadow-sm: 0 1px 2px rgba(89,27,24,0.07);
  --shadow-md: 0 6px 20px rgba(89,27,24,0.10);
  --shadow-lg: 0 18px 50px rgba(89,27,24,0.16);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #1a0a08;
  --color-surface: #24100e;
  --color-surface-2: #2c1310;
  --color-surface-offset: #331814;
  --color-surface-offset-2: #3a1c18;
  --color-divider: #3e211c;
  --color-border: #4a2520;

  --color-text: #f0e8df;
  --color-text-muted: #b3a99e;
  --color-text-faint: #7a6f66;
  --color-text-inverse: #1a0a08;

  --color-primary: #f0e8df;
  --color-primary-hover: #ffffff;
  --color-primary-soft: #331814;

  --color-accent: #dfb755;
  --color-accent-hover: #f0c878;
  --color-accent-strong: #dfb755;
  --color-accent-soft: #2a1a10;
  --color-accent-bright: #dfb755;

  --color-success: #6dae78;
  --color-success-soft: #1d2e21;
  --color-warning: #d4a14a;
  --color-warning-soft: #2f2616;
  --color-danger: #e07070;
  --color-danger-soft: #2e1d1d;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 18px 50px rgba(0,0,0,0.5);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: 16px; color: var(--color-text); background-color: var(--color-bg); }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; max-width: 70ch; }

::selection { background: var(--color-accent-soft); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-sm); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--color-primary); color: var(--color-text-inverse); padding: .75rem 1rem; border-radius: 0 0 var(--radius-md) 0; }
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .95rem; padding: .7rem 1.25rem; border-radius: var(--radius-md); border: 1px solid transparent; transition: all 180ms cubic-bezier(.16,1,.3,1); white-space: nowrap; }
.btn-primary { background: var(--color-primary); color: var(--color-text-inverse); border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-surface-offset); border-color: var(--color-text-muted); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .45rem .8rem; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklab, var(--color-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-divider); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--color-primary); }
.brand-seal { color: var(--color-accent); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--color-text); }
.brand-sub { font-size: .72rem; letter-spacing: .04em; color: var(--color-text-muted); text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.site-nav a { font-size: .92rem; color: var(--color-text-muted); font-weight: 500; transition: color 180ms; }
.site-nav a:hover { color: var(--color-text); }
.book-trigger { margin-left: .5rem; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3.5rem);
  background-color: var(--color-bg);
  background-image: linear-gradient(100deg, var(--color-bg) 0%, var(--color-bg) 38%, color-mix(in oklab, var(--color-bg) 82%, transparent) 52%, color-mix(in oklab, var(--color-bg) 55%, transparent) 78%, color-mix(in oklab, var(--color-bg) 30%, transparent) 100%), url('assets/hero-texture.png');
  background-size: cover; background-position: center right; background-repeat: no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklab, var(--color-bg) 35%, transparent) 0%, transparent 22%, transparent 78%, color-mix(in oklab, var(--color-bg) 45%, transparent) 100%); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-strong); margin-bottom: .85rem; }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: 1rem; }
.hero-title em { font-style: italic; color: var(--color-accent); font-weight: 500; }
.hero-lede { font-size: 1rem; line-height: 1.55; color: var(--color-text-muted); margin-bottom: .9rem; max-width: 52ch; }
.hero-lede-second { margin-top: -.3rem; font-size: .92rem; line-height: 1.5; opacity: .9; }
.hero-cta { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.hero-trust li { display: flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--color-text-muted); font-weight: 500; }
.check { color: var(--color-success); font-weight: 700; }

.hero-card { background: color-mix(in oklab, var(--color-surface) 78%, transparent); backdrop-filter: blur(10px) saturate(1.05); -webkit-backdrop-filter: blur(10px) saturate(1.05); border: 1px solid color-mix(in oklab, var(--color-accent) 42%, transparent); border-radius: var(--radius-xl); padding: 2rem; box-shadow: 0 1px 0 color-mix(in oklab, #fff 60%, transparent) inset, var(--shadow-lg); text-align: center; position: relative; }
.hero-card::after { content: ''; position: absolute; inset: 6px; border: 1px solid color-mix(in oklab, var(--color-accent) 22%, transparent); border-radius: calc(var(--radius-xl) - 6px); pointer-events: none; }
.seal-mark { color: var(--color-accent); margin: 0 auto 1rem; display: flex; justify-content: center; }
.seal-logo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--color-accent-soft), 0 0 0 6px color-mix(in oklab, var(--color-accent) 18%, transparent), var(--shadow-md); }
.seal-logo-sm { width: 40px; height: 40px; box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 35%, transparent); }
.hero-card-title { font-size: 1.3rem; margin-bottom: .5rem; }
.hero-card-text { font-size: .92rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.hero-card-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; border-top: 1px solid var(--color-divider); padding-top: 1.25rem; }
.hero-card-stats div { display: flex; flex-direction: column; }
.hero-card-stats strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.hero-card-stats span { font-size: .72rem; color: var(--color-text-muted); }

/* ---- Sections ---- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .6rem; }
.section-sub { color: var(--color-text-muted); font-size: 1.05rem; }

/* ---- Luxury band divider + feature shot ---- */
.lux-band { height: 7px; background: url('assets/section-band.png') center/cover no-repeat, linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary)); background-size: cover; box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 30%, transparent); }
.feature-shot { margin: 0 0 2.5rem; position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid color-mix(in oklab, var(--color-accent) 28%, transparent); }
.feature-shot img { display: block; width: 100%; height: clamp(220px, 32vw, 380px); object-fit: cover; object-position: center 38%; }
.feature-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.5rem 1rem; background: linear-gradient(transparent, rgba(26,10,8,.82)); color: #f4e7c8; font-family: var(--font-display); font-style: italic; font-size: 1rem; letter-spacing: .01em; }

/* ---- Services ---- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.service-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.6rem; transition: all 200ms; cursor: pointer; position: relative; }
.service-card:hover { border-color: var(--color-accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-accent); font-size: 1.5rem; margin-bottom: 1rem; font-family: var(--font-display); }
.service-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.service-card p { font-size: .92rem; color: var(--color-text-muted); margin-bottom: .85rem; }
.service-tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--color-accent); background: var(--color-accent-soft); padding: .25rem .6rem; border-radius: var(--radius-full); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; counter-reset: step; }
.step { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.6rem; position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-primary); color: var(--color-text-inverse); font-family: var(--font-display); font-weight: 700; margin-bottom: .9rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--color-text-muted); }

/* ---- Booking form ---- */
.booking-wrap { max-width: 760px; margin: 0 auto; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.progress { display: flex; gap: .25rem; margin-bottom: 2rem; counter-reset: none; }
.progress li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .78rem; color: var(--color-text-faint); text-align: center; position: relative; font-weight: 500; }
.progress li::before { content: ''; position: absolute; top: 1rem; left: -50%; width: 100%; height: 2px; background: var(--color-divider); z-index: 0; }
.progress li:first-child::before { display: none; }
.progress li span { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-surface-offset); color: var(--color-text-faint); font-weight: 700; font-family: var(--font-display); z-index: 1; border: 2px solid var(--color-surface-offset); transition: all 200ms; }
.progress li.active span, .progress li.done span { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.progress li.active { color: var(--color-text); }
.progress li.done span::after { content: '✓'; }

.step-panel { border: none; animation: fadeIn .35s ease; }
.step-panel[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-q { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: .5rem; padding: 0; }
.panel-hint { font-size: .92rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }

.field { margin-bottom: 1.25rem; }
.field-label, .field > label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: .5rem; }
.opt { font-weight: 400; color: var(--color-text-faint); font-size: .85rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field select, .field textarea { width: 100%; padding: .7rem .85rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); transition: border-color 180ms, box-shadow 180ms; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.field input.invalid, .field select.invalid { border-color: var(--color-danger); }

/* choice grid (service) */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.choice { display: block; cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice-body { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); transition: all 180ms; }
.choice-body strong { font-size: .98rem; }
.choice-body em { font-size: .8rem; color: var(--color-text-muted); font-style: normal; }
.choice input:checked + .choice-body { border-color: var(--color-accent); background: var(--color-accent-soft); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* yes/no pills */
.yesno { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice-pill { cursor: pointer; position: relative; }
.choice-pill input { position: absolute; opacity: 0; }
.choice-pill span { display: inline-block; padding: .6rem 1.1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface-2); font-size: .9rem; font-weight: 500; transition: all 180ms; }
.choice-pill input:checked + span { border-color: var(--color-accent); background: var(--color-accent-soft); color: var(--color-text); }
.choice-pill.danger input:checked + span { border-color: var(--color-danger); background: var(--color-danger-soft); color: var(--color-danger); }
.choice-pill input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.panel-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }

.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-text-muted); margin-top: 1rem; cursor: pointer; }
.consent input { margin-top: .2rem; width: auto; }

/* general-notary add-on block */
.addon-block { background: var(--color-accent-soft); border: 1px dashed var(--color-accent); border-radius: var(--radius-md); padding: 1rem 1.1rem; }
.ron-notice { background: var(--color-primary-soft); border: 1px solid color-mix(in oklab, var(--color-primary) 25%, transparent); border-left: 3px solid var(--color-primary); border-radius: var(--radius-md); padding: .85rem 1rem; font-size: .9rem; color: var(--color-primary); margin-bottom: 1.25rem; }
.field-dim { opacity: .5; }
.addon-block .consent { margin: 0; }

/* result panel */
.result-panel { text-align: center; padding: 1.5rem 0; animation: fadeIn .4s ease; }

/* fee estimate */
.fee-estimate { background: var(--color-accent-soft); border: 1px solid var(--color-accent); border-radius: var(--radius-md); padding: 1rem 1.15rem; margin-bottom: 1.25rem; }
.fee-estimate-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: .6rem; }
.fee-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-hover); }
.fee-total { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--color-accent-hover); }
.fee-breakdown { display: flex; flex-direction: column; gap: .25rem; }
.fee-line { display: flex; justify-content: space-between; font-size: .88rem; color: var(--color-text); }
.fee-line .lbl { color: var(--color-text-muted); }
.fee-line .amt { font-weight: 600; }
.fee-line.total { border-top: 1px solid var(--color-border); margin-top: .35rem; padding-top: .35rem; font-weight: 700; }
.fee-line.total .amt { color: var(--color-accent-hover); }
.fee-meta { font-size: .78rem; color: var(--color-text-muted); margin-top: .5rem; }
.fee-loading { font-size: .88rem; color: var(--color-text-muted); }
.result-icon { width: 4rem; height: 4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; font-family: var(--font-display); }
.result-icon.ok { background: var(--color-success-soft); color: var(--color-success); }
.result-icon.warn { background: var(--color-warning-soft); color: var(--color-warning); }
.result-panel h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.result-panel .window { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-accent); margin: .5rem 0 1rem; }
.result-panel .prep { text-align: left; background: var(--color-surface-offset); border-radius: var(--radius-md); padding: 1.2rem; font-size: .9rem; color: var(--color-text-muted); white-space: pre-line; max-width: 100%; margin: 1rem auto; }
.result-panel .mode-note { font-size: .8rem; color: var(--color-text-faint); margin-top: 1rem; }
.result-panel .reason { background: var(--color-warning-soft); color: var(--color-warning); border-radius: var(--radius-md); padding: 1rem; font-size: .92rem; margin: 1rem auto; max-width: 560px; }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0; overflow: hidden; }
.faq summary { padding: 1.1rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--color-accent); transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.1rem; color: var(--color-text-muted); font-size: .92rem; }

/* ============ CREDENTIALS & TRUST ============ */
.trust-lede { color: var(--color-text-muted); font-size: 1.02rem; max-width: 56ch; margin: 0 auto; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .5rem; }
.trust-badge { display: flex; align-items: center; gap: .9rem; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.05rem 1.15rem; text-decoration: none; color: inherit; transition: border-color 180ms, transform 180ms, box-shadow 180ms; }
a.trust-badge:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: 0 8px 22px -16px rgba(28,10,8,.45); }
.trust-mark { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--color-primary); color: var(--color-accent-bright); font-size: .9rem; font-weight: 700; }
.trust-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.trust-name { font-weight: 600; font-size: .95rem; color: var(--color-text); line-height: 1.25; }
.trust-meta { font-size: .8rem; color: var(--color-text-muted); line-height: 1.3; }
.trust-foot { text-align: center; margin: 2rem auto 0; max-width: 64ch; font-size: .9rem; color: var(--color-text-muted); }
.trust-foot strong { color: var(--color-accent-strong); font-weight: 600; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.site-footer { background: var(--color-primary); color: color-mix(in oklab, var(--color-text-inverse) 80%, transparent); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; margin-top: 2rem; }
.site-footer .brand-name, .site-footer .brand-sub { color: var(--color-text-inverse); }
.site-footer .brand-seal { color: var(--color-accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-tag { font-size: .88rem; color: color-mix(in oklab, var(--color-text-inverse) 65%, transparent); margin-top: 1rem; max-width: 38ch; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-strong); margin-bottom: .5rem; }
.footer-col a, .footer-col span { font-size: .9rem; color: color-mix(in oklab, var(--color-text-inverse) 72%, transparent); transition: color 180ms; }
.footer-col a:hover { color: var(--color-text-inverse); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in oklab, var(--color-text-inverse) 15%, transparent); font-size: .8rem; color: color-mix(in oklab, var(--color-text-inverse) 55%, transparent); }

/* ---- Toast ---- */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(1rem); background: var(--color-primary); color: var(--color-text-inverse); padding: .8rem 1.4rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 300; font-size: .9rem; opacity: 0; transition: all 300ms; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Dispatch dashboard ---- */
#dispatch-view { min-height: 100dvh; background: var(--color-bg); }
.dash-header { background: var(--color-primary); color: var(--color-text-inverse); padding: 1rem 0; position: sticky; top: 0; z-index: 50; }
.dash-header .brand-name, .dash-header .brand-sub { color: var(--color-text-inverse); }
.dash-inner { display: flex; align-items: center; justify-content: space-between; }
.dash-meta { display: flex; align-items: center; gap: .75rem; }
.dash-header .btn-ghost { color: var(--color-text-inverse); border-color: color-mix(in oklab, var(--color-text-inverse) 30%, transparent); }
.dash-header .btn-ghost:hover { background: color-mix(in oklab, var(--color-text-inverse) 12%, transparent); }
.badge { font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: var(--radius-full); background: var(--color-accent); color: var(--color-primary); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
.dash-col { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; }
.dash-col-wide { grid-column: 1 / -1; }
.dash-col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.dash-list { display: flex; flex-direction: column; gap: .75rem; max-height: 480px; overflow-y: auto; }
.muted { color: var(--color-text-faint); font-size: .9rem; }
.dash-item { border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: .9rem 1rem; background: var(--color-surface-2); }
.dash-item .di-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .35rem; }
.dash-item .di-id { font-family: var(--font-display); font-weight: 600; color: var(--color-accent); font-size: .9rem; }
.dash-item .di-when { font-size: .85rem; color: var(--color-text-muted); font-weight: 500; }
.dash-item .di-line { font-size: .85rem; color: var(--color-text-muted); }
.dash-item .di-line strong { color: var(--color-text); font-weight: 600; }
.dash-item.blocked { border-left: 3px solid var(--color-warning); }
.dash-item.blocked .di-id { color: var(--color-warning); }
.msg-item { border-left: 3px solid var(--color-accent); background: var(--color-surface-2); border-radius: var(--radius-sm); padding: .7rem .85rem; }
.msg-item.to_client { border-left-color: var(--color-success); }
.msg-meta { display: flex; justify-content: space-between; font-size: .72rem; color: var(--color-text-faint); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .04em; }
.msg-sim { color: var(--color-warning); font-weight: 600; }
.msg-body { font-size: .85rem; color: var(--color-text); white-space: pre-wrap; word-break: break-word; }

/* ---- Book button responsive labels ---- */
.bk-short { display: none; }
@media (max-width: 560px) {
  .bk-full { display: none; }
  .bk-short { display: inline; }
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .site-nav { display: flex; gap: .5rem; margin-left: auto; align-items: center; }
  .site-nav a:not(.book-trigger) { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1rem; }
}
@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr; }
  .progress li { font-size: 0; }
  .progress li span { width: 1.6rem; height: 1.6rem; font-size: .8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel-nav { flex-direction: row; }
  .hero-trust { gap: .6rem 1rem; }
  .book-trigger { padding: .5rem .85rem; font-size: .85rem; }
  .site-header .btn-ghost[data-theme-toggle] svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
