/* ==========================================================================
   Steele & Sons Plumbing — Global Stylesheet
   Visual language: brand colors pulled from the design flyer
   (navy / bright blue / white / water), laid out in a Microsoft Fluent
   aesthetic (Segoe UI, card surfaces, soft depth shadows, roomy spacing).
   Ref: https://developer.microsoft.com/en-us/
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* ---- Brand palette (client theme) ----
     Primary #1E5AA8 · Secondary #2F80ED · Accent #6FB6FF
     Light bg #EEF8FF · White #FFFFFF · Text #0A2342 */
  --navy-900: #08203c;   /* deepest — topbar / footer */
  --navy:     #0a2342;   /* Text / dark surfaces & headings */
  --primary:  #1e5aa8;
  --secondary:#2f80ed;
  --accent:   #6fb6ff;

  --blue:     #1e5aa8;   /* primary action blue (buttons, links) */
  --blue-600: #164a86;   /* button hover */
  --blue-bright: #2f80ed;/* secondary accent */
  --drop:     #6fb6ff;   /* light accent */
  --blue-050: #eef8ff;   /* light chip / tint */
  --sky:      #eef8ff;   /* light background */

  --ink:   #0a2342;
  --muted: #55627a;
  --line:  #dbe7f3;
  --white: #ffffff;

  /* ---- Brand gradients (135° blue → navy family) ---- */
  --grad-primary:       linear-gradient(135deg, var(--secondary) 0%, var(--primary) 55%, var(--navy) 100%);
  --grad-primary-hover: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  --grad-navy:          linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  --grad-ice:           linear-gradient(135deg, #ffffff 0%, var(--blue-050) 100%);
  --grad-hero:          linear-gradient(135deg, #ffffff 0%, var(--sky) 52%, #d6ebff 100%);

  --ok:  #107c41;
  --err: #c50f1f;

  /* Typography — Fluent uses Segoe UI */
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Fluent depth shadows */
  --shadow-2:  0 1.6px 3.6px rgba(0,0,0,.11), 0 .3px .9px rgba(0,0,0,.09);
  --shadow-8:  0 6.4px 14.4px rgba(0,0,0,.12), 0 1.2px 3.6px rgba(0,0,0,.10);
  --shadow-16: 0 12.8px 28.8px rgba(0,0,0,.12), 0 2.4px 7.2px rgba(0,0,0,.10);

  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.3px; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ---- Layout helpers ---- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--tint { background: var(--sky); }
.section--navy { background: var(--grad-navy); color: #dce7f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: .6rem;
}
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Skip link for a11y */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons (Fluent-style) ---- */
.btn {
  --btn-bg: var(--grad-primary); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--radius);
  padding: .75rem 1.35rem; font: inherit; font-weight: 600; cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .05s ease;
  text-decoration: none; box-shadow: var(--shadow-2);
}
.btn:hover { background: var(--grad-primary-hover); text-decoration: none; box-shadow: var(--shadow-8); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--blue-050); background: var(--blue-050); }
.btn--white { --btn-bg:#fff; --btn-fg: var(--navy); }
.btn--white:hover { background:#eef4fc; }
.btn--ghost-white { --btn-bg: transparent; --btn-fg:#fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn--ghost-white:hover { --btn-bg: rgba(255,255,255,.14); background: rgba(255,255,255,.14); }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
  background: var(--navy-900); color: #cdddf2; font-size: .86rem;
}
.topbar .container { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; padding: .45rem 0; }
.topbar a { color: #fff; }
.topbar .spacer { margin-left: auto; }
.topbar .dot { opacity: .45; }
.topbar strong { color: #fff; }
/* Make the emergency phone the loudest thing in the utility bar */
.topbar a { font-weight: 800; font-size: 1.02rem; letter-spacing: .2px; white-space: nowrap; }
.topbar a:hover { color: var(--accent); text-decoration: none; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1rem; padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--navy);
  font-size: 1.15rem; letter-spacing: -.2px; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 42px; height: 42px; flex: none; }
.brand-logo { height: 45px; width: auto; display: block; flex: none; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: 2px;
  color: var(--blue); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links a { color: var(--ink); font-weight: 600; padding: .55rem .8rem; border-radius: 6px; }
.nav-links a:hover { background: var(--blue-050); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue); background: var(--blue-050); }
.nav-cta { margin-left: .5rem; }
.nav-links a.nav-cta { color: #fff; font-weight: 800; font-size: 1.02rem; padding: .7rem 1.25rem;
  animation: cta-pulse 2.4s ease-out infinite; }
.nav-links a.nav-cta:hover { background: var(--grad-primary-hover); animation: none; }
/* Gentle ring that draws the eye to "call us" without moving anything.
   The global prefers-reduced-motion rule disables this automatically. */
@keyframes cta-pulse {
  0%   { box-shadow: var(--shadow-2), 0 0 0 0 rgba(47,128,237,.45); }
  70%  { box-shadow: var(--shadow-2), 0 0 0 9px rgba(47,128,237,0); }
  100% { box-shadow: var(--shadow-2), 0 0 0 0 rgba(47,128,237,0); }
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 6px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---- Services dropdown ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: .25rem; }
.caret { transition: transform .15s ease; }
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  display: none;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-16); padding: .4rem; z-index: 120;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; width: 100%; white-space: nowrap;
  padding: .6rem .75rem; border-radius: 6px; font-weight: 600; color: var(--ink); }
.dropdown a:hover { background: var(--blue-050); }
.dropdown a.dropdown-all { color: var(--blue); margin-top: .2rem;
  border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; }

@media (max-width: 860px) {
  .nav-item { display: block; }
  .nav-item > a { display: flex; }
  .caret { display: none; }
  .dropdown { position: static; display: block; min-width: 0;
    background: var(--blue-050); border: none; box-shadow: none;
    border-radius: 8px; margin: .1rem 0 .5rem; padding: .25rem; }
  .dropdown a { display: block; width: auto; color: var(--navy); white-space: normal;
    padding: .7rem .85rem; font-weight: 600; }
  .dropdown a:hover { background: #fff; }
  .dropdown a.dropdown-all { border-top: none; color: var(--blue); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: stretch; gap: .25rem; margin: 0;
    background: #fff; box-shadow: var(--shadow-16); padding: 5rem 1.25rem 1.25rem;
    transform: translateX(100%); transition: transform .22s ease; z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: .85rem .9rem; }
  .nav-cta { margin: .5rem 0 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* Gradient hero — mobile-first: stacked & centered, seal on top */
.hero { position: relative; overflow: hidden; color: #dbe9fb;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 48%, var(--navy) 100%); }
.hero .container { position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: clamp(1.75rem, 5vw, 3rem);
  padding: clamp(40px, 9vw, 72px) var(--gutter); }
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; }
.hero h1 span { color: #fff; display: block; }
.hero .lead { color: #cfe0f8; margin-inline: auto; }
.hero-cta { justify-content: center; }
.hero-trust { justify-content: center; color: #cfe0f8; }
.hero-trust svg { color: #fff; }

/* Round seal */
.hero-badge { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
/* higher-specificity selector so this beats the base .badge-circle size regardless of order */
.hero-badge .badge-circle { width: clamp(210px, 64vw, 300px); height: clamp(210px, 64vw, 300px);
  border-width: 4px; }

/* white outline button for use on the gradient */
.btn--ghost-white { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.6); box-shadow: none; }
.btn--ghost-white:hover { background: rgba(255,255,255,.14); }

/* Desktop: copy left, seal right */
@media (min-width: 861px) {
  .hero .container { flex-direction: row-reverse; justify-content: space-between;
    text-align: left; gap: 3rem; padding: clamp(56px, 7vw, 96px) var(--gutter); }
  .hero-copy { flex: 1; }
  .hero .lead { margin-inline: 0; }
  .hero-cta, .hero-trust { justify-content: flex-start; }
  .hero-badge { flex: none; }
}

/* Inner-page gradient hero (no seal) — always centered, more compact */
.hero--page .container { flex-direction: column; text-align: center;
  padding: clamp(40px, 7vw, 72px) var(--gutter); }
.hero--page .hero-copy { max-width: 760px; }
.hero--page .lead { margin-inline: auto; }
.hero--page .hero-cta { justify-content: center; }
.hero .lead a, .hero p a { color: #fff; text-decoration: underline; }
.hero p.lead { max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.8rem; color: #dbe9fb;
  font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent); }
.hero-art { position: relative; }
.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-16);
  padding: 1.5rem; border: 1px solid var(--line);
}
.hero-card .badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--navy);
  color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .5px; padding: .4rem .8rem;
  border-radius: 999px; }
.hero-card h3 { margin: 1rem 0 .5rem; font-size: 1.5rem; }
.hero-phone { font-size: 1.9rem; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.hero-phone:hover { text-decoration: none; color: var(--blue); }
.hero-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.hero-card li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; color: var(--ink); }
.hero-card li svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
/* Decorative water wave */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; color: #fff; }

/* Faucet photo (cropped from the flyer) as the hero visual */
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-16); border: 1px solid var(--line); background: #dfeefb; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Photo hero -------------------------------------------------------------
   A real <img> sits behind the brand gradient so the hero photo stays crisp and
   fully responsive (mobile pulls the 480/800px webp, ~15–30 KB), while a tinted
   gradient overlay keeps the white headline/CTA legible on any image. */
.hero--photo { background: var(--navy); }            /* shown until the photo paints */
.hero--photo .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero--photo::after {                                 /* legibility scrim */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg,
    rgba(15,44,102,.86) 0%, rgba(30,90,168,.68) 46%, rgba(10,35,66,.90) 100%);
}
.hero--photo .container { position: relative; z-index: 2; }
.hero--photo .hero-wave { z-index: 3; }               /* keep the white wave on top */

/* Full-bleed in-page photo band — a visual breather between content sections.
   Below the fold, so it lazy-loads; mobile still pulls only the small variant. */
.photo-band { margin: 0; line-height: 0; }
.photo-band img { width: 100%; height: clamp(220px, 40vw, 460px); object-fit: cover; display: block; }
.hero-emergency { display: inline-flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4);
  color: #fff; text-decoration: none; padding: .5rem 1.3rem; border-radius: 999px;
  box-shadow: var(--shadow-8); backdrop-filter: blur(4px); }
.hero-emergency:hover { text-decoration: none; background: rgba(255,255,255,.22); }
.hero-emergency span { font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.hero-emergency strong { font-size: 1.35rem; line-height: 1.2; }

/* Round "Quality Work · Fair Prices" badge (square crop shown as a circle) */
.badge-circle { width: 132px; height: 132px; object-fit: contain; }


/* ==========================================================================
   Service ribbon + cards
   ========================================================================== */
.ribbon { background: var(--grad-primary); color: #fff; }
.ribbon .container { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0; font-weight: 700; letter-spacing: .5px; }
.ribbon svg { width: 22px; height: 22px; }

.card-more { margin: .85rem 0 0; }
.card-more a { color: var(--blue); font-weight: 700; }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-2);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow-8); transform: translateY(-3px); border-color: #cfe0f6; }
.card .icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); margin-bottom: 1rem;
}
.card .icon svg { width: 30px; height: 30px; }
.card .icon img { width: 34px; height: 34px; object-fit: contain; }
.card .icon { background: var(--grad-ice); border: 1px solid var(--line); }
.card h3 { color: var(--navy); margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; }

