/* ==========================================================================
   Metal Buildings of Springdale AR
   Self-contained stylesheet. No external fonts or assets, so it works under the
   site's strict Content-Security-Policy.

   Palette: cool slate neutrals with a deep steel blue and a saturated ember
   accent. Every text/background pair below meets WCAG AA at its rendered size;
   the ratios are noted where they are close.
   ========================================================================== */

:root {
  /* Ink scale */
  --ink-900:  #0b1220;
  --ink-800:  #111c2e;
  --ink-700:  #1b2c42;
  --ink:      #14243a;

  /* Text */
  --body:     #3e5468;   /* 7.86:1 on white */
  --muted:    #5a6e80;   /* 5.52:1 on white */

  /* Surfaces and lines */
  --white:      #ffffff;
  --surface:    #f8fafc;
  --surface-2:  #f1f5f9;
  --surface-3:  #e9eff6;
  --line:       #e2e8f0;
  --line-strong:#cbd8e6;

  /* Steel blue */
  --brand:      #0f6fa8;   /* 5.44:1 on white */
  --brand-deep: #0b5480;
  --brand-tint: #e8f3fa;

  /* Ember accent */
  --accent:      #c2410c;  /* 5.18:1 with white text */
  --accent-dark: #9a3412;  /* 7.31:1 with white text */
  --accent-bright:#ea580c; /* decorative only, never behind small text */
  --accent-tint: #fff2ea;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, .05);
  --shadow-sm: 0 2px 10px rgba(11, 18, 32, .06);
  --shadow:    0 14px 36px rgba(11, 18, 32, .10);
  --shadow-lg: 0 30px 70px rgba(11, 18, 32, .16);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;

  --max: 1180px;
  --gutter: clamp(18px, 4vw, 36px);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.12;
  letter-spacing: -.024em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -.034em; }
h2 { font-size: clamp(27px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong { color: var(--ink-900); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink-900); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius-xs) 0; z-index: 999; font-weight: 700;
}
.skip:focus { left: 0; top: 0; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Icons
   -------------------------------------------------------------------------- */

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 26px; height: 26px; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand-deep);
  margin-bottom: 16px;
}
.icon-badge.ember { background: var(--accent-tint); color: var(--accent-dark); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 13px 24px;
  border: 0; border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 17px; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 20px rgba(194, 65, 12, .24);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }

.btn-secondary { background: var(--ink-900); color: #fff; }
.btn-secondary:hover { background: var(--ink-700); color: #fff; }

.btn-ghost { background: #fff; color: var(--ink-900); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink-900); }

.btn-onDark { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-onDark:hover { background: rgba(255,255,255,.2); color: #fff; }

.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link .icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .16s ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 13px; box-shadow: var(--shadow-xs); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 19px; font-weight: 800; color: var(--ink-900); letter-spacing: -.032em; }
.brand-text small {
  font-size: 10.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand); margin-top: 3px;
}

.navlinks { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navlinks > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-700);
  text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer;
  white-space: nowrap; transition: background-color .14s ease, color .14s ease;
}
.navlinks > a:hover, .sub-toggle:hover { background: var(--surface-2); color: var(--ink-900); }
.navlinks a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-tint); }

/* Keep the quote CTA explicit and isolated from generic navigation link rules.
   !important is intentional here because a stale or host-injected navigation rule must
   never return this button to transparent/white-on-white in its resting state. */
.navlinks a.nav-cta {
  margin-left: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  background-color: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(194, 65, 12, .24);
}
.navlinks a.nav-cta:hover,
.navlinks a.nav-cta:focus-visible {
  background: var(--accent-dark);
  background-color: var(--accent-dark) !important;
  color: #fff !important;
}

