/* ==========================================================================
   IRONCREST ROOFING CO. — DESIGN SYSTEM
   Palette : slate + copper       Type: Lexend / Source Sans 3
   Motif   : the "ridgeline" — an angled roof profile used as section divider
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --ink:        #0B0F14;
  --slate-900:  #121821;
  --slate-800:  #1B2431;
  --slate-700:  #2A3646;
  --slate-600:  #3B4A5E;

  /* Light surfaces (warm, not clinical) */
  --paper:      #F6F3EE;
  --paper-2:    #EBE6DD;
  --paper-3:    #DED7CB;

  /* Brand accent — copper */
  --copper:     #B4501F;   /* CTA fill. 5.1:1 with white text            */
  --copper-lt:  #E8834A;   /* accent text on dark. 6.9:1 on --ink        */
  --copper-dk:  #8E3D16;
  --signal:     #F5B301;   /* review stars                                */

  /* Text on dark */
  --d-text:     #EAF0F6;
  --d-muted:    #A6B3C2;
  --d-faint:    #74839550;

  /* Text on light */
  --l-text:     #101720;
  --l-muted:    #47566A;   /* 7.0:1 on --paper                            */

  /* Lines */
  --line-d:     rgba(255,255,255,.11);
  --line-d-2:   rgba(255,255,255,.20);
  --line-l:     #D6CEC1;

  /* Type scale */
  --f-head: 'Lexend', system-ui, -apple-system, sans-serif;
  --f-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  --t-hero:  clamp(2.65rem, 6.6vw, 5.4rem);
  --t-h1:    clamp(2.2rem, 4.8vw, 3.6rem);
  --t-h2:    clamp(1.75rem, 3.4vw, 2.7rem);
  --t-h3:    clamp(1.2rem, 1.9vw, 1.55rem);
  --t-body:  1.0625rem;                 /* 17px — comfortable on mobile   */
  --t-small: 0.9375rem;
  --t-eyebrow: 0.78rem;

  /* Space */
  --sp-section: clamp(4.5rem, 9vw, 8rem);
  --gutter:     clamp(1.25rem, 4vw, 3rem);
  --wrap:       1240px;
  --wrap-narrow: 820px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur:  200ms;

  /* Radius — small, industrial. Never pill-shaped. */
  --r-sm: 3px;
  --r:    5px;
  --r-lg: 8px;

  /* z-scale */
  --z-map: 10;
  --z-sticky: 20;
  --z-nav: 30;
  --z-overlay: 50;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--d-text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Icons are injected into [data-icon] spans by main.js. The span is a flex
   box; the SVG inherits a sensible em-based default that context overrides. */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex: none; }
[data-icon] > svg { width: 1.25em; height: 1.25em; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

/* Visible focus everywhere — never remove without replacement */
:focus-visible {
  outline: 3px solid var(--copper-lt);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--copper); color: #fff; }

.sr-only {
  position: absolute; 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: 50%; top: 0; transform: translate(-50%,-140%);
  background: var(--copper); color: #fff; padding: .75rem 1.5rem;
  z-index: var(--z-overlay); font-weight: 600; border-radius: 0 0 var(--r) var(--r);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sp-section); position: relative; }
.section--light { background: var(--paper); color: var(--l-text); }
.section--paper2 { background: var(--paper-2); color: var(--l-text); }
.section--slate { background: var(--slate-900); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.section--light p, .section--paper2 p { color: var(--l-muted); }
.section--light h2, .section--light h3, .section--light h4,
.section--paper2 h2, .section--paper2 h3, .section--paper2 h4 { color: var(--l-text); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   4. TYPE HELPERS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-body);
  font-size: var(--t-eyebrow); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper-lt);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--copper-lt); flex: none;
}
.section--light .eyebrow, .section--paper2 .eyebrow { color: var(--copper-dk); }
.section--light .eyebrow::before, .section--paper2 .eyebrow::before { background: var(--copper-dk); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--t-h2); margin-block: .9rem .9rem; }
.section-head p { font-size: 1.125rem; max-width: 58ch; color: var(--d-muted); }

