/* ============================================================
   demo.css — Demo Page + Legal Prose Styles
   Lead-Capture-Site — vanilla HTML/CSS/JS
   Depends on: tokens.css, components.css, animations.css
   Load order: link AFTER animations.css
   ============================================================

   Prefixes used:
     .browser-*   browser-window mockup
     .callout-*   annotation callout pills
     .tracker-*   lead-tracker table
     .phone-*     phone device frame
     .sms-*       SMS conversation bubbles
     .checklist-* before/after checklist
     .legal-*     legal prose wrapper
     .demo-*      misc demo-page helpers
   ============================================================ */


/* ============================================================
   DEMO HERO BUTTON ROW
   ============================================================ */
.demo-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ============================================================
   DEMO INTRO + FULL-SCREEN WEBSITE COMPARISON
   ============================================================ */
.demo-intro {
  padding: clamp(32px, 4vw, 48px) 0 clamp(22px, 3vw, 34px);
}

.demo-intro__inner {
  max-width: 1050px;
}

.demo-intro__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-intro__dot {

  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.demo-intro h1 {
  max-width: 980px;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.demo-intro p {
  margin-top: 13px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 76ch;
}

.demo-comparison {
  padding: 0 0 clamp(72px, 9vw, 120px);
}

.demo-comparison__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.demo-comparison__kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.demo-comparison__top h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.demo-switch.tabs {
  width: auto;
  padding: 5px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.demo-switch.tabs [data-tab] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 176px;
  padding: 10px 15px;
  border-radius: 11px;
  line-height: 1.25;
}

.demo-switch.tabs [data-tab].is-active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.17), rgba(34, 197, 94, 0.08));
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.28);
}

.demo-switch__label {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-switch__meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
}

.demo-panels {
  position: relative;
}

.browser--site {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 28px 80px -30px rgba(0, 0, 0, 0.9);
}

.browser--after {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow:
    0 28px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 50px -32px rgba(56, 189, 248, 0.7);
}

.browser--site .browser__chrome {
  min-height: 43px;
}

.browser__status {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.11);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.browser__status--live {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.24);
}

.browser__body--viewport {
  height: clamp(560px, 67vh, 690px);
}

.demo-panel-note {
  max-width: 82ch;
  margin: 15px auto 0;
  color: #a8b3c5;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
}

.demo-panel-note--after {
  color: #a7d7c0;
}

/* Original free-template website */
.legacy-site {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  color: #333;
  background: #f4f1e8;
  font-family: Arial, Helvetica, sans-serif;
}

.legacy-site__utility {
  display: flex;
  justify-content: space-between;
  padding: 7px 4.5%;
  color: #e7edf6;
  background: #294b70;
  font-size: clamp(0.55rem, 0.85vw, 0.72rem);
}

.legacy-site__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding: 14px 5%;
  background: #fff;
}

.legacy-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1f4671;
}