.has-sub { position: relative; }
.sub-toggle .icon { width: 15px; height: 15px; stroke-width: 2.2; opacity: .6; }
.subnav {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; gap: 2px;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav,
.has-sub.open .subnav { display: flex; }
.subnav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-700); text-decoration: none;
}
.subnav a .icon { width: 18px; height: 18px; color: var(--brand); }
.subnav a:hover { background: var(--surface-2); color: var(--ink-900); }

.menu-btn {
  display: none; margin-left: auto; width: 46px; height: 46px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after  { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after  { transform: translateY(-6px) rotate(-45deg); }

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

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 60% at 82% -10%, rgba(15, 111, 168, .14) 0%, rgba(15, 111, 168, 0) 70%),
    radial-gradient(55% 55% at 6% 4%, rgba(194, 65, 12, .07) 0%, rgba(194, 65, 12, 0) 68%),
    linear-gradient(180deg, var(--surface) 0%, #ffffff 72%);
  padding: clamp(38px, 6vw, 70px) 0 clamp(42px, 6vw, 74px);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 54px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-tint); border: 1px solid rgba(15, 111, 168, .18);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .icon { width: 15px; height: 15px; stroke-width: 2; }

.hero h1 { margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--body); max-width: 62ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }

.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin-top: 24px; list-style: none; padding: 0; }
.hero-points li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; font-weight: 600; color: var(--ink-700); margin: 0;
}
.hero-points .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--accent); stroke-width: 2.2; }

.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--surface-2);
  aspect-ratio: 1200 / 742;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 16px;
  background: linear-gradient(transparent, rgba(11, 18, 32, .86));
  color: #fff; font-size: 12.5px; font-weight: 600;
}

/* --------------------------------------------------------------------------
   Assurance strip
   -------------------------------------------------------------------------- */

.trustbar {
  background: linear-gradient(120deg, var(--ink-900) 0%, #132b47 100%);
  color: #cfe0ee;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.trust-item:last-child { border-right: 0; }
.trust-item .icon { width: 24px; height: 24px; color: var(--accent-bright); margin-top: 2px; }
.trust-item strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.trust-item span { font-size: 13.5px; color: #9db6cc; line-height: 1.45; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.tight { padding-block: clamp(34px, 5vw, 56px); }

.section-head { max-width: 780px; margin-bottom: clamp(26px, 3vw, 42px); }
.section-intro { font-size: 17.5px; color: var(--muted); margin: 0; }

.content { max-width: 78ch; }
.content h2 { margin-top: 2em; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.6em; }
.content ul { padding-left: 1.15em; }

/* Cards ------------------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-media { position: relative; background: var(--surface-2); }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(175deg, rgba(11, 18, 32, 0) 58%, rgba(11, 18, 32, .22));
  pointer-events: none;
}
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.card-body .text-link { margin-top: auto; }

/* Split ------------------------------------------------------------------- */

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 50px); align-items: center; }
.split-media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  aspect-ratio: 247 / 154; object-fit: cover;
}

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.feature { display: flex; gap: 13px; align-items: flex-start; }
.feature .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.feature strong { display: block; margin-bottom: 3px; font-size: 15.5px; }
.feature span { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: block; }

/* Local information box --------------------------------------------------- */

.local-box {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; margin: 28px 0;
  box-shadow: var(--shadow-xs);
}
.local-box h3 { margin-top: 0; margin-bottom: 12px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.local-box h3 .icon { width: 21px; height: 21px; color: var(--brand); }
.local-box p:last-child, .local-box ul:last-child { margin-bottom: 0; }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent-tint); border: 1px solid #f6d4bd; border-radius: var(--radius);
  padding: 18px 22px; margin: 26px 0; color: #7a3a15;
}
.notice .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.notice strong { color: #6b3010; }

.disclosure { font-size: 13.5px; color: var(--muted); margin-top: 20px; }

/* Checklists -------------------------------------------------------------- */

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 11px; margin: 0; font-size: 15.5px; align-items: flex-start; }
.checklist .icon { width: 19px; height: 19px; margin-top: 3px; color: var(--brand); stroke-width: 2.2; }

