/* =====================================================================
   Premium Auto Injury Clinic — Design System
   Aesthetic: refined, premium-medical. Deep navy (trust / clinical
   authority) + warm amber (action / recovery) + gold hairline (premium).
   Newsreader display / Plus Jakarta Sans body.
   Matches the Premium Medical Clinic house style (numbered sections,
   trust bar, transparent pricing, testimonial-ready modules).

   NOTE: token NAMES are kept from the house template (--teal-* / --coral-*)
   so every component keeps working; only the VALUES are remapped.
   --teal-* now carries the NAVY brand ramp, --coral-* the AMBER action ramp.
   ===================================================================== */

:root {
  /* Brand — NAVY ramp (primary: headings, links, primary buttons) */
  --teal-900: #0d2340;
  --teal-800: #122a4c;
  --teal-700: #163457;
  --teal-600: #1d4573;   /* primary */
  --teal-500: #2a5688;
  --teal-300: #86a6c8;
  --teal-100: #d3e0ef;
  --teal-50:  #eef3f9;

  /* Action — AMBER ramp. Used for the loud CTA button and warm accents.
     --coral-600 clears WCAG AA (4.5:1) on the mist/white backgrounds for
     both text and as a button background with white text. */
  --coral-600: #ad5a0b;  /* amber — CTA / accent (AA on light + white text) */
  --coral-500: #9c510a;  /* darker amber — hover/pressed (keeps contrast) */
  --coral-400: #d98a3a;  /* light amber — decorative only */
  --coral-50:  #fbf1e3;
  --red-700:   #7f4108;  /* deep amber — pressed */

  --gold-600: #8a6516;
  --gold-500: #c8952f;   /* premium hairline / detail */
  --gold-200: #ecd6a3;

  /* Neutrals */
  --ink:      #112027;
  --slate:    #4d626c;
  --slate-400:#5f757b;
  --line:     #dfe8ea;
  --line-soft:#eef3f4;
  --paper:    #ffffff;
  --mist:     #f5f9fa;
  --shell:    #fbfcfc;

  /* Type */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(13, 35, 64, .06), 0 1px 3px rgba(13, 35, 64, .05);
  --shadow: 0 10px 30px -12px rgba(13, 35, 64, .22);
  --shadow-lg: 0 28px 60px -24px rgba(13, 35, 64, .35);
  --shadow-teal: 0 18px 40px -16px rgba(29, 69, 115, .45);
  --shadow-coral: 0 16px 34px -14px rgba(180, 95, 13, .5);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --bar-h: 44px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--shell);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral-600); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

/* Skip to main content (keyboard / screen-reader) */
.skip-nav {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--teal-900); color: #fff; padding: .7rem 1.1rem;
  font-weight: 700; border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-nav:focus { left: 0; color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--teal-900);
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1.1rem; }
strong { font-weight: 700; }

