/* ============================================================
   RAW Finishing — static site stylesheet
   Mirrors the approved design system in src/index.css.
   Tokens are stored as raw HSL channels (same as the React app).
   ============================================================ */


:root {
  --background: 210 20% 98%;
  --foreground: 218 24% 16%;
  --card: 0 0% 100%;
  --card-foreground: 218 24% 16%;
  --primary: 218 24% 16%;
  --primary-foreground: 0 0% 100%;
  --secondary: 215 20% 93%;
  --secondary-foreground: 218 24% 16%;
  --muted: 215 18% 94%;
  --muted-foreground: 218 14% 42%;
  --accent: 352 78% 45%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 45%;
  --border: 218 16% 88%;
  --input: 218 16% 88%;
  --ring: 352 78% 45%;
  --radius: 0.625rem;
}

/* Approved brand colors (red #CC1931, navy #1F2633) */
:root {
  --brand-red: #cc1931;
  --brand-navy: #1f2633;
  --accent-strong: hsl(352 82% 48%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

.font-display { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.font-body { font-family: "Inter", system-ui, sans-serif; }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-accent { color: hsl(var(--accent)); }
.text-white { color: #fff; }
.bg-card { background-color: hsl(var(--card)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-background { background-color: hsl(var(--background)); }
.bg-primary { background-color: hsl(var(--primary)); }

.eyebrow {
  display: inline-block;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.1);
  color: hsl(352 78% 41%); /* brand red, darkened for 4.5:1 contrast on the tinted pill */
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-bordered { border-block: 1px solid hsl(var(--border)); }

.maxw-prose { max-width: 48rem; margin-inline: auto; text-align: center; }
.maxw-2xl { max-width: 42rem; margin-inline: auto; }
.maxw-3xl { max-width: 48rem; margin-inline: auto; }
.maxw-6xl { max-width: 72rem; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 48px;
}
.btn-accent {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: 0 4px 12px -2px hsl(var(--accent) / 0.4);
}
.btn-accent:hover { background: hsl(var(--accent) / 0.9); }
.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.btn-hero {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: 0 10px 25px -5px hsl(var(--accent) / 0.5);
  padding: 1rem 1.5rem;
  font-weight: 700;
}
.btn-hero:hover { background: hsl(var(--accent) / 0.9); }
.btn-ghost-light {
  background: transparent;
  border: 2px solid hsl(0 0% 100% / 0.3);
  color: #fff;
  padding: 1rem 1.5rem;
  font-weight: 700;
}
.btn-ghost-light:hover { background: hsl(0 0% 100% / 0.1); }
.btn-lg { width: 100%; padding-block: 0.875rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 0.5rem;
}
.topbar-left { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.2);
  border: 1px solid hsl(var(--accent) / 0.4);
  padding: 0.125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
}
.topbar-tagline {
  font-style: italic;
  color: hsl(var(--primary-foreground) / 0.75);
  font-weight: 600;
}
.topbar-right { display: flex; align-items: center; gap: 1rem; font-weight: 600; }
.topbar a { display: inline-flex; align-items: center; gap: 0.375rem; }
.topbar a:hover { opacity: 0.8; }
.topbar .icon { width: 0.75rem; height: 0.75rem; flex: none; }
.topbar .icon-accent { color: hsl(var(--accent)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--card) / 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
}
.site-header.is-scrolled {
  background: hsl(var(--card) / 0.95);
  box-shadow: 0 4px 12px -4px hsl(0 0% 0% / 0.1);
  border-bottom-color: hsl(var(--border));
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 5rem;
}
.logo-link { display: flex; align-items: center; gap: 0.75rem; }
.logo-link img { height: 3rem; max-width: 220px; object-fit: contain; }
@media (min-width: 640px) { .logo-link img { height: 3.5rem; } }

.main-nav { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.nav-link {
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.8);
  transition: all 0.15s ease;
}
.nav-link:hover { background: hsl(var(--muted)); color: hsl(var(--accent)); }
.nav-link.is-active { background: hsl(var(--accent) / 0.1); font-weight: 700; color: hsl(var(--accent)); }

.header-actions { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .header-actions { display: flex; } }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.15s ease;
}
.header-phone:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.5rem;
  background: transparent;
  border: 0;
  color: hsl(var(--foreground));
}
.menu-toggle:hover { background: hsl(var(--muted)); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

/* Mobile menu */
.mobile-menu { display: none; border-top: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.mobile-menu.is-open { display: block; }
.mobile-menu .container { padding-block: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-link {
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.85);
}
.mobile-link:hover { background: hsl(var(--muted)); }
.mobile-link.is-active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.mobile-section-label {
  padding: 0.25rem 0.875rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}
.mobile-cta { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.5rem; border-top: 1px solid hsl(var(--border)); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg picture { display: contents; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(var(--primary) / 0.95), hsl(var(--primary) / 0.65) 50%, hsl(var(--primary) / 0.25));
}
.hero-ring { position: absolute; border-radius: 9999px; border: 1px solid hsl(0 0% 100% / 0.1); pointer-events: none; }
.hero-ring.r1 { width: 20rem; height: 20rem; right: -6rem; top: -6rem; border-color: hsl(var(--accent) / 0.2); }
.hero-ring.r2 { width: 24rem; height: 24rem; left: -6rem; bottom: -8rem; }
.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 4rem;
}
@media (min-width: 768px) { .hero-inner { padding-block: 6rem; } }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 7fr 5fr; } }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.2);
  border: 1px solid hsl(0 0% 100% / 0.3);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero h1 { font-size: 2.25rem; font-weight: 900; color: #fff; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .hl { color: hsl(var(--accent)); text-decoration: underline; text-decoration-color: hsl(var(--accent) / 0.6); text-underline-offset: 8px; }
.hero-lead { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; line-height: 1.7; color: hsl(var(--primary-foreground) / 0.9); }
@media (min-width: 640px) { .hero-lead { font-size: 1.125rem; } }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.75rem; font-weight: 600; }
.hero-pill {
  border-radius: var(--radius);
  background: hsl(0 0% 100% / 0.1);
  border: 1px solid hsl(0 0% 100% / 0.1);
  padding: 0.375rem 0.75rem;
  backdrop-filter: blur(4px);
}
.hero-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.875rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-actions .btn { min-height: 56px; padding: 1rem 1.5rem; }

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.trustbar .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-block: 1.5rem; }
@media (min-width: 768px) { .trustbar .container { grid-template-columns: repeat(4, 1fr); padding-block: 2rem; } }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-icon {
  flex: none;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 0.75rem;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}