.legacy-logo__sun {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 4px double #d49b32;
  border-radius: 50%;
  color: #1f4671;
  background: #f7e8bd;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.legacy-logo strong,
.legacy-logo small {
  display: block;
}

.legacy-logo strong {
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1;
}

.legacy-logo small {
  margin-top: 4px;
  color: #927029;
  font-size: clamp(0.62rem, 1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legacy-site__phone {
  color: #24476e;
  text-align: right;
}

.legacy-site__phone small,
.legacy-site__phone strong {
  display: block;
}

.legacy-site__phone small {
  color: #8a8a8a;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.legacy-site__phone strong {
  margin-top: 3px;
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
}

.legacy-site__nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 5vw, 70px);
  padding: 13px 20px;
  color: #fff;
  background: linear-gradient(#3f6d99, #285078);
  border-top: 1px solid #173957;
  border-bottom: 4px solid #d3a13f;
  font-size: clamp(0.58rem, 0.85vw, 0.75rem);
  font-weight: 700;
  text-shadow: 0 1px 1px #173957;
}

.legacy-site__hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 35px 6%;
  background-image:
    linear-gradient(90deg, rgba(245, 241, 229, 0.98) 0%, rgba(245, 241, 229, 0.88) 35%, rgba(245, 241, 229, 0.06) 68%),
    url("../assets/hvac-technician-hero.jpg");
  background-position: center, center;
  background-size: cover;
  border-bottom: 1px solid #c9c2ae;
}

.legacy-site__hero-copy {
  width: 46%;
  min-width: 340px;
}

.legacy-site__welcome {
  margin-bottom: 9px;
  color: #9a752d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.legacy-site__hero h3 {
  color: #274c70;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 1px #fff;
}

.legacy-site__hero p {
  max-width: 42ch;
  margin: 14px 0 20px;
  color: #5e5e5e;
  font-family: Georgia, serif;
  font-size: clamp(0.78rem, 1.15vw, 0.98rem);
  line-height: 1.65;
}

.legacy-button {
  display: inline-block;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(#d7a94e, #b78024);
  border: 1px solid #8f681f;
  border-radius: 3px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
  font-weight: 700;
  text-shadow: 0 1px #755316;
}

.legacy-site__lower {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  min-height: 108px;
  background: #fff;
}

.legacy-service {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-right: 1px solid #ddd8ca;
}

.legacy-service__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  color: #fff;
  background: #315b84;
  border-radius: 50%;
  font-size: 0.56rem;
  font-weight: 700;
}

.legacy-service strong,
.legacy-service small,
.legacy-contact span,
.legacy-contact b {
  display: block;
}

.legacy-service strong {
  color: #365774;
  font-family: Georgia, serif;
  font-size: 0.95rem;
}

.legacy-service small {
  margin-top: 2px;
  color: #8a8a8a;
  font-size: 0.62rem;
}

.legacy-contact {
  padding: 21px 24px;
  color: #fff;
  background: #315777;
}

.legacy-contact strong {
  font-family: Georgia, serif;
  font-size: 1.05rem;
}

.legacy-contact span {
  margin: 7px 0;
  color: #d4e0e9;
  font-size: 0.68rem;
}

.legacy-contact b {
  color: #f3c65c;
  font-family: Georgia, serif;
  font-size: 1rem;
}

/* Rebuilt lead-capture website */
.rebuild-site {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  color: #10253c;
  background: #f7fbff;
  font-family: var(--font-body);
}

.rebuild-site__notice {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 4%;
  color: #dff7ff;
  background: #0c2944;
  font-size: clamp(0.55rem, 0.8vw, 0.7rem);
}

.rebuild-site__notice b {
  color: #6ee7f9;
}

.rebuild-site__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 12px 4%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #d9e6ef;
}

.rebuild-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #102b46;
}

.rebuild-logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #0f766e);
  border-radius: 11px;
}

.rebuild-logo__mark .lucide {
  width: 21px;
  height: 21px;
}

.rebuild-logo strong,
.rebuild-logo small {
  display: block;
}

.rebuild-logo strong {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  line-height: 1;
}

.rebuild-logo small {
  margin-top: 3px;
  color: #5f7284;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rebuild-site__nav {
  display: flex;
  gap: clamp(14px, 2.5vw, 30px);
  color: #52697c;
  font-size: clamp(0.62rem, 0.9vw, 0.78rem);
  font-weight: 600;
}

.rebuild-site__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rebuild-phone {
  color: #173753;
  text-align: right;
}

.rebuild-phone small,
.rebuild-phone b {
  display: block;
}

.rebuild-phone small {
  color: #6a7e90;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rebuild-phone b {
  font-size: clamp(0.68rem, 1vw, 0.83rem);
}

.rebuild-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: #fff;
  background: linear-gradient(135deg, #0284c7, #0f766e);
  border-radius: 8px;
  box-shadow: 0 8px 22px -12px rgba(2, 132, 199, 0.9);
  font-size: 0.68rem;
  font-weight: 700;
}

.rebuild-button--large {
  padding: 12px 18px;
  font-size: 0.75rem;
}

.rebuild-site__hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.rebuild-site__photo,
.rebuild-site__overlay {
  position: absolute;
  inset: 0;
}

