/* First Response Fire Protection — site styles */

:root {
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --surface: #ffffff;
  --ink: #121317;
  --ink-soft: #3b3e46;
  --muted: #6a6e77;
  --line: #e2dbd0;
  --red: #d42a20;
  --red-deep: #a81d15;
  --ember: #ff5a36;
  --amber: #f2a93b;
  --night: #0e0f12;
  --night-2: #17191e;
  --night-3: #202329;
  --night-line: #2c2f37;
  --night-text: #c9ccd3;
  --ok: #1f8a4c;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(18, 19, 23, .06), 0 8px 24px -8px rgba(18, 19, 23, .12);
  --shadow-lg: 0 2px 4px rgba(18, 19, 23, .05), 0 24px 60px -20px rgba(18, 19, 23, .28);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; }
h4 { font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1 var(--font-display); font-stretch: 100%;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.accent { color: var(--red); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.35em;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px;
  font: 700 1rem/1 var(--font-display); font-stretch: 105%; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
  box-shadow: 0 8px 22px -10px rgba(212, 42, 32, .7);
}
.btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --fg: #fff; background: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); box-shadow: none; }
.btn--light:hover { background: var(--paper-2); }
.btn--ghost-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--red); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--night); color: var(--night-text); font-size: .82rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.utility ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.utility li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.utility svg { width: 14px; height: 14px; color: var(--amber); }
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 90, 54, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 90, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0); } }