/* Process steps ----------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; counter-increment: step; box-shadow: var(--shadow-xs);
  position: relative;
}
.step .step-no {
  position: absolute; top: 22px; right: 24px;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--line-strong);
}
.step h3 { font-size: 17.5px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Specification table ----------------------------------------------------- */

.table-scroll { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; }
table.spec th, table.spec td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { background: var(--surface-2); color: var(--ink-900); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec td:first-child { font-weight: 650; color: var(--ink-900); }

/* FAQ --------------------------------------------------------------------- */

.faq-block { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2px 24px; box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 0; cursor: pointer; font-weight: 700; color: var(--ink-900); font-size: 16.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: 6px;
  width: 11px; height: 11px;
  border-right: 2.2px solid var(--brand); border-bottom: 2.2px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.faq-answer { padding: 0 0 22px 34px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Quote band -------------------------------------------------------------- */

.quote-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 130% at 12% 0%, rgba(15, 111, 168, .45) 0%, rgba(15, 111, 168, 0) 62%),
    radial-gradient(60% 120% at 92% 100%, rgba(194, 65, 12, .3) 0%, rgba(194, 65, 12, 0) 60%),
    linear-gradient(115deg, var(--ink-900) 0%, #14304d 100%);
  color: #fff; padding: clamp(42px, 5vw, 66px) 0;
}
.quote-band-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.quote-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(25px, 3vw, 34px); }
.quote-band p { color: #bed4e6; margin: 0; max-width: 60ch; }

/* Related ----------------------------------------------------------------- */

.related { background: var(--surface); border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card {
  display: flex; flex-direction: column; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.related-card .icon { width: 24px; height: 24px; color: var(--brand); margin-bottom: 4px; }
.related-card strong { color: var(--ink-900); font-size: 16px; }
.related-card span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Page hero and breadcrumbs
   -------------------------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(15, 111, 168, .1) 0%, rgba(15, 111, 168, 0) 70%),
    linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 clamp(34px, 5vw, 58px);
}
.page-hero h1 { margin: 14px 0; }
.page-hero > .wrap > p { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--body); max-width: 68ch; }
.page-hero .hero-actions { margin-bottom: 0; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
}
.page-hero-copy > p:not(.eyebrow) {
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--body);
  max-width: 68ch;
}
.page-hero-media {
  margin: 8px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.page-hero-media figcaption {
  padding: 10px 14px 11px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  background: #fff;
}

.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-dark); text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; opacity: .45; }
.breadcrumbs [aria-current="page"] { color: var(--ink-900); font-weight: 650; }

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

.form-section { padding: clamp(48px, 7vw, 88px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 46px); align-items: start; }

.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg);
}
.quote-card > h2, .quote-card > h3 { margin-top: 0; }

.form-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 13px 14px;
  color: var(--ink-900); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .14s ease, box-shadow .14s ease;
}
.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 111, 168, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #93a7b8; }
textarea { min-height: 130px; resize: vertical; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
}
.consent input[type="checkbox"] {
  flex: none; width: 19px; height: 19px; min-width: 19px; margin: 2px 0 0;
  accent-color: var(--accent);
}

.hidden-trap {
  position: absolute !important; left: -10000px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}