.rebuild-site__photo {
  background-image: url("../assets/hvac-technician-hero.jpg");
  background-position: center;
  background-size: cover;
}

.rebuild-site__overlay {
  background:
    linear-gradient(90deg, rgba(7, 31, 52, 0.98) 0%, rgba(7, 31, 52, 0.9) 40%, rgba(7, 31, 52, 0.25) 72%),
    linear-gradient(0deg, rgba(7, 31, 52, 0.34), transparent 45%);
}

.rebuild-site__hero-copy {
  position: relative;
  z-index: 2;
  width: 52%;
  padding: clamp(28px, 3.5vw, 44px) 4.5%;
  color: #fff;
}

.rebuild-site__availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: #9ee8ff;
  font-size: 0.68rem;
  font-weight: 700;
}

.rebuild-site__availability .lucide {
  width: 14px;
  height: 14px;
}

.rebuild-site__hero h3 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.rebuild-site__hero-copy>p {
  max-width: 48ch;
  margin: 12px 0 16px;
  color: #c8d9e6;
  font-size: clamp(0.75rem, 1.15vw, 0.95rem);
  line-height: 1.65;
}

.rebuild-site__hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rebuild-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.rebuild-call .lucide {
  width: 14px;
  height: 14px;
}

.rebuild-site__proof {
  display: flex;
  gap: 14px;
  margin-top: 17px;
  color: #d8e6ef;
  font-size: 0.6rem;
}

.rebuild-site__proof span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rebuild-site__proof .lucide {
  width: 12px;
  height: 12px;
  color: #fbbf24;
}

.rebuild-form {
  position: absolute;
  z-index: 3;
  top: 34px;
  right: 4%;
  width: min(34%, 350px);
  padding: clamp(16px, 2vw, 23px);
  color: #18334d;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 24px 60px -25px rgba(5, 21, 36, 0.9);
}

.rebuild-form__heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.rebuild-form__heading strong,
.rebuild-form__heading small {
  display: block;
}

.rebuild-form__heading strong {
  font-family: var(--font-display);
  font-size: 0.83rem;
}

.rebuild-form__heading small {
  margin-top: 2px;
  color: #718397;
  font-size: 0.55rem;
}

.rebuild-form__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #0284c7;
  background: #e0f4fc;
  border-radius: 9px;
}

.rebuild-form__icon .lucide {
  width: 17px;
  height: 17px;
}

.rebuild-form label {
  display: block;
  margin-top: 7px;
  padding: 7px 9px;
  background: #f7fafc;
  border: 1px solid #dce6ed;
  border-radius: 7px;
}

.rebuild-form label span,
.rebuild-form label b {
  display: block;
}

.rebuild-form label span {
  color: #7b8c9b;
  font-size: 0.5rem;
}

.rebuild-form label b {
  margin-top: 1px;
  font-size: 0.62rem;
  font-weight: 600;
}

.rebuild-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.rebuild-form__options {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 9px 0;
  color: #477086;
  font-size: 0.55rem;
  font-weight: 600;
}

.rebuild-form__options span,
.rebuild-form__privacy {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rebuild-form__options .lucide,
.rebuild-form__privacy .lucide {
  width: 11px;
  height: 11px;
}

.rebuild-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0284c7, #0f766e);
  border-radius: 8px;
  font-size: 0.64rem;
  font-weight: 700;
}

.rebuild-form__submit .lucide {
  width: 13px;
  height: 13px;
}

.rebuild-form__privacy {
  justify-content: center;
  margin-top: 7px;
  color: #718397;
  font-size: 0.48rem;
}

.rebuild-site__system {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 1.6vw, 18px);
  min-height: 96px;
  padding: 16px 4%;
  background: #fff;
  border-top: 1px solid #dae7ef;
}

.rebuild-system__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rebuild-system__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #0284c7;
  background: #eaf7fc;
  border: 1px solid #d3edf7;
  border-radius: 9px;
}

.rebuild-system__icon .lucide {
  width: 16px;
  height: 16px;
}

