/* ================================================================
   Holiday Heroes — Frosted Midnight Palette
   ================================================================ */

/* ── Custom Properties ────────────────────────────────────────── */
:root {
  --bg:            #111315;
  --bg-secondary:  #1C1F23;
  --bg-card:       #2B2E33;
  --text:          #F5F5F5;
  --text-muted:    #9CA3AF;
  --accent-red:    #D62839;
  --accent-green:  #1E5631;
  --accent-gold:   #C9A84C;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --max-width: 1280px;
  --section-pad: clamp(64px, 8vw, 120px);
  --radius: 6px;
  --transition: 0.25s ease;

  /* Service card fallback gradients (used when photo not loaded) */
  --card-bg-fallback-01: linear-gradient(160deg, #1a2a1a 0%, #0f1f0f 100%);
  --card-bg-fallback-02: linear-gradient(160deg, #1a1a2a 0%, #0f0f1f 100%);
  --card-bg-fallback-03: linear-gradient(160deg, #2a1a1a 0%, #1f0f0f 100%);
  --card-bg-fallback-04: linear-gradient(160deg, #1a2218 0%, #0f1a0e 100%);
  --card-bg-fallback-05: linear-gradient(160deg, #1f1a10 0%, #170f08 100%);
  --card-bg-fallback-06: linear-gradient(160deg, #12181f 0%, #0b1118 100%);
}

/* ── Reset / Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Layout Helpers ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-red);
  color: #fff;
}
.btn-primary:hover {
  background: #b5202e;
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.05);
}

.btn-ghost {
  color: var(--text-muted);
  padding-left: 0;
}
.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 16px 36px; font-size: 14px; }

/* ── Section Typography ───────────────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
}

/* ================================================================
   1. ANNOUNCEMENT BAR
   ================================================================ */
.announcement-bar {
  background: var(--accent-red);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 200;
}
.announcement-bar p { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.announcement-bar a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; }
.announcement-bar a:hover { text-decoration: none; }

/* ================================================================
   2. STICKY HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 19, 21, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(17, 19, 21, 0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-main {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-main a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-main a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent-red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-main a:hover { color: var(--text); }
.nav-main a:hover::after { transform: scaleX(1); }

.header-cta { margin-left: 8px; }

/* Hamburger toggle — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   3. HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 10vw, 120px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-secondary);
}

#canvas-container {
  position: absolute;
  inset: 0;
  display: none;
  background: #080c18;
}
#canvas-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
/* Soft vignette over the 3D canvas — keeps frame edges from feeling like void */
#canvas-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 55% 50%, transparent 45%, rgba(4,5,14,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 11, 13, 0.85) 0%,
    rgba(10, 11, 13, 0.5) 50%,
    rgba(10, 11, 13, 0.2) 100%
  );
}

/* Vertical gradient at bottom for a smooth fade into stats row */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text { max-width: 640px; }

.hero-headline {
  display: flex;
  flex-direction: column;
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hl-word {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}
.hl-word:nth-child(1) { animation-delay: 0.1s; }
.hl-word:nth-child(2) { animation-delay: 0.25s; }
.hl-word:nth-child(3) { animation-delay: 0.4s; }

.hl-accent { color: var(--accent-red); }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-subhead {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(245,245,245,0.8);
  margin-bottom: 36px;
  font-weight: 400;
}

/* Floating testimonial card — top right */
.hero-testimonial-card {
  position: absolute;
  top: clamp(120px, 18vw, 200px);
  right: clamp(20px, 6vw, 80px);
  z-index: 3;
  background: rgba(17, 19, 21, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 280px;
  animation: fadeUp 0.7s 0.6s ease both;
}
.htc-stars { color: var(--accent-gold); font-size: 18px; margin-bottom: 10px; letter-spacing: 2px; }
.htc-quote {
  font-size: 13px;
  font-style: italic;
  color: rgba(245,245,245,0.9);
  line-height: 1.5;
  margin-bottom: 10px;
}
.htc-attr { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-muted); text-transform: uppercase; }

/* ================================================================
   4. STATS ROW
   ================================================================ */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat-value {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* ================================================================
   5. SERVICES GRID
   ================================================================ */
.services-section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.services-section > .container {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 16px 16px;
}

.service-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 56px rgba(0,0,0,0.6);
  z-index: 2;
}

/* Image layer — background-image set via inline style on this div so URL
   resolves relative to the HTML document, not the CSS file. */
.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
/* Inner image pans slightly; card itself does the lift via transform: scale() */
.service-card:hover .card-bg { transform: scale(1.04); }

/* Numbered fallback tints (show when photo hasn't loaded) */
.service-card:nth-child(1) .card-bg { background-color: #162616; }
.service-card:nth-child(2) .card-bg { background-color: #16162a; }
.service-card:nth-child(3) .card-bg { background-color: #2a1616; }
.service-card:nth-child(4) .card-bg { background-color: #162218; }
.service-card:nth-child(5) .card-bg { background-color: #201a0f; }
.service-card:nth-child(6) .card-bg { background-color: #121720; }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 7, 0.9) 0%,
    rgba(5, 5, 7, 0.4) 50%,
    rgba(5, 5, 7, 0.1) 100%
  );
  transition: background var(--transition);
  z-index: 1;
}
.service-card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(5, 5, 7, 0.95) 0%,
    rgba(5, 5, 7, 0.7) 60%,
    rgba(5, 5, 7, 0.3) 100%
  );
}

.card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  z-index: 2;
}

.card-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.card-title {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-sub {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 245, 0.72);
  line-height: 1.4;
  font-style: italic;
}

.card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  /* Solid white filled — consistent across all 6 cards */
  background: rgba(255,255,255,0.95);
  color: #111315;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  backdrop-filter: none;
}
.service-card:hover .card-arrow {
  background: var(--accent-red);
  color: #fff;
  transform: scale(1.08);
}

/* ================================================================
   6. PHILOSOPHY / QUOTE SECTION
   ================================================================ */
.philosophy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(560px, 65vw, 760px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Left: photo with gradient + floating pull-quote */
.phil-photo {
  position: relative;
  overflow: hidden;
}
.phil-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phil-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.9)  0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.08) 100%
  );
}
.phil-pull-quote {
  position: absolute;
  bottom: clamp(32px, 5vw, 56px);
  left:   clamp(28px, 5vw, 52px);
  right:  clamp(28px, 5vw, 52px);
  font-size: clamp(18px, 2vw, 28px);
  font-style: italic;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  z-index: 2;
}

/* Right: eyebrow + headline + trait rows */
.phil-content {
  background: var(--bg);
  padding: clamp(48px, 7vw, 96px) clamp(36px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.phil-headline {
  font-size: clamp(68px, 9vw, 128px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.88;
  text-transform: uppercase;
  margin-top: 14px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.phil-traits {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.5vw, 60px);
}
.phil-trait {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.phil-badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,245,245,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,245,245,0.5);
}
.phil-trait-body h4 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.phil-trait-body p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 380px;
}

/* ================================================================
   7. BEFORE / AFTER SLIDERS
   ================================================================ */
.transformations-section {
  padding: var(--section-pad) 0;
}

.transformations-section > .container {
  margin-bottom: 48px;
}

.sliders-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.slider-item { display: flex; flex-direction: column; gap: 20px; }

/* The slider itself */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: ew-resize;
  user-select: none;
  /* Fallback bg while images load */
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  /* Fallback gradient when image not present */
  background: linear-gradient(135deg, #1a1f25 0%, #0d1015 100%);
}

/* "After" is clipped on the right; JS adjusts the clip-path */
.ba-after {
  clip-path: inset(0 50% 0 0);
}

/* BEFORE / AFTER labels */
.ba-label {
  position: absolute;
  top: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 3px;
  pointer-events: none;
}
.ba-before .ba-label {
  right: 16px;
  background: rgba(0,0,0,0.6);
  color: var(--text-muted);
}
.ba-after .ba-label {
  left: 16px;
  background: var(--accent-red);
  color: #fff;
}

/* Handle */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  touch-action: none;
}

.ba-handle-line {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.7);
}

.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: transform var(--transition);
}
.ba-handle:active .ba-handle-circle { transform: scale(0.9); }

