:root {
  --obsidian: #0b0f17;
  --slate-900: #111827;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --bg-light: #f8fafc;
  --bg-warm: #f3f1ed;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.22);
  --success: #16a34a;
  --error: #d93025;
  --error-bg: #fce8e6;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-lg: 0 22px 50px -12px rgba(11, 15, 23, 0.18);
  --shadow-glow: 0 12px 32px rgba(245, 158, 11, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--slate-900);
  background: var(--bg-light);
  line-height: 1.55;
}

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

/* Top Utility Bar */
.utility-bar {
  background: #06090f;
  color: #cbd5e1;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.utility-link,
.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
}

.utility-phone {
  color: var(--amber-400);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #fff;
}

.brand-emblem {
  width: 46px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 5px;
  flex-shrink: 0;
}

.brand-emblem svg {
  width: 100%;
  height: 100%;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #f8fafc;
}

.in-highlight {
  color: var(--amber-400);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #94a3b8;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.main-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--amber-400);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.68rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: #0b0f17;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.28);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #fcd34d, var(--amber-500));
  box-shadow: var(--shadow-glow);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--amber-400);
}

.btn-outline-dark {
  background: transparent;
  color: var(--slate-900);
  border-color: #cbd5e1;
}

.btn-outline-dark:hover {
  border-color: var(--slate-900);
  background: #f1f5f9;
}

.btn-xl {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.bundle-counter {
  background: #0b0f17;
  color: var(--amber-400);
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 18% 20%, #1e293b 0%, #0b0f17 70%);
  color: #fff;
  padding-block: 4.25rem 4.75rem;
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  top: -140px;
  right: 5%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--amber-400);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 3.9vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin-bottom: 1.15rem;
}

.text-gradient {
  background: linear-gradient(90deg, #fbbf24, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  color: #cbd5e1;
  margin-bottom: 1.85rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-badge strong {
  display: block;
  font-size: 1.15rem;
  color: var(--amber-400);
}

.mini-badge span {
  font-size: 0.76rem;
  color: #94a3b8;
}

/* Interactive Showcase */
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.showcase-frame {
  position: relative;
  height: 430px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  background: #0f172a;
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.95) 0%, rgba(11, 15, 23, 0.45) 48%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  gap: 1rem;
}

.showcase-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber-400);
  margin-bottom: 0.25rem;
}

.showcase-meta h2 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.showcase-meta p {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.showcase-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.arrow-btn:hover {
  background: var(--amber-500);
  color: #0b0f17;
  border-color: var(--amber-500);
}

.slide-indicator {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
}

.showcase-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.thumb-pill {
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.15s ease;
}

.thumb-pill.active,
.thumb-pill:hover {
  background: var(--amber-500);
  color: #0b0f17;
  border-color: var(--amber-400);
}

/* Sections */
.section {
  padding-block: 5rem;
}

.section-alt {
  background: var(--bg-warm);
}

.section-dark {
  background: var(--obsidian);
  color: #fff;
}

.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--amber-600);
  margin-bottom: 0.4rem;
}

.section-dark .kicker {
  color: var(--amber-400);
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-top.text-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--slate-500);
  max-width: 65ch;
  margin-top: 0.45rem;
}

.section-dark .section-sub {
  color: #94a3b8;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  padding: 0.52rem 1rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--slate-800);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--slate-900);
  color: var(--amber-400);
  border-color: var(--slate-900);
}

/* Services Bento Grid */
.services-bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-500);
}

.service-card.in-bundle {
  border: 2px solid var(--amber-500);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.16);
}

.service-media {
  position: relative;
  height: 175px;
  background: var(--slate-900);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-cat-pill {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 15, 23, 0.86);
  color: var(--amber-400);
  padding: 0.25rem 0.68rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.service-price-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--slate-900);
  padding: 0.22rem 0.65rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
}

.service-body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.service-bullets {
  list-style: none;
  display: grid;
  gap: 0.38rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-bullets li {
  font-size: 0.84rem;
  color: var(--slate-700);
  padding-left: 1.25rem;
  position: relative;
}

.service-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber-600);
  font-weight: 900;
}