.rebuild-system__item small,
.rebuild-system__item strong {
  display: block;
  white-space: nowrap;
}

.rebuild-system__item small {
  color: #789;
  font-size: 0.48rem;
}

.rebuild-system__item strong {
  margin-top: 1px;
  color: #1b3a54;
  font-size: 0.62rem;
}

.rebuild-system__arrow {
  color: #a4bac9;
}

.rebuild-system__arrow .lucide {
  width: 14px;
  height: 14px;
}

@media (max-width: 820px) {
  .demo-comparison__top {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-switch.tabs {
    width: 100%;
  }

  .demo-switch.tabs [data-tab] {
    flex: 1;
    min-width: 0;
  }

  .rebuild-site__nav,
  .rebuild-phone {
    display: none;
  }

  .rebuild-site__hero-copy {
    width: 58%;
  }

  .rebuild-form {
    right: 2.5%;
    width: 38%;
  }

  .legacy-site__lower {
    grid-template-columns: repeat(3, 1fr);
  }

  .legacy-contact {
    display: none;
  }
}

@media (max-width: 620px) {
  .demo-intro {
    padding-top: 88px;
  }

  .demo-intro h1 {
    font-size: 2.25rem;
  }

  .demo-comparison__kicker,
  .demo-switch__meta,
  .browser__status {
    display: none;
  }

  .demo-switch.tabs [data-tab] {
    align-items: center;
    padding: 10px 8px;
  }

  .browser--site {
    border-radius: 14px;
  }

  .browser__body--viewport {
    height: 600px;
  }

  .legacy-site__utility span:last-child,
  .legacy-site__phone,
  .legacy-site__nav span:nth-child(2),
  .legacy-site__nav span:nth-child(4) {
    display: none;
  }

  .legacy-site__header {
    justify-content: center;
    min-height: 88px;
  }

  .legacy-logo__sun {
    width: 45px;
    height: 45px;
  }

  .legacy-site__nav {
    gap: 30px;
  }

  .legacy-site__hero {
    align-items: end;
    min-height: 0;
    padding: 28px 24px;
    background-image:
      linear-gradient(0deg, rgba(245, 241, 229, 0.98) 0%, rgba(245, 241, 229, 0.82) 48%, rgba(245, 241, 229, 0.05) 76%),
      url("../assets/hvac-technician-hero.jpg");
    background-position: center, 62% center;
  }

  .legacy-site__hero-copy {
    width: 100%;
    min-width: 0;
  }

  .legacy-site__hero h3 {
    font-size: 2rem;
  }

  .legacy-site__lower {
    grid-template-columns: repeat(3, 1fr);
    min-height: 100px;
  }

  .legacy-service {
    justify-content: center;
    padding: 12px 5px;
    text-align: center;
  }

  .legacy-service__icon,
  .legacy-service small {
    display: none;
  }

  .legacy-service strong {
    font-size: 0.7rem;
  }

  .rebuild-site__notice span:last-child,
  .rebuild-site__nav,
  .rebuild-phone {
    display: none;
  }

  .rebuild-site__header {
    min-height: 74px;
    padding: 10px 14px;
  }

  .rebuild-button {
    padding: 9px 10px;
    font-size: 0.58rem;
  }

  .rebuild-site__hero {
    min-height: 0;
  }

  .rebuild-site__overlay {
    background:
      linear-gradient(0deg, rgba(7, 31, 52, 0.99) 0%, rgba(7, 31, 52, 0.88) 55%, rgba(7, 31, 52, 0.2) 100%);
  }

  .rebuild-site__hero-copy {
    width: 100%;
    padding: 150px 22px 24px;
  }

  .rebuild-site__hero h3 {
    max-width: 13ch;
    font-size: 2.05rem;
  }

  .rebuild-site__proof {
    gap: 9px;
  }

  .rebuild-form {
    display: none;
  }

  .rebuild-site__system {
    justify-content: flex-start;
    min-height: 91px;
    padding: 12px;
    overflow: hidden;
  }

  .rebuild-system__item:nth-of-type(n+3),
  .rebuild-system__arrow:nth-of-type(n+3) {
    display: none;
  }
}


/* ============================================================
   BROWSER WINDOW MOCKUP
   .browser
     .browser__chrome
       .browser__dots
       .browser__url
     .browser__body
   ============================================================ */
.browser {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(7, 17, 31, 0.85);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 100%;
  /* never overflow parent */
}

/* Top chrome bar */
.browser__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

/* Traffic-light dots */
.browser__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser__dot--red {
  background: #ff5f57;
}

.browser__dot--yellow {
  background: #febc2e;
}

.browser__dot--green {
  background: #28c840;
}

/* Fake URL pill */
.browser__url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
  margin-inline: auto;
}

