/* =========================================================================
   Import Auto Specialist — styles.css
   Scarborough auto repair & maintenance · single-page site
   Palette: deep blue (#1E5AA8) accent on charcoal (#14171C), light content.
   Section order: tokens · base/reset · a11y · typography · buttons ·
   header/nav · mobile menu · hero · credibility · services · why · about ·
   process · reviews · cta band · faq · contact/form · footer · mobile bar ·
   back-to-top · reveal · responsive · reduced-motion
   ========================================================================= */

/* ---------------- Design tokens ---------------- */
:root {
  /* Brand */
  --blue: #1E5AA8;
  --blue-dark: #17457E;
  --blue-light: rgba(30, 90, 168, .08);
  --blue-tint: #E9F0F8;

  /* Neutrals */
  --charcoal: #14171C;
  --charcoal-soft: #1E222A;
  --charcoal-line: #2C313B;
  --ink: #1A1D23;
  --grey-text: #5A6270;
  --grey-mid: #E2E5EA;
  --grey-light: #F4F6F8;
  --white: #FFFFFF;

  --amber: #F4B740;      /* star fill only */
  --success: #2E7D52;
  --danger: #C0392B;

  /* Type */
  --font-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --header-h: 74px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Elevation & motion */
  --shadow: 0 2px 16px rgba(16, 23, 34, .07);
  --shadow-lg: 0 14px 40px rgba(16, 23, 34, .14);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --trans: .25s var(--ease);

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }
address { font-style: normal; }

/* ---------------- Accessibility helpers ---------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px;
  z-index: 2000;
  background: var(--blue); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}
.hero :focus-visible,
.site-header :focus-visible,
.cta-band :focus-visible,
.mobile-menu :focus-visible { outline-color: #8FB6E6; }

/* ---------------- Layout ---------------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

.section-header { max-width: 720px; margin: 0 auto var(--space-3); text-align: center; }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-sub { color: var(--grey-text); font-size: 1.08rem; margin-top: 14px; }

/* ---------------- Typography ---------------- */
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
p { text-wrap: pretty; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  transition: transform var(--trans), background var(--trans), box-shadow var(--trans), color var(--trans);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex-shrink: 0; }

.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(30, 90, 168, .28); }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 10px 26px rgba(30, 90, 168, .36); }

.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

.btn-outline-dark { border-color: var(--grey-mid); color: var(--charcoal); background: var(--white); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; white-space: normal; line-height: 1.3; text-align: center; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(20, 23, 28, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--charcoal-line);
  transition: box-shadow var(--trans), background var(--trans);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }

.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--blue); color: var(--white);
  border-radius: 9px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--white); letter-spacing: .01em; }
.logo-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9AA3B2; }

.main-nav ul { display: flex; gap: 2px; }
.nav-link {
  position: relative;
  display: block;
  padding: 10px 12px;
  color: #D4D9E2; font-weight: 500; font-size: .96rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--blue); border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 600; font-size: .98rem;
  transition: color var(--trans);
}
.header-phone svg { color: var(--blue); }
.header-phone:hover { color: #8FB6E6; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; margin: 0 auto;
  background: var(--white); border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Mobile menu panel ---------------- */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999;
  background: var(--charcoal);
  border-bottom: 1px solid var(--charcoal-line);
  padding: 16px 24px 28px;
  transform: translateY(-12px);
  opacity: 0; visibility: hidden;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  transition: opacity var(--trans), transform var(--trans), visibility var(--trans);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-link {
  display: block; padding: 14px 6px;
  color: #D4D9E2; font-weight: 500; font-size: 1.1rem;
  border-bottom: 1px solid var(--charcoal-line);
}
.mobile-link:hover, .mobile-link:focus-visible { color: var(--white); }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

/* ---------------- Placeholder / media images ---------------- */
/* Stand-in stock photos fill these slots until real shop photos replace them — see images/README.md.
   Reserved aspect ratios prevent layout shift either way. */
.why-media img,
.about-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------------- Hero (split layout: copy + photo side by side) ---------------- */
.hero { background: var(--charcoal); color: var(--white); padding: var(--space-6) 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .16em; font-weight: 600; font-size: 1rem;
  color: #8FB6E6;
  padding: 7px 14px;
  border: 1px solid rgba(143, 182, 230, .4);
  border-radius: 40px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: #DCE0E7; max-width: 52ch; margin-bottom: var(--space-3); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin-bottom: var(--space-4);
  font-size: .95rem; color: #C8CDD6;
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust strong { color: var(--white); font-weight: 700; }
.trust-stars { color: var(--amber); display: inline-flex; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------------- Credibility strip ---------------- */
.credibility { background: var(--charcoal); padding: 34px 0; }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cred-card {
  text-align: center; padding: 24px 18px;
  background: var(--charcoal-soft);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center;
}
.cred-card--rating { border-color: rgba(30, 90, 168, .5); background: linear-gradient(160deg, rgba(30, 90, 168, .18), var(--charcoal-soft) 70%); }
.cred-stars { display: inline-flex; gap: 2px; color: var(--amber); margin-bottom: 8px; }
.star-half { color: var(--amber); }
.cred-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.cred-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 12px;
  background: var(--blue-light); color: #8FB6E6;
  border-radius: 12px;
}
.cred-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--white); line-height: 1.15; letter-spacing: .01em; }
.cred-label { color: #9AA3B2; font-size: .9rem; margin-top: 6px; max-width: 24ch; }

/* ---------------- Services ---------------- */
.services { background: var(--grey-light); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(30, 90, 168, .4); }
.service-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  background: var(--blue-light); color: var(--blue);
  border-radius: 12px; margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--grey-text); font-size: .96rem; margin-bottom: 16px; flex-grow: 1; }
