/* ==========================================================================
   Sapphire Remodeling, Shared Design System
   Bathroom remodeler, Bothell WA and the Eastside
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color -- brand. Navy is the dark-surface color (hero, owners band, CTA).
     Sapphire blue is reserved for one accent word, links, and focus states,
     never a default heading color. Gold sits on primary buttons and eyebrow
     rules. Everything else is off-white, white, and the ink grays below. */
  --color-primary: #0B5BD8;        /* Sapphire Blue -- links, one H1 accent word, focus */
  --color-primary-dark: #093f96;   /* hover/active state for primary */
  --color-primary-tint: #EAF1FD;   /* pale blue wash, used sparingly */
  --color-navy: #0A1F3D;           /* deep navy -- hero / owners band / CTA surfaces */
  --color-accent: #C8A55E;         /* warm gold -- primary buttons, eyebrow rules, icons */
  --color-accent-dark: #a8813d;    /* hover state for gold elements */
  --color-neutral: #F5F4F0;        /* warm off-white -- section backgrounds */

  /* Color -- ink & surfaces */
  --color-ink: #2B2A28;            /* warm charcoal body text, not pure black */
  --color-ink-soft: #55534E;       /* secondary text */
  --color-white: #FFFFFF;
  --color-border: #E4E1D8;         /* warm-toned hairline border */
  --color-success: #1E7A34;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --fs-body: 18px;
  --fs-small: 15px;
  --fs-h1: clamp(2.75rem, 5vw, 4.25rem);
  --fs-h2: clamp(2rem, 3.2vw, 2.75rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.6rem);
  --fs-h4: 1.15rem;
  --lh-body: 1.65;
  --lh-heading: 1.15;

  /* Layout */
  --container-width: 1180px;
  --container-pad: 24px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 28px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Motion -- one system. 200ms for color/border, 400ms for transform/opacity. */
  --ease: cubic-bezier(.2,.7,.2,1);
  --duration-fast: 200ms;
  --duration-slow: 400ms;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: color var(--duration-fast) var(--ease); }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Typography scale -- Playfair Display for headings, sentence case, ink by
   default. Blue is not used as a heading color; dark surfaces set their own
   white/off-white heading color explicitly.
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin: 0 0 var(--space-sm) 0;
}
h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; font-family: var(--font-heading); }

p { margin: 0 0 var(--space-sm) 0; max-width: 68ch; }
p.lede { font-size: 1.2rem; color: var(--color-ink-soft); }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* Eyebrow -- single component used everywhere a small label sits above a
   heading. 12px uppercase, wide tracking, gold, with a 24px gold rule. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding: var(--space-xl) 0; }
.section--tight { padding: var(--space-lg) 0; }
.section--neutral { background: var(--color-neutral); }
.section--dark { background: var(--color-navy); color: rgba(255,255,255,0.85); }
.section--dark h2, .section--dark h3 { color: var(--color-white); }

.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
.split--reverse .split__media { order: 2; }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Scroll reveal -- shared by section heads and services category rows.
   Vanilla IntersectionObserver toggles .is-visible (see main.js).
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
  text-decoration: none;
  min-height: 48px;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--color-primary); color: var(--color-white); }
.btn--primary:hover { background: var(--color-primary-dark); }

.btn--gold { background: var(--color-accent); color: var(--color-navy); }
.btn--gold:hover { background: var(--color-accent-dark); color: var(--color-white); }

.btn--outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn--outline:hover { background: var(--color-white); color: var(--color-primary); }

.btn--outline-primary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn--outline-primary:hover { background: var(--color-primary); color: var(--color-white); text-decoration: none; }

.btn--outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.55); color: var(--color-white); }
.btn--outline-white:hover { background: var(--color-white); color: var(--color-navy); text-decoration: none; }

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Header & primary navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 14px var(--container-pad);
  max-width: 1400px;
  margin: 0 auto;
}
.site-header__logo img { height: 48px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: var(--space-sm); }
.primary-nav__list { display: flex; align-items: center; gap: var(--space-sm); list-style: none; margin: 0; padding: 0; }
.primary-nav__list > li { position: relative; }
.primary-nav__list > li > a { color: var(--color-ink); font-weight: 600; padding: 10px 4px; white-space: nowrap; }
.primary-nav__list > li > a:hover { color: var(--color-primary); text-decoration: none; }

.has-dropdown > .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  min-width: 300px;
  max-height: 70vh;
  overflow-y: auto;
  display: none;
  z-index: 50;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }

.dropdown__group + .dropdown__group { margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--color-border); }
.dropdown__group-label { font-size: 0.8rem; font-weight: 700; color: var(--color-ink-soft); margin: 0 0 6px 0; }
.dropdown ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.dropdown ul.dropdown--cols2 { grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-sm); }
.dropdown li a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--color-ink); font-weight: 500; font-size: 0.95rem; }
.dropdown li a:hover { background: var(--color-primary-tint); color: var(--color-primary); text-decoration: none; }