.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--d-muted); }
.section--light .lead, .section--paper2 .lead { color: var(--l-muted); }

.mark { color: var(--copper-lt); }

/* Hand-drawn-feel underline on a key word */
.underline-brush { position: relative; white-space: nowrap; }
.underline-brush::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .02em;
  height: .26em; background: var(--copper); z-index: -1;
  transform: skewY(-1.2deg);
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-dk); }

.btn-ghost { border-color: var(--line-d-2); color: var(--d-text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--copper-lt); background: rgba(232,131,74,.10); color: #fff; }

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

.btn-outline-dark { border-color: var(--l-text); color: var(--l-text); }
.btn-outline-dark:hover { background: var(--l-text); color: var(--paper); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper-3); }

.btn-lg { min-height: 60px; padding: 1rem 2.1rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Text link with animated rule */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-head); font-weight: 600; text-decoration: none;
  color: var(--copper-lt); padding-block: .35rem;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow:hover { gap: .85rem; color: #fff; }
.section--light .link-arrow, .section--paper2 .link-arrow { color: var(--copper-dk); }
.section--light .link-arrow:hover, .section--paper2 .link-arrow:hover { color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   6. MEDIA PLACEHOLDERS
   --------------------------------------------------------------------------
   Drop a real file at the given path and the placeholder disappears on its
   own — no HTML edits needed. See MEDIA-BRIEF.md for every prompt + filename.
   -------------------------------------------------------------------------- */
.media {
  position: relative; overflow: hidden;
  background: var(--slate-800);
  border-radius: var(--r);
  aspect-ratio: var(--ratio, 16/9);
  isolation: isolate;
}
.media > img, .media > video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 400ms var(--ease);
}
.media.is-loaded > img, .media.is-loaded > video { opacity: 1; }

.media-ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; padding: 1.25rem; text-align: center;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.022) 0 10px, transparent 10px 20px),
    var(--slate-800);
  border: 1.5px dashed rgba(232,131,74,.42);
  border-radius: var(--r);
  color: var(--d-muted);
  transition: opacity 300ms var(--ease);
}
.media.is-loaded .media-ph { opacity: 0; pointer-events: none; }

.media-ph .ph-icon { color: var(--copper-lt); opacity: .85; }
.media-ph .ph-icon > svg { width: 30px; height: 30px; }
.media-ph .ph-file {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .8rem; font-weight: 600; color: var(--copper-lt);
  word-break: break-all; line-height: 1.35;
}
.media-ph .ph-dim {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: #7E8C9C; font-weight: 600;
}
.media-ph .ph-desc {
  font-size: .82rem; line-height: 1.45; max-width: 34ch; color: #94A2B2;
}
/* Very small placeholders (avatars, badges) hide the description */
.media--mini .ph-desc, .media--mini .ph-dim { display: none; }
.media--mini .ph-icon > svg { width: 20px; height: 20px; }
.media--mini .ph-file { font-size: .62rem; }

.media--r1  { --ratio: 1/1; }
.media--r43 { --ratio: 4/3; }
.media--r34 { --ratio: 3/4; }
.media--r219{ --ratio: 21/9; }
.media--r32 { --ratio: 3/2; }

/* --------------------------------------------------------------------------
   7. NAVBAR — floating, per layout rules (never flush to viewport edge)
   -------------------------------------------------------------------------- */
.nav-shell {
  position: fixed; top: 1rem; left: 1rem; right: 1rem; z-index: var(--z-nav);
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%; max-width: var(--wrap);
  display: flex; align-items: center; gap: 1.25rem;
  padding: .7rem .8rem .7rem 1.15rem;
  background: rgba(11,15,20,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav.is-stuck { background: rgba(11,15,20,.94); border-color: var(--line-d-2); }

.brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; font-family: var(--f-head); font-weight: 800;
  font-size: 1.06rem; letter-spacing: -.03em; color: #fff; flex: none;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-sub {
  display: block; font-family: var(--f-body); font-size: .58rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--copper-lt);
  margin-top: -2px;
}