/* Browser body / viewport */
.browser__body {
  overflow: hidden;
}

/* ─── BEFORE mockup site styles ─── */
.mock-site {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #1e293b;
  /* dark text for light mock-site */
}

.mock-site--before {
  background: #e8f0fe;
}

.mock-site--after {
  background: #0f172a;
  color: var(--text);
}

/* Before: old blue header */
.mock-before__header {
  background: #1a3a6b;
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.mock-before__header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  line-height: 1.2;
}

.mock-before__header .mock-phone {
  font-size: 0.75rem;
  color: #a9c4f0;
}

/* Before: hero area */
.mock-before__hero {
  background: linear-gradient(180deg, #c8d9f5 0%, #dce8fb 100%);
  padding: 20px 16px;
  text-align: center;
}

.mock-before__hero p {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 10px;
}

.mock-before__btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.mock-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: default;
}

.mock-btn--blue {
  background: #1a3a6b;
  color: #fff;
  border: none;
}

.mock-btn--outline {
  background: transparent;
  color: #1a3a6b;
  border: 1px solid #1a3a6b;
}

/* Before: services row */
.mock-before__services {
  display: flex;
  gap: 4px;
  padding: 10px 16px;
  background: #e8f0fe;
  flex-wrap: wrap;
}

.mock-service-chip {
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #c5d3e8;
  color: #1a3a6b;
}

/* ─── AFTER mockup site styles ─── */
.mock-after__header {
  background: #0a1626;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.mock-after__header .mock-brand {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.mock-after__header-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mock-btn--cyan {
  background: #38bdf8;
  color: #04121f;
  border: none;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: default;
}

.mock-btn--ghost-sm {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.68rem;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: default;
}

/* After: hero */
.mock-after__hero {
  background: linear-gradient(160deg, #07111f 0%, #0a2040 100%);
  padding: 20px 16px;
}

.mock-after__hero-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
  line-height: 1.25;
}

.mock-trust-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.mock-trust-badge {
  font-size: 0.62rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.mock-trust-badge--cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.mock-trust-badge--green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Emergency badge strip */
.mock-emergency-card {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 16px 0;
  font-size: 0.72rem;
  color: #f97316;
  font-weight: 600;
}

/* After: service cards */
.mock-after__services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 6px;
  padding: 10px 16px 16px;
  background: #0a1626;
}

.mock-service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 10px;
}

.mock-service-card__title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 3px;
}

.mock-service-card__sub {
  font-size: 0.62rem;
  color: #64748b;
  margin-bottom: 5px;
}

.mock-service-card__link {
  font-size: 0.6rem;
  color: #38bdf8;
  font-weight: 600;
}


/* ============================================================
   ANNOTATION CALLOUTS
   .callout-wrap — positioned container (relative parent)
   .callout-list — mobile-only stack that appears below mockup
   .callout       — a single pill callout
   ============================================================ */
.callout-wrap {
  position: relative;
}

/* Desktop callout overlay (absolute positions on desktop) */
.callout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
  position: absolute;
  z-index: 10;
}