.trust-icon svg { width: 1.5rem; height: 1.5rem; }
.trust-label { display: block; font-size: 0.875rem; font-weight: 700; color: hsl(var(--foreground)); }
.trust-sub { display: block; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ---------- Section header ---------- */
.section-head { text-align: center; margin-bottom: 3.5rem; max-width: 48rem; margin-inline: auto; }
.section-head h2 { font-size: 1.875rem; font-weight: 800; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-head h2 { font-size: 3rem; } }
.section-head p { margin-top: 1rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.card {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 hsl(0 0% 0% / 0.05);
}
.card-icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.card-icon.solid { background: hsl(var(--primary)); color: #fff; }
.card-icon.solid svg { color: hsl(var(--accent)); }
.card h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 700; color: hsl(var(--foreground)); }
.card p { margin-top: 0.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* Service link card */
.service-card {
   display: flex; flex-direction: column; justify-content: flex-start;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 2px 0 hsl(0 0% 0% / 0.05);
  transition: all 0.3s ease; scroll-margin-top: 8rem;
}
.service-card:hover { transform: translateY(-4px); border-color: hsl(var(--accent)); box-shadow: 0 8px 20px -6px hsl(0 0% 0% / 0.1); }
.service-card .card-icon.solid { transition: background 0.3s ease; }
.service-card:hover .card-icon.solid { background: hsl(var(--accent)); }
.service-card:hover .card-icon.solid svg { color: #fff; }
.service-card h3 { transition: color 0.3s ease; }
.service-card:hover h3 { color: hsl(var(--accent)); }
.service-card .card-link { margin-top: 1.5rem; font-size: 0.75rem; font-weight: 700; color: hsl(var(--accent)); display: inline-flex; align-items: center; gap: 0.25rem; }
.service-card .arrow { width: 0.875rem; height: 0.875rem; transition: transform 0.3s ease; }
.service-card:hover .arrow { transform: translateX(2px); }

/* Process step */
.step { position: relative; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 2px 0 hsl(0 0% 0% / 0.05); }
.step-num { position: absolute; top: -0.75rem; left: 1.5rem; width: 1.75rem; height: 1.75rem; border-radius: 9999px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px hsl(0 0% 0% / 0.2); }
.step h3 { margin-top: 1rem; font-size: 1rem; font-weight: 700; }
.step p { margin-top: 0.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* ---------- Reviews ---------- */
.review-card { display: flex; flex-direction: column; justify-content: space-between; }
.review-stars { display: inline-flex; gap: 0.25rem; }
.review-stars svg { width: 1rem; height: 1rem; fill: hsl(var(--accent)); color: hsl(var(--accent)); }
.review-quote { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--foreground) / 0.85); }
.review-meta { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid hsl(var(--border)); font-size: 0.875rem; }
.review-meta strong { color: hsl(var(--foreground)); }
.review-meta .muted { color: hsl(var(--muted-foreground)); }
.review-tag { display: inline-block; border-radius: 9999px; background: hsl(var(--accent) / 0.1); padding: 0.125rem 0.625rem; font-size: 0.6875rem; font-weight: 700; color: hsl(var(--accent)); }
.link-inline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; color: hsl(var(--accent)); }
.link-inline:hover { text-decoration: underline; }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
.gtab {
  border-radius: 9999px; padding: 0.625rem 1.5rem; font-size: 0.875rem; font-weight: 700;
  background: hsl(var(--card)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); transition: all 0.2s ease;
}
.gtab:hover { border-color: hsl(var(--accent)); }
.gtab.is-active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: transparent; box-shadow: 0 4px 12px -2px hsl(var(--accent) / 0.4); }
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-tile { position: relative; cursor: pointer; overflow: hidden; border-radius: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); aspect-ratio: 4/5; transition: all 0.3s ease; }
.gallery-tile:hover { border-color: hsl(var(--accent)); box-shadow: 0 8px 24px -8px hsl(0 0% 0% / 0.2); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-play { position: absolute; inset: 0; background: hsl(0 0% 0% / 0.3); display: grid; place-items: center; }
.gallery-play .circle { width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); display: grid; place-items: center; box-shadow: 0 8px 20px -4px hsl(0 0% 0% / 0.4); }
.gallery-play .circle svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.gallery-tag { position: absolute; top: 0.75rem; left: 0.75rem; border-radius: var(--radius); background: hsl(0 0% 0% / 0.75); backdrop-filter: blur(4px); padding: 0.25rem 0.625rem; font-size: 0.6875rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.gallery-caption { position: absolute; inset-block: auto 0; inset-inline: 0; background: linear-gradient(to top, hsl(0 0% 0% / 0.8), transparent); padding: 1rem; color: #fff; }
.gallery-caption p { font-size: 0.875rem; font-weight: 700; }
.panel { display: none; }
.panel.is-active { display: block; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: hsl(0 0% 0% / 0.9); backdrop-filter: blur(4px); padding: 1rem; }
.lightbox.is-open { display: flex; }
.lightbox-stage { position: relative; width: 100%; max-width: 56rem; display: flex; flex-direction: column; align-items: center; }
.lb-close { position: absolute; top: -3rem; right: 0; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: hsl(0 0% 100% / 0.2); color: #fff; border: 0; display: grid; place-items: center; }
.lb-close:hover { background: hsl(0 0% 100% / 0.4); }
.lb-close svg { width: 1.5rem; height: 1.5rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 9999px; background: hsl(0 0% 0% / 0.5); color: #fff; border: 0; display: grid; place-items: center; z-index: 2; }
.lb-nav:hover { background: hsl(0 0% 0% / 0.8); }
.lb-nav.prev { left: 0; }
.lb-nav.next { right: 0; }
.lb-media { width: 100%; max-height: 75vh; border-radius: 0.75rem; overflow: hidden; background: #000; aspect-ratio: 16/9; display: grid; place-items: center; }
.lb-media img { max-height: 75vh; width: auto; max-width: 100%; object-fit: contain; }
.lb-title { margin-top: 1rem; text-align: center; color: #fff; }
.lb-title h3, .lb-title h4 { font-size: 1.125rem; font-weight: 700; }
.lb-title p { font-size: 0.75rem; color: hsl(0 0% 100% / 0.7); margin-top: 0.25rem; }

/* ---------- Before / After slider ---------- */
.ba {
  position: relative; width: 100%; overflow: hidden; border-radius: 1rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--muted)); user-select: none; --pos: 50%;
}
.ba-stage { position: relative; aspect-ratio: 4/3; width: 100%; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after-wrap { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 var(--pos)); }
.ba-label { position: absolute; top: 0.75rem; border-radius: var(--radius); padding: 0.25rem 0.625rem; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; pointer-events: none; }
.ba-label.before { left: 0.75rem; background: hsl(0 0% 0% / 0.7); color: #fff; backdrop-filter: blur(4px); }
.ba-label.after { right: 0.75rem; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); box-shadow: 0 1px 3px hsl(0 0% 0% / 0.2); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: hsl(0 0% 100% / 0.9);
  box-shadow: 0 0 8px hsl(0 0% 0% / 0.4); pointer-events: none; transform: translateX(-1px);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 2.75rem; height: 2.75rem; border-radius: 9999px; border: 2px solid #fff;
  background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); display: grid; place-items: center; box-shadow: 0 8px 20px -4px hsl(0 0% 0% / 0.4);
}
.ba-knob svg { width: 1.25rem; height: 1.25rem; }
.ba-input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: ew-resize; opacity: 0; }
.ba-cap { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem; }
.ba-cap h3 { font-size: 1rem; font-weight: 700; }
.ba-cap .sub { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.125rem; }
.ba-cat { flex: none; border-radius: 9999px; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); padding: 0.25rem 0.75rem; font-size: 0.6875rem; font-weight: 600; color: hsl(var(--secondary-foreground)); }

/* ---------- Service area ---------- */
.sa-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .sa-grid { grid-template-columns: 1fr 1fr; } }
.sa-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.375rem; border-radius: var(--radius); border: 1px solid hsl(var(--border)); padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 600; color: hsl(var(--foreground)); background: transparent; transition: all 0.15s ease; min-height: 36px; }
.chip:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.chip .dot { width: 0.625rem; height: 0.625rem; border-radius: 9999px; }
.chip-base { border-color: hsl(var(--accent) / 0.4); background: hsl(var(--accent) / 0.1); }
.chip-mainline { background: hsl(var(--secondary) / 0.6); }
.sa-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.sa-legend span { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.sa-legend .dot { width: 0.625rem; height: 0.625rem; border-radius: 9999px; }
.sa-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .sa-actions { flex-direction: row; } }
.map-frame { position: relative; width: 100%; height: 360px; border-radius: 1rem; overflow: hidden; border: 1px solid hsl(var(--border)); background: hsl(var(--muted)); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 1rem; overflow: hidden; }
.faq details { border-bottom: 1px solid hsl(var(--border)); padding: 1.25rem; }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1rem; font-weight: 700; color: hsl(var(--foreground)); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none; width: 1.75rem; height: 1.75rem; border-radius: 9999px; background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent)); display: grid; place-items: center; transition: transform 0.2s ease;
}
.faq summary .plus svg { width: 1rem; height: 1rem; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { margin-top: 0.75rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-block: 1.25rem; font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.crumbs a { color: hsl(var(--muted-foreground)); }
.crumbs a:hover { color: hsl(var(--accent)); }
.crumbs .sep { opacity: 0.6; }
.crumbs .current { color: hsl(var(--foreground)); font-weight: 600; }

/* ---------- Page hero (interior) ---------- */
.pagehero { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding-block: 2.5rem; }
@media (min-width: 768px) { .pagehero { padding-block: 3.5rem; } }
.pagehero h1 { font-size: 2.25rem; font-weight: 800; color: #fff; }
@media (min-width: 768px) { .pagehero h1 { font-size: 3rem; } }
.pagehero .subtitle { margin-top: 1rem; max-width: 42rem; color: hsl(var(--primary-foreground) / 0.9); font-size: 1.0625rem; }

/* ---------- Lead form ---------- */
.form-card { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 4px 16px -4px hsl(0 0% 0% / 0.1); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-head { margin-bottom: 1rem; }
.form-head .eyebrow { margin-bottom: 0.25rem; }
.pagehero .eyebrow, .bg-primary .eyebrow { color: hsl(352 78% 68%); } /* lighter brand red on navy, 4.5:1+ */
.form-head h2, .form-head h3 { font-size: 1.25rem; font-weight: 700; }
.form-head p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.form-grid { display: grid; gap: 0.75rem; }
.form-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.25rem; }
.field label { font-size: 0.75rem; font-weight: 600; color: hsl(var(--foreground)); }
.field .opt { font-weight: 400; color: hsl(var(--muted-foreground)); }
.input {
  width: 100%; border: 1px solid hsl(var(--input)); background: hsl(var(--background)); border-radius: var(--radius);
  padding: 0.625rem 0.875rem; font-size: 0.875rem; color: hsl(var(--foreground)); font-family: inherit;
}
.input:focus-visible { outline: none; border-color: hsl(var(--accent)); box-shadow: 0 0 0 3px hsl(var(--accent) / 0.2); }
textarea.input { resize: vertical; min-height: 5rem; }
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem; text-align: center;
  border: 2px dashed hsl(var(--input)); background: hsl(var(--background)); border-radius: var(--radius); padding: 1.5rem 1rem;
  cursor: pointer; transition: all 0.15s ease; min-height: 120px;
}
.drop:hover { background: hsl(var(--muted) / 0.4); }
.drop.is-drag { border-color: hsl(var(--accent)); background: hsl(var(--accent) / 0.1); }
.drop svg { width: 1.75rem; height: 1.75rem; color: hsl(var(--muted-foreground)); }
.drop .browse { color: hsl(var(--accent)); text-decoration: underline; }
.drop .hint { font-size: 0.6875rem; color: hsl(var(--muted-foreground)); }
.file-list { margin-top: 0.5rem; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.file-list li { display: flex; align-items: center; gap: 0.375rem; font-size: 0.6875rem; color: hsl(var(--muted-foreground)); }
.file-list .clear { margin-top: 0.25rem; font-size: 0.6875rem; font-weight: 600; color: hsl(var(--muted-foreground)); background: none; border: 0; padding: 0; }
.file-list .clear:hover { color: hsl(var(--foreground)); }
.form-note { text-align: center; font-size: 0.6875rem; color: hsl(var(--muted-foreground)); }
.form-note a { color: hsl(var(--accent)); }
.form-note a:hover { text-decoration: underline; }
.form-disclaimer { font-size: 0.6875rem; color: hsl(var(--muted-foreground)); text-align: center; }
.btn-submit { width: 100%; min-height: 48px; }

/* ---------- Sticky mobile bottom bar ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  box-shadow: 0 -8px 20px -8px hsl(var(--primary) / 0.15);
}
.mobile-cta-bar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; min-height: 48px; border-radius: 0.625rem;
  font-weight: 700; font-size: 0.9375rem; text-decoration: none;
}
.mobile-cta-bar svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.mobile-cta-bar .cta-call {
  background: hsl(var(--accent)); color: #fff;
}
.mobile-cta-bar .cta-call:hover { background: hsl(var(--accent) / 0.9); }
.mobile-cta-bar .cta-estimate {
  background: hsl(var(--primary)); color: #fff;
  border: 1px solid hsl(var(--primary));
}
.mobile-cta-bar .cta-estimate:hover { background: hsl(var(--primary) / 0.9); }
/* Hide the sticky bar on desktop; the header CTA covers it */
@media (min-width: 768px) {
  .mobile-cta-bar { display: none; }
}
/* Add bottom spacing on mobile so content isn't hidden behind the bar */
@media (max-width: 767px) {
  body { padding-bottom: 4.5rem; }
}
/* Keep the bar from covering a form field while someone is typing */
@media (max-width: 767px) {
  body:has(form :focus) .mobile-cta-bar { display: none; }
}

/* Touch targets: at least 44x44px on phones (sizes only; colors and type unchanged) */
@media (max-width: 767px) {
  .menu-toggle { min-width: 44px; min-height: 44px; }
  .topbar-right a,
  .crumbs a,
  .link-inline,
  .link-list a,
  .footer-socials a,
  .footer-services a,
  .footer-quicklinks a,
  .footer-bottom .links a {
    display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  }
  .footer-contact a { align-items: center; min-height: 44px; }
  a.tap { display: inline-flex; align-items: center; min-height: 44px; }
  .chip { min-height: 44px; }
  .input { min-height: 44px; }
  .faq summary { min-height: 44px; }
}

/* ---------- Footer ---------- */
.site-footer { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-top: 1px solid hsl(0 0% 100% / 0.1); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo-box { background: #fff; border-radius: var(--radius); padding: 0.5rem; display: inline-block; }
.footer-logo-box img { height: 3rem; max-width: 200px; object-fit: contain; }
.footer-about { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--primary-foreground) / 0.8); }
.footer-creds { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; color: #fff; }
.footer-creds .row { display: flex; align-items: center; gap: 0.5rem; }
.footer-creds .indent { padding-left: 1.5rem; }
.footer-creds .muted { color: hsl(var(--primary-foreground) / 0.7); }
.footer-creds svg { width: 1rem; height: 1rem; color: hsl(var(--accent)); }
.footer-socials { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid hsl(0 0% 100% / 0.15); display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.75rem; }
.footer-socials .label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: hsl(var(--primary-foreground) / 0.6); margin-bottom: 0.25rem; }
.footer-socials a { display: inline-flex; align-items: center; gap: 0.375rem; color: hsl(var(--primary-foreground) / 0.8); }
.footer-socials a:hover { color: #fff; }
.footer-socials svg { width: 0.75rem; height: 0.75rem; color: hsl(var(--accent)); }
.footer-col h2, .footer-col h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; border-bottom: 1px solid hsl(0 0% 100% / 0.15); padding-bottom: 0.5rem; }
.footer-services { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.75rem; color: hsl(var(--primary-foreground) / 0.8); list-style: none; padding: 0; }
.footer-services li { display: flex; align-items: center; gap: 0.375rem; }
.footer-services svg { width: 0.875rem; height: 0.875rem; color: hsl(var(--accent)); flex: none; }
.footer-towns { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.375rem; list-style: none; padding: 0; }
.footer-towns li { border-radius: 9999px; background: hsl(0 0% 100% / 0.1); border: 1px solid hsl(0 0% 100% / 0.15); padding: 0.25rem 0.625rem; font-size: 0.6875rem; font-weight: 500; color: hsl(var(--primary-foreground) / 0.9); }
.footer-contact { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.footer-contact a, .footer-contact li { display: flex; align-items: flex-start; gap: 0.625rem; color: hsl(var(--primary-foreground) / 0.85); }
.footer-contact a:hover, .footer-contact a:hover strong { color: #fff; }
.footer-contact svg { width: 1rem; height: 1rem; color: hsl(var(--accent)); flex: none; margin-top: 0.125rem; }
.footer-contact .break { word-break: break-all; }
.footer-quicklinks { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid hsl(0 0% 100% / 0.1); display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; }
.footer-quicklinks a { color: hsl(var(--primary-foreground) / 0.7); }
.footer-quicklinks a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid hsl(0 0% 100% / 0.1); background: hsl(0 0% 0% / 0.2); }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; padding-block: 1.25rem; font-size: 0.75rem; color: hsl(var(--primary-foreground) / 0.65); }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; } }
.footer-bottom .links { display: flex; gap: 1rem; }
.footer-bottom .links a { color: hsl(var(--primary-foreground) / 0.65); }
.footer-bottom .links a:hover { color: #fff; }

/* ---------- Generic helpers ---------- */
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.text-center { text-align: center; }
.muted-sm { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.placeholder-box {
  max-width: 48rem; margin: 3rem auto; text-align: center; padding: 3rem 1.5rem;
  border: 1px dashed hsl(var(--border)); border-radius: 1rem; background: hsl(var(--card));
}
.placeholder-box h2 { font-size: 1.5rem; }
.placeholder-box p { margin-top: 0.5rem; color: hsl(var(--muted-foreground)); }
.link-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; max-width: 42rem; margin: 1.5rem auto; }
.link-list a { display: inline-flex; align-items: center; gap: 0.375rem; color: hsl(var(--accent)); font-weight: 600; }
.link-list a:hover { text-decoration: underline; }
.link-list svg { width: 0.875rem; height: 0.875rem; }

/* skip link for a11y */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 200; background: #fff; padding: 0.5rem 1rem; border-radius: var(--radius); }

/* ---------- Header-phone ---------- */
.header-phone { white-space: nowrap; }
.header-phone svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ---------- Gallery active panel ---------- */
.gallery-grid.panel.is-active { display: grid; }
.hidden { display: none; }
@media (min-width: 640px) { .sm\:inline { display: inline; } }

/* ---------- Photo service cards ---------- */
.photo-card { padding: 0; overflow: hidden; }
.photo-card .photo-card-media { aspect-ratio: 3/2; overflow: hidden; background: hsl(var(--secondary)); }
.photo-card .photo-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.photo-card:hover .photo-card-media img { transform: scale(1.04); }
.photo-card > div:not(.photo-card-media) { padding: 1.25rem 1.5rem 1.5rem; }
.photo-card .card-link { margin-top: 1rem; }

/* ---------- Homepage services grid (3 + 2 centered) ---------- */
.services-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
/* Five service cards (homepage): odd last card centered on tablet; 2 + 3 rows on desktop */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .services-grid:has(> :nth-child(5):last-child) > :last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1024px) {
  .services-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .services-grid:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .services-grid:has(> :nth-child(5):last-child) > :nth-child(-n+2) { grid-column: span 3; }
  .services-grid:has(> :nth-child(5):last-child) > :nth-child(-n+2) .photo-card-media { aspect-ratio: 16/9; }
}

/* ---------- Core service feature ---------- */
.core-feature { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .core-feature { grid-template-columns: 1.1fr 1fr; } }
.core-feature-media { border-radius: 1rem; overflow: hidden; border: 1px solid hsl(var(--border)); box-shadow: 0 10px 30px -12px hsl(0 0% 0% / 0.25); }
.core-feature-media img { width: 100%; height: auto; display: block; }
.core-feature-body h3 { font-size: 1.5rem; font-weight: 800; }
.core-feature-body p { margin-top: 0.75rem; color: hsl(var(--foreground) / 0.85); line-height: 1.7; }
.core-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 0.5rem; }
.core-list li { position: relative; padding-left: 1.5rem; font-size: 0.875rem; color: hsl(var(--foreground) / 0.85); }
.core-list li::before { content: "✓"; position: absolute; left: 0; color: hsl(var(--accent)); font-weight: 700; }