.nav-links { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav-links a {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 600;
  color: var(--d-muted); padding: .65rem .85rem; border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem;
  height: 2px; background: var(--copper-lt); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: .5rem; flex: none; }
.nav-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; font-family: var(--f-head); font-weight: 700;
  font-size: .95rem; color: #fff; padding: .6rem .8rem; border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease);
}
.nav-phone svg { width: 17px; height: 17px; color: var(--copper-lt); }
.nav-phone:hover { color: var(--copper-lt); }
.nav .btn { min-height: 44px; padding: .6rem 1.15rem; font-size: .95rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; flex: none;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-d-2); border-radius: var(--r-sm); color: #fff;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-toggle[aria-expanded="true"] .ico-open  { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links, .nav-cta {
    display: none; position: absolute; top: calc(100% + .6rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem; padding: .9rem;
    background: rgba(11,15,20,.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-d); border-radius: var(--r-lg);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav.is-open .nav-cta   { display: flex; top: auto; margin-top: .3rem; position: static; border: 0; padding: .9rem; padding-top: 0; background: none; }
  .nav { position: relative; flex-wrap: wrap; }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-links a[aria-current="page"]::after { left: 1rem; right: auto; width: 22px; bottom: .55rem; }
  .nav-phone { justify-content: center; padding: .85rem; border: 1px solid var(--line-d); }
  .nav .btn { min-height: 52px; }
}

/* --------------------------------------------------------------------------
   8. HERO — the "ridgeline" split
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 8rem; padding-bottom: 4rem;
  overflow: hidden; background: var(--ink);
}

/* full-bleed media layer */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .media { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.hero-media .media > img { animation: kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to   { transform: scale(1.13) translate3d(-1.5%, -1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .media > img { animation: none; }
}

/* scrim: dark on the left where the copy sits, clearing to the right */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(11,15,20,.97) 0%,
      rgba(11,15,20,.93) 34%,
      rgba(11,15,20,.72) 56%,
      rgba(11,15,20,.42) 78%,
      rgba(11,15,20,.60) 100%),
    linear-gradient(to top, rgba(11,15,20,.9) 0%, transparent 42%);
}
/* shingle texture — the brand motif, very low opacity */
.hero-shingle {
  position: absolute; inset: 0; z-index: 2; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'><g fill='none' stroke='%23E8834A' stroke-width='1'><path d='M0 20h120M0 40h120'/><path d='M0 20v20M30 20v20M60 20v20M90 20v20M15 0v20M45 0v20M75 0v20M105 0v20'/></g></svg>");
  mask-image: linear-gradient(to right, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 55%);
}

.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-copy { max-width: 40rem; }

.hero h1 {
  font-size: var(--t-hero); font-weight: 800; letter-spacing: -.038em;
  margin-block: 1.35rem 1.5rem; color: #fff;
}
.hero h1 .underline-brush { z-index: 0; }
.hero h1 .underline-brush > span { position: relative; z-index: 1; }

.hero .lead { max-width: 34rem; color: #C3CEDA; }

.hero-actions { margin-top: 2.25rem; }

/* trust row under the CTAs */
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line-d);
}
.hero-trust .trust-item { display: flex; align-items: center; gap: .6rem; }
.hero-trust .trust-item svg { width: 20px; height: 20px; color: var(--copper-lt); flex: none; }
/* stars keep their gold regardless of the trust-row icon colour */
.hero-trust .stars svg { width: 17px; height: 17px; color: var(--signal); }
.hero-trust .trust-item span { font-size: .92rem; font-weight: 600; color: var(--d-muted); }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; color: var(--signal); }

/* bottom stat ticker anchored to the hero base */
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  border-top: 1px solid var(--line-d);
  background: linear-gradient(to top, rgba(11,15,20,.92), rgba(11,15,20,.55));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; padding-block: 1.35rem;
}
.hero-stat { display: flex; flex-direction: column; gap: .1rem; position: relative; padding-left: 1.25rem; }
.hero-stat::before {
  content: ""; position: absolute; left: 0; top: .25rem; bottom: .25rem;
  width: 3px; background: var(--copper); border-radius: 2px;
}
.hero-stat b {
  font-family: var(--f-head); font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1;
}
.hero-stat span { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--d-muted); font-weight: 600; }