.ba-handle-circle svg path {
  stroke: var(--bg);
  stroke-width: 2;
  fill: none;
}

.slider-caption h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.slider-caption p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ================================================================
   8. PROMO CARDS
   ================================================================ */
.promo-section {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.promo-card {
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.promo-offer {
  background: linear-gradient(135deg, #1a0a0c 0%, #2d1015 100%);
  border: 1px solid rgba(214, 40, 57, 0.3);
}

.promo-finance {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
}

.promo-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-red);
}

.promo-card h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.promo-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 420px;
}

/* ================================================================
   9. TESTIMONIALS
   ================================================================ */
.testimonials-section {
  padding: var(--section-pad) 0;
}

.testimonials-section > .container { margin-bottom: 48px; }

.agg-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.agg-stars { color: var(--accent-gold); font-size: 22px; letter-spacing: 3px; }
.agg-score { font-size: 18px; font-weight: 800; }
.agg-count { font-size: 13px; color: var(--text-muted); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.testimonial-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.testimonial-card.featured { border-color: rgba(214, 40, 57, 0.35); background: linear-gradient(135deg, #1a0c0d 0%, var(--bg-secondary) 60%); }

.tc-stars { color: var(--accent-gold); font-size: 16px; letter-spacing: 2px; }

.tc-quote {
  font-size: 14px;
  font-style: italic;
  color: rgba(245,245,245,0.85);
  line-height: 1.7;
}

.tc-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.tc-name { font-size: 13px; font-weight: 700; }
.tc-loc { font-size: 11px; color: var(--text-muted); letter-spacing: 0.06em; }

/* ================================================================
   10. ESTIMATE FORM
   ================================================================ */
.estimate-section {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.estimate-section > .container > .section-sub { margin-bottom: 48px; }

.estimate-form-wrap {
  max-width: 720px;
}

/* Progress Indicator */
.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.4;
  transition: opacity var(--transition);
}
.progress-step.active { opacity: 1; }

.ps-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}
.progress-step.active .ps-num {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}
.progress-step.done .ps-num {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
  opacity: 1;
}

.ps-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.progress-bar {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 16px;
  position: relative;
}
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-red);
  transition: width 0.4s ease;
}
.form-progress.step-2 .progress-bar::after { width: 100%; }

