/* Tropical Bay Builders - site stylesheet
   Palette: bright warm cream base, teal + coral + gold accents,
   with a handful of deep-teal bands (header, hero, footer, banners)
   kept for contrast and energy against the light field. */

:root {
  --navy-900: #072a24;
  --navy-800: #0b3c33;
  --blue-700: #0f6b58;
  --blue-600: #14876f;
  --blue-500: #1aa084;
  --blue-300: #7fe0c4;
  --blue-100: #e3f8f2;
  --blue-75: #e6f9f3;
  --blue-50: #f3fcfa;
  --sky-tint: #f7ecd8;
  --orange-500: #e2652f;
  --orange-400: #ef8a5c;
  --orange-600: #c04f1e;
  --orange-700: #9c3f17;
  --gold-500: #d99a2b;
  --gold-600: #b87f1c;
  --orange-50: #fdf0e8;
  --white: #ffffff;
  --black: #12151a;
  --gray-700: #3d4652;
  --gray-500: #5b6673;
  --border: #d7e2ee;

  /* Light warm-cream surfaces (bronze-900 stays dark - used only in the
     intentional dark bands: header, footer, hero, page-header, cta-band,
     section-dark, chatbot header). */
  --bronze-950: #fbf7ee;
  --bronze-900: #0e1f1a;
  --bronze-850: #f3e9d5;
  --bronze-800: #ffffff;
  --bronze-700: #e7dbc0;
  --bronze-600: #d8c69f;
  --ink-900: #22302a;
  --ink-700: #46564d;

  /* Extra section-background tints for variety */
  --green-tint: #e6f1e4;
  --green-tint-border: #cde3c9;
  --orange-tint: #f9e3cd;
  --orange-tint-border: #f0c99e;
  --text-light: #f2f0e8;
  --text-body-dk: #46564d;
  --text-muted-dk: #5c6b62;
  --blue-tint-dark: rgba(26, 160, 132, 0.12);

  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(34, 48, 42, 0.08);
  --shadow-md: 0 12px 28px rgba(34, 48, 42, 0.12), 0 2px 6px rgba(34, 48, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(34, 48, 42, 0.18), 0 4px 12px rgba(34, 48, 42, 0.1);
  --shadow-btn: 0 10px 22px rgba(20, 135, 111, 0.30), 0 2px 6px rgba(20, 135, 111, 0.20);
  --shadow: var(--shadow-md);
  --max-width: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-body-dk);
  background-color: var(--bronze-950);
  background-image: radial-gradient(rgba(34, 48, 42, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--blue-700); transition: color .15s var(--ease); }
p a:not(.btn):not(.card-link):not(.footer-col a):not(.breadcrumb a) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
h1 em, h2 em {
  font-style: normal;
  color: var(--orange-700);
}
.hero h1 em, .page-header h1 em, .section-dark h2 em { color: #f2a06e; }
p { margin: 0 0 1em; color: var(--text-body-dk); }
ul { color: var(--text-body-dk); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 42, 36, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--orange-500);
  box-shadow: 0 6px 20px rgba(34, 48, 42, 0.18);
}
/* Homepage: header stays hidden above the viewport until the user scrolls,
   so the hero fills the very top of the page with nothing above it. */
body.home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  transition: transform .3s var(--ease);
}
body.home .site-header.header-visible {
  transform: translateY(0);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  white-space: nowrap;
}
.logo .brand-accent { color: var(--blue-300); }
.logo svg { flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.35)); }
.logo .tagline {
  display: block;
  font-family: var(--font);
  font-size: 0.63rem;
  font-weight: 600;
  color: var(--sky-tint);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-wrap { position: relative; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.menu-toggle:hover { border-color: var(--blue-500); color: var(--blue-700); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.menu-toggle svg { display: block; flex-shrink: 0; stroke: currentColor; }

nav.main-nav {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--bronze-850);
  border: 1px solid var(--bronze-700);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
nav.main-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
nav.main-nav a {
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background .15s var(--ease), color .15s var(--ease), padding-left .15s var(--ease);
}
nav.main-nav a:hover { background: var(--blue-tint-dark); color: var(--blue-700); padding-left: 18px; }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color .15s var(--ease);
}
.phone-link:hover { color: var(--blue-300); }
.phone-link svg { flex-shrink: 0; }

.btn-short { display: none; }

@media (max-width: 480px) {
  .phone-link .phone-text { display: none; }
  .menu-toggle .menu-label { display: none; }
  nav.main-nav { left: auto; right: 0; transform-origin: top right; }
  .header-inner { gap: 6px; padding: 12px 14px; }
  .header-cta { gap: 6px; }
  .logo .tagline { display: none; }
  .logo { font-size: 1.1rem; gap: 6px; }
  .menu-toggle { padding: 10px; }
  .header-cta .btn-primary {
    padding: 10px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .header-cta .btn-primary .btn-full { display: none; }
  .header-cta .btn-primary .btn-short { display: inline; }
}

/* Very small phones (older iPhone SE, small Android): the phone icon,
   menu button, and Estimate pill no longer all fit next to the logo.
   Drop the bare phone icon - the number is still reachable from the
   menu and every page's content - and tighten what's left further. */
@media (max-width: 360px) {
  .header-cta .phone-link { display: none; }
  .header-inner { padding: 10px 12px; gap: 4px; }
  .header-cta { gap: 4px; }
  .logo { font-size: 1rem; gap: 5px; }
  .logo svg { width: 26px; height: 26px; }
  .menu-toggle { padding: 8px; }
  .header-cta .btn-primary {
    padding: 9px 11px;
    font-size: 0.72rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(160deg, var(--blue-500) 0%, var(--blue-700) 55%, var(--navy-800) 100%);
  color: var(--white);
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -3px 6px rgba(0,0,0,0.18);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(20, 135, 111, 0.38), 0 4px 10px rgba(20, 135, 111, 0.22), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -3px 6px rgba(0,0,0,0.16);
  background: linear-gradient(160deg, var(--blue-500) 0%, var(--blue-700) 45%, var(--navy-900) 100%);
}
.btn-primary:active { transform: translateY(-1px); box-shadow: var(--shadow-sm), inset 0 2px 5px rgba(0,0,0,0.25); }

.btn-outline {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Default: sits on the light page/section background almost everywhere now
   (cta-strip, quote section, location/service pages). */
.btn-outline-dark {
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(15, 107, 88, 0.05));
  border-color: var(--blue-700);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-outline-dark:hover {
  background: linear-gradient(160deg, var(--blue-600), var(--blue-700));
  border-color: var(--blue-700);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255,255,255,0.3);
}
/* On the dark hero / page-header bands, flip back to a light outline. */
.hero .btn-outline-dark, .page-header .btn-outline-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.75);
  color: var(--white);
}
.hero .btn-outline-dark:hover, .page-header .btn-outline-dark:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-700);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(10,12,14,0.86) 0%, rgba(10,12,14,0.72) 30%, rgba(10,12,14,0.52) 65%, rgba(10,12,14,0.32) 130%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=1800&auto=format&fit=crop') center / cover no-repeat;
  color: var(--white);
  padding: 140px 0 144px;
}
.hero::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  top: -240px;
  right: -160px;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 101, 47,0.16), transparent 70%);
  bottom: -200px;
  left: -140px;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-inner > * { min-width: 0; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0,0,0,0.15); }