.service-footer {
  display: flex;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

/* Turnkey Bundle Estimator */
.estimator-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.estimator-panel {
  background: var(--slate-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  gap: 1.85rem;
}

.estimator-step h3,
.slider-header label {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: block;
  color: #f8fafc;
}

.bundle-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.65rem;
}

.bundle-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.bundle-check-item:has(input:checked) {
  background: rgba(245, 158, 11, 0.16);
  border-color: var(--amber-400);
  color: var(--amber-400);
}

.bundle-check-item input {
  accent-color: var(--amber-500);
  width: 1rem;
  height: 1rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-header output {
  color: var(--amber-400);
  font-weight: 800;
  font-size: 0.92rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--amber-500);
  cursor: pointer;
}

.slider-captions {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.35rem;
}

.supply-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.supply-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.supply-card:has(input:checked) {
  border-color: var(--amber-400);
  background: rgba(245, 158, 11, 0.12);
}

.supply-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.supply-card span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.estimator-receipt {
  background: linear-gradient(165deg, #1e293b, #0f172a);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 5.5rem;
  box-shadow: var(--shadow-lg);
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.receipt-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber-400);
}

.bundle-discount-pill {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.receipt-price {
  font-size: 2.45rem;
  font-weight: 900;
  margin-block: 0.35rem 0.2rem;
  color: #fff;
}

.receipt-caption {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.receipt-items {
  display: grid;
  gap: 0.55rem;
  padding-block: 1rem;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  color: #e2e8f0;
}

.receipt-guarantee {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.receipt-contact-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  margin-top: 0.9rem;
  color: #94a3b8;
}

.receipt-contact-row a {
  color: var(--amber-400);
  font-weight: 700;
  text-decoration: none;
}

/* Why Andrews Section */
.why-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.why-visual {
  display: grid;
  gap: 1.25rem;
}

.logo-showcase-card {
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-lg);
}

.original-logo-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.logo-card-caption span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--amber-600);
  font-weight: 800;
}

.logo-card-caption strong {
  color: var(--slate-900);
  font-size: 1.02rem;
}

.comparison-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.comparison-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.vs-list {
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.vs-list li {
  display: flex;
  gap: 0.8rem;
}

.vs-list .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber-glow);
  color: var(--amber-600);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}

.vs-list p {
  font-size: 0.86rem;
  color: var(--slate-500);
}

.why-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-block: 1rem;
}

.why-body {
  color: var(--slate-500);
  margin-bottom: 1.75rem;
}

.direct-contact-box {
  background: #fff;
  border: 2px solid var(--slate-900);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.small-caps {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber-600);
}

.direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Service Area Explorer */
.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.city-pill {
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.city-pill.active,
.city-pill:hover {
  background: var(--slate-900);
  color: var(--amber-400);
  border-color: var(--slate-900);
}

.city-detail-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.city-badge {
  display: inline-block;
  background: var(--amber-glow);
  color: var(--amber-600);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.city-detail-left h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.city-detail-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.eta-box span {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.eta-box strong {
  color: var(--success);
  font-size: 1.05rem;
}

/* Native Mutually Exclusive Accordion */
.faq-container {
  max-width: 820px;
}

.accordion-group {
  display: grid;
  gap: 0.85rem;
}

.disclosure {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.disclosure summary {
  padding: 1.15rem 1.4rem;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--amber-600);
  font-weight: 900;
}

.disclosure[open] summary::after {
  content: "−";
}

.disclosure-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--slate-500);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background: #070a10;
  color: #cbd5e1;
  padding-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-block: 1rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--amber-400);
  font-weight: 700;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--amber-400);
}

.contact-list {
  margin-bottom: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #64748b;
}

/* Dialog & Top-Layer Animations (animate-to-from-top-layer + light-dismiss-a-dialog) */
.quote-dialog {
  margin: auto;
  width: min(640px, 92vw);
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.92);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