.card-link {
  color: var(--blue); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--trans), color var(--trans);
}
.card-link:hover { gap: 11px; color: var(--blue-dark); }

.services-local {
  margin-top: var(--space-4); text-align: center;
  color: var(--grey-text); max-width: 760px; margin-left: auto; margin-right: auto;
}
.services-local a { color: var(--blue); font-weight: 600; }
.services-local a:hover { text-decoration: underline; }

/* ---------------- Why choose us ---------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.why-text .section-label { text-align: left; }
.why-text h2 { margin-bottom: 22px; }
.why-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.why-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); }
.why-list svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; background: var(--blue-light); border-radius: 50%; padding: 3px; }
.why-list strong { font-weight: 700; }
.why-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- About ---------------- */
.about { background: var(--grey-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.about-text .section-label { text-align: left; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--grey-text); margin-bottom: 16px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------------- Process ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 32px 24px 26px;
  box-shadow: var(--shadow);
}
.process-num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--charcoal); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  border-radius: 12px; margin-bottom: 16px;
}
.process-card h3 { margin-bottom: 8px; }
.process-card p { color: var(--grey-text); font-size: .96rem; }

/* ---------------- Reviews ---------------- */
.reviews { background: var(--grey-light); }
.reviews-rating {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  color: var(--grey-text); font-size: 1.05rem; margin-top: 14px;
}
.reviews-stars { display: inline-flex; gap: 2px; color: var(--amber); }
.reviews-rating strong { color: var(--charcoal); }

/* Review cards live in a swipeable track on phones/tablets, and a static 3-col grid on desktop. */
.reviews-carousel { position: relative; }
.reviews-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 8px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review-card { scroll-snap-align: center; flex: 0 0 100%; }

.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.reviews-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grey-mid);
  transition: background var(--trans), transform var(--trans);
}
.reviews-dots button[aria-current="true"] { background: var(--blue); transform: scale(1.3); }
.no-js .reviews-dots { display: none; }

.review-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.review-stars { display: inline-flex; gap: 2px; color: var(--amber); }
.review-card blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.6; }
.review-card figcaption { font-weight: 600; color: var(--blue); font-size: .95rem; margin-top: auto; }
.review-source { font-weight: 500; color: var(--grey-text); }
.reviews-cta { text-align: center; margin-top: var(--space-4); }

@media (min-width: 641px) {
  .reviews-track .review-card { flex: 0 0 calc(50% - 11px); }
}