.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on .header itself would trap the fixed mobile menu inside it */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 244, 239, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.menu-open .header::before { background: var(--paper); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 55px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font: 900 1.18rem/1 var(--font-display); font-stretch: 118%; letter-spacing: -.02em; color: var(--red); text-transform: uppercase; }
.brand-name span { font: 700 .66rem/1 var(--font-display); font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; margin-top: 5px; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 12px; border-radius: 10px; font-weight: 550; font-size: .95rem; text-decoration: none; color: var(--ink-soft); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: rgba(18,19,23,.05); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.nav-group { position: relative; }
.nav-group > button { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-weight: 550; font-size: .95rem; color: var(--ink-soft); cursor: pointer; }
.nav-group > button:hover { background: rgba(18,19,23,.05); color: var(--ink); }
.nav-group > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-group.is-open > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav-group.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.nav-menu a small { font-size: .8rem; font-weight: 400; color: var(--muted); }
.nav-menu a[aria-current="page"]::after { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: .6em 1.1em; font-size: .95rem; }
.header-phone { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; text-align: right; }
.header-phone small { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.header-phone b { font: 800 1.05rem/1.1 var(--font-display); font-stretch: 105%; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 940px) {
  .utility .hide-sm { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, 116px) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 16px var(--gutter) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav-group > button { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 12px; min-width: 0; display: none; }
  .nav-group.is-open .nav-menu { display: block; }
  .nav-menu a { padding: 10px 4px; font-size: 1rem; }
  .nav .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  body.menu-open { overflow: hidden; }
}
.nav-mobile-cta { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--surface); }
.section--sand { background: var(--paper-2); }
.section--dark { background: var(--night); color: var(--night-text); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lede { color: var(--night-text); }
.section--dark .eyebrow { color: var(--ember); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lede { margin-inline: auto; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(212, 42, 32, .35), transparent 60%),
    radial-gradient(40% 50% at 10% 110%, rgba(242, 169, 59, .16), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 70% 30%, #000 30%, transparent 75%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--ember); }
.hero .lede { color: var(--night-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; font-weight: 550; color: #fff;
}
.trust-chips svg { width: 16px; height: 16px; color: var(--amber); }
.hero-visual { position: relative; }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: rgba(23, 25, 30, .78); color: #fff;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 16px 18px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.7);
}
.float-card--a { left: -28px; bottom: 36px; width: 250px; }
.float-card--b { right: -16px; top: 28px; display: flex; align-items: center; gap: 12px; }
.float-card small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--night-text); margin-bottom: 6px; font-weight: 600; }
.float-card b { font: 800 1.05rem/1.2 var(--font-display); }
.float-card .big { font: 900 2rem/1 var(--font-display); font-stretch: 115%; color: var(--amber); }
.check-row { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin-top: 6px; }
.check-row i { width: 18px; height: 18px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; }
.check-row i svg { width: 11px; height: 11px; color: #fff; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .float-card--a { left: 12px; bottom: -24px; }
  .float-card--b { right: 12px; top: 12px; }
}

/* Page hero (interior) */
.page-hero { background: var(--night); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 0%, rgba(212, 42, 32, .32), transparent 65%); }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; padding-block: clamp(56px, 8vw, 104px); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.page-hero .lede { color: var(--night-text); }
.page-hero-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .85rem; color: var(--night-text); }
.crumbs a { color: var(--night-text); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Partner strip ---------- */
.partners { background: var(--surface); border-bottom: 1px solid var(--line); }
.partners .wrap { display: flex; align-items: center; gap: 32px; padding-block: 28px; }
.partners p { margin: 0; flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 150px; line-height: 1.35; }
.partner-logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.partner-logos img { height: 38px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.partner-logos img:hover { filter: none; opacity: 1; }
.partner-logos .tall { height: 50px; }
@media (max-width: 820px) {
  .partners .wrap { flex-direction: column; align-items: flex-start; }
  .partners p { max-width: none; }
  .partner-logos { justify-content: flex-start; gap: 20px 28px; }
  .partner-logos img { height: 30px; } .partner-logos .tall { height: 40px; }
}

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; grid-column: span 2; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tile--wide { grid-column: span 3; }
.tile--hero { grid-column: span 4; grid-row: span 2; padding: 0; background: var(--night); color: #fff; border: 0; min-height: 460px; }
.tile--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s var(--ease), opacity .3s; }
.tile--hero:hover img { transform: scale(1.04); opacity: .45; }
.tile--hero .tile-body { position: relative; margin-top: auto; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.tile--hero h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; }
.tile--hero p { color: rgba(255,255,255,.85); max-width: 48ch; }
.tile--red { background: var(--red); color: #fff; border: 0; }
.tile--red h3 { color: #fff; }
.tile--red p { color: rgba(255,255,255,.9); }
.tile--dark { background: var(--night-2); color: var(--night-text); border: 0; }
.tile--dark h3 { color: #fff; }
.tile-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(212, 42, 32, .1); color: var(--red); margin-bottom: 22px; }
.tile-icon svg { width: 26px; height: 26px; }
.tile--red .tile-icon, .tile--dark .tile-icon { background: rgba(255,255,255,.12); color: #fff; }
.tile p { color: var(--ink-soft); font-size: .98rem; }
.tile .link-arrow { margin-top: auto; }
.tile--red .link-arrow, .tile--dark .link-arrow, .tile--hero .link-arrow { color: #fff; }
.tile-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); margin-bottom: 14px; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide { grid-column: span 1; }
  .tile--hero { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--hero { grid-column: span 1; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--night-line); }
.stat { background: var(--night-2); padding: 28px; }
.stat b { display: block; font: 900 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); font-stretch: 115%; color: #fff; letter-spacing: -.03em; }
.stat b span { color: var(--ember); }
.stat p { margin: 10px 0 0; font-size: .92rem; color: var(--night-text); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Compare / value ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-row > * { padding: 16px 18px; font-size: .92rem; }
.compare-row > :first-child { font-weight: 600; }
.compare-head > * { font: 700 .75rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-block: 18px; }
.compare-head .us { color: var(--red); }
.compare-row .us { background: rgba(212, 42, 32, .05); font-weight: 600; }
.compare-row .them { color: var(--muted); }
.yes, .no { display: inline-flex; align-items: flex-start; gap: 8px; }
.yes::before, .no::before { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 2px; }
.yes::before { content: "✓"; background: var(--ok); color: #fff; }
.no::before { content: "–"; background: var(--line); color: var(--muted); }
@media (max-width: 560px) {
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > :first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .compare-head > :first-child { display: none; }
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--dark .checklist li::before { background-color: var(--ember); }

/* ---------- Compliance planner ---------- */
.planner { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); }
.planner-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.planner-tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--night-line); color: var(--night-text);
  font-weight: 600; font-size: .92rem; transition: all .2s;
}
.planner-tabs button:hover { border-color: #fff; color: #fff; }
.planner-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.planner-panel { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.planner-panel[hidden] { display: none; }
.planner-panel h3 { color: #fff; }
.planner-panel .code { display: inline-block; font: 600 .78rem/1 var(--font-body); padding: 6px 10px; border-radius: 6px; background: rgba(242,169,59,.14); color: var(--amber); margin: 0 6px 6px 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 18px; background: var(--night-3); border-radius: var(--r-sm); border-left: 3px solid var(--ember); }
.timeline b { font: 800 .95rem/1.2 var(--font-display); color: #fff; }
.timeline span { font-size: .92rem; color: var(--night-text); }
@media (max-width: 820px) {
  .planner-panel { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Service area map ---------- */
.area { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }
.map-card { background: var(--night); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-lg); }
.map-card svg { width: 100%; height: auto; }
.map-card .city { fill: #fff; }
.map-card text { font: 600 11px var(--font-body); fill: var(--night-text); }
.map-card text.region { font: 800 10px var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.map-card .legend text { font-size: 11px; }
.regions { display: grid; gap: 14px; }
.region-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
a.region-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.region-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.region-card h3 { margin: 0; font-size: 1.2rem; }
.region-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(212,42,32,.1); color: var(--red); white-space: nowrap; }
.badge--amber { background: rgba(242,169,59,.18); color: #9a5f06; }
.badge--dark { background: var(--ink); color: #fff; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- Emergency band ---------- */
.emergency { position: relative; background: var(--red); color: #fff; overflow: hidden; isolation: isolate; }
.emergency::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(0,0,0,.2), transparent 60%); }
.emergency .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.emergency h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.emergency p { margin: 0; color: rgba(255,255,255,.92); max-width: 60ch; }
.emergency-247 { font: 900 clamp(3rem, 7vw, 5.5rem)/.9 var(--font-display); font-stretch: 125%; letter-spacing: -.04em; }
.emergency .btn { --bg: #fff; --fg: var(--red-deep); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); font-size: 1.1rem; min-height: 60px; padding-inline: 1.6em; }
.emergency .btn:hover { background: var(--paper); }
@media (max-width: 860px) { .emergency .wrap { grid-template-columns: 1fr; } }

/* ---------- Owner / testimonial ---------- */
.owner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.owner-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--night); }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.owner-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(14,15,18,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; padding: 14px 16px; border-radius: var(--r-sm); font-size: .9rem; }
.owner-photo figcaption b { display: block; font: 800 1.1rem/1.2 var(--font-display); }
@media (max-width: 860px) { .owner { grid-template-columns: 1fr; } .owner-photo { max-width: 420px; } }
.quote { margin: 32px 0 0; padding: 28px 30px; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); position: relative; }
.quote::before { content: "“"; position: absolute; top: -18px; left: 22px; font: 900 5rem/1 var(--font-display); color: var(--red); }
.quote p { font: 600 1.18rem/1.45 var(--font-display); font-stretch: 100%; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ink); }
.quote cite { font-style: normal; font-size: .88rem; color: var(--muted); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; }

/* ---------- Feature list / cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.card .tile-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.card .tile-icon svg { width: 22px; height: 22px; }
.section--dark .card { background: var(--night-2); border-color: var(--night-line); }
.section--dark .card p { color: var(--night-text); }
.section--dark .card .tile-icon { background: rgba(255,90,54,.14); color: var(--ember); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 900 2.2rem/1 var(--font-display); font-stretch: 120%; color: var(--red); margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schedule-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.schedule-col--feature { background: var(--night); color: var(--night-text); border-color: var(--night); }
.schedule-col--feature h3 { color: #fff; }
.schedule-col .freq { font: 800 .8rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.schedule-col--feature .freq { color: var(--ember); }
.schedule-col ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.schedule-col li { display: flex; gap: 10px; }
.schedule-col li::before { content: "—"; color: var(--red); flex: none; }
.schedule-col--feature li::before { color: var(--ember); }
.schedule-col .plus { font-size: .82rem; font-weight: 700; color: var(--muted); margin-top: 16px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) { .schedule { grid-template-columns: 1fr; } }

.media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.city-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.city-cloud li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 550; }
.section--dark .city-cloud li { background: var(--night-2); border-color: var(--night-line); color: #fff; }

.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r-sm); padding: 20px 22px; }
.callout p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 700 1.08rem/1.35 var(--font-display); font-stretch: 100%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font: 500 1.3rem/1 var(--font-body); transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq .faq-body { padding: 0 24px 22px; color: var(--ink-soft); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,42,32,.1); color: var(--red); }
.section--dark .contact-list .ico { background: rgba(255,90,54,.14); color: var(--ember); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-weight: 600; text-decoration: none; }
.section--dark .contact-list a, .section--dark .contact-list span { color: #fff; }
.form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 1rem; transition: border-color .15s, background .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6e77' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(18,19,23,.08); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: .9rem; font-weight: 550; cursor: pointer; transition: all .15s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.form-foot small { color: var(--muted); font-size: .82rem; max-width: 36ch; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: rgba(31,138,76,.1); color: var(--ok); }
.form-status.is-err { display: block; background: rgba(212,42,32,.08); color: var(--red-deep); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 100%, rgba(212,42,32,.45), transparent 60%); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: var(--night-text); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--night-text); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-stretch: 110%; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--night-text); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; }
.footer-bottom { border-top: 1px solid var(--night-line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
.footer-bottom span { opacity: .8; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    background: rgba(14,15,18,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 18px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
    padding-bottom: calc(8px + env(safe-area-inset-bottom) / 2);
  }
  .callbar .btn { min-height: 48px; font-size: .95rem; padding-inline: .8em; }
  body { padding-bottom: 84px; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .utility, .header, .callbar, .emergency, .footer, .form { display: none !important; }
  body { background: #fff; }
}

/* ---------- Small-phone refinements ---------- */
@media (max-width: 600px) {
  .utility ul:first-child { display: none; }
  .utility .wrap { justify-content: center; }
  .float-card--a { display: none; }
  .float-card--b { top: auto; bottom: 12px; right: 12px; padding: 12px 14px; }
  .float-card--b .big { font-size: 1.6rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-name b { font-size: 1.05rem; }
}
.menu-open .callbar { display: none; }
.nav-group.is-current > button { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 10px 10px 0 0; }
@media (max-width: 940px) { .nav-group.is-current > button { box-shadow: none; color: var(--red); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr !important; } }

/* Preview-only: show content at rest, respect safe areas */
.reveal { opacity: 1 !important; transform: none !important; }
.header { top: env(safe-area-inset-top, 0px); }

/* Recent work photo gallery */
.work-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work-gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #0e0f12; }
.work-gallery img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.work-gallery figcaption { padding: 10px 14px; font-size: .85rem; color: #e9e9ea; }
@media (max-width: 900px) { .work-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .work-gallery { grid-template-columns: 1fr; } .work-gallery img { aspect-ratio: 4 / 3; } }