@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: 7.5rem; padding-bottom: 0; }
  .hero-scrim { background:
      linear-gradient(180deg, rgba(11,15,20,.90) 0%, rgba(11,15,20,.80) 45%, rgba(11,15,20,.95) 100%); }
  .hero-shingle { mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
                  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 60%); }
  .hero-stats { position: static; margin-top: 3rem; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}

/* --------------------------------------------------------------------------
   9. RIDGELINE DIVIDER — reused motif between sections
   -------------------------------------------------------------------------- */
.ridge {
  position: relative;
  z-index: 1;
  line-height: 0;
  overflow: hidden;
  margin-block: -1px;
  background: var(--from, transparent);
}
.ridge svg {
  width: calc(100% + 2px);
  height: clamp(38px, 5vw, 72px);
  margin-inline: -1px;
  display: block;
}
.ridge::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 3px;
  background: var(--to, var(--paper));
}
.ridge svg path { fill: var(--to, var(--paper)); }
.ridge--flip svg { transform: scaleX(-1); }

/* set the colour on each side of the fold */
.from-ink    { --from: var(--ink); }
.from-paper  { --from: var(--paper); }
.from-paper2 { --from: var(--paper-2); }
.from-slate  { --from: var(--slate-900); }
.from-copper { --from: var(--copper); }
.to-ink      { --to: var(--ink); }
.to-paper    { --to: var(--paper); }
.to-paper2   { --to: var(--paper-2); }
.to-slate    { --to: var(--slate-900); }
.to-copper   { --to: var(--copper); }

/* --------------------------------------------------------------------------
   10. PAGE HEADER (inner pages)
   -------------------------------------------------------------------------- */
.pagehead {
  position: relative; padding-top: 11rem; padding-bottom: 4.5rem;
  background: var(--slate-900); overflow: hidden;
}
.pagehead::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'><g fill='none' stroke='%23E8834A' stroke-width='1'><path d='M0 20h120M0 40h120'/><path d='M0 20v20M30 20v20M60 20v20M90 20v20M15 0v20M45 0v20M75 0v20M105 0v20'/></g></svg>");
  opacity: .10;
  mask-image: radial-gradient(120% 100% at 100% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000 0%, transparent 70%);
}
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { font-size: var(--t-h1); margin-block: 1rem .9rem; color: #fff; }
.pagehead p { max-width: 56ch; font-size: 1.15rem; color: var(--d-muted); }

.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #7E8C9C; margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; color: #7E8C9C; }
.crumbs a:hover { color: var(--copper-lt); text-decoration: underline; }

/* --------------------------------------------------------------------------
   11. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--slate-900); border: 1px solid var(--line-d);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.card-body { padding: clamp(1.25rem, 2.2vw, 1.75rem); display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card h3 { font-size: var(--t-h3); }
.card p { color: var(--d-muted); font-size: var(--t-small); }
.card .link-arrow { margin-top: auto; padding-top: .5rem; }

a.card, .card--link { text-decoration: none; cursor: pointer; }
a.card:hover, .card--link:hover { border-color: rgba(232,131,74,.55); background: var(--slate-800); }

.section--light .card, .section--paper2 .card {
  background: #fff; border-color: var(--line-l);
}
.section--light .card p, .section--paper2 .card p { color: var(--l-muted); }
.section--light a.card:hover, .section--paper2 a.card:hover {
  border-color: var(--copper); background: #fff;
}

/* icon chip */
.chip-icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(232,131,74,.13); color: var(--copper-lt);
  border: 1px solid rgba(232,131,74,.26);
}
.chip-icon svg { width: 24px; height: 24px; }
.section--light .chip-icon, .section--paper2 .chip-icon {
  background: rgba(180,80,31,.10); color: var(--copper-dk); border-color: rgba(180,80,31,.24);
}