@media (min-width: 901px) {
  .reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
  .reviews-track .review-card { scroll-snap-align: none; }
  .reviews-dots { display: none; }
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: var(--space-5) 0;
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { font-size: 1.12rem; color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-blue { background: var(--white); color: var(--blue-dark); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cta-band .btn-blue:hover { background: #F1F5FB; color: var(--blue-dark); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--grey-mid); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.06rem;
  color: var(--charcoal);
  transition: background var(--trans);
}
.faq-question:hover { background: var(--blue-light); }
.faq-chevron { color: var(--blue); flex-shrink: 0; transition: transform var(--trans); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; color: var(--grey-text); }
.faq-answer p { max-width: 68ch; }

/* ---------------- Contact / form ---------------- */
.contact { background: var(--grey-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: start; }

.contact-name { margin-bottom: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > span { min-width: 0; }
.contact-list svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--charcoal); margin-bottom: 4px; letter-spacing: .01em; }
.contact-inline-link { color: var(--blue); font-weight: 600; }
.contact-inline-link:hover { text-decoration: underline; }

.hours-table { width: 100%; max-width: 340px; border-collapse: collapse; margin-top: 4px; table-layout: fixed; }
.hours-table th, .hours-table td { text-align: left; padding: 5px 0; font-weight: 400; color: var(--grey-text); font-size: .96rem; }
.hours-table th { width: 42%; padding-right: 10px; white-space: nowrap; }
.hours-table td { white-space: normal; }
.hours-table td { width: 40%; text-align: right; }
.hours-table tr.today { color: var(--charcoal); font-weight: 700; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--charcoal); }
.hours-table tr.today th::after {
  content: "Today"; display: inline-block; margin-left: 8px;
  color: var(--blue); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .04em;
  background: var(--blue-light); border-radius: 20px; padding: 2px 8px;
  vertical-align: middle;
}

.map-embed { margin-top: 6px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 320px; display: block; border: 0; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form-wrap > h3 { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-field label { font-weight: 600; font-size: .95rem; margin-bottom: 7px; color: var(--charcoal); }
.req { color: var(--danger); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 90, 168, .16);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 6px; min-height: 1em; font-weight: 500; }

.form-confirm {
  background: rgba(46, 125, 82, .1);
  border: 1px solid rgba(46, 125, 82, .35);
  color: #1E5B3A;
  border-radius: var(--radius-sm);
  padding: 16px 18px; margin-top: 8px; font-weight: 500;
}
.form-confirm a { color: var(--success); font-weight: 700; text-decoration: underline; }
.form-note { font-size: .85rem; color: var(--grey-text); margin-top: 14px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--charcoal); color: #B7BEC9; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
  padding: var(--space-5) 24px var(--space-4);
}
.footer-grid > * { min-width: 0; }
.footer-brand .logo-name { display: block; font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand p { font-size: .95rem; margin-bottom: 20px; max-width: 34ch; }
.footer-col h2 { font-family: var(--font-head); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .95rem; transition: color var(--trans); }
.footer-col a:hover { color: var(--white); }
.footer-contact address { margin-bottom: 10px; font-size: .95rem; line-height: 1.6; }
.footer-contact a { color: var(--white); font-weight: 600; }
.footer-hours { font-size: .92rem; margin-top: 10px; }

.footer-bottom { border-top: 1px solid var(--charcoal-line); padding: 20px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #8A93A3; }
.footer-legal a { color: #B7BEC9; text-decoration: underline; }
.footer-legal a:hover { color: var(--white); }
.photo-credits { width: 100%; font-size: .78rem; color: #6E7684; margin-top: 10px; }
.photo-credits a { color: #8A93A3; text-decoration: underline; }
.photo-credits a:hover { color: var(--white); }

/* ---------------- Mobile sticky bar ---------------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  display: none;
  background: var(--charcoal);
  border-top: 1px solid var(--charcoal-line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .25);
  transition: transform var(--trans);
}
.mobile-bar.hidden-down { transform: translateY(120%); }
.mobile-bar-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px;
  color: #D4D9E2; font-size: .78rem; font-weight: 600;
  border-radius: 8px;
}
.mobile-bar-btn svg { color: var(--blue); }
.mobile-bar-primary { background: var(--blue); color: var(--white); }
.mobile-bar-primary svg { color: var(--white); }

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--trans), transform var(--trans), background var(--trans);
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); }

/* ---------------- Reveal animation ---------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
/* Shed the least-essential header elements before the nav has to fight for space. */
@media (max-width: 1220px) {
  .logo-sub { display: none; }
  .header-phone span { display: none; }
  .header-cta { gap: 8px; }
}

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .why-grid, .about-grid, .contact-grid, .hero-inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .about-media { order: -1; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; --space-6: 64px; --space-5: 48px; }
  .container { padding: 0 18px; }
  .hero { padding: 8px 0 40px; }
  .eyebrow { font-size: .78rem; letter-spacing: .09em; padding: 5px 12px; margin-bottom: 14px; white-space: nowrap; }
  .hero h1 { font-size: 2.15rem; margin-bottom: 14px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: var(--space-2); }
  .hero-trust { flex-direction: column; gap: 8px; margin-bottom: var(--space-3); }
  .hero-actions .btn, .cta-actions .btn, .why-actions .btn, .about-actions .btn { width: 100%; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand .btn { white-space: normal; max-width: 100%; text-align: center; }
  .mobile-bar { display: flex; padding: 5px 6px calc(5px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar-btn { padding: 6px 4px; font-size: .74rem; }
  .mobile-bar-btn svg { width: 18px; height: 18px; }
  /* keep sticky bar from covering the last content / back-to-top */
  body { padding-bottom: 64px; }
  .back-to-top { bottom: 72px; right: 16px; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:hover, .service-card:hover, .back-to-top { transform: none; }
}

/* ---------------- No-JS fallback ---------------- */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .faq-answer { display: block !important; }
.no-js .back-to-top { display: none; }