/* ---------- Layout helpers ---------- */
.container-x { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4rem); }
.bg-mist { background: var(--mist); }
.bg-teal { background: var(--teal-900); color: #dfe8f4; }
.bg-shell { background: var(--shell); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

/* gold hairline divider */
.hairline { height: 2px; width: 56px; background: linear-gradient(90deg, var(--gold-500), var(--gold-200)); border: 0; border-radius: 2px; margin: 0 0 1.4rem; }
.text-center .hairline { margin-inline: auto; }

/* ---------- Eyebrow (numbered section label) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 1rem;
}
.eyebrow__num {
  font-family: var(--font-display); font-size: .95rem; letter-spacing: 0;
  color: var(--gold-600); font-weight: 600;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-500); display: inline-block; }

/* ---------- Buttons ---------- */
.btn-x {
  --btn-bg: var(--teal-600); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; letter-spacing: .005em;
  padding: .92rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn-x svg { width: 1.05em; height: 1.05em; }
.btn-x:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn-urgent { --btn-bg: var(--coral-600); box-shadow: var(--shadow-coral); }
.btn-urgent:hover { --btn-bg: var(--coral-500); box-shadow: 0 22px 40px -14px rgba(180,95,13,.6); }
.btn-teal { --btn-bg: var(--teal-600); box-shadow: var(--shadow-teal); }
.btn-teal:hover { --btn-bg: var(--teal-700); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--teal-800); border-color: var(--teal-300); }
.btn-ghost:hover { --btn-fg: var(--teal-900); border-color: var(--teal-600); background: var(--teal-50); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--teal-800); box-shadow: var(--shadow); }
.btn-light:hover { --btn-fg: var(--coral-600); }
.btn-x--lg { padding: 1.05rem 1.9rem; font-size: 1.03rem; }
.btn-x--block { width: 100%; }

/* =====================================================================
   TOP UTILITY / TRUST BAR
   ===================================================================== */
.topbar {
  background: var(--teal-900); color: #cfe0f0;
  font-size: .82rem; font-weight: 500; letter-spacing: .01em;
  min-height: var(--bar-h);
}
.topbar .container-x { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--bar-h); }
.topbar__msg { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__msg .dot { width: 7px; height: 7px; border-radius: 50%; background: #57d08a; box-shadow: 0 0 0 3px rgba(87,208,138,.22); flex: none; }
.topbar__links { display: inline-flex; align-items: center; gap: 1.4rem; }
.topbar__links a { color: #eef3fb; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.topbar__links a:hover { color: #fff; }
.topbar__links svg { width: 14px; height: 14px; opacity: .8; }
@media (max-width: 720px) { .topbar__msg span.hide-sm { display: none; } .topbar__links a.hide-sm { display: none; } }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav-x {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav-x.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }
.nav-x .container-x { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img, .brand svg { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .96rem; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-700); background: var(--teal-50); }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--teal-800); }
.nav-phone svg { width: 18px; height: 18px; color: var(--coral-600); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: var(--teal-900); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter creates a containing block that would trap the fixed
     menu inside the header — disable it on mobile so the panel anchors to
     the viewport and renders fully opaque. */
  .nav-x { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.97); }
  .nav-x.is-scrolled { background: #fff; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; padding: 5.5rem 1.4rem 2rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav-links .nav-mobile-cta { margin-top: 1rem; }
  .nav-phone span { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(8,47,55,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 999; }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }
}
@media (min-width: 993px) { .nav-mobile-cta, .nav-mobile-only { display: none !important; } }

/* ---------- Back-to-top button ---------- */
.to-top {
  position: fixed; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal-600); color: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--teal-700); }

/* Conversion FAB (bottom-right): desktop labeled pill, mobile round call button.
   Shares the same scroll-reveal handler as .to-top (revealed past ~500px). */
.fab-cta {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 900;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--coral-600); color: #fff; font-family: var(--font-body);
  font-weight: 700; font-size: .96rem; line-height: 1; text-decoration: none;
  min-height: 48px; padding: 0 1.35rem; border-radius: 999px; box-shadow: var(--shadow-coral);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.fab-cta svg { width: 20px; height: 20px; }
.fab-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab-cta:hover { background: var(--coral-500); color: #fff; transform: translateY(-2px); }
@media (max-width: 640px) {
  .fab-cta { padding: 0; width: 54px; min-height: 54px; height: 54px; justify-content: center; border-radius: 50%; }
  .fab-cta__label { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; background: var(--shell); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(14,108,126,.10), transparent 60%),
    radial-gradient(50% 60% at 0% 90%, rgba(198,154,76,.10), transparent 60%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .8rem; font-weight: 600; color: var(--teal-800); margin-bottom: 1.4rem; }
.hero__eyebrow .pill { background: var(--coral-50); color: var(--coral-600); font-weight: 700; font-size: .72rem;
  padding: .25rem .6rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { margin-bottom: .9rem; }
.hero h1 em { font-style: italic; color: var(--teal-600); }
.hero__lead { font-size: 1.16rem; color: var(--slate); max-width: 46ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__meta .item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--slate); font-weight: 600; }
.hero__meta .item svg { width: 20px; height: 20px; color: var(--teal-600); flex: none; }

.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero__media::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border: 2px solid var(--gold-200); border-radius: var(--radius-lg); z-index: -1; }
.hero__card {
  position: absolute; left: -22px; bottom: 26px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.05rem 1.25rem; display: flex; align-items: center; gap: .9rem;
  border: 1px solid var(--line-soft); max-width: 270px;
}
.hero__card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--coral-50); color: var(--coral-600);
  display: grid; place-items: center; flex: none; }