.hero p.lead {
  color: var(--sky-tint);
  font-size: 1.15rem;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--sky-tint);
  font-weight: 600;
}
.hero-visual {
  position: relative;
  background: rgba(7, 42, 36, 0.55);
  border: 1px solid rgba(255,255,255,0.16);
  border-left: 4px solid var(--orange-500);
  border-radius: 4px 20px 20px 4px;
  padding: 12px 32px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.hero-visual-grid {
  display: flex;
  flex-direction: column;
}
.hero-visual-card {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  transition: padding-left .2s var(--ease);
}
.hero-visual-card:last-child { border-bottom: none; }
.hero-visual-card:hover { padding-left: 10px; }
.hero-visual-card svg { flex-shrink: 0; }
.hero-visual-card strong { display: block; color: var(--white); font-size: 0.98rem; font-family: var(--font); }
.hero-visual-card span { color: var(--sky-tint); font-size: 0.78rem; }

/* ---------- Sections ---------- */
section { padding: 92px 0; position: relative; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* Tinted section — a warm sand surface, visibly distinct from the cream body bg */
.section-alt {
  position: relative;
  background-color: var(--bronze-850);
  background-image:
    linear-gradient(rgba(34,48,42,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,48,42,0.035) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px;
  border-top: 1px solid var(--bronze-700);
  border-bottom: 1px solid var(--bronze-700);
}

/* Green-tinted section — extra variety so the page doesn't read as one repeating cream/sand loop */
.section-green {
  position: relative;
  background-color: var(--green-tint);
  background-image:
    linear-gradient(rgba(34,48,42,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,48,42,0.035) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px;
  border-top: 1px solid var(--green-tint-border);
  border-bottom: 1px solid var(--green-tint-border);
}

/* Orange-tinted section — same idea, warm instead of green */
.section-orange {
  position: relative;
  background-color: var(--orange-tint);
  background-image:
    linear-gradient(rgba(34,48,42,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,48,42,0.035) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px;
  border-top: 1px solid var(--orange-tint-border);
  border-bottom: 1px solid var(--orange-tint-border);
}

/* Dark band — vivid teal gradient, the colorful tone that breaks up the light surface runs */
.section-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-700) 130%);
  color: var(--sky-tint);
}
.section-dark::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 101, 47,0.16), transparent 70%);
  top: -220px; right: -140px;
  pointer-events: none;
}
.section-dark::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2 { color: var(--white); }
.section-dark .section-head p { color: var(--sky-tint); }