/* ---------- About / credentials ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 2fr 1fr; } }
.about-photo-slot { position: sticky; top: 6rem; }
.owner-photo-placeholder {
  aspect-ratio: 3/4; border-radius: 1rem; border: 1px dashed hsl(var(--border));
  background: hsl(var(--secondary) / 0.6); display: grid; place-items: center; gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}
.owner-photo-placeholder svg { width: 3rem; height: 3rem; opacity: 0.5; }
.owner-photo-placeholder span { font-size: 0.75rem; font-weight: 600; }

/* ---------- Final CTA ---------- */
.section-cta {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.92));
  padding: 4rem 0;
}
.section-cta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-top: 0.5rem; }

/* ---------- Long-form prose ---------- */
.prose { max-width: 48rem; }
.prose p { margin-bottom: 1rem; color: hsl(var(--foreground) / 0.88); line-height: 1.75; }
.prose h3 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 1.3rem; font-weight: 700; margin-top: 2.25rem; margin-bottom: 0.75rem; color: hsl(var(--foreground)); }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; color: hsl(var(--foreground) / 0.88); line-height: 1.7; }
.prose strong { color: hsl(var(--foreground)); }
/* Form/estimate card headings sit inside the white card; don't inherit the hero's white text. */
.form-card h2, .form-card h3 { color: hsl(var(--foreground)); }