.site-header__cta { display: flex; align-items: center; gap: var(--space-sm); }
.site-header__phone { font-weight: 700; color: var(--color-primary); white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bar { display: block; width: 26px; height: 3px; background: var(--color-primary); border-radius: 2px; position: relative; transition: background var(--duration-fast) var(--ease); }
.nav-toggle__bar::before, .nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--duration-slow) var(--ease);
}
.nav-toggle__bar::before { top: -8px; }
.nav-toggle__bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

/* Mobile navigation panel. Sits outside <header> in the DOM so a sticky
   header never traps its fixed positioning. */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(86vw, 380px);
  height: 100%;
  background: var(--color-white);
  border-left: 1px solid var(--color-border);
  z-index: 100;
  overflow-y: auto;
  padding: var(--space-md);
  transition: right var(--duration-slow) var(--ease);
}
.mobile-nav.is-open { right: 0; }
.mobile-nav__close { background: none; border: none; font-size: 1.5rem; padding: 8px; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--color-ink); }
.mobile-nav__list { list-style: none; margin: var(--space-sm) 0 0 0; padding: 0; }
.mobile-nav__list li { border-bottom: 1px solid var(--color-border); }
.mobile-nav__list a { display: block; padding: 14px 4px; font-weight: 600; color: var(--color-ink); }
.mobile-nav__list a:hover { color: var(--color-primary); text-decoration: none; }
.mobile-nav__section-label { font-size: 0.8rem; font-weight: 700; color: var(--color-primary); margin: var(--space-md) 0 4px 0; }
.mobile-nav__scrim { position: fixed; inset: 0; background: rgba(10,31,61,0.5); z-index: 90; display: none; }
.mobile-nav__scrim.is-open { display: block; }

@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; order: 3; }
  .site-header__bar { flex-wrap: nowrap; gap: var(--space-xs); }
  .site-header__logo img { height: 36px; }
  .site-header__cta { gap: 6px; }
  .site-header__cta .btn--primary { display: none; }
}
@media (max-width: 460px) {
  .site-header__phone { font-size: 0.85rem; }
}

/* --------------------------------------------------------------------------
   Hero -- split layout. Navy panel left, full-height photo right, no
   texture, no overlay. Trust row sits on a hairline below the buttons.
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 620px;
}
.hero__panel {
  background: var(--color-navy);
  display: flex;
  align-items: center;
  padding: var(--space-2xl) var(--space-xl);
}
.hero__panel-inner { max-width: 640px; }

.hero .eyebrow {
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease) 0ms forwards;
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease) 80ms forwards;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
}
.hero__lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease) 160ms forwards;
}
.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease) 240ms forwards;
}

.hero__trust-row {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.18);
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease) 320ms forwards;
}
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.hero__trust-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-accent); }

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero__lede, .hero__actions, .hero__trust-row { animation: none; opacity: 1; transform: none; }
}

.hero__media { position: relative; overflow: hidden; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: hero-photo-in 1.2s var(--ease) forwards;
}
@keyframes hero-photo-in {
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__panel { padding: var(--space-xl) var(--container-pad); }
}

/* --------------------------------------------------------------------------
   Services -- category index. No photo grid; five stacked category rows
   with a two-digit index, a description, and every service as a link.
   -------------------------------------------------------------------------- */
#services { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
#services .text-center { margin-bottom: var(--space-xs); }
.category-index { border-top: 1px solid var(--color-border); }
.category-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-lg);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.category-row--featured { grid-template-columns: 64px 1fr 180px; }

.category-row__index {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-border);
}
.category-row__name { margin-bottom: 4px; }
.category-row__desc { color: var(--color-ink-soft); max-width: 62ch; margin-bottom: var(--space-sm); }

.category-row__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--space-lg);
}
.category-row__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  line-height: 1.3;
  font-weight: 500;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-border);
}
.category-row__links a:hover { color: var(--color-primary); text-decoration: none; }
.category-row__links a .arrow { transition: transform var(--duration-slow) var(--ease); flex-shrink: 0; }
.category-row__links a:hover .arrow { transform: translateX(4px); }

.category-row__media { border: 1px solid var(--color-border); overflow: hidden; }
.category-row__media img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .category-row, .category-row--featured { grid-template-columns: 1fr; gap: var(--space-sm); }
  .category-row__index { font-size: 1.4rem; }
  .category-row__links { grid-template-columns: 1fr; }
  .category-row__media { order: -1; max-width: 280px; }
}

/* --------------------------------------------------------------------------
   About / Meet the Owners -- navy band, gold offset border on the photo,
   overlapping gold initials chips.
   -------------------------------------------------------------------------- */