/* Stats / trust band tiles */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 820px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-tile {
  text-align: center;
  padding: 30px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.stat-tile:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); }
.stat-tile .stat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--orange-400) 0%, var(--orange-500) 45%, var(--orange-700) 100%);
  box-shadow: 0 10px 20px rgba(226, 101, 47, 0.4), inset 0 2px 3px rgba(255,255,255,0.4), inset 0 -4px 6px rgba(0,0,0,0.22);
  color: var(--white);
}
.stat-tile .stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-tile .stat-label {
  font-size: 0.85rem;
  color: var(--sky-tint);
  font-weight: 500;
}

.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-700);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-dark::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 2px 4px rgba(226,101,47,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
}
.section-dark .eyebrow-dark, .hero .eyebrow-dark, .page-header .eyebrow-dark, .cta-band .eyebrow-dark {
  color: var(--sky-tint);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--gold-500);
  filter: drop-shadow(0 2px 2px rgba(184,127,28,0.35));
}
.stars svg { display: block; }
.stars-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Reviews render as a horizontal swipe carousel at every width — needed
   full-width and inside the narrower work/reviews split column alike. */
.reviews-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 20px;
  padding-bottom: 4px;
}
.reviews-grid::-webkit-scrollbar { display: none; }
.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.review-quote {
  flex: 1;
  color: var(--text-body-dk);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  line-clamp: 9;
  overflow: hidden;
}
.review-quote::before { content: '\201C'; }
.review-quote::after { content: '\201D'; }
.review-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--bronze-700);
}
.review-author {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.9rem;
}
.review-source {
  font-size: 0.75rem;
  color: var(--text-muted-dk);
}
.reviews-controls { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }

/* Work gallery + reviews side by side */
.work-reviews-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.work-reviews-split > .split-col { min-width: 0; }
.split-col-title {
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 1.1rem;
  color: var(--ink-900);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--orange-500);
}
@media (max-width: 900px) {
  .work-reviews-split { grid-template-columns: 1fr; gap: 40px; }
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-radius: 20px;
  padding: 36px 30px 30px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  border-top: 3px solid var(--blue-500);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--orange-500);
}
.card .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-300) 0%, var(--blue-500) 40%, var(--blue-700) 100%);
  box-shadow: 0 10px 20px rgba(20, 135, 111, 0.38), inset 0 2px 3px rgba(255,255,255,0.45), inset 0 -4px 7px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 22px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  text-decoration: none;
  transition: color .15s var(--ease), gap .15s var(--ease);
}
.card-link:hover { text-decoration: none; color: var(--orange-700); gap: 10px; }

.check-mark { color: var(--orange-500); font-weight: 800; margin-right: 2px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
/* connector line threading through the step numbers on desktop */
.steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange-500));
  opacity: 0.45;
  z-index: 0;
}
@media (max-width: 900px) { .steps::before { display: none; } }
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step .num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-300) 0%, var(--blue-500) 40%, var(--blue-700) 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), 0 0 0 8px var(--orange-tint), inset 0 2px 3px rgba(255,255,255,0.45), inset 0 -4px 7px rgba(0,0,0,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 auto 18px;
}

.addon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.addon-list li {
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.addon-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.addon-list li a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 8px; }

/* Service/restoration hub cards (our-services.html, restoration.html) -
   a photo card with the same corner-fold + top-accent language as the
   rest of the card system. */
.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-top: 3px solid var(--blue-500);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-top-color .25s var(--ease);
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--orange-500);
}
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.work-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 26px 26px 0 0;
  border-color: var(--orange-500) transparent transparent transparent;
  z-index: 2;
}
.work-card-body { padding: 22px 22px 24px; }
.work-card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.work-card-body p { margin-bottom: 0; color: var(--text-body-dk); font-size: 0.95rem; }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}
.location-chip {
  position: relative;
  overflow: hidden;
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-top: 3px solid var(--blue-500);
  border-radius: 16px;
  padding: 22px 20px 20px;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-top-color .25s var(--ease);
}
.location-chip::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 22px 22px 0 0;
  border-color: var(--orange-500) transparent transparent transparent;
  z-index: 1;
}
.location-chip strong { color: var(--ink-900); display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.1rem; }
.location-chip span { color: var(--text-muted-dk); font-size: 0.87rem; line-height: 1.5; }
.location-chip:hover {
  border-top-color: var(--orange-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.5);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--orange-700) 140%);
  color: var(--white);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 101, 47,0.16), transparent 70%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--sky-tint); max-width: 60ch; margin: 0 auto 30px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* content-depth section */
.content-section {
  border-top: 1px solid var(--bronze-700);
  padding-top: 52px;
  margin-top: 24px;
}
.content-section > p { max-width: 74ch; }
.content-section > p:first-of-type {
  font-size: 1.12rem;
  color: var(--ink-900);
  line-height: 1.7;
}
.content-section ul, .content-section ol { padding-left: 22px; }
.content-section li { margin-bottom: 8px; }
.content-main ol { max-width: 70ch; }
.content-main ol li { padding-left: 4px; }

.content-layout {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
}
.content-main > p { max-width: 70ch; }
.content-main h3:not(:first-child) { margin-top: 2em; }

.quick-facts {
  position: sticky;
  top: 100px;
  background: var(--blue-75);
  border: 1px solid var(--blue-100);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.quick-facts::before {
  content: '';
  display: block;
  height: 4px;
  margin: -28px -28px 24px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange-500));
  border-radius: 18px 18px 0 0;
}
.quick-facts h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.quick-facts dl { margin: 0; }
.quick-facts .fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--blue-100);
}
.quick-facts .fact:last-child { border-bottom: none; padding-bottom: 0; }
.quick-facts .fact:first-of-type { padding-top: 0; }
.quick-facts .fact-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--white) 0%, var(--blue-75) 100%);
  box-shadow: 0 3px 8px rgba(34,48,42,0.14), inset 0 1px 0 rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted-dk);
  margin: 0 0 2px;
}
.quick-facts dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.95rem;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .icon-list { grid-template-columns: 1fr; }
}
.icon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-tint-dark);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-900);
}
.icon-list li svg { flex-shrink: 0; color: var(--blue-600); }

