/* S&F production stylesheet.
   Ported from the approved design study (mockups/styles.css, 19 Nov 2026).
   Values are kept from the study; physical left/right were converted to logical
   properties, and production states (inline errors, submitting, failure/retry,
   receipt) were added. */

@font-face {
  font-family: PlexArabic;
  src: url('/fonts/IBMPlexSansArabic-Regular.subset.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: PlexArabic;
  src: url('/fonts/IBMPlexSansArabic-SemiBold.subset.woff2') format('woff2');
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --navy: #0b3044;
  --teal: #087e87;
  --teal-hover: #076b73;
  --mint: #a5d6b6;
  --paper: #f3f7f7;
  --line: #d7e2e4;
  --muted: #536a74;
  --input: #9db2b7;
  --error: #a52430;
  --error-bg: #fff4f3;
  --white: #fff;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: PlexArabic, Arial, Tahoma, sans-serif;
  line-height: 1.7;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, .error:focus-visible, .failure:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}
main:focus, [tabindex="-1"]:focus:not(:focus-visible), h2[tabindex="-1"]:focus { outline: none; }
a:hover { color: var(--teal); }
[hidden] { display: none !important; }

.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }

.review {
  text-align: center;
  background: var(--navy);
  color: #e5f1f3;
  font-size: 11px;
  letter-spacing: .035em;
  padding: 7px 20px;
}