/* Form Steps */
.form-step { display: none; }
.form-step.active { display: block; }

.form-step-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.form-step-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* Service Checkboxes */
.service-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.check-option:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.02); }
.check-option input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.check-option input:checked + .check-box { background: var(--accent-red); border-color: var(--accent-red); }
.check-option input:checked + .check-box::after { display: block; }
.check-option:has(input:checked) { border-color: rgba(214, 40, 57, 0.4); background: rgba(214, 40, 57, 0.05); }

.check-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 3px;
  margin-top: 2px;
  transition: var(--transition);
  position: relative;
}
.check-box::after {
  content: '';
  display: none;
  position: absolute;
  top: 1px; left: 4px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.check-label { display: flex; flex-direction: column; gap: 2px; }
.check-label strong { font-size: 14px; font-weight: 700; }
.check-label small { font-size: 12px; color: var(--text-muted); }

/* Form Fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { margin-bottom: 16px; }

.form-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--accent-red); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  transition: border-color var(--transition);
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-red);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(156,163,175,0.6); }
.form-field select option { background: var(--bg); }
.form-field textarea { resize: vertical; min-height: 100px; }

.form-step-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.btn-arrow { transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Form success */
.form-success {
  text-align: center;
  padding: 60px 40px;
  border: 1px solid rgba(30, 86, 49, 0.4);
  border-radius: 10px;
  background: rgba(30, 86, 49, 0.07);
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.form-success p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }

/* ================================================================
   11. FOOTER
   ================================================================ */
.site-footer {
  background: #0A0B0D;
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-contact-link:hover { color: var(--text); }
.footer-contact-link svg { flex-shrink: 0; opacity: 0.6; }

.footer-nav h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(245,245,245,0.65);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text); }

.footer-area h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-area p {
  font-size: 14px;
  color: rgba(245,245,245,0.65);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(156,163,175,0.5);
  text-align: center;
}
.footer-bottom a { color: rgba(156,163,175,0.7); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ================================================================
   RESPONSIVE — Tablet (≤ 960px)
   ================================================================ */
@media (max-width: 960px) {
  /* Header */
  .nav-main { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(17,19,21,0.98); border-bottom: 1px solid var(--border); padding: 16px 0; }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 14px clamp(20px, 5vw, 60px); border-bottom: 1px solid var(--border); }
  .nav-main a::after { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hero testimonial — hide on small screens */
  .hero-testimonial-card { display: none; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Philosophy — stack at tablet */
  .philosophy-section { grid-template-columns: 1fr; min-height: auto; }
  .phil-photo { min-height: 360px; }
  .phil-headline { font-size: clamp(56px, 10vw, 96px); }

  /* Sliders */
  .sliders-wrap { grid-template-columns: 1fr; }

  /* Promo */
  .promo-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-area { grid-column: 1 / -1; }

  /* Stats dividers */
  .stat-divider { display: none; }
  .stats-grid { gap: 32px 24px; }
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 600px)
   ================================================================ */
@media (max-width: 600px) {
  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 16 / 10; }

  /* Clamp card-sub to 3 lines so long loyalty-discount text doesn't
     overflow the card body on narrow phones */
  .card-sub {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 10px;
  }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .form-step-actions { flex-direction: column; align-items: stretch; }
  .form-step-actions .btn { width: 100%; text-align: center; }

  /* Hero — reduce max font size so "HALIFAX" never clips at 375px */
  .hero-headline { font-size: clamp(44px, 17vw, 80px); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-area { grid-column: auto; }

  /* Sliders */
  .ba-slider { aspect-ratio: 4 / 3; }

  /* Promo */
  .promo-card { padding: 32px 24px; }

  /* Announcement bar — allow wrapping on very narrow screens */
  .announcement-bar p { white-space: normal; text-align: center; }
}


/* ── Before/after: placeholder for a not-yet-supplied "before" shot ──────
   The slider needs a matching unlit daytime photo of each property. Until
   one exists, show a deliberate panel rather than a broken-image gap.
   Delete .ba-placeholder (here and in index.html) once the photos land. */
.ba-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* The "after" panel clips this one from the left at the handle position,
     so bias the content into the right half to keep it fully visible. */
  padding-left: 52%;
  background:
    repeating-linear-gradient(
      135deg,
      #1C1F23 0px, #1C1F23 12px,
      #202428 12px, #202428 24px
    );
  color: var(--text-muted);
  text-align: center;
}

.ba-before.ba-missing .ba-placeholder { display: flex; }

.ba-placeholder-icon {
  font-size: 34px;
  line-height: 1;
  opacity: 0.45;
}

.ba-placeholder-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}