.callout .lucide {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Orange "before" callout */
.callout--warn {
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fb923c;
}

/* Green "after" callout */
.callout--green {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
}

/* Callouts are shown as a clean wrapped list BELOW the mockup at every width.
   This reads as a tidy annotation row and avoids overlapping mockup content
   (the side gutters are narrower than the pills, so an overlay can't clear
   the trust badges / service cards reliably). */
.callout-wrap .callout {
  display: none;
  /* hide the absolute overlay variants */
}

.callout-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.callout-list .callout {
  display: inline-flex;
  position: static;
  transform: none;
}


/* ============================================================
   FOOTNOTE (asterisk note under browser panel)
   ============================================================ */
.demo-footnote {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 10px;
  opacity: 0.8;
}


/* ============================================================
   LEAD TRACKER TABLE
   .tracker-wrap — outer scroll container (mobile overflow)
   .tracker       — the <table> itself
   ============================================================ */
.tracker-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
}

.tracker {
  width: 100%;
  min-width: 560px;
  /* forces horizontal scroll before cramping */
  border-collapse: collapse;
  font-size: 0.875rem;
}

.tracker caption {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  caption-side: top;
}

.tracker th {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.tracker td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.4;
}

.tracker tbody tr:last-child td {
  border-bottom: none;
}

.tracker tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.tracker__name {
  font-weight: 600;
  white-space: nowrap;
}

.tracker__service {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Status pill variants for tracker */
.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.status-pill--new {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent);
}

.status-pill--contacted {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--muted);
}

.status-pill--estimate {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.status-pill--booked {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-2);
}

.status-pill--no-response {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.28);
  color: var(--warn);
}


/* ============================================================
   PHONE / SMS MOCKUP
   .phone-frame     — outer device shell
   .phone-notch     — top notch bar
   .phone-status    — status-bar text row
   .phone-screen    — scrollable SMS area
   .sms-system      — "Missed call" system line
   .sms-bubble      — a single bubble
   .sms-bubble--out — right-side (business, cyan)
   .sms-bubble--in  — left-side (customer, grey)
   ============================================================ */
.phone-section__inner {
  display: flex;
  gap: clamp(28px, 5vw, 60px);
  align-items: flex-start;
  flex-wrap: wrap;
}

.phone-frame {
  width: 240px;
  min-width: 240px;
  background: #0d1b2e;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  margin-inline: auto;
}

/* Status bar / notch area */
.phone-status-bar {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.6);
}

.phone-notch {
  width: 60px;
  height: 14px;
  background: #000;
  border-radius: 0 0 12px 12px;
  margin-inline: auto;
  margin-top: 4px;
  margin-bottom: 4px;
}

.phone-carrier {
  flex-shrink: 0;
}

.phone-time {
  font-weight: 600;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.8);
}

.phone-icons {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Message header */
.phone-msg-header {
  padding: 6px 14px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.phone-msg-header__name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
}

.phone-msg-header__sub {
  font-size: 0.6rem;
  color: var(--muted);
}

/* SMS conversation area */
.phone-screen {
  padding: 10px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0a1626;
  max-height: 340px;
  overflow-y: auto;
}

/* "Missed call" system line */
.sms-system {
  text-align: center;
  font-size: 0.62rem;
  color: var(--muted);
  padding: 4px 0;
}

/* Bubble base */
.sms-bubble {
  max-width: 80%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.45;
}

/* Outgoing (business — right, cyan) */
.sms-bubble--out {
  background: rgba(56, 189, 248, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #e0f4ff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  margin-left: auto;
}

/* Incoming (customer — left, grey) */
.sms-bubble--in {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  margin-right: auto;
}

/* Caption beside/below phone */
.phone-caption {
  flex: 1;
  min-width: 220px;
}

.phone-caption h3 {
  margin-bottom: 12px;
}

.phone-caption p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Vertical center the phone on desktop */
@media (min-width: 680px) {
  .phone-section__inner {
    align-items: center;
  }
}

@media (max-width: 680px) {
  .phone-frame {
    width: 200px;
    min-width: 200px;
  }
}


/* ============================================================
   CHECKLIST BEFORE / AFTER
   .checklist-grid  — two-column grid wrapper
   .checklist-col   — one column (before or after)
   .checklist-item  — a single row
   ============================================================ */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 620px) {
  .checklist-grid {
    grid-template-columns: 1fr;
  }
}

.checklist-col {
  padding: clamp(20px, 3vw, 28px);
}

.checklist-col__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.checklist-col__label--before {
  color: var(--warn);
}

.checklist-col__label--after {
  color: var(--accent-2);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.checklist-icon .lucide {
  width: 16px;
  height: 16px;
}

.checklist-icon--x .lucide {
  color: var(--warn);
}

.checklist-icon--check .lucide {
  color: var(--accent-2);
}


/* ============================================================
   HANDOFF CHECKLIST (Section G)
   Reuses .checklist-item styling above
   ============================================================ */
.handoff-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.handoff-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}

.handoff-item:last-child {
  border-bottom: none;
}

.handoff-item .lucide {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
  flex-shrink: 0;
  margin-top: 2px;
}

.handoff-item__text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
}

