/* =====================================================================
   Radner Law Firm: website styles
   Design tokens follow the approved prototype (Apple HIG inspired).
   Light and dark themes follow the visitor's device setting.
   ===================================================================== */

:root {
  --bg: #FFFFFF;
  --group: #F5F5F7;
  --card: #FFFFFF;
  --label: #1D1D1F;
  --secondary: #515154;
  --sep: #D2D2D7;
  --field: #FFFFFF;
  --field-border: #D2D2D7;
  --nav-bg: rgba(255, 255, 255, 0.86);
  --tint: #1D4F91;
  --link: #1D4F91;
  --track: #E8E8ED;
  --seg-on: #FFFFFF;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  --placeholder: #86868B;
  --focus: #3B82F6;
  --danger: #C4271C;
  --danger-bg: rgba(196, 39, 28, 0.08);
  --success: #1E7B34;
  --success-bg: rgba(30, 123, 52, 0.09);
  --warning: #9A5B00;
  --warning-bg: rgba(255, 159, 10, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --group: #1C1C1E;
    --card: #2C2C2E;
    --label: #F5F5F7;
    --secondary: #A1A1A6;
    --sep: #3A3A3C;
    --field: #1C1C1E;
    --field-border: #48484A;
    --nav-bg: rgba(0, 0, 0, 0.72);
    --tint: #4A72A7;   /* #1D4F91 lightened 20% */
    --link: #8EA7C8;   /* #1D4F91 lightened 50% */
    --track: #3A3A3C;
    --seg-on: #636366;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    --danger: #FF6961;
    --danger-bg: rgba(255, 105, 97, 0.14);
    --success: #4CD964;
    --success-bg: rgba(76, 217, 100, 0.14);
    --warning: #FFB340;
    --warning-bg: rgba(255, 179, 64, 0.14);
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
/* Keep anchor jumps and focused fields clear of the sticky navigation. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; outline: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
address { font-style: normal; }
input, select, textarea, button { font: inherit; color: inherit; }
::placeholder { color: var(--placeholder); opacity: 1; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
svg { flex-shrink: 0; }

.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-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 12px; background: var(--tint); color: #FFFFFF; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; width: 100%; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 22px; width: 100%; }
.row-wrap { display: flex; flex-wrap: wrap; }
.gap-20 { gap: 20px; }
/* Before the stack-* rules so a stack-N class can override this gap. */
.center-stack { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.stack-4, .stack-6, .stack-8, .stack-10, .stack-12, .stack-14, .stack-16, .stack-18, .stack-20, .stack-22, .stack-24, .stack-28 { display: flex; flex-direction: column; }
.stack-4 { gap: 4px; } .stack-6 { gap: 6px; } .stack-8 { gap: 8px; } .stack-10 { gap: 10px; }
.stack-12 { gap: 12px; } .stack-14 { gap: 14px; } .stack-16 { gap: 16px; } .stack-18 { gap: 18px; }
.stack-20 { gap: 20px; } .stack-22 { gap: 22px; } .stack-24 { gap: 24px; } .stack-28 { gap: 28px; }
.w100 { width: 100%; }
.center { text-align: center; }
.measure { max-width: 520px; }
.push-down { margin-top: auto; }

.band { padding: 56px 0; }
.band--group { background: var(--group); }
.page-top { padding: 28px 0 56px; }
.page-top--contact { padding-bottom: 64px; }

/* ---------- Type ---------- */

.h1 { margin: 0; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; }
.h2 { margin: 0; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.h-card { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.lead { margin: 0; font-size: 19px; line-height: 1.45; color: var(--secondary); }
.body { margin: 0; font-size: 17px; line-height: 1.47; color: var(--secondary); }
.body--label { color: var(--secondary); }
.sub { margin: 0; font-size: 15px; color: var(--secondary); }
.fine { margin: 0; font-size: 13px; color: var(--secondary); }
.label { font-size: 13px; font-weight: 600; color: var(--secondary); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--link); }
.strong { font-weight: 600; }
.strong-17 { font-size: 17px; font-weight: 600; }
.secondary { color: var(--secondary); }
.inline-link { color: var(--link); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
.prose .h-card { margin-top: 8px; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--tint); color: #FFFFFF; font-size: 17px; font-weight: 600;
  cursor: pointer; text-align: center; white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { filter: brightness(0.95); }
.btn[disabled], .btn.is-disabled { background: var(--track); color: var(--secondary); cursor: default; filter: none; }
.textlink {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  font-size: 17px; font-weight: 500; color: var(--link);
}
.textlink:hover { text-decoration: underline; }
.textlink--sm { font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 6px; }
.actions--center { justify-content: center; }

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--sep);
}
.site-nav__bar { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: var(--label); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand-tag {
  display: inline-flex; align-items: center; margin-left: 8px; height: 22px; padding: 0 8px;
  border-radius: 11px; background: var(--group); color: var(--secondary); font-size: 12px; font-weight: 600; vertical-align: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-call { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }
.nav-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px;
  background: var(--tint); color: #FFFFFF; font-size: 15px; font-weight: 600; white-space: nowrap;
}
.nav-links {
  display: flex; gap: 22px; overflow-x: auto; white-space: nowrap;
  scrollbar-width: none; font-size: 15px; padding-bottom: 8px;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding-bottom: 2px;
  border-bottom: 2px solid transparent; color: var(--secondary); font-weight: 500;
}
.nav-links a:hover { color: var(--label); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--tint); color: var(--label); font-weight: 600; }

/* ---------- Hero ---------- */

.hero { padding: 28px 0 44px; }
.hero--about { padding-bottom: 56px; }
.hero__row { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.hero__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero__media { flex: 1 1 400px; min-width: 0; }
.hero__media--stack { display: flex; flex-direction: column; }
.img-4x3, .img-3x2, .img-4x5 { display: block; width: 100%; height: auto; object-fit: cover; }
.img-4x3 { aspect-ratio: 4 / 3; border-radius: 20px; }
.img-3x2 { aspect-ratio: 3 / 2; }
.img-4x5 { aspect-ratio: 4 / 5; border-radius: 20px; }

.hero-review {
  position: relative; margin: -40px 20px 0; max-width: 340px;
  background: var(--card); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-review__quote { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 500; }
.hero-review__by { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--secondary); }
.hero-review__src { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Trust facts ---------- */

.facts-band { padding: 0 0 48px; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; font-size: 15px; color: var(--secondary); }
.facts__rating { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--label); font-weight: 600; }
.facts__count { font-weight: 400; color: var(--secondary); }

/* ---------- Sections and cards ---------- */

.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.section-head--600 { max-width: 600px; }
.split-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }

.help-card { flex: 1 1 280px; min-width: 0; background: var(--card); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.help-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.help-card__situation { font-size: 13px; font-weight: 600; color: var(--link); }
.help-card__title { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }

.about-teaser { padding: 64px 0; }
.portrait-row { display: flex; flex-wrap: wrap; gap: 36px 64px; align-items: center; }
.portrait-row__media { flex: 1 1 300px; min-width: 0; max-width: 440px; }
.portrait-row__text { flex: 1 1 380px; min-width: 0; }

.rule-list { display: flex; flex-direction: column; border-top: 1px solid var(--sep); }
.fact-row { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sep); }
.fact-row__big { flex: 0 0 72px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--link); }
.fact-row__text { font-size: 17px; }
.link-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--sep); font-weight: 600; }
.link-row svg { color: var(--secondary); }

