/* ==========================================================================
   HWF Welding & Fabrication — site styles
   Plain CSS, mobile-first. No build step required.
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Patriotic industrial palette: black / red / white / blue */
  --bg: #0e0f11;          /* near-black */
  --bg-2: #15171a;        /* charcoal */
  --steel: #1f2226;
  --steel-2: #2a2e33;
  --line: #33383f;
  --text: #f5f6f7;        /* white */
  --muted: #a9b0b8;
  --accent: #c8102e;      /* primary red: CTAs, call buttons, emergency (white text 5.9:1) */
  --accent-hover: #a30d25;/* darker red hover (white text 8:1) */
  --accent-hot: #e63946;  /* bright red for large display text on dark */
  --accent-text: #ff5a5f; /* red for small text on dark (6.3:1) */
  --accent-ink: #ffffff;  /* text on red */
  --blue: #2f6fd6;        /* secondary accent: icons, borders, graphics */
  --blue-deep: #1f4e9a;   /* deep steel blue fills */
  --blue-text: #6fa8ff;   /* blue for small text / links on dark (6.6:1+) */
  --radius: 6px;
  --maxw: 1180px;
  --header-h: 64px;
  --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: 68px; /* room for mobile call bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: #ffffff; }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
h3 { font-size: 1.35rem; letter-spacing: .03em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: .75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -8px rgba(200,16,46,.75); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }
.btn-outline { border-color: #5a626b; color: var(--text); background: rgba(255,255,255,.03); }
.btn-outline:hover { border-color: var(--blue-text); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,15,17,.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { /* hot seam line */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 18%, #d9dde2 50%, var(--blue) 82%, transparent);
  opacity: .8;
}
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); margin-right: auto; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { font-family: var(--font-head); text-transform: uppercase; line-height: 1.05; font-weight: 700; letter-spacing: .04em; font-size: 1.05rem; }
.brand-text small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .14em; color: var(--muted); }