.hero__card .ic svg { width: 24px; height: 24px; }
.hero__card b { display: block; font-size: 1.02rem; color: var(--teal-900); }
.hero__card span { font-size: .85rem; color: var(--slate); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .hero__media img { aspect-ratio: 16/11; }
  .hero__card { left: 8px; }
}

/* =====================================================================
   STATS / TRUST STRIP
   ===================================================================== */
.stats { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); }
.stat { background: #fff; padding: 1.8rem var(--gutter); text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--teal-700); line-height: 1; margin-bottom: .35rem; }
.stat__num span { color: var(--gold-600); }
.stat__label { font-size: .86rem; color: var(--slate); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section heading block ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head p { color: var(--slate); font-size: 1.08rem; margin-bottom: 0; }
.section-head.center .eyebrow::before { display: none; }

/* =====================================================================
   SERVICE CARDS
   ===================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem;
  position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--teal-600); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card__ic { width: 54px; height: 54px; border-radius: 14px; background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center; margin-bottom: 1.1rem; transition: background .25s, color .25s; }
.svc-card:hover .svc-card__ic { background: var(--teal-600); color: #fff; }
.svc-card__ic svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.svc-card p { color: var(--slate); font-size: .97rem; margin-bottom: 0; }
.svc-card .tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold-600); background: #fff7e9; padding: .25rem .55rem; border-radius: 999px; }

/* chips list (conditions treated) */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line);
  padding: .55rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--teal-800); }
.chip svg { width: 15px; height: 15px; color: var(--coral-500); }
.chip:hover { border-color: var(--teal-300); background: var(--teal-50); }

/* =====================================================================
   HOW IT WORKS — numbered steps
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 1rem; } }
.step { position: relative; padding: 1.8rem 1.6rem 1.6rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.step__n { font-family: var(--font-display); font-size: 2.6rem; color: var(--teal-100); line-height: 1; position: absolute; top: 1rem; right: 1.3rem; }
.step__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--coral-50); color: var(--coral-600); display: grid; place-items: center; margin-bottom: 1rem; }
.step__ic svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { color: var(--slate); font-size: .95rem; margin-bottom: 0; }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 14px; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,47,55,.35), transparent 55%); opacity: 0; transition: opacity .3s; }
.gallery a:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-feat { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; }
  .g-feat { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .g-feat, .g-wide { grid-column: span 2; grid-row: span 1; }
  .g-tall { grid-row: span 1; }
}

/* =====================================================================
   PRICING — flat fee
   ===================================================================== */
.price-card { display: grid; grid-template-columns: .82fr 1.18fr; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } }
.price-amount-side {
  position: relative; background: var(--teal-800); color: #eef3fb;
  padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.price-amount-side::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 50% 0%, rgba(198,154,76,.22), transparent 60%); }
.price-badge { position: relative; display: inline-flex; align-items: center; gap: .4rem; background: var(--gold-500); color: #3a2a09;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.price-amount { position: relative; font-family: var(--font-display); font-weight: 500; line-height: .95;
  font-size: clamp(3.6rem, 8vw, 5.4rem); color: #fff; }
.price-amount sup { font-size: .42em; vertical-align: .9em; font-weight: 500; margin-right: .04em; }
.price-per { position: relative; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #bcd0e6; margin-top: .4rem; }
.price-sub { position: relative; margin-top: 1rem; font-size: .96rem; color: #d9e4f2; max-width: 26ch; }
.price-body { padding: clamp(1.8rem, 4vw, 2.6rem); }
.price-body h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.price-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .85rem; }
.price-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.02rem; }
.price-list li .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--coral-50); color: var(--coral-600);
  display: grid; place-items: center; flex: none; margin-top: .1rem; }
.price-list li .tick svg { width: 14px; height: 14px; }
.price-list li b { color: var(--teal-900); }
.price-fine { font-size: .88rem; color: var(--slate); border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }

/* =====================================================================
   LOCATION / INFO PANEL
   ===================================================================== */
.locate { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
@media (max-width: 880px) { .locate { grid-template-columns: 1fr; } }
.locate__info { padding: clamp(1.8rem, 4vw, 3rem); }
.locate__map { min-height: 360px; }
.locate__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(1.05); }
.info-row { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-400); font-weight: 700; margin-bottom: .15rem; }
.info-row .val { font-weight: 600; color: var(--teal-900); }
.info-row .val a { color: var(--teal-900); }
.info-row .val a:hover { color: var(--coral-600); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours-table td { padding: .5rem 0; font-size: .95rem; border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--teal-800); }
.hours-table .closed td:last-child { color: var(--slate-400); font-weight: 600; }

/* =====================================================================
   AFFILIATION STRIP
   ===================================================================== */
.affil { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; text-align: center;
  background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 1.3rem 1.6rem; }
.affil__txt { color: var(--teal-800); font-weight: 600; }
.affil__txt b { color: var(--teal-900); }
/* affiliation rendered as a quiet footnote */
.affil-note { text-align: center; font-size: .82rem; line-height: 1.6; color: var(--slate-400);
  max-width: 62ch; margin: 1.6rem auto 0; }
.affil-note strong { color: var(--slate); font-weight: 600; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; background: var(--teal-800); color: #e9f0f9; overflow: hidden; border-radius: var(--radius-xl); }
.cta-band::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(50% 80% at 100% 0%, rgba(198,154,76,.22), transparent 60%),
  radial-gradient(60% 90% at 0% 100%, rgba(26,132,151,.4), transparent 60%); }
.cta-band__inner { position: relative; padding: clamp(2.4rem, 5vw, 4rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; text-align: center; } .cta-band .hero__cta { justify-content: center; } }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #bcd0e6; margin-bottom: 0; font-size: 1.08rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--teal-900); color: #aabfd8; padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer a { color: #cfe0f0; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img, .footer__brand svg { height: 48px; margin-bottom: 1rem; }
.footer__brand p { font-size: .94rem; color: #8ea6c2; max-width: 32ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer ul a { font-size: .96rem; }
.footer__contact .row { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .9rem; font-size: .95rem; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold-500); margin-top: .2rem; flex: none; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; color: #7f97b6; }
.footer__bottom a { color: #9db4d0; }
.footer__legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__disclaimer { font-size: .8rem; color: #7f97b6; max-width: 70ch; margin-top: 1rem; line-height: 1.6; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .2s ease, box-shadow .2s ease; }
.footer__social a:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -8px rgba(0,0,0,.45); }
.footer__social a svg { width: 22px; height: 22px; display: block; margin: 0; }
.footer__credit { text-align: center; font-size: .8rem; color: #7f97b6; margin: 1.2rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer__credit a { color: #9db4d0; font-weight: 600; }

/* =====================================================================
   FORMS / CONTACT
   ===================================================================== */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--teal-900); margin-bottom: .4rem; }
.field label .req { color: var(--coral-500); }
.field .form-control, .field .form-select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--shell); transition: border-color .2s, box-shadow .2s;
}
.field .form-control:focus, .field .form-select:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(26,132,151,.15); background: #fff; }
.field textarea.form-control { resize: vertical; min-height: 130px; }
.field .help-block { font-size: .82rem; color: var(--coral-600); margin-top: .35rem; }
.form-note { font-size: .84rem; color: var(--slate); margin-top: 1rem; display: flex; gap: .5rem; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; color: var(--teal-500); margin-top: .15rem; flex: none; }
.has-error .form-control, .has-error .form-select { border-color: var(--coral-400); }