.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.alert { display: flex; gap: 12px; border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 18px; font-size: 15px; }
.alert .icon { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.alert.error { background: #fef2f2; color: #8a1c1c; border: 1px solid #f3c0c0; }
.alert.error:focus { outline: 3px solid rgba(138, 28, 28, .3); outline-offset: 2px; }

/* Two-step progressive enhancement.
   Without JavaScript no [data-step] attribute is ever set, so every field stays
   visible and the form submits in one pass exactly as before. */
.form-steps { display: none; gap: 10px; margin: 0 0 22px; padding: 0; }
.js .form-steps { display: flex; }
.form-steps li {
  flex: 1; margin: 0; list-style: none; font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  padding-top: 11px; border-top: 3px solid var(--line);
  transition: color .2s ease, border-color .2s ease;
}
.form-steps li[aria-current="step"] { color: var(--accent-dark); border-top-color: var(--accent); }

.step-nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.quote-form[data-step="1"] .step-2,
.quote-form[data-step="2"] .step-1 { display: none; }
.quote-form[data-step="1"] .submit-row { display: none; }
.quote-form:not([data-step]) .step-next,
.quote-form[data-step="2"] .step-next { display: none; }
.quote-form:not([data-step]) .step-back,
.quote-form[data-step="1"] .step-back { display: none; }

/* --------------------------------------------------------------------------
   Thank-you and error pages
   -------------------------------------------------------------------------- */

.success {
  max-width: 720px; margin: clamp(48px, 8vw, 88px) auto;
  padding: clamp(28px, 4vw, 46px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); text-align: center;
}
.success h1 { font-size: clamp(30px, 4vw, 42px); }
.success .success-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 20px;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-deep);
}
.success .success-icon .icon { width: 32px; height: 32px; stroke-width: 2; }
.success .next-steps { text-align: left; margin: 28px 0; }

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