/* Project photo grids: show the photos at their own 3:4 shape, not a thin crop */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 20rem)); justify-content: center; gap: 1rem; }
.photo-grid figure { margin: 0; }

/* No single word left alone on the last line */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, figcaption, summary, blockquote { text-wrap: pretty; }
.step p, .card p, .section-head p, figcaption, summary { text-wrap: balance; }

/* Owner photo (homepage About column and About page bio card) */
.owner-photo { margin: 0 auto; max-width: 20rem; }
.owner-photo img, .owner-photo-card { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 1rem; border: 1px solid hsl(var(--border)); box-shadow: 0 12px 28px -12px hsl(var(--primary) / 0.35); }
.owner-photo figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.8125rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.owner-photo-card { margin-bottom: 1.25rem; }

/* ---------- Estimate calculator (estimate.html) ---------- */
.est-intro { margin-bottom: 2rem; }
.estimator { min-height: 22rem; }
.est-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 3px hsl(var(--primary) / 0.06); }
@media (min-width: 768px) { .est-card { padding: 2rem; } }
.est-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.est-back { display: inline-flex; align-items: center; gap: 0.25rem; min-height: 44px; padding: 0 0.25rem; background: none; border: 0; font-weight: 600; font-size: 0.875rem; color: hsl(var(--muted-foreground)); cursor: pointer; }
.est-back:hover { color: hsl(var(--foreground)); }
.est-chev { width: 1rem; height: 1rem; }
.est-count { font-size: 0.8125rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.est-progress { height: 0.375rem; border-radius: 9999px; background: hsl(var(--secondary)); overflow: hidden; margin-bottom: 1.5rem; }
.est-progress > div { height: 100%; background: hsl(var(--accent)); border-radius: 9999px; transition: width 0.3s ease; }
.est-h { font-size: 1.5rem; font-weight: 800; outline: none; }
.est-sub { margin: 0.25rem 0 1.5rem; color: hsl(var(--muted-foreground)); }
.est-projects { display: grid; gap: 0.75rem; }
.est-project { display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 44px; text-align: left; padding: 1rem; border: 1px solid hsl(var(--border)); border-radius: 0.75rem; background: hsl(var(--card)); cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; font: inherit; color: inherit; }
.est-project:hover, .est-project:focus-visible { border-color: hsl(var(--accent)); box-shadow: 0 0 0 1px hsl(var(--accent) / 0.3); outline: none; }
.est-picon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: hsl(var(--accent) / 0.1); color: hsl(var(--accent)); }
.est-picon svg { width: 1.375rem; height: 1.375rem; }
.est-plabel { display: block; font-weight: 700; font-size: 1.0625rem; }
.est-pdesc { display: block; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.est-legal { margin-top: 1.25rem; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.est-legal a, .est-alt a { color: hsl(var(--accent)); font-weight: 600; }
.est-fields { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.estimator .field label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.375rem; }
.estimator .input.is-err { border-color: hsl(var(--accent)); }
.est-req { color: hsl(var(--accent)); }
.est-err { margin-top: 0.375rem; font-size: 0.8125rem; font-weight: 600; color: hsl(var(--accent)); }
.est-q { border: 0; padding: 0; margin: 0 0 1.5rem; outline: none; }
.est-q legend { font-weight: 700; margin-bottom: 0.5rem; padding: 0; }
.est-help { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); margin: -0.25rem 0 0.5rem; }
.est-opts, .est-tiers { display: grid; gap: 0.5rem; }
.est-opt { position: relative; display: flex; align-items: flex-start; gap: 0.75rem; min-height: 44px; padding: 0.875rem 1rem; border: 1px solid hsl(var(--border)); border-radius: 0.75rem; background: hsl(var(--card)); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.est-opt:hover { border-color: hsl(var(--accent) / 0.4); }
.est-opt.is-on { border-color: hsl(var(--accent)); background: hsl(var(--accent) / 0.05); box-shadow: 0 0 0 1px hsl(var(--accent) / 0.3); }
.est-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.est-opt:focus-within { box-shadow: 0 0 0 2px hsl(var(--ring, var(--accent))); }
.est-mark { flex: none; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; border-radius: 9999px; border: 2px solid hsl(var(--muted-foreground) / 0.4); color: #fff; }
.est-mark.sq { border-radius: 0.375rem; }
.est-opt.is-on .est-mark { border-color: hsl(var(--accent)); background: hsl(var(--accent)); }
.est-mark svg { width: 0.75rem; height: 0.75rem; stroke-width: 3; }
.est-opt-text { flex: 1; min-width: 0; }
.est-opt-label { display: block; font-weight: 600; }
.est-opt-desc { display: block; font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }
.est-tier { align-items: center; flex-wrap: wrap; }
.est-price { font-weight: 800; font-size: 1.0625rem; white-space: nowrap; margin-left: auto; }
.est-tier .est-opt-text { flex: 1 1 9rem; }
@media (max-width: 520px) { .est-price { flex-basis: 100%; margin-left: 0; padding-left: 2rem; } }
.est-note { margin: 1.25rem 0 1.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.estimator textarea.input { min-height: 5rem; }
.est-next { width: 100%; min-height: 48px; }
.est-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.est-done { text-align: center; padding: 1rem 0; }
.est-done-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: hsl(var(--accent)); color: #fff; margin-bottom: 1rem; }
.est-done-icon svg { width: 1.75rem; height: 1.75rem; stroke-width: 3; }
.est-done p { margin: 0.5rem 0 1.5rem; color: hsl(var(--muted-foreground)); }
.est-alt { margin-top: 1.5rem; text-align: center; font-size: 0.9375rem; color: hsl(var(--muted-foreground)); }

/* "Try our estimate calculator" secondary link near estimate buttons */
.calc-link { margin-top: 1rem; font-size: 0.9375rem; font-weight: 600; }
.calc-link a { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; color: hsl(var(--accent)); }
.hero .calc-link a, .pagehero .calc-link a { color: #fff; }
.calc-link svg { width: 1rem; height: 1rem; }
.local-section .prose a { color: hsl(352 78% 41%); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Homepage hero lead form (Nov 27, 2026) ----------
   Phone: copy, then the form directly under the subheadline, then pills/buttons.
   Desktop (1024px+): copy and pills on the left, form in the right column. */
.hero-inner.has-form { grid-template-areas: "copy" "form" "rest"; gap: 1.5rem; padding-block: 2rem 3rem; align-items: start; }
.hero-inner.has-form .hero-copy { grid-area: copy; min-width: 0; }
.hero-inner.has-form .hero-form { grid-area: form; min-width: 0; }
.hero-inner.has-form .hero-rest { grid-area: rest; min-width: 0; }
.hero-inner.has-form .hero-pills { margin-top: 0; }
.hero-inner.has-form .hero-lead { margin-top: 1rem; }
.hero-inner.has-form .hero-eyebrow { margin-bottom: 1rem; }
@media (min-width: 1024px) {
  .hero-inner.has-form { grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; grid-template-areas: "copy form" "rest form"; column-gap: 3rem; row-gap: 1.5rem; padding-block: 2rem 3rem; }
}
.hero-form-card { padding: 1.25rem; color: hsl(var(--foreground)); }
@media (min-width: 640px) { .hero-form-card { padding: 1.25rem 1.5rem; } }
.hero-form-card .form-head { margin-bottom: 0.75rem; }
.hero-form-card .form-head h2 { font-size: 1.25rem; }
.hero-form-card .form-head p { font-size: 0.8125rem; margin-top: 0.25rem; }
.hero-form-card .form-grid { gap: 0.5rem; }
.hero-form-card .input { padding: 0.5rem 0.75rem; font-size: 1rem; min-height: 44px; }
.hero-form-card textarea.input { min-height: 3.25rem; }
.hero-form-card .drop { flex-direction: row; min-height: 44px; padding: 0.5rem 0.75rem; gap: 0.5rem; }
.hero-form-card .drop svg { width: 1.125rem; height: 1.125rem; }
.hero-form-card .drop p { font-size: 0.8125rem; font-weight: 600; }
.hero-form-card .btn-submit { margin-top: 0.25rem; }
@media (min-width: 1024px) {
  .hero-inner.has-form { padding-block: 1rem 3rem; }
  .hero-form-card .form-head { margin-bottom: 0.5rem; }
  .hero-form-card textarea.input { min-height: 2.75rem; }
  .hero-form-card .input { min-height: 40px; padding-block: 0.4375rem; }
  .hero-form-card .drop { min-height: 40px; padding-block: 0.375rem; }
  .hero-form-card .form-head p { font-size: 0.75rem; }
}
.hero-form-card .file-list:empty { display: none; }
@media (max-width: 639px) {
  .hero-inner.has-form { padding-top: 1rem; gap: 1rem; }
  .hero-inner.has-form .hero-eyebrow { margin-bottom: 0.75rem; }
  .hero-inner.has-form h1 { font-size: 2rem; line-height: 1.15; }
  .hero-inner.has-form .hero-lead { margin-top: 0.75rem; line-height: 1.55; }
  .hero-form-card { padding: 1rem; }
  .hero-form-card .form-head { margin-bottom: 0.5rem; }
}