/* contact split layout */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
.contact-aside .info-card { background: var(--teal-900); color: #cfe0f0; border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,2.4rem); }
.contact-aside .info-card h3 { color: #fff; }
.contact-aside .info-card .info-row { border-color: rgba(255,255,255,.12); }
.contact-aside .info-card .info-row .ic { background: rgba(255,255,255,.08); color: #fff; }
.contact-aside .info-card .info-row .lbl { color: #8ea6c2; }
.contact-aside .info-card .info-row .val, .contact-aside .info-card .info-row .val a { color: #fff; }

/* =====================================================================
   THANK YOU
   ===================================================================== */
.ty { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.ty__badge { width: 92px; height: 92px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; margin: 0 auto 1.6rem; box-shadow: 0 0 0 10px rgba(14,108,126,.06); }
.ty__badge svg { width: 48px; height: 48px; }

/* =====================================================================
   ANIMATION (used alongside AOS; graceful without it)
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   LEGAL / PROSE PAGES
   ===================================================================== */
.legal-hero { background: var(--teal-50); border-bottom: 1px solid var(--teal-100); }
.legal-hero .container-x { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .4rem; }
.legal-meta { color: var(--slate); font-size: .92rem; font-weight: 600; }
.legal-meta span { color: var(--teal-700); }

.draft-banner {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--coral-50); border: 1px solid #f6ddb8; border-left: 4px solid var(--coral-500);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .92rem; color: #7a4a12;
}
.draft-banner svg { width: 20px; height: 20px; color: var(--coral-600); flex: none; margin-top: .15rem; }
.draft-banner b { color: var(--coral-600); }

.prose { max-width: 78ch; margin-inline: auto; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--slate); }
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.7rem); margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.6rem; }
.prose h3 { font-size: 1.18rem; margin-top: 1.6rem; color: var(--teal-800); }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--coral-600); }
.prose .ph { background: #fff7e9; border-bottom: 1px dashed var(--gold-500); padding: 0 .25rem; font-weight: 600; color: var(--gold-600); border-radius: 3px; }
.prose .callout { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.prose .callout.emergency { background: var(--coral-50); border-color: #f6ddb8; color: #7a4a12; }
.prose .callout.emergency b { color: var(--coral-600); }

.legal-toc { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 2.2rem; }
.legal-toc h2 { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .12em; color: var(--slate-400); margin: 0 0 .8rem; border: 0 !important; padding: 0 !important; font-family: var(--font-body); }
.legal-toc ol { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.2rem; }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }
.legal-toc li { margin-bottom: .4rem; }

/* small utilities */
.lead { font-size: 1.16rem; color: var(--slate); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.badge-soft { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100); padding: .35rem .8rem; border-radius: 999px; }
.badge-soft svg { width: 14px; height: 14px; }
.text-coral { color: var(--coral-600); }
.text-teal { color: var(--teal-700); }


/* =====================================================================
   CHIRO-STYLE THEME LAYER — Premium Auto Injury Clinic
   Layout/format modeled on chirosofgainesville.com (MTS Schema theme):
   two-row header (white contact row + navy uppercase nav bar), photo
   slider hero with dark overlay, welcome block, service tiles, split
   band, parallax promise band, circular icon boxes, navy footer.
   Colors use the site's navy + amber tokens. Montserrat typography.
   ===================================================================== */

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: .8rem;
}
.site-logo img { width: clamp(210px, 26vw, 288px); height: auto; }
.header-contact { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.header-contact .hc-item { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--teal-800); }
.header-contact .hc-item svg { width: 16px; height: 16px; color: var(--coral-600); }
.header-contact .hc-item a { color: var(--teal-800); }
.header-contact .hc-item a:hover { color: var(--coral-600); }
.header-contact .hc-sep { color: var(--line); }
.hbtn {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; padding: .6rem 1.1rem; border-radius: 999px;
  background: var(--teal-600); color: #fff; white-space: nowrap; transition: background .2s ease, transform .18s ease;
}
.hbtn:hover { background: var(--teal-700); color: #fff; transform: translateY(-1px); }
.hbtn--amber { background: var(--coral-600); }
.hbtn--amber:hover { background: var(--coral-500); color: #fff; }

/* Nav bar (navy, uppercase) */
.main-nav { background: var(--teal-900); position: sticky; top: 0; z-index: 1000; }
.main-nav__inner { display: flex; align-items: center; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 1.05rem 1.15rem; color: #fff; font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; transition: background .18s ease, color .18s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--coral-600); color: #fff; }
.nav-toggle2 {
  display: none; background: var(--teal-900); color: #fff; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 8px; place-items: center;
}
.nav-toggle2 svg { width: 24px; height: 24px; }

/* Side social (fixed, desktop) */
.side-social { position: fixed; right: 0; top: 42%; z-index: 900; display: flex; flex-direction: column; gap: 2px; }
.side-social a {
  width: 42px; height: 42px; display: grid; place-items: center; background: var(--teal-700); color: #fff;
  border-radius: 8px 0 0 8px; transition: background .2s ease;
}
.side-social a:hover { background: var(--coral-600); color: #fff; }
.side-social svg { width: 20px; height: 20px; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--teal-900); }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .9s ease; display: grid; align-items: center;
}
.hero-slide.is-active { opacity: 1; position: relative; }
.hero-slider .hero-slide:not(.is-active) { pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,48,.82), rgba(9,25,48,.5)); }
.hero-caption { position: relative; text-align: center; color: #fff; padding-block: clamp(4rem, 12vw, 8.5rem); max-width: 900px; }
.hero-caption h2 { color: #fff; font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 1rem; line-height: 1.12; }
.hero-caption h2 em { color: var(--coral-400); font-style: normal; }
.hero-caption p { color: #e7edf6; font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 640px; margin: 0 auto 1.8rem; }
.hero-caption .hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.abtn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem;
  letter-spacing: .05em; text-transform: uppercase; padding: .95rem 1.8rem; border-radius: 999px;
  background: var(--coral-600); color: #fff; transition: background .2s ease, transform .18s ease;
}
.abtn svg { width: 1.05em; height: 1.05em; }
.abtn:hover { background: var(--coral-500); color: #fff; transform: translateY(-2px); }
.abtn--ghost { background: transparent; border: 2px solid rgba(255,255,255,.6); }
.abtn--ghost:hover { background: #fff; color: var(--teal-900); border-color: #fff; }
.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; gap: .5rem; justify-content: center; z-index: 3; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.is-active { background: #fff; }

/* ---------- Section wrappers ---------- */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band--mist { background: var(--mist); }
.band--navy { background: var(--teal-900); color: #e7edf6; }

/* ---------- Welcome ---------- */
.welcome { text-align: center; }
.welcome .kicker { color: var(--coral-600); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-bottom: .7rem; }
.welcome h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.welcome h2 strong { color: var(--teal-600); }
.welcome p { max-width: 820px; margin-inline: auto; color: var(--slate); }
.welcome .amber-rule { width: 70px; height: 4px; background: var(--coral-600); border: 0; margin: 0 auto 1.4rem; border-radius: 3px; }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 230px; border-radius: 14px; overflow: hidden; padding: 1.4rem;
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  color: #fff; transition: transform .2s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 80% 0%, rgba(180,95,13,.28), transparent 60%); opacity: .0; transition: opacity .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile:hover::after { opacity: 1; }
.tile__icon { width: 46px; height: 46px; color: var(--coral-400); margin-bottom: auto; }
.tile__icon svg { width: 100%; height: 100%; }
.tile__name { font-weight: 700; font-size: 1.12rem; margin-top: 1rem; }
.tile__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; color: #cdd9ea; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tile__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.tile:hover .tile__more svg { transform: translateX(4px); }

/* ---------- Split band ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 460px; }
.split__text { padding: clamp(2.2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.split__text .kicker { color: var(--coral-600); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.split__text h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.split__text h2 strong { color: var(--teal-600); }
.split__text p { color: var(--slate); }
.split__img { background-size: cover; background-position: center; min-height: 300px; }
.split__list { list-style: none; margin: .4rem 0 1.4rem; padding: 0; display: grid; gap: .7rem; }
.split__list li { display: flex; gap: .6rem; align-items: flex-start; }
.split__list svg { width: 22px; height: 22px; color: var(--coral-600); flex: none; margin-top: 2px; }

/* ---------- Promise / parallax band ---------- */
.promise { position: relative; background-size: cover; background-position: center; background-attachment: fixed; }
.promise__overlay { position: absolute; inset: 0; background: rgba(9,25,48,.85); }
.promise__inner { position: relative; text-align: center; color: #fff; padding-block: clamp(3.5rem, 9vw, 6rem); }
.promise__inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.6rem; }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
.promise__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 1.5rem 1.2rem; }
.promise__card svg { width: 40px; height: 40px; color: var(--coral-400); margin-bottom: .7rem; }
.promise__card h3 { color: #fff; font-size: 1.1rem; margin-bottom: .4rem; }
.promise__card p { color: #cfd8e6; font-size: .95rem; margin: 0; }

/* ---------- Circular icon boxes ---------- */
.iconboxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.iconbox { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.iconbox__circle {
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-900); color: var(--coral-400); transition: transform .2s ease, background .2s ease;
}
.iconbox:hover .iconbox__circle { transform: translateY(-5px); background: var(--coral-600); color: #fff; }
.iconbox__circle svg { width: 54px; height: 54px; }
.iconbox__label { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; color: var(--teal-900); }
.iconbox__label span { color: var(--coral-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #cdd9ea; padding-block: clamp(2.6rem, 6vw, 4rem) 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.site-footer p, .site-footer li { color: #cdd9ea; }
.site-footer a { color: #cdd9ea; }
.site-footer .hbtn, .site-footer .hbtn:hover { color: #fff; }
.site-footer a:hover { color: var(--coral-400); }
.footer-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 300px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: .35rem; }
.footer-contact-row { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .7rem; }
.footer-contact-row svg { width: 18px; height: 18px; color: var(--coral-400); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.08); border-radius: 8px; }
.footer-social a:hover { background: var(--coral-600); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 2.4rem; border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .9rem;
}
.footer-bottom .foot-links a { margin-left: .4rem; }
.footer-credit { text-align: center; margin: 0; padding-bottom: 1.4rem; font-size: .85rem; color: #9db0c8; }
.footer-credit a { color: #cdd9ea; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tiles, .iconboxes { grid-template-columns: repeat(2, 1fr); }
  .promise__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__img { min-height: 240px; order: -1; }
  .footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .side-social { display: none; }
  .header-top { flex-wrap: wrap; justify-content: space-between; }
  .header-contact { gap: .7rem; }
  .header-contact .hc-item, .header-contact .hc-sep { display: none; }
  .header-contact .hbtn { display: none; }
  .nav-toggle2 { display: grid; }
  .main-nav__inner { justify-content: flex-start; }
  .main-nav ul {
    display: none; flex-direction: column; width: 100%; background: var(--teal-900);
  }
  .main-nav.open ul { display: flex; }
  .main-nav a { padding: .95rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); text-align: left; }
  .main-nav .nav-toggle2 { margin: .5rem; }
}
@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr; }
  .iconboxes { grid-template-columns: 1fr 1fr; }
}

/* ---------- Fixes: header CTA group + photo media ---------- */
.header-cta { display: flex; gap: .5rem; flex: none; }

/* photo-backed hero slides */
.hero-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-slider .hero-overlay { z-index: 1; }
.hero-slider .hero-caption { z-index: 2; }

/* photo service tiles */
.tile--photo { padding: 0; overflow: hidden; }
.tile--photo .tile__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile--photo .tile__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(9,25,48,.94) 0%, rgba(9,25,48,.55) 45%, rgba(9,25,48,.12) 100%); }
.tile--photo .tile__name, .tile--photo .tile__more { position: relative; z-index: 2; }
.tile--photo .tile__name { margin: 0 1.2rem; }
.tile--photo .tile__more { margin: .3rem 1.2rem 1.3rem; color: #dfe7f2; }
.tile--photo::after { display: none; }

/* split images rendered as <img> */
.split__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* promise band background image (homepage) */
.promise { background-image: url('/images/misc/auto-injury-clinic-promise.webp'); }
@media (max-width: 600px) {
  .promise { background-image: url('/images/misc/mobile/auto-injury-clinic-promise.webp'); background-attachment: scroll; }
}

/* Conversion FAB split: desktop = contact pill (no icon), mobile = round call button */
.fab-cta--mob { display: none; }
@media (max-width: 640px) {
  .fab-cta--desk { display: none; }
  .fab-cta--mob { display: inline-flex; }
}