.header-call {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .8rem;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .95rem; white-space: nowrap;
}
.header-call:hover { background: var(--accent-hover); color: var(--accent-ink); }
.header-call svg { width: 18px; height: 18px; }
.header-call .num { display: none; }
@media (min-width: 560px) { .header-call .num { display: inline; } .header-call .lbl { display: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .8rem 0; color: var(--text); text-decoration: none;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; font-size: 1.05rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #ffffff; }
.site-nav a:hover { color: var(--blue-text); }

/* Mobile nav: hidden only when JS is available (progressive enhancement) */
@media (max-width: 899px) {
  .site-nav { width: 100%; order: 10; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { border-top: 1px solid var(--line); padding: .25rem 0 .75rem; }
  .site-nav li + li { border-top: 1px solid rgba(255,255,255,.05); }
  .header-inner { flex-wrap: wrap; }
  .no-js .nav-toggle { display: none; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { order: 0; }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav a { padding: .4rem 0; font-size: .98rem; position: relative; }
  .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); }
  .header-inner { gap: 1.75rem; }
}

/* ---------- Emergency strip ---------- */
.emergency-strip { background: linear-gradient(90deg, #7a0a1c, #9b0d24 50%, #7a0a1c); border-bottom: 1px solid #b31230; font-size: .9rem; color: #ffffff; }
.emergency-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1rem; padding-block: .45rem; text-align: center; }
.emergency-strip strong { color: #ffffff; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.emergency-strip a { color: #fff; font-weight: 700; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; display: inline-block; margin-right: .4rem; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(900px 480px at 85% 30%, rgba(200,16,46,.20), transparent 60%),
    radial-gradient(700px 440px at 5% 110%, rgba(47,111,214,.16), transparent 60%),
    linear-gradient(180deg, #131518 0%, #0e0f11 100%);
}
.hero::before { /* brushed steel texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr .9fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; font-weight: 500; color: var(--blue-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero h1 .hot { color: var(--accent-hot); display: block; }
.hero-lead { font-size: clamp(1.08rem, 2.3vw, 1.3rem); color: #d3d8dd; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.75rem 0 1.5rem; }
.hero-actions .btn { flex: 1 1 220px; }
@media (min-width: 600px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.03); font-size: .88rem; color: #d7dbe0;
}
.chip svg { width: 15px; height: 15px; color: var(--blue-text); }

.hero-art { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.hero-art > svg { width: 100%; height: auto; }
.emergency-card {
  position: relative; margin-top: -1.5rem; background: linear-gradient(160deg, #24161a, #16171b);
  border: 1px solid #5a1a26; border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; box-shadow: 0 18px 40px -20px rgba(0,0,0,.8);
}
.emergency-card h2 { font-size: 1.35rem; margin-bottom: .25rem; color: #fff; }
.emergency-card p { margin: 0 0 .8rem; color: #d6d9de; font-size: .97rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.25rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid #1d2024; }
.section-plate { /* subtle diamond plate */
  background-color: #131518;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.035) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.035) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.25) 25%, transparent 25%);
  background-size: 28px 28px;
  border-block: 1px solid #1d2024;
}
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head .eyebrow { color: var(--blue-text); font-size: .85rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; background: linear-gradient(180deg, var(--steel) 0%, #1d2125 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 3px; background: linear-gradient(90deg, var(--accent) 0 66%, var(--blue) 66% 100%); border-radius: var(--radius) 0 0 0; }
.card h3 { margin-bottom: .5rem; }
.card p { color: #c6ccd2; }
.card .icon { width: 48px; height: 48px; color: var(--blue-text); margin-bottom: 1rem; }
.card-link { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; text-decoration: none; }
.card-link::after { content: " →"; }
.card ul { color: #c6ccd2; margin: 0 0 1rem; }
.card ul li { margin-bottom: .3rem; }

/* feature list (why choose) */
.features { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 1rem; padding: 1.25rem; background: rgba(14,15,17,.78); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .icon { flex: none; width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: rgba(47,111,214,.16); color: var(--blue-text); border: 1px solid rgba(47,111,214,.55); }
.feature h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.feature p { margin: 0; color: #bfc6cd; font-size: .98rem; }

.cert-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; justify-content: center; }
.cert {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  padding: .6rem 1rem; border: 2px solid var(--blue-deep); border-radius: 4px; background: #14171b; color: #e6e9ec; font-size: .95rem;
}
.cert b { color: var(--accent-text); font-weight: 700; }
.fine { color: var(--muted); font-size: .9rem; }

/* service area */
.area-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-art { max-width: 460px; margin-inline: auto; width: 100%; }

/* contact block */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: var(--radius); background: #1a2436; color: var(--blue-text); border: 1px solid #2a3c5c; }
.info-list .label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--muted); }
.info-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--blue-text); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--muted); padding-right: 1rem; }
.hours tr.emerg td, .hours tr.emerg th { color: var(--accent-text); font-weight: 700; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #8f0b20 0%, #b00d28 50%, #c8102e 100%);
  color: #ffffff; padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  border-block: 3px solid var(--blue-deep);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 14px, transparent 14px 28px); }
.cta-band .container { position: relative; display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 800px) { .cta-band .container { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; font-size: 1.1rem; font-weight: 500; }
.btn-dark { background: #0e0f11; color: #fff; border-color: rgba(255,255,255,.25); }
.btn-dark:hover { background: #000; color: #fff; border-color: #fff; }

/* page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  background: radial-gradient(700px 300px at 90% 0%, rgba(200,16,46,.16), transparent 60%), radial-gradient(600px 260px at 0% 100%, rgba(47,111,214,.10), transparent 60%), linear-gradient(180deg, #16181b, #0e0f11);
  border-bottom: 1px solid var(--line);
}
.page-hero p { color: #cdd3d9; max-width: 44rem; font-size: 1.12rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }

/* service detail */
.service-detail { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .service-detail { grid-template-columns: 1.1fr .9fr; } .service-detail.reverse > :first-child { order: 2; } }
.service-detail + .service-detail { margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: clamp(3rem, 7vw, 4.5rem); border-top: 1px dashed var(--line); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: 1rem; border-radius: 2px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tag { display: inline-block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--blue-text); border: 1px solid rgba(111,168,255,.45); padding: .15rem .55rem; border-radius: 3px; margin-bottom: .75rem; }
.subgrid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .subgrid { grid-template-columns: repeat(2, 1fr); } }
.subcard { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #1a1d21; }
.subcard h3 { font-size: 1.05rem; margin-bottom: .35rem; color: #fff; }
.subcard p { margin: 0; color: #bcc3ca; font-size: .97rem; }

/* PHOTO PLACEHOLDERS — replace with real photos from Bobby (see README) */
.photo-ph {
  position: relative; display: grid; place-items: center; text-align: center; aspect-ratio: 4 / 3; width: 100%;
  border: 2px dashed #3d4a5e; border-radius: var(--radius); padding: 1.25rem; color: #aab4c2;
  background:
    repeating-linear-gradient(45deg, rgba(47,111,214,.07) 0 12px, transparent 12px 24px),
    #15181d;
}
.photo-ph svg { width: 44px; height: 44px; margin: 0 auto .6rem; color: #6f86a8; }
.photo-ph strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: #dfe6f0; font-weight: 600; }
.photo-ph span { font-size: .88rem; }
.photo-ph.portrait { aspect-ratio: 4 / 5; }
.photo-ph.wide { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .photo-ph.wide { aspect-ratio: 3 / 1; } }

/* about */
.about-grid { display: grid; gap: 2.25rem; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .8fr 1.2fr; } }
.pull { border-left: 4px solid var(--accent); padding: .25rem 0 .25rem 1.1rem; font-size: 1.2rem; color: #eef0f3; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; margin: 1.5rem 0; }

/* contact page */
.map-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #1a1d21; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .map-wrap { aspect-ratio: auto; min-height: 380px; height: 100%; } }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; margin-bottom: .35rem; color: #dfe3e7; }
.field .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; font: inherit; color: var(--text);
  background: #101214; border: 1px solid #454c54; border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 3px rgba(47,111,214,.4); }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; }
.checkbox input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-status { padding: .8rem 1rem; border-radius: var(--radius); background: rgba(47,111,214,.12); border: 1px solid rgba(111,168,255,.45); color: #dce8ff; }
.form-status[hidden] { display: none; }
.alert {
  display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: #2a0e14; border: 1px solid #6b1522; border-left: 4px solid var(--accent); margin-bottom: 1.5rem;
}
.alert svg { width: 24px; height: 24px; color: var(--accent-text); flex: none; margin-top: .1rem; }
.alert p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #08090a; border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; color: #b8c0c8; font-size: .97rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; letter-spacing: .12em; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #d6dbe0; text-decoration: none; }
.site-footer a:hover { color: var(--blue-text); text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #1f2327; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .87rem; color: #8a939c; }
.social { display: inline-flex; align-items: center; gap: .5rem; }
.social svg { width: 20px; height: 20px; }

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.35fr 1fr;
  background: #08090a; border-top: 1px solid var(--line); padding: 8px; gap: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.call-bar a { min-height: 50px; font-size: 1rem; }
@media (min-width: 900px) { .call-bar { display: none; } }

/* 404 */
.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 20vw, 9rem); color: var(--accent-hot); line-height: 1; margin: 0; }

/* Small screens: drop the decorative hero illustration so the emergency CTA sits higher */
@media (max-width: 599px) {
  .hero-art > svg { display: none; }
  .emergency-card { margin-top: 0; }
}

/* Prevent long emails/table cells from forcing grid overflow on very narrow phones */
.grid > *, .contact-grid > *, .footer-grid > *, .hero-grid > *, .area-grid > *, .about-grid > *, .service-detail > * { min-width: 0; }
.info-list a, .site-footer a { overflow-wrap: anywhere; }
@media (max-width: 380px) { .card { padding: 1.3rem 1.1rem; } .hours th { padding-right: .6rem; } }