.callout {
  background: var(--orange-50);
  border-left: 4px solid var(--orange-500);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  margin: 30px 0;
}
.callout p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-900);
  margin: 0;
  max-width: none;
}

.faq-list { margin-top: 20px; }
.faq-item {
  border-bottom: 1px solid var(--bronze-700);
  padding: 6px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-tint-dark);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-600);
  color: var(--white);
}
.faq-item p {
  padding: 0 2px 18px;
  max-width: 68ch;
}

blockquote.testimonial {
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
blockquote.testimonial p { font-style: italic; color: var(--ink-900); margin-bottom: 10px; }
blockquote.testimonial footer { font-size: 0.88rem; color: var(--text-muted-dk); font-style: normal; }

table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bronze-800);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.pricing-table th, table.pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bronze-700);
  text-align: left;
  color: var(--text-body-dk);
}
table.pricing-table th { background: var(--blue-tint-dark); color: var(--ink-900); }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted-dk);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--text-muted-dk); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--blue-300); }

/* Page header (non-homepage) */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-700) 130%);
  color: var(--sky-tint);
  border-bottom: 3px solid var(--orange-500);
  padding: 62px 0 58px;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 101, 47,0.18), transparent 70%);
  top: -220px; right: -120px;
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 12px; color: var(--white); }
.page-header p { font-size: 1.08rem; max-width: 65ch; margin-bottom: 0; color: var(--sky-tint); }
.page-header .breadcrumb { color: rgba(247,236,216,0.85); }
.page-header .breadcrumb a { color: rgba(247,236,216,0.85); }
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header .hero-actions { margin-top: 28px; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
form.contact-form {
  display: grid;
  gap: 16px;
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}
form.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-900);
  display: block;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 13px 15px;
  background: var(--bronze-850);
  border: 1px solid var(--bronze-600);
  border-radius: 10px;
  color: var(--ink-900);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder { color: var(--text-muted-dk); }
form.contact-form select { color-scheme: light; }
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(26, 160, 132, 0.22);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-info-card {
  background: linear-gradient(150deg, var(--navy-900), var(--blue-700));
  color: var(--white);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card p { color: var(--sky-tint); }
.contact-info-card a { color: var(--white); font-weight: 700; }
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: linear-gradient(180deg, var(--bronze-900) 0%, var(--navy-900) 100%);
  color: #cbbfa9;
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col a {
  color: #b8c2cc;
  text-decoration: none;
  display: block;
  margin-bottom: 9px;
  font-size: 0.92rem;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8a94a0;
}

.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;
}

/* ---------- CTA strip (lightweight, repeated conversion prompt) ---------- */
.cta-strip-wrap { padding: 0 0 92px; }
@media (max-width: 768px) { .cta-strip-wrap { padding: 0 0 56px; } }
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}
.cta-strip-text { display: none; }
.cta-strip-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-strip .btn { padding: 15px 28px; font-size: 0.82rem; }
@media (max-width: 560px) {
  .cta-strip { padding: 20px 22px; }
  .cta-strip-actions { width: 100%; }
  .cta-strip-actions .btn {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    padding: 12px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }
}

/* ---------- Work gallery carousel ---------- */
.work-gallery { position: relative; }
.work-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-slide {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bronze-700);
  box-shadow: var(--shadow-md);
  background: var(--bronze-800);
}
@media (max-width: 560px) { .work-slide { width: 78vw; } }
.work-slide-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--bronze-700) 0%, var(--bronze-850) 100%);
  color: var(--blue-600);
  position: relative;
}
.work-slide-media::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 22px 22px 0 0;
  border-color: var(--orange-500) transparent transparent transparent;
  z-index: 2;
}
.work-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-slide-media.compare {
  display: flex;
  gap: 2px;
  padding: 0;
  background: var(--navy-900);
}
.work-slide-media.compare .compare-pane {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.work-slide-media.compare .compare-pane img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-slide-media.compare .compare-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(10, 8, 6, 0.72);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
}
.work-slide-caption {
  padding: 16px 18px;
  background: var(--bronze-800);
}
.work-slide-caption strong {
  display: block;
  font-family: var(--font-display);
  text-transform: none;
  font-size: 0.95rem;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.work-slide-caption span { color: var(--text-muted-dk); font-size: 0.82rem; }
.work-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.work-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--bronze-700);
  background: var(--bronze-800);
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.work-arrow:hover { background: var(--blue-600); color: var(--white); transform: translateY(-2px); }