/* --------------------------------------------------------------------------
   12. FEATURE / SPLIT ROWS
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split--media-right .split-media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.25rem; }
  .split--media-right .split-media { order: 0; }
}

.feature-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.feature-row { display: flex; gap: 1.1rem; }
.feature-row h4 { font-size: 1.08rem; margin-bottom: .3rem; }
.feature-row p { font-size: var(--t-small); color: var(--d-muted); }
.section--light .feature-row p, .section--paper2 .feature-row p { color: var(--l-muted); }

/* check bullets */
.ticks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--t-small); }
.ticks svg { width: 20px; height: 20px; flex: none; color: var(--copper-lt); margin-top: 1px; }
.section--light .ticks svg, .section--paper2 .ticks svg { color: var(--copper-dk); }
.ticks--2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .ticks--2col { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 2.75rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--f-head); font-size: 1.5rem; font-weight: 800;
  color: var(--copper-lt); letter-spacing: -.04em;
}
.step::after {
  content: ""; position: absolute; top: 1.1rem; left: 3rem; right: -1.5rem;
  height: 1px; background: var(--line-d);
}
.step:last-child::after { display: none; }
@media (max-width: 900px) { .step::after { display: none; } }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: var(--t-small); color: var(--d-muted); }
.section--light .step p { color: var(--l-muted); }
.section--light .step::before { color: var(--copper-dk); }
.section--light .step::after { background: var(--line-l); }

/* --------------------------------------------------------------------------
   14. GALLERY (bento)
   -------------------------------------------------------------------------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px; gap: 1rem;
}
.bento .media { height: 100%; aspect-ratio: auto; }
.b-tall { grid-row: span 2; }
.b-wide { grid-column: span 2; }
.b-big  { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .b-big { grid-column: span 2; grid-row: span 2; }
  .b-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .b-big, .b-wide { grid-column: span 1; }
  .b-tall, .b-big { grid-row: span 1; }
}

/* --------------------------------------------------------------------------
   15. REVIEWS
   -------------------------------------------------------------------------- */
.rating-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 760px) { .rating-hero { grid-template-columns: 1fr; } }

.rating-score { text-align: center; }
.rating-score b {
  display: block; font-family: var(--f-head); font-size: 4.5rem; font-weight: 800;
  line-height: 1; letter-spacing: -.05em; color: #fff;
}
.rating-score .stars svg { width: 22px; height: 22px; }
.rating-score small { display: block; margin-top: .6rem; color: var(--d-muted); font-size: .92rem; }

.rating-bars { display: grid; gap: .55rem; max-width: 460px; width: 100%; }
.rating-bar { display: grid; grid-template-columns: 3.2rem 1fr 3rem; gap: .8rem; align-items: center; font-size: .88rem; color: var(--d-muted); }
.rating-bar .track { display: block; height: 8px; background: rgba(255,255,255,.09); border-radius: 4px; overflow: hidden; }
/* must be block — an inline span ignores width/height entirely */
.rating-bar .fill { display: block; height: 100%; background: var(--signal); border-radius: 4px; width: 0; transition: width 900ms var(--ease); }

.review-card {
  background: #fff; border: 1px solid var(--line-l); border-radius: var(--r);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  break-inside: avoid;
}
.review-card .stars svg { width: 17px; height: 17px; }
.review-card blockquote { font-size: 1.02rem; line-height: 1.6; color: var(--l-text); }
.review-card blockquote::before { content: "“"; }
.review-card blockquote::after  { content: "”"; }
.review-meta { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--paper-2); }
.review-meta .media { width: 44px; height: 44px; flex: none; border-radius: 50%; }
.review-meta .media-ph { border-radius: 50%; }
.review-meta b { display: block; font-family: var(--f-head); font-size: .95rem; color: var(--l-text); }
.review-meta span { font-size: .8rem; color: var(--l-muted); }

.badge-verified {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #1B6B3A; background: #E4F3EA; border: 1px solid #B9DFC8;
  padding: .2rem .5rem; border-radius: var(--r-sm);
}
.badge-verified svg { width: 12px; height: 12px; }

.review-source { margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--l-muted); }