.reviews { padding: 0 0 64px; }
.reviews--padded { padding: 56px 0 64px; }
.review-card {
  margin: 0; flex: 1 1 280px; min-width: 0; background: var(--group); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.review-card__quote { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; flex-grow: 1; }
.review-card__by { display: flex; flex-direction: column; gap: 2px; }
.review-card__name { font-size: 15px; font-weight: 600; }
.review-card__source { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--secondary); }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 17px; }
.stars { display: inline-flex; gap: 2px; }

.services { padding: 32px 0 56px; }
.service-row { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--sep); }
.service-row__title { margin: 0; flex: 1 1 220px; min-width: 0; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.service-row__text { flex: 2 1 360px; min-width: 0; }

.card-box {
  background: var(--card); border-radius: 20px; padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.card-group { background: var(--group); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.47; }
.check-list__icon { color: var(--link); margin-top: 1px; }

.stages { padding: 0 0 56px; }
.tile {
  flex: 1 1 220px; min-width: 0; border: 1px solid var(--sep); border-radius: 20px; padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.tile--wide { flex-basis: 280px; padding: 24px; gap: 10px; }
.tile__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tile__text { font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; }
.steps__item { flex: 1 1 180px; min-width: 0; display: flex; gap: 12px; align-items: flex-start; }
.steps__num {
  flex: 0 0 28px; height: 28px; border-radius: 14px; background: var(--tint); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.steps__text { font-size: 15px; line-height: 1.4; }
.steps__title { font-weight: 600; }
.steps__sub { color: var(--secondary); }

/* Probate check result */
.result-box { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 14px; background: var(--group); }
.result-box__title { font-size: 17px; font-weight: 700; }
.q-label { font-size: 15px; font-weight: 600; }

/* Checklist capture */
.capture-wrap { padding: 0 0 56px; }
.capture__row { display: flex; flex-wrap: wrap; gap: 10px; }
.capture__input { flex: 1 1 220px; min-width: 0; width: auto; }
.capture__btn { flex: 0 1 auto; }
.capture__done { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.capture__done svg { color: var(--link); margin-top: 2px; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--sep); }
.faq__item { border-bottom: 1px solid var(--sep); }
.faq__q {
  list-style: none; width: 100%; min-height: 56px; padding: 14px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 17px; font-weight: 600; color: var(--label);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__chev { color: var(--secondary); transition: transform 0.2s ease; }
.faq__item[open] .faq__chev { transform: rotate(90deg); }
.faq__a { margin: 0; padding: 0 32px 18px 0; font-size: 17px; line-height: 1.47; white-space: pre-line; color: var(--secondary); }

/* ---------- Forms ---------- */

.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--secondary); }
.field-label__opt { font-weight: 400; }
.field-help { margin: 0; font-size: 13px; line-height: 1.45; color: var(--secondary); }
.field-error { margin: 0; font-size: 13px; line-height: 1.4; color: var(--danger); font-weight: 500; }
.input {
  display: block; width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid var(--field-border); border-radius: 12px;
  background: var(--field); color: var(--label); font-size: 17px;
}
.input:focus { border-color: var(--link); outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.textarea { height: auto; min-height: 96px; padding: 13px 14px; resize: vertical; line-height: 1.4; }
.select-wrap { position: relative; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select-wrap__icon { position: absolute; right: 14px; top: 16px; pointer-events: none; color: var(--secondary); }

/* Segmented control (radio buttons) */
.seg { display: flex; gap: 2px; padding: 2px; background: var(--track); border-radius: 10px; min-width: 0; }
.seg__opt { flex: 1 1 0; min-width: 0; position: relative; display: flex; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px;
  border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; text-align: center;
}
.seg__opt input:checked + span { background: var(--seg-on); color: var(--label); font-weight: 600; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.seg__opt:hover input:not(:checked) + span { color: var(--label); }

/* Selectable rows */
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; min-height: 64px; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  color: var(--label); background: var(--field); border: 1px solid var(--field-border); text-align: left;
}
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice.is-checked { border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.choice:has(input:checked) { border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice input:focus-visible ~ .choice__dot { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice__title { font-size: 17px; font-weight: 600; }
.choice__sub { font-size: 15px; line-height: 1.35; color: var(--secondary); }
.choice__dot {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--field-border); color: #FFFFFF;
}
.choice__dot svg { display: none; }
.choice input:checked ~ .choice__dot { background: var(--tint); border-color: var(--tint); }
.choice input:checked ~ .choice__dot svg { display: block; }

/* Chips (days and times) */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 22px; font-size: 15px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--field-border); background: var(--field); color: var(--label);
}
.chip input:checked + span { border-color: var(--tint); background: var(--tint); color: #FFFFFF; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.45; color: var(--secondary); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--tint); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn-step { flex: 1 1 200px; max-width: 320px; padding: 0 24px; }
.btn-back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; border: 0; background: transparent;
  color: var(--link); font-size: 17px; font-weight: 500; cursor: pointer;
}
.btn-back:hover { text-decoration: underline; }

.form-alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: var(--danger-bg); color: var(--danger); font-size: 15px; font-weight: 500; line-height: 1.45;
}
.form-alert svg { margin-top: 1px; }

/* ---------- Intake form ---------- */

.intake { display: flex; flex-direction: column; gap: 22px; }
.progress { display: flex; flex-direction: column; gap: 10px; }
.progress__text { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--secondary); }
.progress__bars { display: flex; gap: 6px; }
.progress__bar { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--track); transition: background 0.2s ease; }
.progress__bar.is-on { background: var(--tint); }
.intake-step { display: none; flex-direction: column; gap: 20px; }
.intake-step.is-active { display: flex; }
.intake-step[data-step="1"] { gap: 18px; }
.h-step { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; outline: none; }
.intake-done, .intake-done-static { gap: 22px; align-items: flex-start; }
.done-badge { width: 56px; height: 56px; border-radius: 28px; background: var(--tint); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.done-badge svg { stroke-width: 3; }
.h-done { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; outline: none; }
.summary { width: 100%; display: flex; flex-direction: column; border-top: 1px solid var(--sep); }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sep); font-size: 15px; }
.summary__k { color: var(--secondary); }
.summary__v { font-weight: 500; text-align: right; }
.requested { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.requested svg { color: var(--link); margin-top: 2px; }
.prep-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prep-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.prep-list svg { color: var(--field-border); margin-top: 1px; }
.note-box {
  width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: var(--group); font-size: 14px; line-height: 1.45; color: var(--secondary);
}
.note-box svg { color: var(--link); margin-top: 1px; }

/* ---------- Contact page office band ---------- */

.office-row { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; }
.office-row__col { flex: 1 1 300px; min-width: 0; }
.office-address { font-size: 17px; line-height: 1.47; }
.doc-card { background: var(--card); border-radius: 20px; padding: 24px; }
.doc-card__head { display: flex; align-items: center; gap: 10px; }
.doc-card__head svg { color: var(--link); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 22px;
  background: var(--card); color: var(--link); font-size: 15px; font-weight: 600;
}
.pill-btn--tint { background: var(--tint); color: #FFFFFF; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--sep); padding: 48px 0 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; }
.footer-col { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.footer-col--main { flex-basis: 280px; gap: 14px; }
.footer-name { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.footer-address { font-size: 17px; line-height: 1.47; color: var(--secondary); }
.footer-head { font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 4px; }
.footer-contact { line-height: 1.5; color: var(--secondary); }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--label); }
.footer-links a:hover { color: var(--link); }
.pill-link {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 22px;
  background: var(--group); color: var(--link); font-size: 15px; font-weight: 600;
}
.footer-area { margin: 0; font-size: 15px; line-height: 1.5; color: var(--secondary); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 12px; line-height: 1.5; color: var(--secondary); border-top: 1px solid var(--sep); padding-top: 16px;
}
.footer-legal__links { display: inline-flex; gap: 16px; }
.footer-legal__links a { display: inline-flex; align-items: center; min-height: 24px; }
.footer-legal__links a:hover { color: var(--label); text-decoration: underline; }

/* ---------- Phone bottom bar (Home and Contact) ---------- */

.mobile-bar { display: none; }
@media (max-width: 734px) {
  .has-mobile-bar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: flex; gap: 6px; align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--sep);
  }
  .mobile-bar__item {
    flex: 1 1 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 48px; border-radius: 12px; color: var(--link); font-size: 11px; font-weight: 600;
  }
  .mobile-bar__cta {
    flex: 2 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    border-radius: 12px; background: var(--tint); color: #FFFFFF; font-size: 15px; font-weight: 600;
  }
}

/* ---------- Plain message page (errors) ---------- */

.page-plain { background: var(--group); align-items: center; justify-content: center; padding: 24px 16px; }
.plain-card { max-width: 520px; width: 100%; display: flex; flex-direction: column; gap: 14px; }
.small-note { margin: 0; font-size: 13px; color: var(--secondary); word-break: break-word; }

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

@media print {
  .site-nav, .mobile-bar, .site-footer .pill-row, .skip-link { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