/* ---------- Quote layout (form card + "let's chat" panel) ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; }
}
.quote-card {
  position: relative;
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-radius: 6px 30px 30px 30px;
  box-shadow: var(--shadow-lg);
  padding: 44px 36px 36px;
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,160,132,0.22), transparent 70%);
  transform: translate(35%, -45%);
  pointer-events: none;
}
.quote-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .quote-form .field-row { grid-template-columns: 1fr; }
}
.quote-form .field-label {
  display: block;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.9rem;
  margin: 20px 0 10px;
}
.quote-form .field-label:first-child { margin-top: 0; }
.quote-form .field-hint {
  font-size: 0.8rem;
  color: var(--text-muted-dk);
  margin: -6px 0 10px;
}
.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  background: var(--bronze-850);
  border: 1px solid var(--bronze-600);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ink-900);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.quote-form input[type="text"]::placeholder,
.quote-form input[type="tel"]::placeholder,
.quote-form input[type="email"]::placeholder,
.quote-form textarea::placeholder { color: var(--text-muted-dk); }
.quote-form select { color-scheme: light; cursor: pointer; }
.quote-form textarea { min-height: 120px; resize: vertical; font-family: var(--font); }
.quote-form input[type="text"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form input[type="email"]:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(26, 160, 132, 0.22);
}
.check-grid, .radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 20px;
}
@media (max-width: 360px) {
  .check-grid, .radio-grid { grid-template-columns: 1fr; }
}
.check-item, .radio-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  color: var(--text-body-dk);
  font-weight: 500;
  cursor: pointer;
}
.check-item input, .radio-item input {
  accent-color: var(--blue-600);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
}
.quote-form button[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 28px;
  background: linear-gradient(160deg, var(--orange-400) 0%, var(--orange-500) 50%, var(--orange-700) 100%);
  box-shadow: 0 10px 22px rgba(226, 101, 47, 0.32), 0 2px 6px rgba(226, 101, 47, 0.2), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -3px 6px rgba(0,0,0,0.18);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  font-size: 1.02rem;
  padding: 16px 30px;
}
.quote-form button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
  box-shadow: 0 14px 28px rgba(226, 101, 47, 0.4), 0 4px 10px rgba(226, 101, 47, 0.24);
}

.quote-chat { padding-top: 8px; }
.quote-chat h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.quote-chat p { font-size: 1.03rem; }
.quote-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--bronze-700);
}
.quote-trust .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink-900);
}
.quote-trust .item svg { flex-shrink: 0; color: var(--blue-600); }

/* ---------- Chatbot widget ---------- */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-300) 0%, var(--blue-500) 40%, var(--blue-700) 100%);
  box-shadow: var(--shadow-lg), inset 0 2px 3px rgba(255,255,255,0.4), inset 0 -4px 7px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.chatbot-toggle:hover { transform: scale(1.08); box-shadow: 0 16px 32px rgba(20, 135, 111, 0.4); }
.chatbot-toggle svg { display: block; }
.chatbot-toggle .chatbot-icon-close { display: none; }
.chatbot-toggle.open .chatbot-icon-chat { display: none; }
.chatbot-toggle.open .chatbot-icon-close { display: block; }
.chatbot-ping {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 2px solid var(--white);
  animation: chatbot-pulse 2s infinite;
}
.chatbot-ping.hidden { display: none; }
@keyframes chatbot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 101, 47, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(226, 101, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 101, 47, 0); }
}