/* ==========================================================================
   Feature / why-choose grid
   ========================================================================== */
.features { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature .fi { width: 46px; height: 46px; border-radius: 10px; flex: none; display: grid;
  place-items: center; background: var(--grad-navy); color: #fff; }
.feature .fi svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   Split / about media block
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-16);
  background: var(--grad-navy); min-height: 320px;
  display: grid; place-items: center; color: #fff; padding: 2rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; }
.stat b { display: block; font-size: 2rem; color: var(--blue); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

/* Checklist */
.check { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.check li { display: flex; gap: .6rem; align-items: flex-start; }
.check svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-2); }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: .5rem; }
.quote p { font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); }
.quote cite span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center;
  background: linear-gradient(120deg, rgba(8,32,60,.94), rgba(30,90,168,.90)),
              url("../assets/img/schematics-bg.jpg") center/cover no-repeat; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f6; max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1rem; }

/* ==========================================================================
   Contact / forms
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-8); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--navy); }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #c5cfdb; border-radius: 6px; padding: .7rem .8rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,214,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field.row2 > div { margin: 0; }
@media (max-width: 520px) { .field.row2 { grid-template-columns: 1fr; } }

/* validation states driven by the portable form-handler */
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field .error-text { color: var(--err); font-size: .85rem; margin-top: .3rem; min-height: 1em; display: none; }
.field.is-invalid .error-text { display: block; }

