/* =====================================================================
   Commercial Roofing Inc. — homepage styles (review build)
   Roofing identity:
   black / white / light grey, accent #2457FF, DM Sans (OFL, self-hosted).
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0b0c;          /* black surfaces / pills */
  --ink-2: #141416;        /* dark sections */
  --text: #161618;
  --muted: #4b4d52;        /* 8.2:1 on white */
  --line: #dcdde0;
  --white: #ffffff;
  --grey: #f3f3f3;         /* light-grey section surface (reference) */
  --grey-2: #e9e9ea;
  --accent: #2457ff;       /* current supporting accent (proposal) */
  --accent-hover: #1b45d6;
  --accent-on-dark: #8fa9ff; /* lighter blue for text on dark/video */
  --placeholder-bg: #fff3b0;
  --placeholder-ink: #5a4500;
  --danger: #b3261e;
  --danger-on-dark: #ffb4ab;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-body: 17px;
  --lh-body: 1.5;
  --fs-h2: clamp(32px, 2.2vw + 16px, 48px);
  --fs-h1: clamp(34px, 2.6vw + 18px, 55px);

  --gutter: clamp(20px, 4vw, 58px);
  --container: 1324px;
  --radius-photo: 16px;
  --radius-card: 10px;
  --pill-h: 60px;

  --notch-w: clamp(200px, 38.6vw, 556px);
  --notch-h: calc(var(--notch-w) * 34 / 556);

  --hero-h: clamp(620px, 52.7vw, 760px);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--accent);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.visually-hidden { 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-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Placeholder & review annotations ---------- */
.ph { background: var(--placeholder-bg); color: var(--placeholder-ink); padding: 0 .3em; border-radius: 4px; font-weight: 600; white-space: nowrap; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.on-dark .ph, .hero .ph { background: #ffe680; color: #2b2100; }
.review-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: .02em; padding: 6px 10px; border-radius: 999px; background: var(--placeholder-bg); color: var(--placeholder-ink); }
html[data-review="false"] .review-only { display: none !important; }

/* ---------- Buttons (reference pills) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: var(--pill-h); padding: 0 10px 0 28px; border-radius: 300px; border: 0; font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn__disc { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; }
.btn__disc svg { width: 16px; height: 16px; }
.btn--black { background: var(--ink); color: var(--white); }
.btn--black:hover { background: #26262a; }
.btn--black .btn__disc { background: var(--accent); color: var(--white); }
.btn--blue { background: var(--accent); color: var(--white); }
.btn--blue:hover { background: var(--accent-hover); }
.btn--blue .btn__disc { background: var(--white); color: var(--accent); }
.btn--hero { min-width: 240px; }
.btn--sm { min-height: 50px; padding: 0 24px; font-size: 13px; min-width: 180px; }
.btn--sm.btn--arrow { padding: 0 6px 0 22px; justify-content: space-between; }
.btn--sm .btn__disc { width: 36px; height: 36px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.circle-btn { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none; transition: background-color .2s, color .2s; }
.circle-btn:hover { background: var(--ink); color: var(--white); }
.circle-btn svg { width: 20px; height: 20px; }

/* ---------- Angled centered notch transitions ---------- */
.has-notch { position: relative; }
.notch { position: absolute; left: 50%; width: var(--notch-w); height: var(--notch-h); transform: translateX(-50%); color: var(--notch-color, var(--white)); pointer-events: none; z-index: 2; }
.notch svg { width: 100%; height: 100%; }
.notch--bottom { bottom: -1px; }
.notch--top { top: -1px; transform: translateX(-50%) scaleY(-1); }

/* ---------- Header / transparent navigation ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; flex: none; text-decoration: none; }
.brand img { width: 240px; height: auto; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: 6px 10px; color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 2px solid transparent; border-radius: 0; }
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--accent-on-dark); }
.header-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 300px; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.header-cta:hover { background: var(--accent-hover); }
.header-cta svg { width: 18px; height: 18px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(0,0,0,.25); color: var(--white); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Header menu: disclosure dropdowns (click/keyboard; no hover-only behaviour) */
.nav__list { align-items: center; }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; margin: 0; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--white); font: inherit; font-size: 15px; font-weight: 500; line-height: inherit; cursor: pointer; }
.nav__btn:hover, .nav__btn[aria-expanded="true"], .nav__btn.is-current { border-bottom-color: var(--accent-on-dark); }
.nav__chev { display: inline-grid; width: 14px; height: 14px; }
.nav__chev svg { width: 14px; height: 14px; transition: transform .15s ease; }
.nav__btn[aria-expanded="true"] .nav__chev svg { transform: rotate(180deg); }
.nav__panel { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 50; width: max-content; min-width: 270px; max-width: min(92vw, 640px); padding: 12px; background: var(--white); color: var(--text); border-radius: 18px; box-shadow: 0 22px 60px rgba(0,0,0,.28); text-align: left; }
.nav__panel--wide { min-width: 520px; }
.nav__btn[aria-expanded="true"] + .nav__panel { display: block; }
html:not(.js) .nav__item:focus-within > .nav__panel, html:not(.js) .nav__item:hover > .nav__panel { display: block; }
.nav__sub { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav__sub-link, .nav__group-link, .nav__all { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__sub-link:hover, .nav__group-link:hover, .nav__all:hover { background: #eef2ff; color: var(--accent-hover); }
.nav__sub-link[aria-current="page"], .nav__group-link[aria-current="page"] { color: var(--accent-hover); font-weight: 700; }
.nav__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.nav__group-title { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav__group-title > span { display: block; padding: 10px 14px 4px; }
.nav__group-title .nav__group-link { font-size: 12px; font-weight: 700; color: var(--muted); padding: 10px 14px 6px; }
.nav__group-title .nav__group-link::after { content: " \2192"; color: var(--accent); }
.nav__group .nav__sub-link { padding: 7px 14px; }
.nav__all { margin-top: 6px; border-top: 1px solid #e6e7ea; border-radius: 0 0 12px 12px; color: var(--accent-hover); font-weight: 600; }
.nav__item:nth-last-child(-n+3) > .nav__panel { left: auto; right: 0; transform: none; }

@media (max-width: 1180px) {
  .nav__link { font-size: 14px; padding: 6px 7px; }
  .nav__btn { font-size: 14px; padding: 6px 7px; }
  .brand img { width: 210px; }
}
@media (min-width: 1041px) {
  .nav__list { flex-wrap: nowrap; white-space: nowrap; }
}
@media (min-width: 1041px) and (max-width: 1120px) {
  .site-header__bar { gap: 14px; }
  .brand img { width: 180px; }
  .nav__list { gap: 2px; }
  .nav__link, .nav__btn { padding: 6px 6px; }
  .header-cta { padding: 0 16px; font-size: 15px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 0; z-index: 30; background: var(--ink); padding: 96px var(--gutter) 40px; flex-direction: column; align-items: stretch; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s; }
  .nav-open .nav { visibility: visible; opacity: 1; transition: opacity .2s ease; overscroll-behavior: contain; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font-size: 22px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav__link:hover { border-bottom-color: rgba(255,255,255,.14); color: var(--accent-on-dark); }
  .nav__cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
  .nav__list { align-items: stretch; }
  .nav__item { position: static; }
  .nav__btn { display: flex; width: 100%; justify-content: space-between; font-size: 22px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav__btn:hover, .nav__btn.is-current, .nav__btn[aria-expanded="true"] { border-bottom-color: rgba(255,255,255,.14); }
  .nav__btn:hover, .nav__btn[aria-expanded="true"] { color: var(--accent-on-dark); }
  .nav__chev, .nav__chev svg { width: 20px; height: 20px; }
  .nav__panel, .nav__item:nth-last-child(-n+3) > .nav__panel { position: static; transform: none; width: auto; min-width: 0; max-width: none; padding: 6px 0 14px; background: transparent; color: var(--white); border-radius: 0; box-shadow: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav__panel--wide { min-width: 0; }
  .nav__groups { grid-template-columns: 1fr; gap: 2px; }
  .nav__sub-link, .nav__group-link, .nav__all { color: rgba(255,255,255,.92); font-size: 17px; padding: 10px 12px; }
  .nav__sub-link:hover, .nav__group-link:hover, .nav__all:hover { background: rgba(255,255,255,.08); color: var(--accent-on-dark); }
  .nav__sub-link[aria-current="page"], .nav__group-link[aria-current="page"] { color: var(--accent-on-dark); }
  .nav__group-title, .nav__group-title .nav__group-link { color: rgba(255,255,255,.7); font-size: 13px; }
  .nav__group-title > span { padding: 10px 12px 2px; }
  .nav__group .nav__sub-link { padding: 8px 12px 8px 24px; }
  .nav__all { border-top: 0; margin-top: 2px; color: var(--accent-on-dark); }
  html.nav-lock, html.nav-lock body { overflow: hidden; }
  .site-header__bar { position: relative; z-index: 40; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { position: fixed; }
  .site-header__bar > .brand, .site-header__bar > .nav-toggle { position: relative; z-index: 41; }
  .nav-open .preview-bar { display: none; }
  .nav__cta .btn--black { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
  .brand img { width: 190px; }
}
@media (min-width: 1041px) { .nav__cta { display: none; } }

/* ---------- Hero (video with poster fallback) ---------- */
.hero { position: relative; min-height: var(--hero-h); display: grid; place-items: center; color: var(--white); background: #2a2c2f; overflow: hidden; isolation: isolate; grid-template-columns: minmax(0, 1fr); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__poster, .hero__poster img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .6s ease; }
.hero[data-video-state="playing"] .hero__video, .hero[data-video-state="paused"] .hero__video { opacity: 1; }
.hero[data-video-state="poster"] .hero__video { display: none; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,12,14,.62) 0%, rgba(12,12,14,.50) 45%, rgba(12,12,14,.62) 100%); }
.hero__content { text-align: center; padding-top: 96px; padding-bottom: 150px; max-width: 1100px; width: 100%; min-width: 0; }
.hero__eyebrow { margin: 0 0 18px; font-size: clamp(14px, .6vw + 10px, 20px); font-weight: 500; letter-spacing: .39em; text-transform: uppercase; color: var(--accent-on-dark); font-weight: 600; }
.hero__title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; letter-spacing: -0.005em; margin: 0 auto 22px; max-width: 18em; text-wrap: balance; }
.hero__title .sep { font-weight: 400; opacity: .9; padding: 0 .04em; }
.hero__lede { font-size: 18px; line-height: 1.3; max-width: 560px; margin: 0 auto 40px; color: rgba(255,255,255,.94); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.hero__controls { position: absolute; right: var(--gutter); bottom: calc(var(--notch-h) + 28px); display: flex; gap: 10px; z-index: 3; }
.hero__controls[hidden] { display: none; }
.video-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); background: rgba(0,0,0,.35); color: var(--white); cursor: pointer; }
.video-btn svg { width: 18px; height: 18px; }
.video-btn .i-play { display: none; }
.video-btn[aria-pressed="true"] .i-pause { display: none; }
.video-btn[aria-pressed="true"] .i-play { display: block; }
.hero__status { position: absolute; left: var(--gutter); bottom: calc(var(--notch-h) + 28px); z-index: 3; }
@media (max-width: 700px) {
  .hero__content { padding-top: 110px; padding-bottom: 96px; }
  .hero__lede { font-size: 17px; margin-bottom: 30px; }
  .hero__actions { gap: 14px; flex-direction: column; align-items: center; }
  .btn--hero { width: min(100%, 300px); justify-content: space-between; }
  .hero__status { left: 50%; transform: translateX(-50%); bottom: calc(var(--notch-h) + 16px); white-space: nowrap; }
  .hero__controls { bottom: calc(var(--notch-h) + 56px); }
}

/* ---------- Generic section rhythm ---------- */
.section { padding: 96px 0; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--ink-2); color: var(--white); }
.section__head { text-align: center; max-width: 900px; margin: 0 auto 48px; }
.section__title { font-size: var(--fs-h2); }
.section__head .section__title { margin-bottom: 20px; }
.section__summary { color: var(--muted); margin: 0; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.section--dark .eyebrow { color: var(--accent-on-dark); }
.section--dark .section__summary, .section--dark p { color: rgba(255,255,255,.86); }

/* ---------- Split (intro / documentation / areas) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 676fr) minmax(0, 570fr); gap: clamp(28px, 3.8vw, 54px); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-photo); aspect-ratio: 676 / 418; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 2; }
.split__body .section__title { margin-bottom: 22px; }
.split__body p { max-width: 36em; }
.split__actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.intro { padding: 72px 0 104px; }
.media-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.section--dark .media-note { color: rgba(255,255,255,.7); }

/* ---------- Services (photographic cards, 3-col) ---------- */
.services { padding: 104px 0 110px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; max-width: 1285px; margin: 0 auto; }
.card { display: flex; flex-direction: column; }
.card__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-card); background: var(--grey-2); }
.card__body { padding: 16px 15px 0; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 19px; font-weight: 600; line-height: 1.2; margin-bottom: 8px; }
.card__text { font-size: 17px; line-height: 1.5; color: var(--muted); margin-bottom: 18px; flex: 1; }
.card .btn { align-self: flex-start; }

/* ---------- Systems & properties ---------- */
.systems { padding: 100px 0; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 56px; padding: 0; list-style: none; }
.chip { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 18px; background: var(--white); }
.chip strong { display: block; font-size: 18px; margin-bottom: 6px; }
.chip span { font-size: 15px; color: var(--muted); line-height: 1.45; display: block; }
.properties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.property { background: var(--grey); border-radius: var(--radius-card); padding: 28px 26px; }
.property h3 { font-size: 20px; margin-bottom: 10px; }
.property p { margin: 0; color: var(--muted); font-size: 16px; }
.note-box { margin-top: 40px; border-left: 4px solid var(--accent); background: #f5f7ff; padding: 20px 24px; border-radius: 0 var(--radius-card) var(--radius-card) 0; font-size: 16px; }
.note-box p:last-child { margin-bottom: 0; }

/* ---------- Documentation (dark, notched) ---------- */
.docs { padding: 140px 0; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16px; color: rgba(255,255,255,.92); }
.checklist svg { width: 22px; height: 22px; color: var(--accent-on-dark); margin-top: 1px; }

/* ---------- Process ---------- */
.process { padding: 100px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--grey); border-radius: var(--radius-card); padding: 26px 22px 28px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Service areas ---------- */
.areas { padding: 100px 0; }
.county-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.county { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.county__icon { width: 46px; height: 46px; border-radius: 6px; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.county__icon svg { width: 22px; height: 22px; }
.county strong { display: block; font-size: 17px; line-height: 1.25; }
.county strong a { display: inline-block; min-height: 24px; padding: 2px 0; color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.county strong a:hover { color: var(--accent-hover); }
.county div > span { line-height: 1.6; }
.county div > span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 3px; }

/* ---------- Proof placeholder ---------- */
.proof-placeholder { padding: 0 0 40px; }
.proof-placeholder__box { border: 2px dashed #c9b44a; background: #fffbe6; border-radius: var(--radius-card); padding: 28px; text-align: center; color: var(--placeholder-ink); }
.proof-placeholder__box h2 { font-size: 22px; margin-bottom: 8px; }
.proof-placeholder__box p { margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { padding: 80px 0 110px; }
.faq__list { max-width: 1100px; margin: 0 auto; display: grid; gap: 10px; }
.faq__item { background: var(--grey); border-radius: 8px; }
.faq__q { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; background: none; border: 0; text-align: left; font-size: 17px; font-weight: 600; cursor: pointer; border-radius: 8px; }
.faq__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; transition: transform .2s ease; }
.faq__icon svg { width: 14px; height: 14px; }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__panel { padding: 0 22px 20px; color: var(--muted); }
.faq__panel p { margin: 0; max-width: 62em; }
.faq__panel[hidden] { display: none; }

/* ---------- Contact / inquiry ---------- */
.contact { padding: 130px 0 110px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact__lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact__lines li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: rgba(255,255,255,.92); }
.contact__lines svg { width: 20px; height: 20px; color: var(--accent-on-dark); margin-top: 3px; }
.contact__lines a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact__lines a:hover { text-decoration: underline; }
.contact__lines small { display: block; color: rgba(255,255,255,.7); font-size: 14px; }
.form-card { background: var(--white); color: var(--text); border-radius: 14px; padding: clamp(22px, 3vw, 40px); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field .req { color: var(--danger); }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #b9bbc0; border-radius: 8px; background: var(--white); font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36,87,255,.25); outline: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status--blocked { background: #fff3b0; color: #4a3800; border: 1px solid #e2c94a; }
.form-status--error { background: #fde8e7; color: #7a1a14; border: 1px solid #f0b4af; }
.form-status--success { background: #e7f6ec; color: #134b26; border: 1px solid #a9dcb9; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-legal { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.endpoint-notice { margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.86); padding: 110px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h2 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 14px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand img { width: 230px; margin-bottom: 18px; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
.footer-legal p { margin: 0; }
.license-line { font-size: 14px; color: rgba(255,255,255,.8); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(11,11,12,.96); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 300px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--white); }
  .callbar a svg { width: 18px; height: 18px; }
  .callbar__call { background: var(--accent); }
  .callbar__bid { background: #2a2b2f; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .nav-open .callbar { display: none; }
}

/* ---------- Preview (review-only) bar ---------- */
.preview-bar { position: fixed; left: 12px; bottom: 12px; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding: 8px 10px; border-radius: 14px; background: rgba(255,243,176,.97); color: #3d2f00; font-size: 12px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.preview-bar a { padding: 4px 9px; border-radius: 999px; text-decoration: none; background: rgba(0,0,0,.08); }
.preview-bar a[aria-current="page"] { background: var(--ink); color: var(--white); }
@media (max-width: 700px) { .preview-bar { bottom: 76px; } }

/* ---------- Responsive layout ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse-mobile .split__body { order: -1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .properties { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .section, .services, .systems, .process, .areas { padding: 72px 0; }
  .docs { padding: 100px 0; }
  .contact { padding: 100px 0 80px; }
  .intro { padding: 56px 0 80px; }
}
@media (max-width: 600px) {
  :root { --fs-body: 16px; }
  .cards { grid-template-columns: 1fr; gap: 36px; }
  .card__body { padding: 14px 4px 0; }
  .properties, .steps, .county-list, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 32px; }
  .split__actions { gap: 14px; }
  .faq__btn { padding: 16px 16px; font-size: 16px; }
  .faq__panel { padding: 0 16px 18px; }
}
.site-footer .btn, .site-footer .btn:hover { color: var(--white); text-decoration: none; }
@media (max-width: 560px) {
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chip { padding: 16px 14px; }
  .chip strong { font-size: 16px; }
  .chip span { font-size: 14px; }
}