.chatbot-panel {
  position: fixed;
  bottom: 98px;
  right: 24px;
  width: 368px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 140px);
  background: var(--bronze-800);
  border: 1px solid var(--bronze-700);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.chatbot-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-700) 100%);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chatbot-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
}
.chatbot-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  flex-shrink: 0;
}
.chatbot-header-sub {
  display: block;
  font-family: var(--font);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--sky-tint);
  margin-top: 2px;
}
.chatbot-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s var(--ease);
}
.chatbot-close:hover { background: rgba(255,255,255,0.18); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbot-msg {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.5;
}
.chatbot-msg.bot {
  align-self: flex-start;
  background: var(--bronze-850);
  color: var(--ink-900);
  border-bottom-left-radius: 4px;
}
.chatbot-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-700), var(--navy-800));
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chatbot-msg a { color: var(--blue-700); font-weight: 700; }
.chatbot-msg.user a { color: var(--white); text-decoration: underline; }

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 14px;
  flex-shrink: 0;
}
.chatbot-chip {
  background: var(--bronze-850);
  border: 1px solid var(--bronze-600);
  color: var(--ink-900);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chatbot-chip:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }
.chatbot-chip.chip-cta {
  background: linear-gradient(150deg, var(--orange-400), var(--orange-600));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 3px 8px rgba(226,101,47,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.chatbot-chip.chip-cta:hover { background: linear-gradient(135deg, var(--orange-600), var(--orange-700)); }

.chatbot-input-row {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--bronze-700);
  flex-shrink: 0;
}
.chatbot-input-row input {
  flex: 1;
  min-width: 0;
  background: var(--bronze-850);
  border: 1px solid var(--bronze-600);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink-900);
  font-family: var(--font);
  font-size: 0.86rem;
}
.chatbot-input-row input::placeholder { color: var(--text-muted-dk); }
.chatbot-input-row input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26,160,132,0.2); }
.chatbot-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-300) 0%, var(--blue-500) 40%, var(--blue-700) 100%);
  box-shadow: 0 4px 10px rgba(20,135,111,0.35), inset 0 2px 3px rgba(255,255,255,0.4), inset 0 -3px 5px rgba(0,0,0,0.2);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .15s var(--ease);
}
.chatbot-send:hover { transform: scale(1.06); }