.handoff-item__text span {
  font-size: 0.84rem;
  color: var(--muted);
}


/* ============================================================
   SECTION G — FINAL CTA BAND
   ============================================================ */
.demo-cta-card {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 60px);
  max-width: 760px;
  margin-inline: auto;
}

.demo-cta-card h2 {
  margin-bottom: 14px;
}

.demo-cta-card p {
  color: var(--muted);
  margin-inline: auto;
  margin-bottom: 28px;
  max-width: 52ch;
}


/* ============================================================
   LEGAL PROSE WRAPPER
   Used on privacy.html and terms.html.
   Link demo.css on those pages too, or copy .legal-wrap here.
   ============================================================ */

/* Legal placeholder pill — allow wrapping so it doesn't overflow on mobile */
.legal-placeholder-note {
  white-space: normal;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
}

.legal-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.legal-wrap h1 {
  margin-bottom: 8px;
}

.legal-dateline {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
  display: block;
}

.legal-placeholder-note {
  margin-bottom: 32px;
}

.legal-section {
  margin-top: 40px;
}

.legal-section h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-section p,
.legal-section li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 70ch;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  opacity: 0.8;
}

/* Disclaimer callout (used in terms.html) */
.legal-disclaimer-box {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 0.875rem;
  color: #fb923c;
  line-height: 1.6;
}

/* ============================================================
   SUPERCHARGED DEMO TAB (AI chat / booking / instant estimate)
   ============================================================ */
.demo-switch__spark {
  width: 13px;
  height: 13px;
  color: #c084fc;
  vertical-align: -2px;
}

.browser--super {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow:
    0 28px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 60px -30px rgba(168, 85, 247, 0.7);
}

.sc-body {
  padding: clamp(16px, 2.5vw, 26px);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(168, 85, 247, 0.1), transparent 60%),
    radial-gradient(120% 80% at 0% 110%, rgba(56, 189, 248, 0.08), transparent 55%);
}

.sc-body .is-hidden { display: none !important; }

/* Feature switcher */
.sc-switch {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin: 0 auto clamp(16px, 2.5vw, 22px);
  width: fit-content;
  max-width: 100%;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
}

.sc-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.sc-switch__btn .lucide { width: 16px; height: 16px; }

.sc-switch__btn:hover { color: var(--text); }

.sc-switch__btn.is-active {
  color: #04121f;
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 120%);
  box-shadow: 0 6px 18px -8px rgba(168, 85, 247, 0.8);
}

/* View frame */
.sc-views {
  max-width: 560px;
  margin: 0 auto;
  min-height: 430px;
}

.sc-view { display: none; }
.sc-view.is-active { display: block; animation: scFade 0.3s ease; }

@keyframes scFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .sc-view.is-active { animation: none; }
}

/* Shared card surface for each view */
.sc-chat, .sc-book, .sc-est {
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* ── AI CHAT ────────────────────────────────────────────── */
.sc-chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.sc-chat__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: #04121f;
}
.sc-chat__avatar .lucide { width: 20px; height: 20px; }

.sc-chat__id { flex: 1; line-height: 1.3; }
.sc-chat__id strong { display: block; font-size: 0.92rem; }
.sc-chat__id span { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--muted); }