.about-split { display: grid; grid-template-columns: 0.85fr 1fr; gap: var(--space-2xl); align-items: center; }
.about-split__media { position: relative; }
.about-split__media::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  z-index: 0;
}
.about-split__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.about-split__kicker { color: var(--color-accent); }
.about-split h2 { margin-bottom: var(--space-sm); }
.about-split p { color: rgba(255,255,255,0.82); }

.about-split__people { display: flex; align-items: center; gap: 12px; margin-top: var(--space-md); }
.about-split__avatars { display: flex; }
.about-split__avatars span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--color-navy);
}
.about-split__avatars span:first-child { margin-right: -10px; z-index: 1; }
.about-split__people-name { font-weight: 700; color: var(--color-white); }
.about-split__people-role { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Cards -- services, case studies, testimonials. Flat, hairline borders.
   -------------------------------------------------------------------------- */
.card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md); }

.testimonial-card { background: var(--color-neutral); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md); }
.testimonial-card p { font-size: 1.05rem; color: var(--color-ink); margin-bottom: var(--space-sm); }
.testimonial-card cite { display: block; font-style: normal; font-weight: 700; color: var(--color-ink); }
.testimonial-card cite a { color: var(--color-primary); }

.case-study-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--color-neutral);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
@media (max-width: 900px) { .case-study-preview { grid-template-columns: 1fr; } }
.case-study-preview img { border: 1px solid var(--color-border); width: 100%; height: auto; object-fit: cover; }
.case-study-preview__media { margin: 0; }
.case-study-preview__caption { font-size: 13px; color: var(--color-ink-soft); margin: 8px 0 0 0; }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); }
.process-step { text-align: left; }
.process-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   FAQ (details/summary)
   -------------------------------------------------------------------------- */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: var(--space-sm) 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--color-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: var(--space-sm); color: var(--color-ink-soft); }
.faq-category { margin-bottom: var(--space-lg); }

/* --------------------------------------------------------------------------
   CTA section -- navy surface
   -------------------------------------------------------------------------- */
.cta-section { background: var(--color-navy); color: var(--color-white); border-radius: var(--radius-lg); padding: var(--space-lg); text-align: center; }
.cta-section h2 { color: var(--color-white); }
.cta-section p { color: rgba(255,255,255,0.9); margin: 0 auto var(--space-md); }

.form-placeholder { border: 2px dashed rgba(255,255,255,0.5); border-radius: var(--radius-md); padding: var(--space-lg); color: var(--color-white); font-weight: 600; }

/* --------------------------------------------------------------------------
   Generic form styling
   -------------------------------------------------------------------------- */
.form-field { margin-bottom: var(--space-sm); text-align: left; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.85); padding: var(--space-xl) 0 var(--space-md); }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.footer-col h4 { color: var(--color-white); margin-bottom: var(--space-sm); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 6px; }

.footer-nap p { margin-bottom: 6px; }
.footer-tagline { color: rgba(255,255,255,0.65); margin-top: 4px; }

.footer-map { border: 1px solid rgba(255,255,255,0.15); overflow: hidden; }
.footer-map iframe { width: 100%; height: 220px; border: 0; display: block; }

.footer-legal { border-top: 1px solid rgba(255,255,255,0.15); padding-top: var(--space-sm); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm); font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-legal ul { list-style: none; display: flex; gap: var(--space-sm); margin: 0; padding: 0; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-legal { flex-direction: column; } }

/* --------------------------------------------------------------------------
   Mobile sticky call bar -- appears after 600px scroll, hidden on desktop
   -------------------------------------------------------------------------- */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  height: 56px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease);
}
.sticky-call.is-visible { transform: translateY(0); }
.sticky-call__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: none;
}
.sticky-call__link:hover { background: var(--color-accent-dark); text-decoration: none; }
@media (min-width: 901px) { .sticky-call { display: none; } }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Maps Machine lead form helpers (tracking install only)
   -------------------------------------------------------------------------- */
.mm-lead-form .mm-status { margin: 10px 0 0; min-height: 1.2em; }
.mm-lead-form .mm-status:empty { display: none; }
.mm-lead-form button[type="submit"] { font-family: inherit; }
.mm-lead-form button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }

/* Testimonial "Read full review" toggle (2026-09-30) */
.testimonial-more { margin-bottom: var(--space-sm); }
.testimonial-more > summary { list-style: none; cursor: pointer; display: inline-block; font-weight: 700; color: var(--color-primary); margin-bottom: var(--space-sm); }
.testimonial-more > summary::-webkit-details-marker { display: none; }
.testimonial-more > summary:hover { text-decoration: underline; }
.testimonial-more > summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.testimonial-more__less { display: none; }
.testimonial-more[open] > summary .testimonial-more__more { display: none; }
.testimonial-more[open] > summary .testimonial-more__less { display: inline; }