@media (max-width: 480px) {
  .chatbot-toggle { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .chatbot-panel {
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
    bottom: 82px;
    height: min(70vh, 560px);
  }
}

/* =====================================================================
   Mobile tightening pass — placed last so it wins over earlier
   component rules of equal selector specificity (.hero, .page-header,
   .cta-band, etc. previously kept full desktop padding on phones).
   ===================================================================== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 32px 0; }

  h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); margin-bottom: 12px; }
  h2 { font-size: clamp(1.4rem, 6.5vw, 1.7rem); margin-bottom: 10px; }
  h3 { font-size: 1.08rem; }

  .hero { padding: 24px 0 24px; }
  .hero-inner { gap: 22px; }
  .eyebrow { margin-bottom: 10px; padding: 5px 12px; font-size: 0.76rem; }
  .hero h1 { margin-bottom: 10px; }
  .hero p.lead { font-size: 0.96rem; line-height: 1.55; }
  .hero-actions { margin-top: 14px; gap: 10px; }
  .hero-actions .btn { padding: 13px 24px; }
  .hero-trust { margin-top: 14px; padding-top: 12px; gap: 8px 16px; }
  .hero-trust .item { font-size: 0.82rem; }

  /* The feature list (Remodeling / New Construction / Restoration / Satisfaction)
     repeats what the rest of the homepage already covers - drop it on phones
     so the hero fits in roughly one screen instead of two. */
  .hero-visual { display: none; }

  .page-header { padding: 26px 0 24px; }
  .page-header h1 { margin-bottom: 8px; }
  .page-header p { font-size: 1rem; }
  .page-header .hero-actions { margin-top: 16px; }

  .section-head { margin-bottom: 16px; }
  .section-head p { font-size: 0.98rem; }

  .grid-3, .grid-2 { gap: 14px; }
  .card { padding: 18px 18px 16px; border-radius: 14px; }
  .card .icon-badge { width: 40px; height: 40px; margin: 0 0 10px; }
  .card h3 { margin-bottom: 6px; }
  .card p { font-size: 0.92rem; line-height: 1.5; }
  .card-link { margin-top: 12px; }

  /* Reviews: full-bleed-ish cards on narrow screens */
  .reviews-grid { gap: 14px; }
  .review-card { flex: 0 0 82vw; padding: 18px 18px; gap: 10px; }
  .review-quote { font-size: 0.9rem; -webkit-line-clamp: 7; line-clamp: 7; }
  .reviews-controls { margin-top: 14px; }
  .work-reviews-split { gap: 30px; }
  .split-col-title { margin-bottom: 12px; }

  .steps { gap: 16px 14px; }
  .step .num { width: 42px; height: 42px; margin-bottom: 10px; }

  .stats-band { gap: 12px; }
  .stat-tile { padding: 16px 12px; border-radius: 14px; }
  .stat-tile .stat-icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .stat-tile .stat-num { font-size: 1.3rem; }

  .locations-grid { gap: 10px; }
  .location-chip { padding: 18px 16px 16px; }
  .location-chip::before { border-width: 18px 18px 0 0; }
  .work-card-body { padding: 18px 18px 20px; }
  .work-card::before { border-width: 20px 20px 0 0; }

  .cta-band { padding: 26px 20px; border-radius: 16px; }
  .cta-band p { margin-bottom: 20px; }
  .cta-actions { gap: 10px; }
  .cta-strip-wrap { margin-top: 20px !important; padding-bottom: 0 !important; }

  .content-section { padding-top: 28px; margin-top: 10px; }
  .content-section > p:first-of-type { font-size: 1.02rem; }
  .content-layout { gap: 22px; margin-top: 20px; }
  .content-main h3:not(:first-child) { margin-top: 1.5em; }
  .quick-facts { padding: 18px; }
  .quick-facts::before { margin: -18px -18px 16px; }
  .callout { padding: 14px 16px; margin: 18px 0; }
  .callout p { font-size: 1.02rem; }
  .icon-list { gap: 8px; margin: 12px 0; grid-template-columns: 1fr; }
  .faq-item summary { padding: 12px 2px; font-size: 1rem; gap: 10px; }
  .faq-item p { padding: 0 2px 14px; }
  .addon-list { gap: 8px; }
  .addon-list li { padding: 9px 14px; font-size: 0.85rem; }

  .contact-grid { gap: 22px; }
  form.contact-form { padding: 20px; gap: 12px; }
  .contact-info-card { padding: 22px; }
  .contact-info-row { margin-bottom: 12px; }

  .footer-grid { gap: 20px; margin-bottom: 20px; }
  footer.site-footer { padding: 32px 0 18px; }
  .footer-col a { margin-bottom: 7px; }

  .quote-layout { gap: 20px; }
  .quote-card { padding: 24px 18px 20px; border-radius: 14px; }
  .quote-form .field-label { margin: 14px 0 6px; }
  .quote-form .field-row { gap: 12px; }
  .quote-trust { margin-top: 18px; padding-top: 16px; gap: 8px; }
  .quote-chat { padding-top: 0; }

  .estimator-card { padding: 26px 20px; gap: 26px; border-radius: 18px; }
  .estimator-sliders { gap: 22px; }
  .estimator-result { padding: 28px 22px; }
  .estimator-result-price { font-size: 1.9rem; }
}

/* Small phones: give checkboxes a bit more room to keep the two-column
   layout longer, since collapsing to one column roughly doubles the
   height of the quote form's service list. */
@media (max-width: 420px) {
  .check-item, .radio-item { font-size: 0.86rem; gap: 7px; }
}