.site-footer { background: var(--ink-900); color: #b9cddd; padding: clamp(44px, 6vw, 68px) 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; }
.site-footer h3 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { font-size: 14.5px; color: #9db4c7; }
.site-footer a { color: #cbdcea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand-footer { margin-bottom: 18px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #7fa3bf; }
.footer-response { font-size: 14px; color: #87a6bd; }
.footer-brand .btn-primary { color: #fff; margin-top: 8px; }

.footer-links, .footer-areas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links li, .footer-areas li { margin: 0; font-size: 14.5px; }
.footer-areas li { color: #9db4c7; }

.footer-contact { display: grid; gap: 10px; margin-top: 18px; font-size: 14.5px; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: #7fa3bf; margin-top: 3px; }

.fine {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; color: #7d97ac;
}

/* --------------------------------------------------------------------------
   Sticky mobile call to action
   -------------------------------------------------------------------------- */

.mobile-cta { display: none; }

@media (max-width: 760px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .95);
    border-top: 1px solid var(--line);
    backdrop-filter: saturate(180%) blur(12px);
  }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 78px; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .navlinks { display: none; }
  .menu-btn { display: inline-flex; }
  .navlinks.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 14px var(--gutter) 22px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .navlinks.open > a, .navlinks.open .sub-toggle { padding: 12px; font-size: 16px; width: 100%; justify-content: flex-start; }
  .navlinks.open .has-sub { width: 100%; }
  .navlinks.open .subnav {
    position: static; display: flex; box-shadow: none; border: 0;
    border-left: 2px solid var(--line); border-radius: 0;
    margin: 2px 0 6px 12px; padding: 0 0 0 8px; min-width: 0;
  }
  .navlinks.open .sub-toggle { display: none; }
  .navlinks a.nav-cta { margin: 10px 0 0; justify-content: center; }
}

@media (max-width: 940px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 760px; }
  .hero-grid, .split, .form-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 3 / 2; }
  .cards, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .quote-band-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid2 { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .cards, .related-grid, .steps, .features, .footer-grid, .hero-points { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .trust-item:last-child { border-bottom: 0; }
  .hero-actions .btn, .quote-band .btn { width: 100%; }
  .fine { flex-direction: column; gap: 8px; }
  .local-box { padding: 20px; }
  .faq details { padding-inline: 18px; }
  .faq-answer { padding-left: 0; }
}

/* --------------------------------------------------------------------------
   Motion and print
   -------------------------------------------------------------------------- */

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

@media print {
  .site-header, .mobile-cta, .quote-band, .related, .form-section { display: none !important; }
  body { color: #000; font-size: 12pt; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* --------------------------------------------------------------------------
   Vertical process list
   Used beside the quote form, where three card columns would be far too narrow.
   -------------------------------------------------------------------------- */

.process-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.process-list li {
  display: flex; gap: 16px; align-items: flex-start;
  margin: 0; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: process;
}
.process-list li:last-child { border-bottom: 0; }
.process-list { counter-reset: process; }
.process-mark {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand-deep);
}
.process-mark .icon { width: 21px; height: 21px; }
.process-mark::after {
  content: counter(process);
  position: absolute; top: -5px; right: -5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 20px; text-align: center;
}
.process-list strong { display: block; color: var(--ink-900); font-size: 16.5px; margin-bottom: 3px; }
.process-list span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Cookie consent
   Compact, non-blocking bottom controls. The explicit [hidden] rules are
   intentional: they prevent component display rules from overriding HTML's
   hidden state and accidentally leaving a full-screen layer over the page.
   -------------------------------------------------------------------------- */

.linklike {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer;
}
.linklike:hover { color: #fff; }

.cookie-bar[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 90;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 24px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(11, 18, 32, .18);
  padding: 12px 44px 12px 14px;
}
.cookie-dismiss {
  position: absolute;
  top: 7px;
  right: 9px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.cookie-dismiss:hover,
.cookie-dismiss:focus-visible {
  background: var(--surface-2);
  color: var(--ink-900);
}

.cookie-bar-inner {
  width: 100%;
  margin: 0;
  display: flex;
  gap: 12px 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-copy { flex: 1 1 360px; min-width: 0; }
.cookie-copy h2 {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; line-height: 1.25; margin: 0 0 3px;
}
.cookie-copy h2 .icon { width: 17px; height: 17px; color: var(--brand); }
.cookie-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 72ch;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-bar .cookie-actions { flex: 0 0 auto; }
.cookie-actions .linklike { color: var(--brand-deep); font-size: 12.5px; }
.cookie-actions .linklike:hover { color: var(--accent-dark); }
.cookie-bar .btn,
.cookie-modal .btn {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12.5px;
  border-radius: 9px;
}

/* Settings is a small bottom card, not a page-blocking overlay. The wrapper
   does not intercept clicks, so visitors can still use the page. */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 100;
  transform: translateX(-50%);
  width: min(600px, calc(100% - 24px));
  pointer-events: none;
}
.cookie-modal-panel {
  width: 100%;
  max-height: min(72vh, 620px);
  overflow-y: auto;
  pointer-events: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 36px rgba(11, 18, 32, .2);
}
.cookie-modal-panel h2 { font-size: 18px; margin: 0 0 12px; }
.cookie-option {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 10px;
}
.cookie-option-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.cookie-option-head strong { font-size: 14px; }
.cookie-option p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.cookie-locked {
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-tint);
  padding: 4px 8px; border-radius: 999px;
}
.cookie-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cookie-switch input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0; }
.cookie-switch span { font-weight: 700; color: var(--ink-900); font-size: 14px; }
.cookie-note { font-size: 12px; line-height: 1.4; color: var(--muted); margin: 12px 0 14px; }
.cookie-modal .cookie-actions { justify-content: flex-end; }

/* Keep the sticky mobile call to action clear of the consent controls. */
body.cookie-open .mobile-cta { display: none; }

@media (max-width: 720px) {
  .cookie-bar,
  .cookie-modal {
    width: calc(100% - 16px);
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .cookie-bar { padding: 10px 40px 10px 11px; }
  .cookie-bar-inner { gap: 9px; }
  .cookie-copy { flex-basis: 100%; }
  .cookie-copy p { font-size: 12px; }
  .cookie-bar .cookie-actions { width: 100%; gap: 6px; }
  .cookie-bar .cookie-actions .btn { flex: 1 1 118px; }
  .cookie-bar .cookie-actions .linklike { flex: 0 0 auto; margin-left: 2px; }
  .cookie-modal-panel { padding: 13px; max-height: 70vh; }
}
