/* Concept Z — "Elevated apexx, full site": Concept A's engineering-catalog world (apexx blue +
   orange, machined rules, spec-plate surfaces, tabular numerals) carried across five pages.
   Concept A's tokens are preserved verbatim; everything below either matches A or extends it
   for page chrome that A never needed. */

:root {
  --bg: #f7f8fa;
  --ink: #14151a;
  --muted: #565a63;
  --line: #d9dde3;
  --accent: #075bb2;
  --accent-deep: #0a4c92;
  --accent-ink: #ffffff;
  --accent-on-dark: #1a6fd0;   /* the action blue, lifted so buttons hold their edge on charcoal */
  --accent-on-dark-lift: #2a80e2;
  --orange: #dd6800;
  --orange-lift: #f07a10;
  --orange-ink: #a34d00;   /* the same orange, taken to AA weight for text on light surfaces */
  --focus: #dd6800;
  --head-bg: #14151a;
  --blueprint: #0b2545;
  --card-bg: #ffffff;
  --panel-bg: #ffffff;
  --field-bg: #ffffff;
  --chip-bg: #ffffff;
  --ok: #1c7c46;
  --ok-soft: #e9f6ee;
  --ok-ink: #14532d;
  --danger: #b3261e;
  --card-radius: 10px;
  --chip-radius: 8px;
  --body-font: "Inter", system-ui, sans-serif;
  --display: "Archivo", "Inter", sans-serif;
}

body { background: var(--bg); }

h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-bottom: 6px; }
h3 { font-size: 19px; font-weight: 750; }
.section-sub { color: var(--muted); margin-bottom: 20px; max-width: 62ch; }
p { max-width: 72ch; }