.form-status { border-radius: 6px; padding: .85rem 1rem; margin-bottom: 1rem; font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e7f5ee; color: var(--ok); border: 1px solid #b6e0c8; }
.form-status.is-error   { display: block; background: #fdecee; color: var(--err); border: 1px solid #f5c2c7; }

.info-card { background: var(--grad-navy); color: #dbe6f5; border-radius: var(--radius-lg);
  padding: clamp(20px,3vw,32px); box-shadow: var(--shadow-8); }
.info-card h3 { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .8rem; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--blue-bright); flex: none; margin-top: 3px; }
.info-list a { color: #fff; }
.info-list b { color: #fff; display: block; }
.hours { list-style: none; padding: 0; margin: .5rem 0 0; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12);
  padding: .35rem 0; font-size: .95rem; }
.hours .em { color: var(--blue-bright); font-weight: 700; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 100%); color: #a9bdd8; font-size: .95rem; }
.site-footer .container { padding: clamp(40px, 6vw, 64px) var(--gutter) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #cddcf0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand small { color: var(--blue-bright); }
.footer-brand p { max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Sticky mobile call bar
   On phones the header phone button lives inside the collapsed hamburger menu,
   so the number is invisible until you open it. This fixed bar keeps a
   tap-to-call target with the number showing at all times. Injected by main.js;
   shown only on the mobile breakpoint where the nav collapses.
   ========================================================================== */
.call-fab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  display: none; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1rem; padding-bottom: calc(.9rem + env(safe-area-inset-bottom, 0px));
  background: var(--grad-primary); color: #fff;
  font-weight: 800; font-size: 1.12rem; letter-spacing: .3px;
  box-shadow: 0 -6px 20px rgba(8,32,60,.22);
  text-decoration: none;
}
.call-fab:hover, .call-fab:focus { color: #fff; text-decoration: none; background: var(--grad-primary-hover); }
.call-fab svg { width: 20px; height: 20px; flex: none; fill: currentColor; }

@media (max-width: 860px) {
  .call-fab { display: flex; }
  /* Reserve space so the bar never hides the footer's last line. */
  body { padding-bottom: 4rem; }
  /* Step aside while the slide-in menu is open (its own call button shows there).
     Browsers without :has() simply keep the bar — a harmless fallback. */
  body:has(#nav-links.open) .call-fab { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
