/* Car Flow Transport — dealers-first one-pager (navy / teal) */
:root {
  --navy: #0c2744;
  --navy-mid: #143a5c;
  --navy-soft: #1a4a73;
  --teal: #1a7a7a;
  --teal-bright: #2a9a9a;
  --teal-soft: #e6f4f4;
  --paper: #f4f7fa;
  --paper-2: #e8eef4;
  --white: #ffffff;
  --ink: #122033;
  --muted: #4d5f73;
  --line: #cfd8e3;
  --ok: #1e6b45;
  --ok-bg: #e8f5ee;
  --err: #a11f2c;
  --err-bg: #fcecee;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(12, 39, 68, 0.08);
  --shadow-md: 0 10px 32px rgba(12, 39, 68, 0.12);
  --header-h: 4rem;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --measure: 40rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--header-h);
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 4.5rem;
}

@media (min-width: 721px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--teal); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  text-decoration: none;
  border-radius: 6px;
}
.skip-link:focus { top: 0.75rem; }

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.65rem;
}
.deck {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: var(--measure);
  margin-bottom: 0.85rem;
}
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--navy);
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
  line-height: 1.3;
}
.btn:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white) !important; }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-nav { padding: 0.5rem 0.95rem; font-size: 0.88rem; background: var(--teal); border-color: var(--teal); }
.btn-nav:hover { background: var(--teal-bright); border-color: var(--teal-bright); }
.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal) !important; background: var(--teal-soft); }

/* Solid buttons on frosted plates stay high-contrast */
.panel:not(.panel-light):not(.panel-tint):not(.panel-legal) .btn:not(.btn-ghost):not(.btn-secondary) {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--white);
}
.panel:not(.panel-light):not(.panel-tint):not(.panel-legal) .btn:not(.btn-ghost):not(.btn-secondary):hover {
  background: #e8eef4;
  border-color: #e8eef4;
  color: var(--navy) !important;
}


.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

/* Snap panels */
.snap {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.panel {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  color: var(--white);
  background: #0c2744;
}

.panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.panel-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* No full-bleed photo darkening — contrast lives on the text plate */
.panel-bg::after {
  content: none;
  display: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  width: calc(100% - 3rem);
  margin: 0 auto 1.5rem 1.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(16, 18, 24, 0.52);
  backdrop-filter: blur(4px) saturate(1.05);
  -webkit-backdrop-filter: blur(4px) saturate(1.05);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  align-self: flex-start;
}
.panel.snap > .panel-inner {
  margin-top: 0;
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
  align-self: flex-start;
}
.panel-inner-wide {
  max-width: 44rem;
}
.panel-inner-form {
  max-width: 48rem;
  width: calc(100% - 3rem);
}

.panel .kicker {
  color: #9fd4d4;
}
.panel h1,
.panel h2,
.panel h3 {
  color: var(--white);
}
.panel .deck,
.panel p {
  color: rgba(255, 255, 255, 0.92);
}
.panel .muted,
.panel .muted.small {
  color: rgba(255, 255, 255, 0.72);
}
.panel a { color: var(--white); }
.panel a:hover { color: #d4f0f0; }

.panel-hero {
  min-height: calc(100svh - var(--header-h));
  justify-content: flex-end;
  padding: 0;
}
.panel-hero h1 { max-width: 18ch; }

.hero-inner {
  /* inherits .panel-inner frosted plate */
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
}
.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 154, 154, 0.28);
  color: #d4f0f0;
  border: 1px solid rgba(159, 212, 212, 0.4);
}

.broker-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0.85rem 0 0.35rem;
}
.feature {
  padding: 0.7rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}
.feature h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.feature p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}
.panel-light .feature,
.panel-tint .feature {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.panel-light .feature h3,
.panel-tint .feature h3 { color: var(--ink); }
.panel-light .feature p,
.panel-tint .feature p { color: var(--muted); }

.service-list {
  margin: 0.65rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.service-list li {
  padding: 0.5rem 0 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.service-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-list h3 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.service-list p { margin: 0; font-size: 0.9rem; line-height: 1.4; }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.75rem;
  margin-top: 0.35rem;
}

/* Trust strip */
.trust-strip {
  background: var(--navy);
  color: #c9d7e8;
  padding: 1.5rem 0 1.75rem;
  scroll-snap-align: start;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0;
}
.t-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a93ad;
}
.t-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.trust-facts {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.trust-facts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.88rem;
  color: #a8bdd0;
}
.trust-facts li {
  position: relative;
  padding-left: 1rem;
}
.trust-facts li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--teal-bright);
  font-weight: 700;
}

