/* ==========================================================================
   Wren & Calloway — solicitors
   Theme tokens first. The online editor edits this block.
   ========================================================================== */

:root {
  --accent: #1f4d3a;          /* buttons, links, the dark green bands */
  --accent-ink: #ffffff;      /* text on the accent colour */
  --accent-dark: #163829;
  --accent-soft: #e4ece6;
  --brass: #b48a4a;           /* rules, numbers and small highlights */

  --ink: #18201c;
  --ink-2: #47504a;
  --ink-3: #78807a;

  --surface: #f6f3ec;
  --surface-2: #ece7dc;
  --card: #fffdf8;
  --border: #ddd6c8;

  --radius: 6px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, system-ui, sans-serif;

  --container: 1220px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; }
h1 { font-size: clamp(2.9rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h3 { font-size: 1.18rem; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--line { background: transparent; color: var(--accent); }
.btn--line:hover { background: var(--accent); color: var(--accent-ink); }
.btn--light { background: var(--card); color: var(--accent); border-color: var(--card); }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn svg { width: 16px; height: 16px; }
.link { color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 1px; }
.link:hover { border-bottom-width: 2px; }

/* ---------------------------------------------------------- top + header */
.topbar { background: var(--accent-dark); color: #d9e3dc; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; font-style: italic; }
.brand b { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1; }
.brand small { display: block; margin-top: 3px; font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--brass); }
.nav .btn { margin-left: 12px; padding: 12px 20px; color: var(--accent-ink); border-bottom: 1px solid var(--accent); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); cursor: pointer; place-items: center; }

/* ----------------------------------------------------------------- hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero__lede { margin-top: 24px; max-width: 34rem; font-size: 1.12rem; color: var(--ink-2); }
.finder { margin-top: 34px; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 24px 50px -36px rgba(24, 32, 28, .45); max-width: 560px; }
.finder label { display: block; font-weight: 700; margin-bottom: 10px; }
.finder__row { display: flex; gap: 10px; }
.finder select { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--brass); }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); border-radius: var(--radius); z-index: -1; }
.slot-card { position: absolute; left: -36px; bottom: 36px; display: flex; gap: 14px; align-items: center; padding: 16px 20px; background: var(--card); border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(24, 32, 28, .45); }
.slot-card i { width: 10px; height: 10px; border-radius: 50%; background: #2c9a5a; box-shadow: 0 0 0 4px #d6f0df; flex: none; }
.slot-card small { display: block; font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.slot-card b { font-size: 1.02rem; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--surface-2); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.section__head h2 { margin-top: 16px; }
.section__head p { color: var(--ink-2); max-width: 32rem; }

/* ---------------------------------------------------------- practice areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.area { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 30px 30px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); text-decoration: none; transition: background-color .25s; }
.area:hover { background: var(--accent); color: var(--accent-ink); }
.area:hover p, .area:hover small { color: #d9e3dc; }
.area svg { width: 40px; height: 40px; color: var(--brass); }
.area small { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.area h3 { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; letter-spacing: 0; }
.area p { color: var(--ink-2); font-size: .97rem; }
.area__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .92rem; }
.area__foot span:last-child { transition: transform .25s; }
.area:hover .area__foot span:last-child { transform: translateX(6px); }

/* ---------------------------------------------------------------- split */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--accent); color: var(--accent-ink); }
.split__img { position: relative; min-height: 420px; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 88px); }
.split__body .eyebrow { color: #d8c08f; }
.split__body h2 { margin-top: 18px; color: #fff; }
.split__body h2 em { color: #d8c08f; }
.split__body > p { margin-top: 20px; color: #d9e3dc; max-width: 32rem; }
.ticks { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; color: #d8c08f; }
.ticks b { display: block; }
.ticks span { color: #cfdbd3; font-size: .95rem; }

/* ---------------------------------------------------------- quick quote */
.qq { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.qq h2 { margin-top: 16px; }
.qq > div > p { margin-top: 18px; color: var(--ink-2); max-width: 30rem; }
.qq__card { padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(24, 32, 28, .5); }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 9px 18px; border-radius: 4px; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--ink-2); }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.money { position: relative; }
.money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-3); }
.field .money input, .money input { width: 100%; padding: 15px 16px 15px 34px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.qq__result { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.qq__result small { display: block; color: var(--ink-3); font-weight: 600; }
.qq__result b { font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { padding-top: 22px; border-top: 1px solid var(--ink); }
.step::before { counter-increment: s; content: counter(s, upper-roman) "."; display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--brass); font-style: italic; margin-bottom: 8px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .97rem; }

/* --------------------------------------------------------------- people */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.person__art { aspect-ratio: 1; display: grid; place-items: center; background: var(--tint, var(--accent-soft)); font-family: var(--font-display); font-size: 4.4rem; font-style: italic; color: var(--accent); position: relative; }
.person__art::after { content: ""; position: absolute; inset: 16px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.person__body { padding: 20px 22px 24px; }
.person small { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.person h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin: 4px 0 8px; }
.person p { color: var(--ink-2); font-size: .94rem; }
.person a { display: inline-block; margin-top: 14px; }

/* -------------------------------------------------------------- reviews */
.reviews { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.score b { display: block; font-family: var(--font-display); font-size: 5.6rem; font-weight: 600; line-height: 1; }
.score .stars { color: var(--brass); letter-spacing: 4px; font-size: 1.2rem; }
.score p { margin-top: 8px; color: var(--ink-2); }
.dist { display: grid; gap: 8px; margin-top: 26px; max-width: 320px; }
.dist div { display: grid; grid-template-columns: 34px 1fr 40px; gap: 10px; align-items: center; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.dist i { height: 6px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.dist i::after { content: ""; display: block; height: 100%; width: var(--v); background: var(--accent); }
.quote-list { display: grid; gap: 22px; }
.rq { margin: 0; padding: 28px 30px; background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--brass); border-radius: var(--radius); }
.rq blockquote { margin: 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; }
.rq figcaption { margin-top: 14px; font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.rq figcaption b { color: var(--ink); }

/* ------------------------------------------------------------------ cta */
.cta { position: relative; color: #fff; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 33, 24, .94), rgba(14, 33, 24, .72)); z-index: 1; }
.cta .container { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(64px, 9vw, 112px) 0; }
.cta h2 { color: #fff; max-width: 16ch; }
.cta p { margin-top: 14px; color: #d9e3dc; max-width: 32rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- footer */
.footer { background: var(--ink); color: #b9c1bb; padding: 64px 0 32px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand b, .footer .brand__mark { color: #fff; border-color: #fff; }
.footer .brand small { color: #8f9891; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #d6ddd8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { margin-top: 16px; }
.open { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; color: #fff; }
.open i { width: 8px; height: 8px; border-radius: 50%; background: #5bd08b; }
.open.is-closed i { background: #e0a020; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #333b36; display: grid; grid-template-columns: 1fr auto; gap: 20px; font-size: .82rem; color: #8f9891; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ----------------------------------------------------- practice page */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 33, 24, .95) 30%, rgba(14, 33, 24, .55)); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; padding: clamp(56px, 8vw, 104px) 0; }
.page-hero h1 { color: #fff; margin-top: 18px; max-width: 14ch; }
.page-hero p { margin-top: 20px; max-width: 36rem; color: #d9e3dc; font-size: 1.1rem; }
.page-hero .eyebrow { color: #d8c08f; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #b9c9be; margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: #fff; }
.page-hero .cta__actions { margin-top: 30px; }
.subnav { position: sticky; top: 84px; z-index: 30; background: var(--card); border-bottom: 1px solid var(--border); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; padding: 16px 14px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); border-bottom: 2px solid transparent; }
.subnav a.is-active, .subnav a:hover { color: var(--accent); border-bottom-color: var(--brass); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.with-aside > aside { position: sticky; top: 160px; }
.block { padding: 56px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 150px; }
.block:first-child { padding-top: 0; }
.block:last-child { border-bottom: 0; }
.block h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.block > p { color: var(--ink-2); max-width: 44rem; }
.helps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.help { padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.help p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.timeline { list-style: none; margin: 30px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--brass); }
.timeline li { position: relative; padding: 0 0 28px 54px; }
.timeline li::before { content: attr(data-n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--surface); border: 1px solid var(--brass); font-family: var(--font-display); font-weight: 600; color: var(--accent); }
.timeline small { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .8rem; }
.timeline p { margin-top: 6px; color: var(--ink-2); }
.fees { width: 100%; border-collapse: collapse; margin-top: 26px; background: var(--card); border: 1px solid var(--border); }
.fees th, .fees td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.fees th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
.fees td:last-child, .fees th:last-child { text-align: right; white-space: nowrap; }
.fees td:last-child { font-weight: 800; font-family: var(--font-display); font-size: 1.4rem; }
.fees td span { display: block; color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.note { margin-top: 14px; font-size: .88rem; color: var(--ink-3); }
.faq { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44rem; }
.callback { padding: 28px; background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); box-shadow: 0 30px 60px -44px rgba(24, 32, 28, .5); }
.callback h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.callback > p { margin: 6px 0 18px; color: var(--ink-2); font-size: .94rem; }
.callback .phone { display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .92rem; color: var(--ink-2); }
.callback .phone a { font-weight: 800; color: var(--accent); text-decoration: none; font-size: 1.1rem; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; }
.field label, .field legend { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #b3261e; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.error { display: block; min-height: 1.1em; margin-top: 5px; font-size: .84rem; font-weight: 600; color: #b3261e; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.done { padding: 28px; border: 1px solid var(--border); border-top: 3px solid #2c9a5a; border-radius: var(--radius); background: var(--card); }
.done h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin-bottom: 8px; }
.done p { color: var(--ink-2); }

/* ---------------------------------------------------------- quote page */
.quote-page { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.q-form { display: grid; gap: 26px; padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.q-form h2 { font-size: 1.9rem; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-weight: 600; cursor: pointer; font-size: .94rem; }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.q-result { position: sticky; top: 108px; background: var(--accent); color: #fff; border-radius: var(--radius); overflow: hidden; }
.q-result__head { padding: 28px 30px 22px; }
.q-result__head small { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d8c08f; }
.q-result__total { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 3.6rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.q-result__head p { margin-top: 8px; color: #cfdbd3; font-size: .92rem; }
.q-lines { background: var(--card); color: var(--ink); padding: 22px 30px 26px; }
.q-lines h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 6px; }
.q-lines h4:first-child { margin-top: 0; }
.q-line { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: .94rem; border-bottom: 1px dashed var(--border); }
.q-line span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-line.is-sum { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: 6px; padding-top: 12px; font-weight: 800; }
.q-lines .btn { width: 100%; margin-top: 20px; }
.sdlt { margin-top: 10px; font-size: .86rem; color: var(--ink-3); }
.sdlt table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.sdlt td { padding: 4px 0; }
.sdlt td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------- contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day { padding: 12px 6px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: center; cursor: pointer; line-height: 1.25; }
.day small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.day b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.day[aria-pressed="true"] small { color: #d8c08f; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time { padding: 11px 6px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.time:hover:not(:disabled) { border-color: var(--accent); }
.time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.time:disabled { color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; background: var(--surface-2); }
.offices { display: grid; gap: 20px; }
.office { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.office img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.office svg.map { display: block; width: 100%; height: auto; }
.office__body { padding: 22px 24px 24px; }
.office h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.office address { font-style: normal; color: var(--ink-2); margin-top: 6px; }
.office .open { color: var(--ink); }
.office .open i { background: #2c9a5a; }
.hours { list-style: none; margin: 14px 0 0; padding: 0; font-size: .92rem; }
.hours li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.hours li.is-today { font-weight: 800; color: var(--accent); }
.summary-line { padding: 14px 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .95rem; }

/* -------------------------------------------------------------- reveals */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .people { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .with-aside, .quote-page, .contact-grid { grid-template-columns: 1fr; }
  .with-aside > aside, .q-result { position: static; }
}
@media (max-width: 900px) {
  .hero__grid, .qq, .reviews, .split, .section__head { grid-template-columns: 1fr; }
  .hero__photo { max-width: 460px; margin-left: 18px; }
  .slot-card { left: -18px; }
  .areas { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal { grid-template-columns: 1fr; }
  .split__img { min-height: 300px; }
}
@media (max-width: 760px) {
  .topbar__inner span:first-child { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--border); display: none; }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .areas, .helps, .row-2 { grid-template-columns: 1fr; }
  .finder__row { flex-direction: column; }
  .days { grid-template-columns: repeat(5, minmax(56px, 1fr)); overflow-x: auto; }
  .fees td:last-child { font-size: 1.15rem; }
  .subnav { top: 84px; }
}
@media (max-width: 520px) {
  .people, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- credits */
.credits { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.credits li { padding: 16px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink-2); font-size: .95rem; }
.credits a { color: var(--accent); }
