/* Flagstaff Commercial Roof Repair: site styles. Signature H34-S29-P10-B1-R7-F8-M28-C7-I7-E6. */
@font-face { font-family: "Aleo"; src: url("/assets/fonts/aleo-var.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/assets/fonts/overpass-var.woff") format("woff"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --brand: #46627A;        /* steel lead (shade of supplied #5A7891) */
  --brand-deep: #3B5468;
  --navy: #2B4257;         /* supplied primary: headings, links */
  --ink: #141F29;          /* supplied dark neutral */
  --gold: #E6B54A;         /* supplied accent: CTA, stripes, rules */
  --gold-hover: #F0C766;
  --page: #FFFFFF;
  --alt: #F2F5F8;          /* supplied light neutral */
  --tint: #E6EDF3;
  --gold-tint: #FBF3DF;
  --text: #141F29;
  --muted: #4D5E6E;
  --border: #7A8C9C;
  --hair: #D5DEE6;
  --focus-light: #2B4257;
  --focus-dark: #E6B54A;
  --radius: 10px;
  --head: "Aleo", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Overpass", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; font-family: var(--body); font-size: 17.5px; line-height: 1.62; color: var(--text); background: var(--page); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 750; overflow-wrap: normal; word-break: normal; hyphens: manual; }
h1 { font-size: clamp(31px, 4.2vw, 50px); font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 37px); }
h3 { font-size: clamp(19.5px, 1.7vw, 22.5px); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute !important; 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: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 6px; }
.skip:focus { top: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px; font-family: var(--body); font-weight: 750; font-size: 16.5px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); color: var(--ink); }
.on-dark .btn-primary { border-color: var(--gold); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.on-dark .btn-secondary { color: #fff; border-color: #fff; }
.on-dark .btn-secondary:hover { background: #fff; color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }
.btn-single { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 640px) {
  .btn-pair { flex-direction: column; align-items: stretch; }
  .btn-pair .btn { width: 100%; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--hair); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 84px; width: min(1320px, 100% - 32px); margin-inline: auto; }
.brand-link { display: block; flex: none; }
.brand-link img { height: 60px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; list-style: none; gap: 2px; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a { padding: 10px 9px; font-weight: 650; text-decoration: none; color: var(--ink); font-size: 16px; white-space: nowrap; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { color: var(--brand); text-decoration: underline; }
.dd-toggle { background: none; border: 0; padding: 8px 4px; margin-left: -6px; cursor: pointer; color: var(--ink); min-width: 28px; min-height: 40px; }
.dd-toggle svg { width: 14px; height: 14px; transition: transform .15s ease; }
.dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--hair); border-top: 3px solid var(--gold); border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(20,31,41,.14); padding: 8px; list-style: none; display: none; }
.dd.open { display: block; }
.dd a { display: block; padding: 9px 12px; text-decoration: none; color: var(--ink); border-radius: 6px; font-weight: 550; }
.dd a:hover, .dd a:focus-visible { background: var(--alt); }
.nav-cta { display: flex; gap: 10px; margin-left: 12px; }
.nav-cta .btn { min-height: 44px; padding: 9px 16px; font-size: 15.5px; }
.burger { display: none; margin-left: auto; background: none; border: 2px solid var(--navy); border-radius: 8px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.burger svg { width: 24px; height: 24px; }
.mobile-panel { display: none; }
@media (max-width: 1239px) {
  .main-nav, .nav-cta { display: none; }
  .burger { display: inline-flex; margin-right: 0; }
  .head-in { min-height: 72px; width: calc(100% - 32px); }
  .brand-link img { height: 50px; }
  .mobile-panel { position: fixed; inset: 72px 0 0 0; background: #fff; overflow-y: auto; padding: 14px 18px 40px; z-index: 70; border-top: 1px solid var(--hair); }
  .mobile-panel.open { display: block; }
  .mobile-panel ul { list-style: none; }
  .mobile-panel > ul > li { border-bottom: 1px solid var(--hair); }
  .m-row { display: flex; align-items: center; justify-content: space-between; }
  .m-row a { flex: 1; display: block; padding: 14px 4px; font-weight: 700; text-decoration: none; color: var(--ink); font-size: 18px; }
  .m-sub-toggle { background: none; border: 0; width: 48px; height: 48px; color: var(--navy); cursor: pointer; }
  .m-sub-toggle svg { width: 18px; height: 18px; transition: transform .15s; }
  .m-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .m-sub { display: none; padding: 0 0 10px 12px; }
  .m-sub.open { display: block; }
  .m-sub a { display: block; padding: 10px 4px; text-decoration: none; color: var(--navy); font-weight: 600; }
  .m-cta { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .m-cta .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
}

/* Breadcrumb */
.crumbs { font-size: 14.5px; margin-bottom: 14px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.on-dark .crumbs a { color: #DCE6EE; }
.on-dark .crumbs { color: #DCE6EE; }

/* Sections */
.sec { padding: 76px 0; }
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-brand { background: var(--brand); color: #fff; }
.bg-ink { background: var(--ink); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.on-dark .sec-head p { color: #E6EDF3; }
@media (max-width: 760px) { .sec { padding: 50px 0; } .sec-head { margin-bottom: 28px; } }

/* H34 plan-sheet hero */
.hero-band { position: relative; background-color: var(--brand); color: #fff; padding: 46px 0 62px; text-align: center;
  background-image: linear-gradient(rgba(255,255,255,.085) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.085) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center top; }
.hero-band .wrap { max-width: 900px; position: relative; z-index: 1; }
.hero-band h1 { color: #fff; margin-bottom: 14px; }
.hero-band .intro { font-size: 19px; color: #F2F5F8; max-width: 680px; margin: 0 auto; }
.chip { display: inline-block; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 750; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--gold); margin-bottom: 14px; }
.ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; color: var(--gold);
  background-image: linear-gradient(90deg, currentColor 2px, transparent 2px), linear-gradient(90deg, currentColor 2px, transparent 2px);
  background-size: 60px 16px, 12px 8px; background-repeat: repeat-x; background-position: 0 bottom, 0 bottom; border-bottom: 3px solid var(--gold); }
.north { position: absolute; right: 28px; top: 22px; width: 46px; height: 62px; color: var(--gold); }
.hero-photo { background: var(--ink); }
.hero-photo img { width: 100%; height: clamp(240px, 37.5vw, 540px); object-fit: cover; }
@media (max-width: 900px) { .north { display: none; } .hero-band { background-size: 16px 16px; padding: 34px 0 52px; } .ruler { background-size: 40px 14px, 8px 7px; height: 14px; } .hero-photo img { height: auto; aspect-ratio: 16/9; } }

/* Fact strip */
.facts { padding: 26px 0; background: var(--alt); border-bottom: 1px solid var(--hair); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts li { display: flex; gap: 12px; align-items: center; }
.facts .icon { width: 38px; height: 38px; flex: none; }
.facts .lab { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.facts .val { display: block; font-weight: 750; color: var(--ink); line-height: 1.3; }
@media (max-width: 900px) { .facts ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts ul { grid-template-columns: 1fr; } }

/* Icons (I7 split stroke) */
svg.icon { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.icon .hl { stroke: var(--brand); }
.on-dark svg.icon { stroke: #D9E2EA; }
.on-dark svg.icon .hl { stroke: var(--gold); }

/* R7 zone columns */
.zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 4px solid var(--navy); }
.zone { padding: 22px 18px 6px; border-right: 1px solid var(--hair); position: relative; }
.zone:last-child { border-right: 0; }
.zone::before { content: ""; position: absolute; top: -10px; left: 18px; width: 16px; height: 16px; background: var(--gold); border: 3px solid var(--navy); border-radius: 50%; }
.zone .icon { width: 36px; height: 36px; margin: 6px 0 10px; }
.zone h3 { font-size: 19.5px; }
.zone p { font-size: 16.5px; margin: 0; }
@media (max-width: 1080px) { .zones { grid-template-columns: repeat(6, 1fr); row-gap: 26px; } .zone { grid-column: span 2; border-right: 0; } .zone:nth-child(4) { grid-column: 2 / span 2; } .zone:nth-child(5) { grid-column: 4 / span 2; } }
@media (max-width: 640px) { .zones { grid-template-columns: 1fr; border-top: 0; } .zone, .zone:nth-child(4), .zone:nth-child(5) { grid-column: auto; background: #fff; border: 1px solid var(--hair); border-top: 4px solid var(--navy); border-radius: 8px; padding: 22px 18px; } .bg-page .zone { background: var(--alt); } }

/* S29 season-split cards */
.s-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.s-card { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bg-page .s-card { background: var(--alt); }
.s-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.s-body { padding: 22px 22px 0; flex: 1; }
.s-body h3 { margin-bottom: 8px; }
.season { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); background: var(--tint); }
.bg-page .season { background: var(--tint); }
.season div { padding: 14px 16px; }
.season div + div { border-left: 1px solid var(--hair); }
.season .lab { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); margin-bottom: 4px; }
.season .icon { width: 22px; height: 22px; }
.season p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.s-link { display: block; padding: 14px 22px 18px; font-weight: 750; }
@media (max-width: 760px) { .s-cards { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .season { grid-template-columns: 1fr; } .season div + div { border-left: 0; border-top: 1px solid var(--hair); } }

/* C7 safety-stripe band */
.band { position: relative; background: var(--brand); color: #fff; text-align: center; padding: 64px 0; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--ink) 14px 28px); }
.band::before { top: 0; } .band::after { bottom: 0; }
.band .icon { width: 46px; height: 46px; margin: 0 auto 12px; }
.band h2 { color: #fff; }
.band p { max-width: 640px; margin: 0 auto; color: #F2F5F8; font-size: 18px; }

/* P10 swimlane */
.lane-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.lane-photos img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.lanes { position: relative; display: grid; grid-template-columns: 150px repeat(var(--steps, 5), 1fr); grid-template-rows: auto auto; gap: 16px 14px; }
.lane-label { grid-column: 1; display: flex; align-items: center; font-family: var(--head); font-weight: 750; color: var(--navy); border-right: 3px solid var(--gold); padding-right: 12px; font-size: 17px; }
.lane-label.r1 { grid-row: 1; } .lane-label.r2 { grid-row: 2; }
.lane-bg { grid-column: 2 / -1; border-radius: 10px; }
.lane-bg.r1 { grid-row: 1; background: rgba(70,98,122,.07); } .lane-bg.r2 { grid-row: 2; background: rgba(230,181,74,.13); }
.step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--hair); border-top: 4px solid var(--navy); border-radius: 8px; padding: 16px 14px 12px; margin: 10px 4px; }
.step .num { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 8px; font-family: var(--head); }
.step h3 { font-size: 18.5px; margin-bottom: 6px; }
.step p { font-size: 15.5px; margin: 0; line-height: 1.55; }
.lane-chip { display: none; }
.lane-line { position: absolute; z-index: 0; pointer-events: none; }
@media (max-width: 1080px) {
  .lanes { grid-template-columns: 1fr; gap: 14px; }
  .lane-label, .lane-bg, .lane-line { display: none; }
  .step { grid-column: auto !important; grid-row: auto !important; margin: 0; }
  .lane-chip { display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
  .lane-chip.r1 { background: var(--tint); color: var(--navy); } .lane-chip.r2 { background: var(--gold-tint); color: var(--ink); border: 1px solid var(--gold); }
  .lane-photos { grid-template-columns: 1fr; }
}

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px 24px; }
.bg-page .col { background: var(--alt); }
.col h3 { display: flex; align-items: center; gap: 10px; }
.col h3 .icon { width: 30px; height: 30px; }
.col.go { border-top: 5px solid var(--brand); }
.col.stop { border-top: 5px solid var(--gold); }
.col li { list-style: none; display: flex; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--hair); }
.col li:first-child { border-top: 0; }
.col li .icon { width: 20px; height: 20px; margin-top: 4px; flex: none; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* B1 check cards */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.check { display: flex; gap: 16px; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px; }
.bg-page .check { background: var(--alt); }
.badge { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-tint); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.badge .icon { width: 24px; height: 24px; }
.check h3 { margin-bottom: 6px; }
.check p { margin: 0; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* Table */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--hair); background: #fff; }
table.opts { width: 100%; border-collapse: collapse; font-size: 16.5px; }
table.opts th, table.opts td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--hair); }
table.opts thead th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; border-top: 0; }
table.opts tbody th { font-family: var(--head); color: var(--navy); width: 24%; }
table.opts td .icon { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 760px) {
  table.opts thead { display: none; }
  table.opts, table.opts tbody, table.opts tr, table.opts th, table.opts td { display: block; width: 100%; }
  table.opts tr { border-top: 4px solid var(--navy); padding: 6px 0; }
  table.opts tbody th { border-top: 0; padding-bottom: 4px; }
  table.opts td { border-top: 0; padding-top: 4px; }
  table.opts td::before { content: attr(data-label) ": "; font-weight: 800; color: var(--navy); }
}

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.split ul { margin-top: 10px; }
.split li { list-style: none; display: flex; gap: 10px; padding: 6px 0; }
.split li .icon { width: 22px; height: 22px; flex: none; margin-top: 3px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* svc-cards and cards */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(var(--n, 3), 1fr); }
.card { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bg-page .card { background: var(--alt); }
.card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card .c-body { padding: 20px 22px; flex: 1; }
.card .c-body .icon { width: 34px; height: 34px; margin-bottom: 8px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0 0 10px; }
.card .more { font-weight: 750; }
.card .tag { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); background: var(--tint); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards.n3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; max-width: 980px; margin: 0 auto; }
.checklist li { list-style: none; display: flex; gap: 12px; background: #fff; border: 1px solid var(--hair); border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 16px; }
.checklist li .icon { width: 24px; height: 24px; flex: none; }
.checklist.solo { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* M28 map */
.map-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.map-fig { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 12px; margin: 0; }
.map-fig svg { width: 100%; height: auto; display: block; }
.map-grid .map-fig { position: sticky; top: 104px; }
.town-groups h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.town-groups .grp:first-child h3 { margin-top: 0; }
.shield { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; padding: 3px 8px; border-radius: 6px; background: var(--navy); color: #fff; font-family: var(--body); font-size: 13.5px; font-weight: 800; }
.town-groups .grp { border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 18px; }
.town-groups li { list-style: none; display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hair); }
.town-groups .n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.town-groups p { margin: 0; font-size: 16px; }
.town-groups .office { display: block; font-size: 13.5px; color: var(--muted); font-weight: 650; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } .map-grid .map-fig { position: static; } }

/* Links grid with inset */
.near { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.near .map-fig { padding: 8px; }
.near-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.near-list li { list-style: none; background: #fff; border: 1px solid var(--hair); border-radius: 8px; padding: 16px 18px; display: flex; gap: 12px; }
.bg-page .near-list li { background: var(--alt); }
.near-list li .icon { width: 26px; height: 26px; flex: none; }
.near-list a { font-weight: 800; font-family: var(--head); font-size: 18px; }
.near-list p { margin: 4px 0 0; font-size: 15.5px; }
@media (max-width: 900px) { .near { grid-template-columns: 1fr; } .near .map-fig { max-width: 340px; margin: 0 auto; } }
@media (max-width: 640px) { .near-list { grid-template-columns: 1fr; } }

/* F8 FAQ */
.q-index { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 30px; max-width: 980px; }
.q-index a { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 650; background: #fff; color: var(--navy); }
.q-index a:hover { background: var(--navy); color: #fff; }
.answers { max-width: 820px; margin: 0 auto; }
.answer { border-left: 4px solid var(--gold); background: #fff; padding: 18px 22px; border-radius: 0 8px 8px 0; margin-bottom: 16px; scroll-margin-top: 110px; }
.bg-page .answer { background: var(--alt); }
.answer h3 { font-size: 20px; }
.answer p:last-child, .answer ul:last-child { margin-bottom: 0; }
.answer ul { padding-left: 0; margin: 0 0 1em; }
.answer li { list-style: none; padding: 4px 0 4px 22px; position: relative; }
.answer li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; background: var(--brand); border-radius: 2px; }
.answer table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15.5px; }
@media (max-width: 640px) { .answer { padding: 16px 14px; } .answer table { font-size: 14px; } .answer th, .answer td { padding: 6px 6px; overflow-wrap: anywhere; } }
.answer th, .answer td { border: 1px solid var(--hair); padding: 8px 10px; text-align: left; vertical-align: top; }
.answer thead th { background: var(--tint); color: var(--navy); }

/* FAQ page */
.faq-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.faq-cats a { padding: 9px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--border); text-decoration: none; font-weight: 700; }
.faq-cat-head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.faq-cat-head .icon { width: 34px; height: 34px; }
.sources { max-width: 820px; margin: 0 auto; }
.sources li { list-style: none; padding: 6px 0; border-top: 1px solid var(--hair); font-size: 15.5px; }
.intro-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: center; }
.intro-band img { border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.intro-band p { font-size: 19px; }
@media (max-width: 860px) { .intro-band { grid-template-columns: 1fr; } }
.page-head { padding: 56px 0 40px; text-align: center; background: var(--alt); border-bottom: 1px solid var(--hair); }
.page-head p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 18.5px; }
.page-head .crumbs { color: var(--muted); }

/* Closing */
.closing { background: var(--ink); color: #fff; text-align: center; padding: 72px 0; }
.closing h2 { color: #fff; }
.closing p { color: #E6EDF3; max-width: 640px; margin: 0 auto; font-size: 18px; }

/* Forms */
.form-wrap { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--hair); border-top: 5px solid var(--brand); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 750; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus-light); outline-offset: 1px; border-color: var(--navy); }
.field .err { display: none; color: #9B1C1C; font-weight: 650; font-size: 15px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #9B1C1C; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; display: none; font-weight: 650; }
.form-status.show { display: block; }
.form-status.ok { background: #E7F4EA; border: 1px solid #2E6B3D; color: #1D4A29; }
.form-status.bad { background: #FCEDEC; border: 1px solid #9B1C1C; color: #7A1616; }
.form-status.wait { background: var(--tint); border: 1px solid var(--brand); color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .btn[disabled] { opacity: .65; cursor: wait; }
.alt-call { font-size: 16px; }
.util { padding: 50px 0 70px; }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 26px; margin-top: 1.4em; }

/* Footer */
.site-footer { background: #0D161E; color: #DCE4EA; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo { background: #fff; border-radius: 8px; padding: 10px 12px; display: inline-block; }
.foot-logo img { height: 58px; width: auto; }
.site-footer h2 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #DCE4EA; }
.site-footer a:hover { color: #fff; }
.foot-legal { border-top: 1px solid #2A3946; margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; font-size: 15px; }
.foot-legal ul { display: flex; gap: 18px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); border-top: 3px solid var(--gold); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
  .callbar a { flex: 1; min-height: 48px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.menu-open .callbar, body.no-callbar .callbar { display: none; }
}

/* Callback dialog */
.cb-backdrop { position: fixed; inset: 0; background: rgba(13,22,30,.55); z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; }
.cb-backdrop.open { display: flex; }
.cb-box { background: #fff; border-radius: 12px; border-top: 6px solid var(--gold); width: min(440px, 100%); padding: 26px 24px 22px; position: relative; max-height: calc(100vh - 32px); overflow-y: auto; }
.cb-box h2 { font-size: 24px; margin-right: 34px; }
.cb-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.cb-close svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.on-dark .faq-cats a { color: var(--navy); background: #fff; }
.on-dark .faq-cats a:hover { background: var(--gold); color: var(--ink); }

/* E6 flanked rule: 2px brand-steel rules beside the first line of each section H2 (decorative). */
.sec-head h2, .band h2, .closing h2 { position: relative; display: table; margin-left: auto; margin-right: auto; max-width: 100%; padding: 0 56px; }
.sec-head h2::before, .sec-head h2::after, .band h2::before, .band h2::after, .closing h2::before, .closing h2::after { content: ""; position: absolute; top: .62em; width: 40px; height: 2px; background: var(--brand); }
.sec-head h2::before, .band h2::before, .closing h2::before { left: 0; }
.sec-head h2::after, .band h2::after, .closing h2::after { right: 0; }
.on-dark .sec-head h2::before, .on-dark .sec-head h2::after, .band h2::before, .band h2::after, .closing h2::before, .closing h2::after { background: #9FB4C6; }
@media (max-width: 760px) { .sec-head h2, .band h2, .closing h2 { padding: 0 32px; } .sec-head h2::before, .sec-head h2::after, .band h2::before, .band h2::after, .closing h2::before, .closing h2::after { width: 20px; } }