/* Light / tint / legal panels (no photo plate) */
.panel-light,
.panel-tint,
.panel-legal {
  color: var(--ink);
  background: var(--white);
  justify-content: center;
  align-items: stretch;
}
.panel-light.snap,
.panel-tint.snap {
  min-height: calc(100svh - var(--header-h));
}
.panel-legal {
  min-height: auto;
}
.panel-tint { background: var(--paper); }
.panel-light .kicker,
.panel-tint .kicker,
.panel-legal .kicker { color: var(--teal); }
.panel-light h1, .panel-light h2, .panel-light h3,
.panel-tint h1, .panel-tint h2, .panel-tint h3,
.panel-legal h1, .panel-legal h2, .panel-legal h3 { color: var(--ink); }
.panel-light .deck, .panel-light p,
.panel-tint .deck, .panel-tint p,
.panel-legal .deck, .panel-legal p { color: var(--muted); }
.panel-light a, .panel-tint a, .panel-legal a { color: var(--navy-soft); }
.panel-light a:hover, .panel-tint a:hover, .panel-legal a:hover { color: var(--teal); }
/* Paper panels: solid navy/teal buttons (not photo-panel white) */
.panel-light .btn:not(.btn-ghost):not(.btn-secondary),
.panel-tint .btn:not(.btn-ghost):not(.btn-secondary),
.panel-legal .btn:not(.btn-ghost):not(.btn-secondary) {
  background: var(--navy);
  color: var(--white) !important;
  border-color: var(--navy);
}
.panel-light .btn:not(.btn-ghost):not(.btn-secondary):hover,
.panel-tint .btn:not(.btn-ghost):not(.btn-secondary):hover,
.panel-legal .btn:not(.btn-ghost):not(.btn-secondary):hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white) !important;
}
.panel-light .btn-ghost,
.panel-tint .btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--line);
}
.panel-light .btn-ghost:hover,
.panel-tint .btn-ghost:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal) !important;
}
.panel-light .broker-note,
.panel-tint .broker-note {
  color: var(--muted);
}

.section-pad { padding: 2.25rem 0 2.5rem; }
.section-pad-sm { padding: 2rem 0 2.25rem; }
.dealers-pad { padding: 2rem 0 2.25rem; }
.quote-pad { padding: 0.45rem 0 0.55rem; }
.faq-pad { padding: 2rem 0 2.25rem; }
.contact-pad { padding: 2rem 0 2.25rem; }

.card-grid {
  display: grid;
  gap: 1.15rem;
  margin: 1.5rem 0;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.bullet-list {
  margin: 0.85rem 0 0;
  max-width: 42rem;
}
.bullet-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  line-height: 1.4;
}
.bullet-list li:last-child { border-bottom: 0; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal-bright);
}
.bullet-list strong { color: var(--white); font-weight: 600; }
.panel-light .bullet-list li { color: var(--muted); border-bottom-color: var(--line); }
.panel-light .bullet-list strong { color: var(--ink); }
.panel-light .bullet-list li::before { background: var(--teal); }
.dealer-bullets {
  max-width: none;
}
@media (min-width: 900px) {
  .dealer-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
  }
  .dealer-bullets li { border-bottom: 0; padding-top: 0.35rem; padding-bottom: 0.35rem; }
}