/* Header */
.site-top { position: relative; }
.header { height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
/* The supplied raster logo has wide margins; frame it through a viewport (study treatment). */
.brand { display: block; width: 190px; height: 64px; overflow: hidden; flex-shrink: 0; background: #fff; position: relative; }
.brand img { position: absolute; width: 210px; height: auto; max-width: none; top: -75px; left: -10px; }
.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  min-height: 50px; padding: 12px 24px; border-radius: 4px; border: 1px solid transparent;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.btn:hover { background: var(--teal-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.light { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn.light:hover { border-color: var(--teal); }
.btn.ghost { background: transparent; color: var(--navy); padding-inline: 0; }
.btn.dark { background: var(--navy); }
.btn:disabled { cursor: progress; opacity: .72; transform: none; }
.btn.ghost:disabled { opacity: .5; }
.arrow { font-size: 22px; line-height: 1; }
.btn.is-busy .arrow { display: none; }
.btn.is-busy::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero { padding: 32px 0 58px; display: grid; grid-template-columns: 1fr 1.03fr; gap: 58px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--teal); display: block; margin-bottom: 18px; }
.eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 2px; background: var(--teal);
  vertical-align: middle; margin-inline-end: 10px;
}
h1 { font-size: 62px; line-height: 1.25; margin: 0 0 24px; font-weight: 700; }
h1 em { font-style: normal; color: var(--teal); }
.intro { font-size: 17px; line-height: 1.95; max-width: 480px; color: var(--muted); margin: 0 0 25px; }
.actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.micro { font-size: 12px; color: var(--muted); margin-top: 15px; }
.visual { height: 472px; position: relative; margin: 0; }
.visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; border-radius: var(--radius); display: block; }
.visual-caption {
  position: absolute; bottom: 14px; inset-inline-end: 14px;
  background: rgba(11, 48, 68, .88); color: #fff; font-size: 10px; padding: 5px 10px;
}
.photo-label {
  position: absolute; top: 18px; inset-inline-start: 18px; display: flex; gap: 9px; align-items: center;
  background: #fff; color: var(--navy); padding: 10px 15px; border-radius: 4px; font-size: 12px;
}
.dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; display: inline-block; }
.hero-foot {
  border-top: 1px solid var(--line); padding-top: 19px; margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 25px; font-size: 12px; color: var(--muted);
}
.hero-foot strong { display: block; color: var(--navy); font-size: 13px; }

/* Principles */
.principles { background: var(--paper); border-block: 1px solid var(--line); }
.principles .wrap { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 30px; padding-block: 28px; align-items: center; }
.principles strong { font-size: 16px; }
.principles p { font-size: 12px; margin: 4px 0 0; color: var(--muted); }
.principles .item { border-inline-start: 1px solid #cddcde; padding-inline-start: 25px; }

/* Sections */
.section { padding-block: 84px; }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 35px; }
.section-head p { font-size: 14px; max-width: 380px; color: var(--muted); margin: 0 0 7px; }
.section-head .eyebrow { margin-bottom: 10px; }
h2 { font-size: 38px; line-height: 1.4; margin: 0; }
h3 { font-size: 22px; line-height: 1.5; margin: 0 0 10px; }

/* Operating-model comparison: same five dimensions on every card */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { border: 1px solid var(--line); border-radius: var(--radius); padding: 27px; position: relative; display: flex; flex-direction: column; }
.model.featured { border-color: var(--teal); background: #f6fbfb; }
.model .number { font-size: 12px; letter-spacing: .12em; color: var(--teal); display: block; margin-bottom: 22px; }
.model p { font-size: 14px; color: var(--muted); min-height: 48px; margin: 0 0 20px; }
.dimensions { margin: 0 0 25px; font-size: 13px; }
.dimensions div { padding: 10px 0; border-top: 1px solid var(--line); }
.dimensions dt { font-size: 11px; color: var(--muted); }
.dimensions dd { margin: 0; }
.model .btn { margin-top: auto; justify-content: space-between; font-size: 14px; }
.tag { position: absolute; top: 23px; inset-inline-end: 22px; font-size: 10px; color: var(--teal); background: #e1f0ef; padding: 3px 8px; }
.note { font-size: 12px; color: var(--muted); margin: 22px 0 0; }

/* Reporting band */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.report-section { background: var(--navy); color: #fff; }
.report-section .eyebrow { color: #acdacb; }
.report-section .eyebrow::before { background: #acdacb; }
.report-section h2 { font-size: 40px; }
.report-section p { color: #c1d4dc; font-size: 15px; line-height: 1.9; }
.report-section .draft-note { font-size: 11px; }
.report-points { list-style: none; padding: 0; font-size: 14px; }
.report-points li { padding: 13px 0; border-bottom: 1px solid #345365; }
.report-points span { color: var(--mint); margin-inline-end: 16px; display: inline-block; }
.report { background: #fff; color: var(--navy); padding: 30px; border-radius: var(--radius); transform: rotate(-1deg); }
.report-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 2px solid var(--navy); font-size: 11px; }
.report-top b { font-size: 27px; }
.report h3 { font-size: 21px; margin: 25px 0 3px; }
.report p { font-size: 12px; color: var(--muted); margin: 0 0 22px; }
.report-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.report-row b { font-weight: 400; color: var(--muted); }
.status { color: #08715a; background: #e5f3ec; padding: 2px 7px; font-size: 10px; justify-self: start; }
.report .report-note { font-size: 10px; color: var(--muted); margin-top: 22px; }

/* Technical scope */
.scope-list { border-top: 1px solid var(--line); }
.scope-row { display: grid; grid-template-columns: 50px 1fr 1.4fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.scope-row .num { font-size: 12px; color: var(--teal); }
.scope-row h3 { font-size: 20px; margin: 0; }
.scope-row p { font-size: 14px; color: var(--muted); margin: 0; }

/* Engagement steps */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 38px 0 0; padding: 0; list-style: none; }
.step { border-top: 1px solid #a9bfc3; padding-top: 20px; }
.step b { font-size: 12px; color: var(--teal); }
.step h3 { font-size: 18px; margin: 14px 0 8px; }
.step p { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq h2 { margin-bottom: 30px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 20px; min-height: 44px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; color: var(--teal); }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); font-size: 14px; max-width: 680px; }

/* Closing CTA + footer */
.final-cta { background: var(--paper); border-top: 1px solid var(--line); padding: 50px 0; }
.final-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.final-cta h2 { font-size: 32px; }
.final-cta p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.site-footer { padding: 32px 0; font-size: 11px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer strong { color: var(--navy); font-size: 18px; }
.mobile-nav, .mobile-bar { display: none; }
.skip { position: fixed; top: -100px; inset-inline-start: 20px; background: #fff; padding: 12px; z-index: 30; }
.skip:focus { top: 10px; }
.menu-panel {
  position: absolute; inset-inline: 20px; top: calc(100% - 8px); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 20px #0b304410; padding: 20px; z-index: 25;
}
.menu-panel a { display: block; padding: 12px; border-bottom: 1px solid var(--line); min-height: 44px; }
.narrow { max-width: 720px; }
/* Privacy notice */
.legal { max-width: 760px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal .legal-updated { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.legal section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.legal h2 { font-size: 20px; margin-bottom: 6px; }
.legal p, .legal li { font-size: 15px; line-height: 1.9; color: var(--muted); }
.legal p { margin: 0; }
.legal ul { margin: 0; padding-inline-start: 20px; }
.legal a { color: var(--teal); text-decoration: underline; }
.site-footer .footer-link { text-decoration: underline; }

/* ---------------------------------------------------------- Quote journey */
.quote-bg { background: var(--paper); min-height: 100dvh; }
.quote-header { height: 100px; display: flex; justify-content: space-between; align-items: center; }
.back { font-size: 13px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.quote-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 38px 0 80px; }
.quote-aside h1 { font-size: 47px; }
.quote-aside p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.aside-list { margin: 35px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.aside-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.aside-list span { color: var(--teal); font-size: 11px; margin-inline-end: 16px; }
.demo-note { font-size: 11px; border: 1px solid #c8d9dd; padding: 12px; color: var(--muted); border-radius: 4px; margin-top: 30px; }
.quote-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; align-self: start; }
.progress { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.progress b { color: var(--teal); }
.progress .track { height: 3px; flex: 1; background: var(--line); }
.progress .fill { display: block; background: var(--teal); height: 3px; width: 50%; transition: width .2s; }
.progress .fill.complete { width: 100%; }
.quote-panel h2 { font-size: 26px; margin-bottom: 7px; }
.form-intro { font-size: 12px; color: var(--muted); margin: 0 0 25px; }
.field { margin: 0 0 22px; display: block; }
.field > label, .systems legend { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.field small { font-size: 11px; color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.field small.help { display: block; margin: 6px 0 0; }
/* Fixed single-city line (no control): label weight like other labels, value in body size. */
.fixed-field { margin: 0; font-size: 15px; }
.fixed-field .fixed-label { font-size: 13px; font-weight: 700; margin-inline-end: 4px; }
.systems { border: 0; padding: 0; min-width: 0; }
.systems legend { padding: 0; }
input, select, textarea {
  width: 100%; border: 1px solid var(--input); border-radius: 4px; background: #fff; color: var(--navy);
  padding: 12px 14px; min-height: 48px; font-size: 14px;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[dir='ltr']::placeholder { text-align: left; }
[aria-invalid='true'] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { border: 1px solid var(--line); padding: 12px 15px; display: flex; align-items: center; gap: 10px; border-radius: 4px; font-size: 13px; cursor: pointer; min-height: 48px; }
.choice:has(input:checked) { border-color: var(--teal); background: #eef8f7; }
.choice input, .consent input { width: 16px; height: 16px; min-height: 0; padding: 0; accent-color: var(--teal); flex-shrink: 0; box-shadow: none; }
.row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.full { width: 100%; }
.form-footer { display: flex; gap: 20px; align-items: center; margin-top: 25px; }
.form-footer .btn { flex: 1; }
.form-footer .btn.ghost { flex: 0 0 auto; min-width: 64px; }
.form-privacy { font-size: 11px; color: var(--muted); margin: 18px 0 0; line-height: 1.8; }
/* WhatsApp disclosure directly under the send button: readable at every width. */
.form-privacy.whatsapp-note { font-size: 14px; line-height: 1.8; }
.quote-selected { font-size: 12px; background: var(--paper); padding: 12px 15px; border-radius: 4px; margin-bottom: 24px; }
.quote-selected:empty { display: none; }
.consent { display: flex; gap: 10px; font-size: 12px; color: var(--muted); align-items: start; cursor: pointer; }
.consent input { margin-top: 4px; }
.consent a { color: var(--teal); text-decoration: underline; }
.pending-mark { font-weight: 700; }

/* Errors */
.error { display: none; color: var(--error); background: var(--error-bg); border: 1px solid #e1b7b9; padding: 10px 14px; font-size: 13px; margin-bottom: 18px; border-radius: 4px; }
.error.visible { display: block; }
.error .error-title { margin: 0; font-weight: 700; }
.error ul { margin: 4px 0 0; padding-inline-start: 18px; }
.error a { text-decoration: underline; }
.field-error { color: var(--error); font-size: 12px; margin: 6px 0 0; }
.failure { color: var(--navy); background: var(--error-bg); border: 1px solid #e1b7b9; border-inline-start: 4px solid var(--error); padding: 14px 16px; margin-bottom: 22px; border-radius: 4px; }
.failure-title { color: var(--error); font-weight: 700; margin: 0 0 4px; font-size: 14px; }
.failure-text { font-size: 13px; margin: 0 0 12px; color: var(--navy); }
.failure .btn { min-height: 44px; font-size: 14px; }

/* Progressive enhancement: without JS both stages show and the server handles the post. */
.js .quote-step:not(.is-active) { display: none; }
.no-js .step-next, .no-js .step-back, .no-js .progress, .no-js .mobile-nav { display: none !important; }
.no-js #step-two { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px; }

/* Honeypot: hidden from people and assistive tech */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Receipt */
.success-mark { width: 56px; height: 56px; background: #e5f3ec; color: #08715a; border-radius: 50%; font-size: 30px; display: grid; place-items: center; margin-bottom: 24px; }
.success p { font-size: 14px; color: var(--muted); }
.reference-box { border: 1px solid var(--teal); background: #f6fbfb; border-radius: 4px; padding: 14px 16px; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; justify-content: space-between; }
.reference-box span { font-size: 12px; color: var(--muted); }
.reference-box strong { font-size: 22px; letter-spacing: .04em; }
.success-summary { border-block: 1px solid var(--line); padding: 18px 0 6px; margin: 25px 0; font-size: 14px; }
.success-summary dt { font-size: 12px; color: var(--muted); }
.success-summary dd { margin: 0 0 12px; }
.review-store-note { font-size: 12px !important; border: 1px dashed #c8d9dd; padding: 10px 12px; border-radius: 4px; }
.success .btn + .btn { margin-top: 10px; }

/* Wide desktop */
@media (min-width: 1440px) {
  .wrap { width: min(1280px, calc(100% - 120px)); }
  .hero { gap: 80px; }
  .visual { height: 500px; }
  h1 { font-size: 68px; }
}

/* Tablet */
@media (max-width: 1023px) {
  .wrap { width: calc(100% - 48px); }
  /* Compact header through tablet (Codex review #3): menu toggle instead of squeezed links.
     The sticky quote bar stays mobile-only (<=767px). */
  .header .nav, .header .header-actions { display: none; }
  .mobile-nav { display: block; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 8px 13px; color: var(--navy); font-size: 13px; min-height: 44px; }
  .header { gap: 16px; }
  .hero { gap: 30px; }
  h1 { font-size: 47px; }
  .visual { height: 450px; }
  .hero-foot { gap: 15px; }
  .quote-layout { gap: 36px; }
  .quote-aside h1 { font-size: 38px; }
  .split { gap: 35px; }
}

/* Comparison cards side by side (768px+): share row sizing through subgrid so the
   title, description and each of the five dimension rows line up across all cards
   even when one card's wording wraps. Rows: number, title, text, 5 dimensions, button. */
@media (min-width: 768px) {
  .models { grid-template-rows: repeat(9, auto); row-gap: 0; }
  .model { display: grid; grid-row: span 9; grid-template-rows: subgrid; row-gap: 0; }
  .model .dimensions { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .model .btn { align-self: end; }
}

/* Tablet only (768–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Reserve a badge band on all three cards so the tag never covers the model number. */
  .model { padding-block-start: 60px; }
  .tag { top: 20px; inset-inline-end: 20px; }
  /* Give the quote form the full reading width. */
  .quote-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .quote-aside, .quote-panel { width: 100%; max-width: 680px; margin-inline: auto; }
  .quote-aside .aside-list { display: none; }
  /* Stack section heading and its explanation (keeps the heading's font size). */
  .section-head { display: block; }
  .section-head p { margin-block-start: 16px; }
}

/* Mobile */
@media (max-width: 767px) {
  html { scroll-padding-top: 15px; }
  .wrap { width: calc(100% - 40px); }
  .review { font-size: 9px; padding: 6px 10px; }
  .header { height: 85px; gap: 15px; }
  .brand { width: 155px; height: 54px; }
  .brand img { width: 175px; top: -62px; left: -9px; }
  .hero { display: flex; flex-direction: column; gap: 30px; padding: 27px 0 35px; align-items: stretch; }
  .eyebrow { font-size: 11px; margin-bottom: 17px; }
  h1 { font-size: 43px; line-height: 1.3; margin-bottom: 18px; }
  .intro { font-size: 15px; line-height: 1.9; margin-bottom: 22px; }
  .actions { gap: 20px; }
  .actions .btn { font-size: 13px; padding-inline: 18px; gap: 10px; min-height: 48px; }
  .actions .ghost { padding-inline: 0; font-size: 12px; }
  .micro { font-size: 11px; margin-top: 12px; }
  .hero-foot { margin-top: 22px; padding-top: 16px; gap: 12px 20px; font-size: 10px; }
  .hero-foot strong { font-size: 12px; }
  .visual { height: 300px; flex: none; width: 100%; }
  .photo-label { top: 12px; inset-inline-start: 12px; font-size: 10px; padding: 7px 10px; }
  .visual-caption { font-size: 9px; bottom: 10px; inset-inline-end: 10px; }
  .principles .wrap { grid-template-columns: 1fr 1fr; gap: 22px; padding-block: 25px; }
  .principles strong { font-size: 14px; }
  .principles p { font-size: 11px; }
  .principles .item { padding-inline-start: 15px; }
  .principles .item:nth-child(3) { border: 0; padding: 0; }
  .section { padding-block: 48px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head p { font-size: 13px; margin-top: 16px; }
  h2 { font-size: 29px; }
  .models { grid-template-columns: 1fr; gap: 14px; }
  .model { padding: 23px; }
  .model p { min-height: 0; }
  .model .number { margin-bottom: 15px; }
  .dimensions { margin-bottom: 15px; }
  .dimensions div { padding: 8px 0; }
  .tag { top: 22px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .report-section h2 { font-size: 31px; }
  .report { transform: none; padding: 24px; }
  .scope-row { grid-template-columns: 24px 1fr; gap: 10px 15px; padding-block: 20px; }
  .scope-row p { grid-column: 2; font-size: 13px; }
  .scope-row h3 { font-size: 18px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 28px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 12px; }
  summary { font-size: 15px; }
  .legal h1 { font-size: 31px; }
  .final-cta { padding: 36px 0; }
  .final-cta .wrap { display: block; }
  .final-cta h2 { font-size: 28px; }
  .final-cta .btn { margin-top: 23px; }
  .site-footer .wrap { display: block; }
  .site-footer span { display: block; margin-top: 10px; }
  /* Reserve room so the sticky quote bar never covers the last content. */
  .landing .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; inset-inline: 0; background: #fff; border-top: 1px solid var(--line);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); gap: 12px; z-index: 20; box-shadow: 0 -4px 20px #0b304409;
  }
  .mobile-bar .btn { flex: 1; font-size: 14px; min-height: 48px; }
  .mobile-bar .secondary-contact { border: 1px solid var(--line); padding: 12px 14px; border-radius: 4px; display: flex; align-items: center; font-size: 12px; min-height: 48px; }
  .quote-header { height: 90px; }
  .back { font-size: 11px; }
  .quote-layout { display: block; padding: 20px 0 40px; }
  .quote-aside h1 { font-size: 35px; line-height: 1.3; }
  .quote-aside p { font-size: 14px; margin-bottom: 25px; }
  .quote-aside .aside-list { display: none; }
  .quote-aside .demo-note { margin: 0 0 20px; }
  .quote-panel { padding: 24px 20px; }
  .quote-panel h2 { font-size: 24px; }
  .quote-layout .eyebrow { margin-bottom: 13px; }
  .choice { padding: 12px 10px; font-size: 12px; }
  .row-two { grid-template-columns: 1fr; gap: 0; }
  .quote-bg .site-footer { padding: 25px 0; }
  .progress { font-size: 11px; }
  .form-footer { gap: 14px; }
}

/* Very narrow (360px and 200% zoom on small laptops) */
@media (max-width: 380px) {
  .choice-grid { grid-template-columns: 1fr; }
  h1 { font-size: 39px; }
  .mobile-bar .secondary-contact { padding-inline: 10px; }
}

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