/* ---------- browser surfaces: the parts we did not draw still carry the design ---------- */
::selection { background: #ffd9ab; color: #14151a; }
input, textarea, select { caret-color: var(--accent); }
::placeholder { color: var(--muted); opacity: 1; }
a { text-underline-offset: 3px; text-decoration-thickness: from-font; }
* { scrollbar-color: #b6bec9 transparent; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #b6bec9; border-radius: 8px; border: 2px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: #8d97a5; }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------- header ---------- */
.site-head { border-bottom: 3px solid var(--orange); }
.site-head, .site-head a, .site-head button { color: #fff; }
.head-logo img { filter: brightness(1.6); }
.head-nav { display: flex; gap: 16px; font-weight: 600; font-size: 14.5px; }
.head-nav a { text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.head-nav a:hover { border-bottom-color: var(--orange); }
.head-nav a[aria-current="page"] { border-bottom-color: var(--orange); color: #ffd9ab; }
.head-phone { background: rgba(255,255,255,0.08); }
.head-phone .ph-label { font-weight: 400; font-size: 12.5px; opacity: 0.85; }
.head-phone:hover { background: rgba(255,255,255,0.16); }
.open-quote { background: var(--orange); color: #14151a; }
.open-quote:hover { background: var(--orange-lift); }
.quote-count { background: #14151a; color: #fff; }
.site-head .open-quote { color: #14151a; }
@media (max-width: 1080px) { .head-nav { font-size: 13.5px; gap: 12px; flex-wrap: wrap; } }
@media (max-width: 560px) { .head-phone .ph-label { display: none; } .head-nav a { padding: 8px 4px; } }

/* ---------- one colour rule, five pages ----------
   Orange carries emphasis: the phrase the eye should land on, the marker on a step that matters,
   the certified badge. Blue carries action: every button you are meant to press, on every surface.
   On dark grounds the action blue lifts to --accent-on-dark so the button keeps a 3:1 edge, and on
   a blue ground it inverts to white-on-blue rather than changing hue. The only standing exception
   is the header quote button, which is the site's running state object rather than a page CTA. */
.page-head .btn-primary,
.band-dark .btn-primary,
.tradein .btn-primary,
.blueprint .btn-primary {
  background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: #fff;
}
.page-head .btn-primary:hover,
.band-dark .btn-primary:hover,
.tradein .btn-primary:hover,
.blueprint .btn-primary:hover {
  background: var(--accent-on-dark-lift); border-color: var(--accent-on-dark-lift);
}
/* white panels inside a dark band are light surfaces again */
.band-dark .plate .btn-primary, .tradein .trade-form .btn-primary, .band-dark .note .btn-primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.band-dark .plate .btn-primary:hover, .tradein .trade-form .btn-primary:hover {
  background: var(--accent-deep); border-color: var(--accent-deep);
}
/* on a blue ground the action inverts instead of changing hue */
.cta-band .btn-primary { background: #fff; border-color: #fff; color: var(--accent-deep); }
.cta-band .btn-primary:hover { background: #e8f0fa; border-color: #e8f0fa; }

/* focus on dark surfaces */
.site-head :focus-visible, .site-foot :focus-visible, .page-head :focus-visible,
.tradein :focus-visible, .cta-band :focus-visible, .blueprint :focus-visible {
  outline: 3px solid #fff; outline-offset: 2px;
}

/* ---------- home hero ---------- */
/* the page's one authored moment: the hero resolves like a spec sheet coming into focus on the
   desk. Type stays legible in every frame, so it never animates through an unreadable state. */
@keyframes settle {
  from { transform: translateY(14px); filter: blur(7px); }
  to { transform: none; filter: blur(0); }
}
.hero-copy > * { animation: settle 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-plate { animation: settle 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards; }

.hero {
  background: linear-gradient(180deg, rgba(7,91,178,0.045), rgba(7,91,178,0) 60%), var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 850; line-height: 1.04; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 56ch; margin-bottom: 22px; }
.hero-search { display: flex; gap: 10px; max-width: 540px; margin-bottom: 26px; }
.hero-search input { flex: 1; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--line); max-width: 540px; }
.hero-stats > div { flex: 1; padding: 12px 16px 0 0; border-right: 1px solid var(--line); margin-right: 16px; }
.hero-stats > div:last-child { border-right: none; margin-right: 0; }
.hero-stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
.hero-stats dd { font-family: var(--display); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.hero-sell-link { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.hero-sell-link a { color: var(--accent); font-weight: 700; text-decoration-color: var(--orange); }

.hero-plate {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: 12px; padding: 24px 24px 20px;
  box-shadow: 0 14px 34px -18px rgba(20, 21, 26, 0.28);
}
.plate-title { font-size: 20px; margin-bottom: 14px; }
.plate-steps { list-style: none; counter-reset: st; }
.plate-steps li { counter-increment: st; position: relative; padding: 0 0 14px 44px; font-size: 14.5px; color: var(--muted); }
.plate-steps li strong { color: var(--ink); display: block; font-size: 15px; }
.plate-steps li::before {
  content: counter(st); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800;
}
.plate-steps li:nth-child(3)::before { background: var(--orange); }
.plate-foot { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- sub-page header band ---------- */
.page-head {
  background: var(--head-bg); color: #eef1f5;
  border-bottom: 3px solid var(--orange);
  padding: 46px 0 40px;
}
.page-head h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 850; line-height: 1.05; color: #fff; max-width: 22ch; }
.page-head h1 em { font-style: normal; color: #ffb35c; }
.page-head .lede { color: #c3c9d4; font-size: 17px; max-width: 62ch; margin-top: 14px; }
.page-head .head-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.page-head .btn { border-color: rgba(255,255,255,0.35); color: #fff; }
.page-head .crumbs { font-size: 14px; color: #a7b0be; margin-bottom: 14px; }
.page-head .crumbs a { display: inline-block; padding: 3px 0; }
/* facet and planner checkboxes: comfortable hit area inside their spaced rows */
.fct input { width: 20px; height: 20px; }
.fct { min-height: 32px; }
.page-head .crumbs a { color: #c3c9d4; }
.page-head .crumbs [aria-current] { color: #fff; }
.head-facts { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 26px; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 16px; }
.head-facts div { padding-right: 28px; }
.head-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: #98a1b0; }
.head-facts dd { font-family: var(--display); font-size: 21px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- generic sections ---------- */
.band { padding: 54px 0; border-bottom: 1px solid var(--line); }
.band.tight { padding: 40px 0; }
.band-dark { background: var(--head-bg); color: #eef1f5; border-bottom: none; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p, .band-dark li { color: #c3c9d4; }
.band-dark .section-sub { color: #c3c9d4; }
.band-dark strong, .blueprint strong { color: #fff; }
.band-dark p a, .band-dark li a, .band-dark .faq-body a { color: #ffb35c; }
/* white panels keep their light-surface link colour even inside a dark band */
.band-dark .plate a, .band-dark .note a, .band-dark .trade-form a { color: var(--accent); }
.band-dark .plate p, .band-dark .plate li { color: var(--muted); }
.band-dark .plate h3, .band-dark .plate strong { color: var(--ink); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
/* grid children default to min-width:auto, so one wide table can stop a column from ever
   shrinking. Every column here is allowed to go narrower than its widest child. */
.split > *, .hero-grid > *, .tradein-grid > *, .planner > *, .foot-grid > * { min-width: 0; }
.table-scroll { max-width: 100%; }
.hero-search input { min-width: 0; }

.plate {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: 12px; padding: 22px 24px;
}
.plate.orange-top { border-top-color: var(--orange); }
.plate h3 { margin-bottom: 8px; }
.plate p, .plate li { font-size: 14.5px; color: var(--muted); }

.prose > * + * { margin-top: 14px; }
.prose h3 { margin-top: 30px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose strong { color: var(--ink); }

/* numbered process rail */
.rail { list-style: none; counter-reset: rl; display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 860px) { .rail { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; } }
.rail li {
  counter-increment: rl; position: relative; padding: 44px 22px 0 0;
  border-top: 1px solid var(--line);
}
.band-dark .rail li { border-top-color: rgba(255,255,255,0.2); }
.rail li::before {
  content: counter(rl); position: absolute; top: -17px; left: 0;
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; font-size: 16px;
}
.rail li:last-child::before { background: var(--orange); color: #14151a; }
.rail h3 { font-size: 16.5px; margin-bottom: 4px; }
.rail p { font-size: 14.5px; color: var(--muted); }
.band-dark .rail p { color: #c3c9d4; }

/* spec table */
.datatable { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.datatable caption { text-align: left; font-size: 13px; color: var(--muted); padding: 0 0 10px; }
.datatable th, .datatable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.datatable thead th { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; background: #eef1f5; border-bottom: 2px solid var(--accent); }
.datatable tbody th { font-weight: 650; }
.datatable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.datatable tbody tr:hover { background: #f4f7fb; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--card-radius); }

/* callout: top rule, never a fat left border */
.note {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange);
  border-radius: var(--card-radius); padding: 16px 18px; font-size: 14.5px; color: var(--muted);
}
.note strong { color: var(--ink); }

/* ---------- home: paths to the other pages ---------- */
.paths { display: grid; gap: 0; border-top: 1px solid var(--line); }
.path-row {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.path-row:hover { background: #fff; }
.path-row h3 { font-size: 20px; color: var(--accent); }
.path-row:hover h3 { color: var(--accent-deep); }
.path-row p { font-size: 14.5px; color: var(--muted); margin: 0; }
.path-row .path-go { font-weight: 800; color: var(--orange-ink); white-space: nowrap; }
.path-row .path-stat { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
@media (max-width: 760px) {
  .path-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .path-row h3 { grid-column: 1 / -1; }
  .path-row > * { min-width: 0; }
}
@media (max-width: 560px) {
  .path-row { grid-template-columns: 1fr; }
  .path-row .path-stat { order: -1; }
}

/* ---------- floor plan ---------- */
.blueprint {
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 28px 100%,
    var(--blueprint);
  color: #dce6f3; padding: 54px 0 58px;
}
.blueprint h2 { color: #fff; }
.blueprint .section-sub { color: #a9bdd8; }
.plan-frame { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 16px; }
.plan svg { width: 100%; height: auto; display: block; }

/* the drawing: shell, partitions, fixtures and door swings read as an architect's plan,
   so the rooms are recognisable as rooms before any label is read */
.wall-out { fill: none; stroke: #eaf2fc; stroke-width: 6; stroke-linejoin: miter; }
.wall-in { fill: none; stroke: rgba(234,242,252,0.72); stroke-width: 4; stroke-linecap: square; }
.fx { fill: none; stroke: rgba(190,215,245,0.42); stroke-width: 2; }
.door { fill: none; stroke: rgba(190,215,245,0.42); stroke-width: 2; }
.plan-note { font-family: "Archivo", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; fill: rgba(190,215,245,0.5); }
.plan-dim .fx { stroke: rgba(190,215,245,0.26); }

.room { cursor: pointer; }
.room .room-shape { fill: rgba(255,255,255,0.03); stroke: none; transition: fill 0.18s ease-out; }
.room:hover .room-shape, .room:focus-visible .room-shape { fill: rgba(221,104,0,0.24); }
.room:hover .room-fx, .room:focus-visible .room-fx { stroke: #ffd9ab; }
.room .room-fx { transition: opacity 0.18s ease-out; }
.room:hover .room-fx .fx, .room:focus-visible .room-fx .fx { stroke: rgba(255,217,171,0.75); }
.room:focus-visible { outline: none; }

/* room pills: blue is action, so the pill stays in the action family and the room lights orange */
.pill-bg { fill: var(--accent-on-dark); transition: fill 0.18s ease-out; }
.room:hover .pill-bg { fill: var(--accent-on-dark-lift); }
.room:focus-visible .pill-bg { stroke: #fff; stroke-width: 3; }
.pill-label { font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 700; fill: #fff; }
.pill-count { font-family: "Archivo", sans-serif; font-size: 14px; font-weight: 700; fill: #fff; font-variant-numeric: tabular-nums; }
.pill-mark { fill: rgba(255,255,255,0.18); }
.pill-chev { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.plan-legend a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 8px 13px; border-radius: var(--chip-radius); text-decoration: none;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.2); color: #eaf1fa; font-size: 14px; font-weight: 600;
}
.plan-legend a:hover { background: rgba(221,104,0,0.24); border-color: var(--orange); }
.plan-legend b { font-variant-numeric: tabular-nums; color: #9fc6ee; font-weight: 700; }
.plan-legend a:hover b { color: #ffd9ab; }
/* a plan scaled to a phone puts its labels below legibility, so below 760px the drawing keeps
   its working size and pans sideways, with the room list underneath as the non-panning route. */
@media (max-width: 760px) {
  .plan-frame { padding: 10px; }
  .plan { overflow-x: auto; overscroll-behavior-x: contain; }
  .plan svg { min-width: 720px; }
  .room .room-label { font-size: 17px; }
  .room .room-count { font-size: 15px; }
  .plan-hint { display: block; }
}
.plan-hint { display: none; font-size: 13px; color: #a9bdd8; margin-top: 10px; }

/* ---------- video ---------- */
.video-frame {
  position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #0b0c10;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { font-size: 13px; color: var(--muted); margin-top: 10px; }
.band-dark .video-cap, .blueprint .video-cap { color: #a9bdd8; }

/* ---------- the ONE band ---------- */
.one-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 900px) { .one-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .one-row { grid-template-columns: 1fr; } }
.one-col { border-top: 2px solid var(--orange); padding-top: 14px; }
.one-col h3 { font-size: 17px; margin-bottom: 6px; }
.one-col h3 span { color: var(--orange); }
.one-col p { font-size: 14.5px; color: var(--muted); }
.band-dark .one-col p { color: #c3c9d4; }

/* ---------- equipment planner ---------- */
.planner { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .planner { grid-template-columns: 1fr; } }
.planner-group { border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; margin-bottom: 14px; overflow: hidden; }
.planner-group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; cursor: pointer; font-family: var(--display); font-weight: 750; font-size: 16px;
  background: #eef1f5; list-style: none; min-height: 44px;
}
.planner-group > summary::-webkit-details-marker { display: none; }
.planner-group > summary::after { content: "▾"; font-size: 12px; color: var(--muted); }
.planner-group:not([open]) > summary::after { transform: rotate(-90deg); }
.planner-group .grp-sum { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
.p-row { display: grid; grid-template-columns: 26px 1fr 92px 108px; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); }
.p-row:first-of-type { border-top: none; }
.p-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.p-name { font-size: 14.5px; line-height: 1.35; }
.p-name small { display: block; font-size: 12.5px; color: var(--muted); }
.p-qty { display: flex; align-items: center; gap: 6px; justify-self: start; }
.p-qty input { width: 56px; padding: 7px 8px; border: 1.5px solid var(--line); border-radius: 8px; font-variant-numeric: tabular-nums; background: var(--field-bg); }
.p-price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14.5px; }
.p-price small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.p-row.off .p-name, .p-row.off .p-price { opacity: 0.55; }
.p-quoted { font-weight: 650; font-size: 13.5px; color: var(--muted); }
.mono-rev { font-variant-numeric: tabular-nums; }
#repairError { color: var(--danger); font-size: 13.5px; font-weight: 650; }
#repairSuccess { font-size: 14.5px; background: var(--ok-soft); color: var(--ok-ink); border-radius: 10px; padding: 14px; }
#repairSuccess a { color: inherit; font-weight: 700; }
#plannerAdd[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 620px) {
  .p-row { grid-template-columns: 26px 1fr; grid-template-areas: "chk name" ". qty" ". price"; gap: 6px 12px; }
  .p-row > input[type="checkbox"] { grid-area: chk; }
  .p-name { grid-area: name; }
  .p-qty { grid-area: qty; }
  .p-price { grid-area: price; text-align: left; }
}
.planner-side { position: sticky; top: 84px; }
.planner-total { font-family: var(--display); font-size: 34px; font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1.1; }
.planner-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.planner-line span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; }
.planner-side .btn { width: 100%; margin-top: 12px; }
.planner-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
@media (max-width: 1000px) { .planner-side { position: static; } }

/* ---------- valuation lookup ---------- */
.lookup { max-width: 720px; }
.lookup-field { display: flex; gap: 10px; }
.lookup-field input { flex: 1; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.lookup-results { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.lookup-results li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.lookup-results .val { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.lookup-empty { padding: 18px 2px; font-size: 14.5px; color: var(--muted); }
.lookup-more { margin-top: 14px; font-size: 14px; }

/* ---------- comparison of the three exits ---------- */
.exit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
@media (max-width: 860px) { .exit-grid { grid-template-columns: 1fr; } }
.exit { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.exit:nth-child(2) { border-top-color: var(--orange); }
.exit:nth-child(3) { border-top-color: var(--ok); }
.exit h3 { font-size: 19px; }
.exit .exit-for { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin: 2px 0 12px; }
.exit ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.exit ul li { padding-left: 20px; position: relative; }
.exit ul li::before { content: "—"; position: absolute; left: 0; color: var(--orange-ink); font-weight: 700; }
.exit .btn { margin-top: auto; }

/* ---------- repair categories (real product photography, no stand-in art) ---------- */
.repair-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 900px) { .repair-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .repair-cats { grid-template-columns: 1fr; } }
.rcat { background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; display: flex; flex-direction: column; }
.rcat img { aspect-ratio: 4 / 3; object-fit: contain; padding: 14px; background: #fff; width: 100%; }
.rcat-body { padding: 0 16px 16px; }
.rcat h3 { font-size: 16px; margin-bottom: 4px; }
.rcat p { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 8px; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 2px; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 16.5px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.18s ease-out;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 2px 18px; font-size: 15px; color: var(--muted); }
.faq .faq-body > * + * { margin-top: 10px; }
.faq .faq-body ul { padding-left: 20px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; padding: 46px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5e5f7; max-width: 60ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.cta-band .btn { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn.btn-primary { color: var(--accent-deep); }

/* ---------- catalog bits inherited from Concept A ---------- */
.areas { padding: 44px 0 8px; }
.area-chip { background: #fff; font-weight: 600; font-size: 14.5px; }
.area-chip:hover { border-color: var(--accent); }
.area-chip .area-count { color: var(--accent); font-weight: 700; opacity: 1; }
.area-chip.active .area-count { color: #fff; }
.catalog { padding: 40px 0 56px; }
.badge-new { background: var(--accent); color: #fff; }
.badge-preowned { background: var(--orange); color: #14151a; }
.card { box-shadow: 0 6px 18px -12px rgba(20,21,26,0.25); }
.card:hover { border-color: #c3cad3; }
.card-name { font-weight: 600; }
.card-price .price-val { color: var(--accent); }
.btn-quote { background: var(--accent); border-color: var(--accent); }
.btn-quote:hover { background: var(--accent-deep); }
.btn-compare:hover { border-color: var(--ink); }
.cpo-strip { background: #fff; font-size: 13.5px; }
.cpo-strip span::before { color: var(--orange); }

/* trade-in band (home teaser + trade page form) */
.tradein { background: var(--head-bg); color: #eef1f5; padding: 56px 0; }
.tradein h2 { color: #fff; }
.tradein p { color: #c3c9d4; max-width: 58ch; margin-bottom: 12px; }
.tradein p strong { color: #fff; }
.tradein-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 800px) { .tradein-grid { grid-template-columns: 1fr; } }
.trade-form { background: #fff; color: var(--ink); border-radius: 12px; padding: 24px; box-shadow: 0 24px 50px -30px rgba(0,0,0,0.7); }
.trade-steps li { color: #c3c9d4; }
.trade-steps b { color: #fff; }
.trade-steps li::before { background: var(--orange); color: #14151a; }
.tradein .btn { border-color: rgba(255,255,255,0.35); color: #fff; }
.tradein .open-quote { color: #14151a; }
.tradein-points { list-style: none; display: grid; gap: 14px; }
.tradein-points li { padding: 14px 16px; background: rgba(255,255,255,0.06); border-radius: 10px; font-size: 14.5px; color: #c3c9d4; }
.tradein-points strong { color: #f0913c; display: block; }
.tradein .trade-form label, .tradein .trade-form legend { color: var(--ink); }

/* light-surface variant of the intake form (repair page) */
.form-plate { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; padding: 24px; }
.form-plate .trade-form { max-width: none; }

/* ---------- footer ---------- */
.site-foot { background: var(--head-bg); color: #c3c9d4; padding: 44px 0 40px; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.7px; color: #98a1b0; margin-bottom: 10px; }
.foot-grid ul { list-style: none; display: grid; gap: 7px; font-size: 14px; }
.foot-brand img { height: 42px; width: auto; filter: brightness(1.6); margin-bottom: 12px; }
.foot-brand p { font-size: 14px; max-width: 34ch; }
.foot-phone { display: inline-block; font-family: var(--display); font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; margin-top: 10px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 30px; padding-top: 18px; font-size: 12.5px; color: #98a1b0; max-width: 70ch; }

/* drawer polish */
.drawer-alt { font-size: 13.5px; color: var(--muted); }
.drawer-alt a { color: var(--accent); font-weight: 700; }