/* Steps — compact 2×2 on photo plates */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}
.step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 0.7rem 0.75rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.step h3 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.step p { font-size: 0.85rem; line-height: 1.35; margin: 0; color: rgba(255, 255, 255, 0.88); }
@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Quote form — paper section, compressed for one viewport */
.panel-quote {
  background: var(--white);
  justify-content: center;
  align-items: stretch;
  min-height: calc(100svh - var(--header-h));
}
.panel-quote .quote-deck {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  max-width: 48rem;
  line-height: 1.35;
}
.panel-quote .quote-broker-note,
.panel-quote .broker-note {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.panel-quote h2 { margin-bottom: 0.25em; font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
.panel-quote .kicker { margin-bottom: 0.25rem; }
.form-card {
  max-width: 56rem;
  width: 100%;
  margin-top: 0;
  padding: 0.55rem 0.75rem 0.65rem;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.form-card p,
.form-card .deck { color: var(--muted); }
.form-card a { color: var(--navy-soft); }
.form-card a:hover { color: var(--teal); }
.quote-form fieldset {
  border: 0;
  margin: 0 0 0.4rem;
  padding: 0;
}
.quote-form legend {
  font-weight: 650;
  font-size: 0.78rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
  padding: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 0.55rem;
}
@media (min-width: 900px) {
  .quote-form .form-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .quote-form .field.full { grid-column: 1 / -1; }
}
.field.full { grid-column: 1 / -1; }
.field label,
.field .label-text {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.12rem;
}
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.72rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.25;
}
.field textarea { resize: vertical; min-height: 2rem; }
.field input.is-invalid,
.field select.is-invalid,
.radio-group.is-invalid .radio-option {
  border-color: var(--err);
}
.field-error {
  display: none;
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--err);
}
.field-error.is-visible { display: block; }

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.radio-option {
  display: block;
  cursor: pointer;
  margin: 0;
}
.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-face {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.radio-sub {
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--muted);
}
.radio-option input:checked + .radio-face {
  border-color: var(--teal);
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.radio-option input:focus-visible + .radio-face {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.form-actions { margin-top: 0.15rem; }
.form-actions .btn-lg { padding: 0.5rem 1rem; font-size: 0.88rem; }
.form-hint {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--muted);
}
.privacy-note {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--muted);
}

.alert {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}
.alert[hidden] { display: none !important; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #b7dfc8; }
.alert-err { background: var(--err-bg); color: var(--err); border: 1px solid #f0c4c8; }

/* FAQ */
.faq-list { margin-top: 0.75rem; max-width: 44rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 0.4rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0.65rem 2.5rem 0.65rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 500;
}
.faq-item.is-open .faq-q::after { content: "−"; }
.faq-a {
  padding: 0 0.9rem 0.75rem;
}
.faq-a p { font-size: 0.9rem; }

/* Contact */
.contact-list { margin: 0 0 0.75rem; }
.contact-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}
.contact-list .lbl {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}
.lang-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}
.panel-light .contact-list li,
.panel-tint .contact-list li {
  border-bottom-color: var(--line);
  color: var(--ink);
}
.panel-light .contact-list .lbl,
.panel-tint .contact-list .lbl { color: var(--muted); }
.panel-light .lang-note,
.panel-tint .lang-note { color: var(--muted); }

/* Legal */
.panel-legal {
  background: var(--paper-2);
  min-height: auto;
  scroll-snap-align: start;
}
.panel-legal h2 { font-size: 1.25rem; }
.panel-legal p { font-size: 0.92rem; max-width: 46rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #a8bdd0;
  padding: 2.5rem 0 3rem;
  font-size: 0.9rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 0.5rem;
  filter: brightness(1.05);
}
.footer-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}
.footer-meta { margin: 0.35rem 0 0; color: #8aa0b5; font-size: 0.88rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}
.footer-links a {
  color: #c9d7e8;
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { color: var(--teal-bright); }
.disclaimer {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #7a93ad;
  max-width: 52rem;
}
.footer-photo-note {
  margin: 0;
  font-size: 0.78rem;
  color: #5f758a;
}
.footer-photo-note a { color: #9fd4d4; }

/* Mobile sticky call */
.mobile-call {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  box-shadow: var(--shadow-md);
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav a {
    display: block;
    padding: 0.7rem 0.35rem;
    border-bottom: 1px solid var(--line);
  }
  .btn-nav { text-align: center; margin-top: 0.35rem; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.three,
  .card-grid.two,
  .steps,
  .form-grid,
  .radio-group { grid-template-columns: 1fr; }

  .contact-list li { grid-template-columns: 1fr; gap: 0.15rem; }
  .mobile-call { display: inline-flex; }

  .panel {
    min-height: 100svh;
  }
  .panel-light:not(.snap),
  .panel-tint:not(.snap),
  .panel-legal {
    min-height: auto;
  }
  /* Short phones: allow overflow rather than cutting required fields */
  .panel-light.snap,
  .panel-tint.snap {
    min-height: calc(100svh - var(--header-h));
    overflow: auto;
  }
  .quote-pad { padding: 1rem 0 1.25rem; }
  .form-card { padding: 0.75rem 0.85rem 0.9rem; }
  .panel-inner,
  .panel.snap > .panel-inner,
  .panel-inner-wide,
  .panel-inner-form {
    width: calc(100% - 2rem);
    max-width: none;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    align-self: flex-start;
  }
  .panel-hero { min-height: calc(100svh - var(--header-h)); }
  html { scroll-snap-type: none; }
}
@media (max-width: 420px) {
  .trust-grid { grid-template-columns: 1fr; }
}

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


/* Compact one-viewport helpers */
.panel-light.snap > .wrap > h2 { margin-bottom: 0.4em; }
.panel-light.snap > .wrap > .kicker { margin-bottom: 0.4rem; }
#how .deck { margin-bottom: 0.55rem; }
#services .deck { margin-bottom: 0.55rem; }

.quote-broker-inline { color: var(--muted); font-size: 0.85em; }
.form-hint .privacy-note { display: inline; margin: 0; font-size: inherit; }
@media (max-height: 820px) {
  .panel-quote .radio-sub { display: none; }
}