.sc-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: scPulse 2s infinite;
}
@keyframes scPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.sc-chat__badge {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sc-chat__log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  max-height: 300px;
  overflow-y: auto;
}

.sc-msg { display: flex; }
.sc-msg p {
  max-width: 80%;
  margin: 0;
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  border-radius: 16px;
}
.sc-msg--bot { justify-content: flex-start; }
.sc-msg--bot p {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-bottom-left-radius: 5px;
}
.sc-msg--user { justify-content: flex-end; }
.sc-msg--user p {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #04121f;
  font-weight: 500;
  border-bottom-right-radius: 5px;
}
.sc-msg strong { font-weight: 700; }

.sc-chat__replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}
.sc-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.18s ease, transform 0.18s ease;
}
.sc-chip:hover { background: rgba(56, 189, 248, 0.16); transform: translateY(-1px); }

.sc-chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
.sc-chat__send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: #04121f;
}
.sc-chat__send .lucide { width: 16px; height: 16px; }

/* ── ONLINE BOOKING ─────────────────────────────────────── */
.sc-book { padding: clamp(18px, 3vw, 24px); }
.sc-book__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sc-book__head strong { display: block; font-size: 1.05rem; }
.sc-book__head span { font-size: 0.82rem; color: var(--muted); }
.sc-book__sync {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac !important;
  font-size: 0.72rem !important;
  font-weight: 600;
}
.sc-book__sync .lucide { width: 14px; height: 14px; }

.sc-book__days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.sc-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.sc-day small { font-size: 0.62rem; letter-spacing: 0.08em; color: var(--muted); }
.sc-day b { font-size: 0.82rem; }
.sc-day.is-active {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
}
.sc-day.is-active small { color: var(--accent); }

.sc-book__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.sc-slot {
  position: relative;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.sc-slot:not(.is-booked):hover { border-color: var(--accent); }
.sc-slot.is-selected {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.18);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.sc-slot.is-booked {
  color: rgba(148, 163, 184, 0.4);
  text-decoration: line-through;
  cursor: not-allowed;
}
.sc-slot--rec::after {
  content: "Popular";
  position: absolute;
  top: -7px; right: -5px;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--accent-2);
  color: #04121f;
  font-size: 0.55rem;
  font-weight: 700;
}

.sc-book__confirm {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: #04121f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}
.sc-book__confirm:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: not-allowed;
}

.sc-book__done {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.sc-book__done .lucide { width: 30px; height: 30px; color: var(--accent-2); flex-shrink: 0; }
.sc-book__done strong { display: block; color: var(--text); }
.sc-book__done span { font-size: 0.82rem; color: var(--muted); }

/* ── INSTANT ESTIMATE ───────────────────────────────────── */
.sc-est { padding: clamp(18px, 3vw, 24px); }
.sc-est__head { margin-bottom: 16px; }
.sc-est__head strong { display: block; font-size: 1.05rem; }
.sc-est__head span { font-size: 0.82rem; color: var(--muted); }

/* Price-free, multi-select service chips */
.sc-est__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sc-opt {
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.sc-opt:hover {
  border-color: rgba(56, 189, 248, 0.5);
  color: var(--text);
  transform: translateY(-1px);
}
.sc-opt.is-active {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.16);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.4);
}

/* Total + book action, side by side */
.sc-est__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.sc-est__total { line-height: 1.1; }
.sc-est__total span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sc-est__total strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.sc-est__book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: #04121f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sc-est__book:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(168, 85, 247, 0.8);
}
.sc-est__book .lucide { width: 16px; height: 16px; }
.sc-est__note {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

@media (max-width: 540px) {
  .sc-views { min-height: 0; }
  .sc-book__slots { grid-template-columns: repeat(3, 1fr); }
  .sc-switch__btn { padding: 8px 12px; font-size: 0.8rem; }
  .sc-msg p { max-width: 88%; }
  .sc-est__footer { flex-direction: column; align-items: stretch; }
  .sc-est__book { justify-content: center; }
}