.quote-dialog::backdrop {
  background-color: rgba(11, 15, 23, 0);
  backdrop-filter: blur(4px);
  transition-property: background-color, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

:is(dialog[open]):where(:not([data-closing])) {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.92);
  }

  &::backdrop {
    background-color: rgba(11, 15, 23, 0.68);

    @starting-style {
      background-color: rgba(11, 15, 23, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-dialog {
    transform: none;
    transition-duration: 0.1s;
  }

  @starting-style {
    :is(dialog[open]):where(:not([data-closing])) {
      transform: none;
    }
  }
}

.dialog-inner {
  padding: 2rem;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 700;
}

.dialog-lead {
  font-size: 0.92rem;
  color: var(--slate-500);
  margin-bottom: 1.35rem;
}

.dialog-lead a {
  color: var(--amber-600);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.95rem;
}

.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.28rem;
}

/* Validate Input After Interaction (:user-invalid & :user-valid + fallback) */
.field :is(input, textarea):user-invalid,
.field :is(input, textarea).user-invalid-fallback {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.field:has(:is(input, textarea):user-invalid) .field-hint,
.field:has(:is(input, textarea).user-invalid-fallback) .field-hint {
  color: var(--error);
  font-weight: 600;
}

.field :is(input, textarea):user-valid,
.field :is(input, textarea).user-valid-fallback {
  border-color: var(--success);
}

.field:has(:is(input, textarea):user-valid) .field-hint,
.field:has(:is(input, textarea).user-valid-fallback) .field-hint {
  display: none;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.quote-success {
  text-align: center;
  padding-block: 1.25rem;
}

.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 auto 1rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .estimator-grid,
  .why-layout,
  .footer-top,
  .form-row,
  .supply-options {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================================
   v2 additions: seasonal engine, AI assistant, emergency lane, sharing,
   demo lead capture, mobile action bar
   ===================================================================== */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 200;
  background: var(--amber-400);
  color: #0b0f17;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}
.skip-link:focus { left: 0.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.utility-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #fecaca;
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}
.utility-emergency:hover { background: rgba(220, 38, 38, 0.32); color: #fff; }

/* Seasonal ribbon */
.season-ribbon {
  background: linear-gradient(90deg, #3b2a12, #1f2937 60%);
  color: #fde68a;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.86rem;
}
.season-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-block: 0.6rem;
}
.season-inner p { flex: 1; color: #e5e7eb; }
.season-inner strong { color: #fde68a; }
.season-emoji { font-size: 1.3rem; }
.season-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
}
.season-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(11, 15, 23, 0.82);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* AI section */
.ai-section {
  background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.12), transparent 50%), var(--bg-warm);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.ai-points {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--slate-700);
}
.ai-points li { display: flex; gap: 0.6rem; align-items: center; }
.ai-teaser {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}
.ai-teaser-title { font-weight: 800; margin-bottom: 0.75rem; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.chip {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  cursor: pointer;
  text-align: left;
}
.chip:hover { border-color: var(--amber-400); color: #fff; }
.chip-light { background: #f8fafc; border-color: #cbd5e1; color: var(--slate-800); }
.chip-light:hover { background: #fff7e6; border-color: var(--amber-500); color: var(--slate-900); }
.fine-print { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.75rem; text-align: center; }

/* Services */
.service-season-pill {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(254, 243, 199, 0.95);
  color: #92400e;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.ask-btn { flex-shrink: 0; width: auto; }
.service-footer .btn-block { flex: 1; }

/* Estimator extras */
.receipt-row.savings { color: #4ade80; }
.receipt-row.muted { color: #64748b; }
.receipt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.receipt-fine { font-size: 0.74rem; color: #64748b; margin-top: 0.85rem; text-align: center; }

/* Owner box */
.direct-contact-box { align-items: center; }
.owner-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #48484b, #1f2937);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.owner-info { flex: 1; min-width: 180px; }
.owner-info p { font-size: 0.85rem; color: var(--slate-500); }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Floating launcher */
.chat-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: #0b0f17;
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.45);
  cursor: pointer;
}
.chat-open .chat-launcher { display: none; }

/* Chat panel */
.chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  width: min(410px, calc(100vw - 2rem));
  height: min(640px, calc(100vh - 2.5rem));
  display: flex;
  flex-direction: column;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.85rem;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chat-head h2 { font-size: 1.05rem; color: #fff; display: flex; align-items: center; gap: 0.4rem; }
.chat-head p { font-size: 0.74rem; color: #94a3b8; margin-top: 0.15rem; }
.demo-pill {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  background: rgba(245, 158, 11, 0.18);
  color: var(--amber-400);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
}
.chat-head-actions { display: flex; gap: 0.35rem; align-items: flex-start; }
.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  cursor: pointer;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--amber-400); }
.chat-notice {
  background: rgba(245, 158, 11, 0.14);
  color: #fde68a;
  font-size: 0.82rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}
.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  overscroll-behavior: contain;
}
.chat-msg { display: flex; flex-direction: column; gap: 0.45rem; max-width: 88%; }
.chat-msg.from-user { align-self: flex-end; align-items: flex-end; }
.chat-bubble {
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.from-ai .chat-bubble { background: #1e293b; border-top-left-radius: 4px; }
.from-user .chat-bubble { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); color: #0b0f17; font-weight: 600; border-top-right-radius: 4px; }
.chat-img { max-width: 180px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); }
.chat-sys {
  align-self: center;
  text-align: center;
  font-size: 0.78rem;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  max-width: 92%;
}
.chat-suggest { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.chat-suggest-label { font-size: 0.72rem; color: #94a3b8; width: 100%; }
.chat-svc, .chat-draft, .chat-emergency {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-400);
  text-align: left;
}
.chat-svc.on { background: var(--amber-500); color: #0b0f17; }
.chat-draft { border-color: rgba(148, 163, 184, 0.4); background: rgba(255, 255, 255, 0.05); color: #e2e8f0; }
.chat-emergency { border-color: rgba(248, 113, 113, 0.6); background: rgba(220, 38, 38, 0.18); color: #fecaca; }
.chat-sources { font-size: 0.68rem; color: #64748b; }
.typing { display: inline-flex; gap: 4px; padding: 0.85rem 1rem; }
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.6rem; }
.chat-chips:empty { display: none; }
.chat-form { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 0.7rem 0.8rem 0.6rem; background: #0b1220; }
.chat-input-row { display: flex; gap: 0.5rem; align-items: flex-end; }
.chat-input-row textarea {
  flex: 1;
  resize: none;
  font: inherit;
  font-size: 0.9rem;
  color: #f8fafc;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  max-height: 120px;
}
.chat-input-row textarea:focus { border-color: var(--amber-400); outline: none; }
.chat-photo-btn { cursor: pointer; }
.chat-send { padding: 0.6rem 0.85rem; border-radius: 12px; }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-meta { display: flex; justify-content: space-between; font-size: 0.68rem; color: #64748b; margin-top: 0.35rem; }
.chat-attach-preview { position: relative; display: inline-block; margin-bottom: 0.5rem; }
.chat-attach-preview[hidden] { display: none; }
.chat-attach-preview img { height: 64px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); }
.chat-attach-preview button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #ef4444;
  color: #fff;
  cursor: pointer;
  font-size: 0.7rem;
}

/* Emergency dialog */
.kicker-red { color: #dc2626 !important; }
.danger-callout {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.danger-callout a { color: #b91c1c; font-weight: 800; }
.emergency-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.em-tab {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
}
.em-tab.level-danger { border-color: #fca5a5; }
.em-tab[aria-selected='true'] { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }
.em-tab.level-danger[aria-selected='true'] { background: #b91c1c; border-color: #b91c1c; }
.emergency-steps { display: grid; gap: 0.55rem; padding-left: 1.3rem; margin-bottom: 1.25rem; font-size: 0.95rem; }
.emergency-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

/* Quote dialog extras */
.quote-dialog { max-height: 92vh; overflow-y: auto; }
.demo-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.demo-banner a { color: #92400e; font-weight: 800; }
.estimate-chip {
  background: #0f172a;
  color: var(--amber-400);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; }
.photo-drop {
  display: block;
  border: 1.5px dashed #94a3b8;
  border-radius: 10px;
  padding: 0.7rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
}
.photo-drop:hover { border-color: var(--amber-500); background: #fffbeb; }
.photo-thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.photo-thumbs .thumb { position: relative; }
.photo-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #cbd5e1; }
.photo-thumbs button {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  cursor: pointer;
}
.contact-pref { border: none; display: flex; flex-wrap: wrap; gap: 0.9rem; align-content: flex-start; }
.contact-pref legend { width: 100%; }
.contact-pref label { display: inline-flex; gap: 0.35rem; align-items: center; font-size: 0.9rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); background: var(--error-bg); padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.86rem; font-weight: 600; }
.field [aria-invalid='true'] { border-color: var(--error); background-color: var(--error-bg); }
.success-actions { flex-wrap: wrap; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 90;
  background: #0f172a;
  color: #fff;
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 2rem);
}
.toast[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing span { animation: none; opacity: 0.6; }
  .service-card, .service-media img, .showcase-frame img { transition: none; }
}

@media (max-width: 960px) {
  .ai-grid { grid-template-columns: 1fr; }
  .phone-btn { display: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .utility-left { display: none; }
  .utility-link { display: none; }
  .utility-inner { justify-content: center; }
  .brand-sub { display: none; }
  .brand-title { font-size: 1rem; }
  .nav-cta .btn-amber { padding: 0.55rem 0.9rem; }
  .season-inner { flex-wrap: wrap; }
  .season-inner p { flex-basis: calc(100% - 3rem); font-size: 0.8rem; }
  #seasonTip { display: none; }
  .showcase-frame { height: 360px; }
  .hero { padding-block: 2.5rem 3rem; }
  .services-bento { grid-template-columns: 1fr; }
  .emergency-actions, .receipt-actions { grid-template-columns: 1fr; }
  .chat-launcher { display: none; }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(11, 15, 23, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: env(safe-area-inset-bottom);
    backdrop-filter: blur(10px);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.55rem 0.25rem;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
  }
  .mobile-bar span { font-size: 1.2rem; }
  .mobile-bar button[data-open-chat] { color: var(--amber-400); }
  .chat-panel {
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
  .chat-open .mobile-bar { display: none; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