/* masonry columns for the review wall */
.review-wall { columns: 3; column-gap: 1.25rem; }
.review-wall > * { margin-bottom: 1.25rem; }
@media (max-width: 980px) { .review-wall { columns: 2; } }
@media (max-width: 640px) { .review-wall { columns: 1; } }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  min-height: 44px; padding: .55rem 1.1rem;
  border: 1px solid var(--line-l); border-radius: var(--r-sm);
  font-family: var(--f-head); font-weight: 600; font-size: .92rem;
  color: var(--l-muted); background: transparent; cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--copper); color: var(--copper-dk); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* before / after comparison slider */
.compare {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line-d); touch-action: none;
  user-select: none; cursor: ew-resize;
}
.compare .cmp-layer { position: absolute; inset: 0; }
.compare .cmp-layer .media { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.compare .cmp-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 3px; background: #fff; z-index: 4; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.compare .cmp-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.compare .cmp-knob svg { width: 22px; height: 22px; }
.cmp-tag {
  position: absolute; bottom: 1rem; z-index: 5;
  font-family: var(--f-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(11,15,20,.8); padding: .35rem .7rem; border-radius: var(--r-sm);
  pointer-events: none;
}
.cmp-tag--before { left: 1rem; }
.cmp-tag--after  { right: 1rem; }
.compare-range {
  position: absolute; inset: 0; z-index: 6; width: 100%; opacity: 0;
  margin: 0; cursor: ew-resize;
}
.compare-range:focus-visible { opacity: 1; }

/* --------------------------------------------------------------------------
   16. MAP / LOCATIONS
   -------------------------------------------------------------------------- */
.map-frame {
  position: relative; z-index: var(--z-map);
  border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden;
  background: var(--slate-800);
}
#service-map { height: clamp(420px, 62vh, 620px); width: 100%; background: var(--slate-800); }

.map-legend {
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem;
  padding: 1rem 1.25rem; border-top: 1px solid var(--line-d);
  background: var(--slate-900); font-size: .88rem; color: var(--d-muted);
}
.legend-item { display: flex; align-items: center; gap: .55rem; }
.legend-swatch { width: 18px; height: 12px; border-radius: 2px; flex: none; }
.legend-swatch--zone { background: rgba(180,80,31,.28); border: 1.5px solid var(--copper-lt); }
.legend-swatch--ring { background: transparent; border: 1.5px dashed rgba(232,131,74,.6); }
.legend-swatch--hq   { background: var(--copper); border-radius: 50%; width: 13px; height: 13px; }
.legend-swatch--city { background: #fff; border-radius: 50%; width: 9px; height: 9px; }

/* Leaflet overrides to match the theme */
.leaflet-container { font-family: var(--f-body); background: var(--slate-800); }
.leaflet-popup-content-wrapper {
  background: var(--ink); color: var(--d-text); border-radius: var(--r);
  border: 1px solid var(--line-d-2);
}
.leaflet-popup-tip { background: var(--ink); border: 1px solid var(--line-d-2); }
.leaflet-popup-content { margin: .85rem 1.1rem; font-size: .92rem; }
.leaflet-popup-content b { font-family: var(--f-head); color: #fff; display: block; margin-bottom: .15rem; }
.leaflet-popup-content-wrapper a.leaflet-popup-close-button { color: var(--d-muted); }
.leaflet-bar a {
  background: var(--slate-900); color: var(--d-text); border-color: var(--line-d);
}
.leaflet-bar a:hover { background: var(--slate-700); color: #fff; }
.leaflet-control-attribution {
  background: rgba(11,15,20,.82) !important; color: #8A97A6 !important;
  font-size: .68rem !important;
}
.leaflet-control-attribution a { color: var(--copper-lt) !important; }

/* ZIP checker */
.zipcheck {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem;
}
.zipcheck input {
  flex: 1 1 190px; min-height: 56px; padding: .9rem 1.1rem;
  background: var(--slate-900); border: 1px solid var(--line-d-2);
  border-radius: var(--r); color: #fff; font-size: 1.05rem;
  letter-spacing: .06em;
}
.zipcheck input::placeholder { color: #6F7D8D; letter-spacing: normal; }
.zipcheck input:focus { border-color: var(--copper-lt); }

.zip-result {
  margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--r);
  display: none; gap: .8rem; align-items: flex-start; font-size: var(--t-small);
  border: 1px solid transparent;
}
.zip-result.is-shown { display: flex; }
.zip-result svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.zip-result.ok    { background: rgba(34,197,94,.10);  border-color: rgba(34,197,94,.35);  color: #86EFAC; }
.zip-result.near  { background: rgba(245,179,1,.10);  border-color: rgba(245,179,1,.35);  color: #FCD34D; }
.zip-result.no    { background: rgba(248,113,113,.10);border-color: rgba(248,113,113,.35);color: #FCA5A5; }
.zip-result b { display: block; color: #fff; font-family: var(--f-head); margin-bottom: .15rem; }

/* city columns */
.city-cols { columns: 4; column-gap: 2rem; list-style: none; padding: 0; }
@media (max-width: 900px) { .city-cols { columns: 2; } }
@media (max-width: 480px) { .city-cols { columns: 1; } }
.city-cols li { padding: .55rem 0; border-bottom: 1px solid var(--line-l); display: flex; align-items: center; gap: .5rem; break-inside: avoid; }
.city-cols svg { width: 15px; height: 15px; color: var(--copper-dk); flex: none; }

/* --------------------------------------------------------------------------
   17. FORMS
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--f-head); font-size: .88rem; font-weight: 600; color: var(--l-text); }
.field .req { color: var(--copper-dk); }
.field .hint { font-size: .8rem; color: var(--l-muted); }

.field input, .field select, .field textarea {
  min-height: 52px; padding: .8rem 1rem;
  background: #fff; border: 1px solid var(--line-l); border-radius: var(--r);
  color: var(--l-text); font-size: 1rem; width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; padding-top: .9rem; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2347566A' stroke-width='2'><path stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
  padding-right: 2.75rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--copper); box-shadow: 0 0 0 3px rgba(180,80,31,.14); outline: none;
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.field .error {
  display: none; font-size: .82rem; color: #A93226; font-weight: 600;
  align-items: center; gap: .35rem;
}
.field .error svg { width: 15px; height: 15px; }
.field.has-error .error { display: flex; }

/* radio / checkbox pills */
.pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.pill span {
  display: block; min-height: 46px; padding: .65rem 1.1rem;
  border: 1px solid var(--line-l); border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 600; color: var(--l-muted); background: #fff;
  transition: all var(--dur) var(--ease); cursor: pointer;
  display: flex; align-items: center;
}
.pill input:hover + span { border-color: var(--copper); color: var(--copper-dk); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--copper-lt); outline-offset: 2px; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--l-muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--copper); flex: none; cursor: pointer; }

/* dropzone */
.dropzone {
  border: 1.5px dashed var(--line-l); border-radius: var(--r);
  padding: 1.5rem; text-align: center; background: #fff; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--copper); background: #FFFBF8; }
.dropzone svg { width: 26px; height: 26px; color: var(--copper-dk); margin: 0 auto .5rem; }
.dropzone b { font-family: var(--f-head); font-size: .95rem; color: var(--l-text); }
.dropzone small { display: block; color: var(--l-muted); font-size: .82rem; margin-top: .2rem; }
.dz-files { list-style: none; padding: 0; margin-top: .75rem; display: grid; gap: .35rem; text-align: left; }
.dz-files li { font-size: .82rem; color: var(--l-muted); display: flex; gap: .4rem; align-items: center; }
.dz-files svg { width: 14px; height: 14px; margin: 0; }

/* form success */
.form-success {
  display: none; flex-direction: column; align-items: center; text-align: center;
  gap: 1rem; padding: 3rem 1.5rem;
}
.form-success.is-shown { display: flex; }
.form-success .ok-ring {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(34,197,94,.12); border: 2px solid #22C55E; color: #15803D;
  display: grid; place-items: center;
}
.form-success .ok-ring svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { max-width: 44ch; }

/* --------------------------------------------------------------------------
   18. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0;
  position: relative; font-family: var(--f-head); font-weight: 600; font-size: 1.08rem;
  color: var(--l-text); min-height: 44px; display: flex; align-items: center;
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--copper-dk); }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 13px; height: 13px;
  border-right: 2px solid var(--copper-dk); border-bottom: 2px solid var(--copper-dk);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 3rem 1.5rem 0; color: var(--l-muted); font-size: var(--t-small); }
.faq .faq-body p + p { margin-top: .8rem; }

/* dark variant */
.faq--dark { border-color: var(--line-d); }
.faq--dark details { border-color: var(--line-d); }
.faq--dark summary { color: #fff; }
.faq--dark summary:hover { color: var(--copper-lt); }
.faq--dark summary::after { border-color: var(--copper-lt); }
.faq--dark .faq-body { color: var(--d-muted); }

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--copper); color: #fff;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'><g fill='none' stroke='%23FFFFFF' stroke-width='1'><path d='M0 20h120M0 40h120'/><path d='M0 20v20M30 20v20M60 20v20M90 20v20M15 0v20M45 0v20M75 0v20M105 0v20'/></g></svg>");
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { font-size: var(--t-h2); color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.88); margin-top: .75rem; max-width: 42ch; }

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); border-top: 1px solid var(--line-d); padding-top: clamp(3.5rem,6vw,5rem); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.1rem; font-family: var(--f-body); font-weight: 700;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer a { color: var(--d-muted); text-decoration: none; font-size: .95rem; transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--copper-lt); }
.footer p { color: var(--d-muted); font-size: .95rem; }

.footer-brand .brand { margin-bottom: 1rem; }
.footer-badges { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.footer-badges .media { width: 74px; height: 46px; aspect-ratio: auto; }

.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-d); border-radius: var(--r-sm); color: var(--d-muted);
  transition: all var(--dur) var(--ease);
}
.social a:hover { border-color: var(--copper-lt); color: var(--copper-lt); background: rgba(232,131,74,.08); }
.social svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid var(--line-d); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: #74839a;
}
.footer-bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   21. MISC
   -------------------------------------------------------------------------- */
.emergency-bar {
  background: var(--slate-800); border: 1px solid var(--line-d);
  border-left: 4px solid var(--copper); border-radius: var(--r);
  padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 1.5rem;
}
.emergency-bar svg { width: 26px; height: 26px; color: var(--copper-lt); flex: none; }
.emergency-bar b { font-family: var(--f-head); color: #fff; display: block; }
.emergency-bar p { font-size: var(--t-small); color: var(--d-muted); }
.emergency-bar .btn { margin-left: auto; }

.info-card {
  background: var(--slate-900); border: 1px solid var(--line-d);
  border-radius: var(--r); padding: clamp(1.5rem, 2.5vw, 2rem);
}
.info-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.info-list li { display: flex; gap: .9rem; }
.info-list svg { width: 21px; height: 21px; color: var(--copper-lt); flex: none; margin-top: 2px; }
.info-list b { display: block; font-family: var(--f-head); font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: #7E8C9C; margin-bottom: .2rem; font-weight: 700; }
.info-list a { color: #fff; text-decoration: none; font-size: 1.05rem; font-weight: 600; }
.info-list a:hover { color: var(--copper-lt); }
.info-list span { color: var(--d-text); }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--line-d); color: var(--d-muted); }
.hours-table td:last-child { text-align: right; color: var(--d-text); font-weight: 600; }
.hours-table tr:last-child td { border-bottom: 0; }

/* price/material cards */
.mat-card { position: relative; }
.mat-card .media { border-radius: var(--r) var(--r) 0 0; }
.mat-tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: rgba(11,15,20,.85); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-d-2);
}
.mat-spec { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0;
  border-bottom: 1px solid var(--line-l); font-size: .88rem; }
.mat-spec:last-child { border-bottom: 0; }
.mat-spec dt { color: var(--l-muted); }
.mat-spec dd { margin: 0; font-weight: 600; color: var(--l-text); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* utility */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; } .mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; } .mb-3 { margin-bottom: 2.25rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
