/* Around the Corner Painting — styles */

/* ── Self-hosted Inter (variable font, single file covers weights 500–900) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  /* BRAND — Deep Trust Blue */
  --brand-900: #0B1D39;
  --brand-800: #12294F;
  --brand-700: #1B3A6B;
  --brand-600: #2A5490;
  --brand-100: #E8EEF7;
  --brand-rgb: 27, 58, 107;

  /* CTA — Signal Orange */
  --cta-600: #E4572E;
  --cta-700: #C8431C;
  --cta-100: #FDEBE2;
  --cta-rgb: 228, 87, 46;

  /* Craft Gold */
  --gold-500: #D4A24C;
  --gold-100: #FBF3E1;

  /* Neutrals (warm) — contrast fixed: --ink-300 darkened for text usage */
  --ink-900: #0F1620;
  --ink-700: #2B3442;
  --ink-500: #5B6472;
  --ink-400: #6B7280; /* replaces --ink-300 where used as text — AA compliant on cream */
  --ink-300: #A6ADB8; /* reserved for borders/dividers only */
  --ink-100: #EEF1F5;
  --bg-cream: #FAF8F5;
  --white: #ffffff;

  /* Semantic */
  --success:     #1F8A53;
  --success-50:  #DCFCE7;
  --success-600: #16A34A;
  --success-icon:#6FD19C;
  --warning:     #E0A82E;
  --danger:      #C5361F;
  --danger-50:   #FDECEA;
  --danger-800:  #8A2014;

  /* Third-party brand colors (exceptions — preserved as literals for brand fidelity) */
  --whatsapp-500: #25d366;

  /* Shadows */
  --shadow:    0 1px 2px rgba(15,22,32,0.06), 0 6px 20px rgba(15,22,32,0.06);
  --shadow-lg: 0 20px 60px rgba(15,22,32,0.12);

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --radius: 16px;

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem;  --sp-8: 2rem;    --sp-10: 2.5rem;
  --sp-12: 3rem;   --sp-16: 4rem;   --sp-20: 5rem;   --sp-24: 6rem;

  --section-y: clamp(4rem, 8vw, 6rem);
  --container: 1200px;

  /* Canonical aliases (legacy names kept pointing here so old classes still work) */
  --primary:       var(--brand-700);
  --primary-dark:  var(--brand-800);
  --primary-light: var(--brand-100);
  --accent:        var(--cta-600);
  --accent-dark:   var(--cta-700);
  --accent-light:  var(--cta-100);
  --dark:          var(--ink-900);
  --dark-mid:      var(--ink-700);
  --gray:          var(--ink-500);
  --gray-light:    var(--ink-400);
  --border:        var(--ink-100);
  --light:         var(--bg-cream);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--ink-700); line-height: 1.6; overflow-x: hidden; background: var(--bg-cream); }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── ACCESSIBILITY: skip link + universal focus-visible ──────────────────── */
.skip-link {
  position: absolute; top: -40px; left: 1rem;
  background: var(--brand-800); color: var(--white);
  padding: 0.6rem 1rem; border-radius: var(--r-sm);
  z-index: 3000; text-decoration: none; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--cta-600); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--cta-600);
  outline-offset: 2px;
  border-radius: 4px;
}
.wiz-tile:focus-within, .wiz-pill:focus-within {
  outline: 2px solid var(--cta-600);
  outline-offset: 3px;
  border-radius: var(--r-md);
}

/* ── NAV ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.4s, background 0.4s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: center; transition: transform 0.3s; flex-shrink: 0;
}
.logo:hover .logo-icon { transform: scale(1.08); }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { line-height: 1.3; }
.logo-text .name { font-size: 1.2rem; font-weight: 800; color: var(--dark); letter-spacing: -0.01em; }
.logo-text .tagline { font-size: 0.72rem; color: var(--ink-500); font-weight: 500; letter-spacing: 0.3px; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink-700); font-weight: 500;
  font-size: 0.9rem; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--primary); transition: width 0.3s; border-radius: 2px;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-cta {
  background: var(--accent); color: var(--white);
  padding: 0.6rem 1.3rem; border-radius: 8px;
  font-weight: 700; transition: background 0.3s, transform 0.3s;
}
.nav-links a.nav-cta:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-phone { display: flex; align-items: center; gap: 0.35rem; color: var(--dark); font-weight: 700; font-size: 0.9rem; }
.nav-links a.nav-phone:hover { color: var(--dark); }
.nav-links a.nav-phone::after { display: none; }
.nav-links a.nav-phone svg { width: 16px; height: 16px; color: var(--accent); }

/* Mobile-only navbar CTA (sits between nav-links and hamburger on mobile).
   Hidden on desktop where the regular .nav-cta inside .nav-links is visible. */
.nav-cta-mobile { display: none; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center; transition: background 0.2s;
}
.hamburger:hover { background: var(--light); }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; position: relative; }
.hamburger span::before, .hamburger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: 0.3s;
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }
.hamburger.active span { background: transparent; }
.hamburger.active span::before { top: 0; transform: rotate(45deg); }
.hamburger.active span::after  { top: 0; transform: rotate(-45deg); }

/* ── SHARED PLACEHOLDER UTILITY (replaces 3 near-identical blocks) ──────── */
.brand-placeholder {
  background:
    radial-gradient(circle at 30% 20%, rgba(212,162,76,0.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(var(--cta-rgb),0.15), transparent 55%),
    linear-gradient(135deg, var(--brand-800), var(--brand-700) 60%, var(--brand-600));
  color: rgba(255,255,255,0.9);
}

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: stretch; position: relative; overflow: hidden; background: var(--white); padding-top: 70px; }
.hero::before {
  content: ''; position: absolute; top: -300px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb),0.07), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -200px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--cta-rgb),0.05), transparent 70%);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
  align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-light); border: 1px solid rgba(var(--cta-rgb),0.15);
  padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--accent); }
.hero-badge span { color: var(--accent-dark); font-size: 0.85rem; font-weight: 600; }
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; color: var(--dark);
  line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-text h1 .accent { color: var(--primary); }
.hero-text h1 .accent-orange { color: var(--accent); }
.hero-text p { font-size: 1.1rem; color: var(--ink-500); margin-bottom: 2rem; max-width: 520px; line-height: 1.85; animation: fadeUp 0.6s 0.2s ease both; }
.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; animation: fadeUp 0.6s 0.3s ease both; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.85rem; border-radius: 12px; font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s; border: none; cursor: pointer; }
.btn svg { width: 18px; height: 18px; }
.btn-xl { padding: 1.15rem 2.25rem; font-size: 1.05rem; border-radius: 14px; }
.btn-xl svg { width: 20px; height: 20px; }
.hero-phone-link { color: var(--ink-700); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.hero-phone-link:hover { color: var(--cta-600); }
.hero-phone-link strong { color: var(--brand-800); }
.hero-services {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1rem; animation: fadeUp 0.6s 0.35s ease both;
}
.hero-pill {
  background: var(--brand-100); border: 1px solid rgba(var(--brand-rgb),0.15);
  color: var(--brand-700); padding: 0.4rem 0.9rem; border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
}
.hero-proof { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 0.85rem; color: var(--ink-500); animation: fadeUp 0.6s 0.45s ease both; }
.hero-proof .stars { margin: 0; font-size: 1rem; letter-spacing: 1px; }
.hero-proof .dot { color: var(--ink-300); }
.hero-proof .proof-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--brand-100); color: var(--brand-800);
  padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.78rem;
}
.hero-proof .proof-pill svg { width: 13px; height: 13px; }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 4px 12px rgba(var(--cta-rgb),0.22); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--cta-rgb),0.30); }
.btn-blue { background: var(--primary); color: var(--white); box-shadow: 0 4px 12px rgba(var(--brand-rgb),0.20); }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--brand-rgb),0.28); }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); animation: fadeUp 0.6s 0.4s ease both; }
.stat { text-align: center; }
.stat h3 { font-size: 1.8rem; color: var(--dark); font-weight: 800; }
.stat h3 .dot { color: var(--accent); }
.stat p { color: var(--ink-500); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero image side */
.hero-visual { animation: fadeUp 0.6s 0.2s ease both; position: relative; }
.hero-image-wrapper { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image-wrapper img { width: 100%; height: 520px; object-fit: cover; display: block; }
.hero-image-wrapper::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; background: linear-gradient(transparent, rgba(15,22,32,0.45));
  pointer-events: none;
}
.hero-placeholder-content { display: none; }
.hero-image-wrapper.img-missing img { display: none; }
.hero-image-wrapper.img-missing::after { display: none; }
.hero-image-wrapper.img-missing .hero-placeholder-content {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  position: absolute; inset: 0; padding: 2rem; z-index: 1;
}
.hero-image-wrapper.img-missing {
  height: 520px;
  background:
    radial-gradient(circle at 30% 20%, rgba(212,162,76,0.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(var(--cta-rgb),0.15), transparent 55%),
    linear-gradient(135deg, var(--brand-800), var(--brand-700) 60%, var(--brand-600));
  color: rgba(255,255,255,0.9); text-align: center; padding: 2rem;
}
.hero-image-wrapper.img-missing svg.placeholder-icon { width: 72px; height: 72px; color: var(--gold-500); margin-bottom: 1.25rem; opacity: 0.9; }
.hero-image-wrapper.img-missing h4 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.hero-image-wrapper.img-missing p { font-size: 0.82rem; color: rgba(255,255,255,0.8); font-weight: 500; max-width: 280px; line-height: 1.6; }
.hero-image-wrapper.img-missing code { display: inline-block; margin-top: 0.75rem; background: rgba(0,0,0,0.25); color: var(--gold-500); padding: 0.3rem 0.7rem; border-radius: var(--r-sm); font-size: 0.75rem; font-family: ui-monospace, Menlo, monospace; }
.hero-float-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem; z-index: 2;
  background: var(--white); border-radius: 14px; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: var(--shadow-lg); animation: fadeUp 0.8s 0.5s ease both;
}
.hero-float-badge .hfb-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.hero-float-badge .hfb-icon svg { width: 20px; height: 20px; color: var(--primary); }
.hero-float-badge .hfb-text { font-size: 0.8rem; font-weight: 700; color: var(--dark); }
.hero-float-badge .hfb-sub  { font-size: 0.7rem; color: var(--ink-500); font-weight: 500; }
.hero-float-rating {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2;
  background: var(--white); border-radius: 14px; padding: 0.65rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  box-shadow: var(--shadow-lg); animation: fadeUp 0.8s 0.6s ease both;
}
.hero-float-rating .stars { margin: 0; font-size: 0.85rem; letter-spacing: 1px; }
.hero-float-rating span { font-size: 0.8rem; font-weight: 700; color: var(--dark); }
.hero-deco   { position: absolute; width: 80px; height: 80px; border-radius: 18px; background: var(--accent); opacity: 0.12; z-index: -1; top: -20px; right: -20px; transform: rotate(15deg); }
.hero-deco-2 { position: absolute; width: 60px; height: 60px; border-radius: 50%;  background: var(--primary); opacity: 0.08; z-index: -1; bottom: -15px; left: -15px; }

/* ── SECTIONS ── */
section { padding: 5.5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary-light); color: var(--primary);
  padding: 0.35rem 1rem; border-radius: 50px;
  font-size: 0.85rem; text-transform: uppercase;
  font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.section-label.orange { background: var(--accent-light); color: var(--accent-dark); }
.section-label svg { width: 14px; height: 14px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.section-header p { color: var(--ink-500); font-size: 1.05rem; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--dark); padding: 2.5rem 1.5rem; position: relative; overflow: hidden; }
.trust-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--brand-rgb),0.08), transparent 50%, rgba(var(--cta-rgb),0.06)); }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.trust-item { display: flex; align-items: center; gap: 1rem; text-align: left; }
.trust-item .ti-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item:nth-child(1) .ti-icon { background: rgba(212,162,76,0.18); }
.trust-item:nth-child(2) .ti-icon { background: rgba(var(--cta-rgb),0.18); }
.trust-item:nth-child(3) .ti-icon { background: rgba(31,138,83,0.20); }
.trust-item:nth-child(4) .ti-icon { background: rgba(var(--brand-rgb),0.30); }
.trust-item .ti-icon svg { width: 24px; height: 24px; }
.trust-item:nth-child(1) .ti-icon svg { color: var(--gold-500); }
.trust-item:nth-child(2) .ti-icon svg { color: var(--cta-600); }
.trust-item:nth-child(3) .ti-icon svg { color: var(--success-icon); }
.trust-item:nth-child(4) .ti-icon svg { color: var(--brand-100); }
.trust-item:nth-child(5) .ti-icon { background: rgba(212,162,76,0.18); }
.trust-item:nth-child(5) .ti-icon svg { color: var(--gold-500); }
.trust-item h4 { color: var(--white); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.trust-item p  { color: rgba(255,255,255,0.65); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── MID CTA ── */
.mid-cta { background: linear-gradient(135deg, var(--primary-light), var(--accent-light)); padding: 3rem 1.5rem; text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mid-cta-inner { max-width: 700px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.mid-cta p { font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.mid-cta .btn { padding: 0.8rem 1.75rem; }

/* ── TESTIMONIAL CAROUSEL ── */
.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track { display: flex; gap: 1.25rem; transition: transform 0.5s ease; }
.testimonials-track .testimonial-card { min-width: calc(33.333% - 0.84rem); flex-shrink: 0; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.carousel-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; color: var(--dark); }
.carousel-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 0.4rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300); border: none; cursor: pointer; transition: background 0.3s, width 0.3s, border-radius 0.3s; padding: 0; }
.carousel-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ── SERVICES ── */
.services { background: var(--light); }
.service-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--white); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 2rem;
  transition: box-shadow 0.4s, border-color 0.4s, transform 0.4s;
}
.service-showcase:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.service-showcase:nth-child(even) .sc-image { order: 2; }
.service-showcase:nth-child(even) .sc-content { order: 1; }
.sc-image { position: relative; overflow: hidden; min-height: 320px; }
.sc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.service-showcase:hover .sc-image img { transform: scale(1.05); }
.sc-image.img-missing img { display: none; }
.sc-image.img-missing {
  background:
    radial-gradient(circle at 30% 30%, rgba(212,162,76,0.14), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(var(--cta-rgb),0.14), transparent 55%),
    linear-gradient(135deg, var(--brand-800), var(--brand-600));
}
.sc-image.img-missing::after {
  content: 'Drop photo at ' attr(data-photo);
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,0.35); color: var(--gold-500);
  padding: 0.35rem 0.7rem; border-radius: var(--r-sm);
  font-size: 0.7rem; font-family: ui-monospace, Menlo, monospace;
}
.sc-image.img-missing .sc-number { color: var(--gold-500); background: rgba(0,0,0,0.3); border-color: rgba(212,162,76,0.4); }
.sc-image .sc-number { position: absolute; top: 1rem; left: 1rem; width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; z-index: 1; }
.service-showcase:nth-child(even) .sc-number { background: var(--accent); }
.sc-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.sc-content .sc-label { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 0.75rem; }
.service-showcase:nth-child(even) .sc-label { color: var(--accent-dark); } /* AA 4.82:1 on white */
.sc-content h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.sc-content > p { color: var(--ink-500); font-size: 0.92rem; line-height: 1.8; margin-bottom: 1.25rem; }
.sc-features { list-style: none; margin-bottom: 1.5rem; }
.sc-features li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.3rem 0; font-size: 0.88rem; color: var(--dark-mid); }
.sc-features li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.service-showcase:nth-child(even) .sc-features li svg { color: var(--accent); }
.sc-price {
  font-size: 0.95rem; font-weight: 700; color: var(--cta-600);
  padding: 0.75rem 1rem; background: var(--cta-100); border-radius: var(--r-md);
  margin: 1rem 0; display: inline-block;
}
.sc-price strong { font-size: 1.1rem; }
.service-showcase:nth-child(even) .sc-price { background: var(--brand-100); color: var(--brand-700); }
.sc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.sc-tag { background: var(--primary-light); color: var(--primary); padding: 0.25rem 0.65rem; border-radius: 6px; font-size: 0.72rem; font-weight: 600; }
.service-showcase:nth-child(even) .sc-tag { background: var(--accent-light); color: var(--accent); }
.sc-cta { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: gap 0.3s; }
.sc-cta:hover { gap: 0.7rem; }
.sc-cta svg { width: 16px; height: 16px; }
.service-showcase:nth-child(even) .sc-cta { color: var(--accent); }

/* ── PROFICIENCY ── */
.proficiency { background: var(--white); }
.prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1000px; margin: 0 auto; align-items: center; }
.prof-text h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; }
.prof-text p  { color: var(--ink-500); line-height: 1.8; font-size: 0.95rem; }
.prof-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prof-stat-card { background: var(--primary-light); border-radius: 16px; padding: 1.75rem; text-align: center; border: 1px solid rgba(var(--brand-rgb),0.1); transition: transform 0.3s, box-shadow 0.3s; }
.prof-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prof-stat-card.accent { background: var(--accent-light); border-color: rgba(var(--cta-rgb),0.1); }
.prof-stat-card .psc-num { font-size: 2.2rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 0.25rem; }
.prof-stat-card.accent .psc-num { color: var(--accent); }
.prof-stat-card .psc-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── WHY US ── */
.why-us { background: var(--white); }
.why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { text-align: center; padding: 2rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s; position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary-light), var(--accent-light)); opacity: 0; transition: opacity 0.4s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card:hover::before { opacity: 1; }
.why-card > * { position: relative; z-index: 1; }
.why-card .num { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; margin: 0 auto 1rem; transition: transform 0.3s; }
.why-card:hover .num { transform: scale(1.1); }
.why-card:nth-child(odd) .num  { background: var(--primary); color: var(--white); }
.why-card:nth-child(even) .num { background: var(--accent);  color: var(--white); }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.why-card p  { color: var(--ink-500); font-size: 0.85rem; line-height: 1.7; }

/* ── GALLERY / BEFORE-AFTER ── */
.gallery { background: var(--bg-cream); }
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.gallery-filter { background: var(--white); border: 1px solid var(--ink-100); color: var(--ink-500); padding: 0.55rem 1.15rem; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.gallery-filter:hover { border-color: var(--brand-700); color: var(--brand-800); }
.gallery-filter.active { background: var(--brand-800); color: var(--white); border-color: var(--brand-800); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.project-card.is-hidden { display: none; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Before/after slider — clip-path based. No divide-by-zero, no inner-image resize hack. */
.ba-slider {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  user-select: none; touch-action: none; cursor: ew-resize;
  background: var(--ink-100);
  --ba-clip: 50%;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-after-wrap {
  position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: inset(0 0 0 var(--ba-clip));
  will-change: clip-path;
}
.ba-after-wrap img { width: 100%; height: 100%; }
.ba-label {
  position: absolute; top: 0.75rem;
  background: rgba(11,29,57,0.85); color: var(--white);
  padding: 0.3rem 0.7rem; border-radius: var(--r-sm);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; pointer-events: none;
}
.ba-label-before { left: 0.75rem; }
.ba-label-after  { right: 0.75rem; background: rgba(var(--cta-rgb),0.92); }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--white); left: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 4px 20px rgba(0,0,0,0.3); pointer-events: none; will-change: left; cursor: grab; }
.ba-slider:active .ba-handle { cursor: grabbing; }
@keyframes handleHint {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-8px); }
  75%      { transform: translateX(8px); }
}
.ba-handle.hint { animation: handleHint 0.8s ease 2; }
@media (prefers-reduced-motion: reduce) { .ba-handle.hint { animation: none; } }
.ba-handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; border-radius: 50%; background: var(--white); transform: translate(-50%, -50%); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.ba-handle::before { content: '⇆'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; color: var(--brand-800); font-size: 1.1rem; font-weight: 900; }
.ba-slider.img-missing img { display: none; }
.ba-slider.img-missing { background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); display: flex; align-items: center; justify-content: center; }
.ba-slider.img-missing::before {
  content: 'Drop ' attr(data-before) ' & ' attr(data-after);
  color: var(--gold-500); font-family: ui-monospace, Menlo, monospace;
  font-size: 0.72rem; text-align: center; padding: 0 1rem; line-height: 1.7;
}
.ba-slider.img-missing .ba-after-wrap,
.ba-slider.img-missing .ba-handle,
.ba-slider.img-missing .ba-label { display: none; }

.project-meta { padding: 1.25rem 1.5rem 1.5rem; }
.project-meta .project-tag { display: inline-block; background: var(--brand-100); color: var(--brand-800); font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.project-meta h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink-900); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.project-meta p  { font-size: 0.85rem; color: var(--ink-500); line-height: 1.55; }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card { background: var(--light); border-radius: 14px; padding: 1.25rem 1.5rem; border: 1px solid var(--border); transition: transform 0.4s, box-shadow 0.4s; position: relative; }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stars { color: var(--gold-500); font-size: 0.9rem; margin-bottom: 0.5rem; letter-spacing: 2px; }
.testimonial-card > p { color: var(--dark-mid); font-size: 0.85rem; line-height: 1.75; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.65rem; }
.testimonial-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.85rem; }
.testimonial-card:nth-child(1) .testimonial-avatar { background: var(--primary); }
.testimonial-card:nth-child(2) .testimonial-avatar { background: var(--accent); }
.testimonial-card:nth-child(3) .testimonial-avatar { background: var(--primary-dark); }
.testimonial-name { font-weight: 600; font-size: 0.82rem; }
.testimonial-loc  { color: var(--ink-500); font-size: 0.72rem; }

/* ── PROCESS ── */
.process { background: var(--light); }
.process-steps { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 38px; left: 14%; right: 14%; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; }
.step { text-align: center; position: relative; z-index: 1; }
.step .circle { width: 76px; height: 76px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: var(--shadow); transition: transform 0.3s; }
.step:hover .circle { transform: scale(1.1); }
.step:nth-child(even) .circle { border-color: var(--accent); }
.step .circle svg { width: 26px; height: 26px; color: var(--primary); }
.step:nth-child(even) .circle svg { color: var(--accent); }
.step h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.step p  { color: var(--ink-500); font-size: 0.8rem; }

/* ── PROMISE ── */
.promise { background: var(--white); padding: 4rem 1.5rem; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.promise-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.promise-card { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.75rem; border-radius: var(--r-lg); background: var(--bg-cream); border: 1px solid var(--ink-100); transition: transform 0.3s, box-shadow 0.3s; }
.promise-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.promise-icon { width: 56px; height: 56px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.promise-card:nth-child(1) .promise-icon { background: rgba(var(--cta-rgb),0.12); color: var(--cta-600); }
.promise-card:nth-child(2) .promise-icon { background: rgba(212,162,76,0.16); color: var(--gold-500); }
.promise-icon svg { width: 26px; height: 26px; }
.promise-content h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink-900); margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.promise-content p  { font-size: 0.9rem; color: var(--ink-500); line-height: 1.6; }
.promise-content strong { color: var(--brand-800); font-weight: 700; }
@media (max-width: 768px) {
  .promise { padding: 2.5rem 1.25rem; }
  .promise-grid { grid-template-columns: 1fr; gap: 1rem; }
  .promise-card { padding: 1.25rem; }
}

/* ── QUOTE WIZARD ── */
/* Phase 9.5 — Step counter + time estimate, sits above the progress bar */
.progress-counter {
  font-size: 0.75rem;
  color: var(--ink-500);
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}
/* Phase 9.5 — Social-proof trust line under Step 1 CTA. Gold star + ink-700
   text. Distinct from `.form-trust-note` (green shield, bottom of Step 6). */
.trust-note {
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-700);
  line-height: 1.4;
  opacity: 1;
}
.trust-note span { color: var(--ink-700); opacity: 1; }
.trust-note .star {
  width: 16px; height: 16px;
  color: #F5A623; /* warm gold — social proof, not success */
  flex-shrink: 0;
}

.wiz-progress { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.75rem; position: relative; }
.wiz-step-indicator { flex: 1; display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; color: var(--ink-500); transition: color 0.3s; }
.wiz-step-indicator span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink-100); color: var(--ink-500); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.wiz-step-indicator.active { color: var(--brand-800); }
.wiz-step-indicator.active span { background: var(--cta-600); color: var(--white); box-shadow: 0 0 0 4px rgba(var(--cta-rgb),0.15); }
.wiz-step-indicator.done { color: var(--brand-800); cursor: pointer; }
.wiz-step-indicator.done span { background: var(--brand-800); color: var(--white); }
.wiz-step-indicator.done:hover { color: var(--cta-600); }
.wiz-step-indicator.done:hover span { background: var(--cta-600); }

.wiz-step {
  display: none; opacity: 0; transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wiz-step.active {
  display: block; opacity: 1; transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .wiz-step { transition: none; transform: none; }
}
.wiz-step h4 { font-size: 1.05rem; font-weight: 800; color: var(--ink-900); margin-bottom: 1.25rem; letter-spacing: -0.01em; outline: none; }

.wiz-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.wiz-tile { display: flex; flex-direction: column; align-items: flex-start; padding: 1.15rem 1rem; border-radius: var(--r-md); border: 2px solid var(--ink-100); cursor: pointer; transition: border-color 0.2s, background 0.2s; background: var(--white); position: relative; }
.wiz-tile:hover { border-color: var(--brand-600); }
/* Visually hide radios but keep them focusable so :focus-within works */
.wiz-tile input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wiz-tile .tile-icon { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--brand-100); color: var(--brand-800); display: flex; align-items: center; justify-content: center; margin-bottom: 0.6rem; transition: background 0.2s, color 0.2s; }
.wiz-tile .tile-icon svg { width: 20px; height: 20px; }
.wiz-tile strong { display: block; width: 100%; font-size: 0.95rem; color: var(--ink-900); font-weight: 700; margin-bottom: 0.15rem; }
.wiz-tile span.desc { display: block; width: 100%; font-size: 0.78rem; color: var(--ink-500); }
.wiz-tile:has(input:checked),
.wiz-tile.is-checked { border-color: var(--cta-600); background: var(--cta-100); }
.wiz-tile:has(input:checked) .tile-icon,
.wiz-tile.is-checked .tile-icon { background: var(--cta-600); color: var(--white); }

.wiz-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wiz-pill { position: relative; cursor: pointer; }
.wiz-pill input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wiz-pill span { display: inline-block; padding: 0.6rem 1rem; border: 2px solid var(--ink-100); border-radius: var(--r-pill); background: var(--white); color: var(--ink-700); font-size: 0.85rem; font-weight: 600; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.wiz-pill:hover span { border-color: var(--brand-600); }
.wiz-pill:has(input:checked) span,
.wiz-pill.is-checked span { background: var(--brand-800); color: var(--white); border-color: var(--brand-800); }

.wiz-actions { display: flex; gap: 0.75rem; align-items: center; justify-content: space-between; margin-top: 1.75rem; }
.wiz-actions .wiz-back {
  background: transparent; border: none; color: var(--brand-700);
  padding: 0.7rem 0.75rem; min-height: 44px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; font-family: inherit;
  cursor: pointer; transition: color 0.2s, background 0.2s;
}
.wiz-actions .wiz-back:hover { color: var(--brand-800); background: var(--bg-cream); }
.char-count {
  text-align: right; font-size: 0.75rem; color: var(--ink-500);
  margin-top: 0.25rem;
}
.char-count.warn { color: var(--cta-700); }
.wiz-actions .btn-submit,
.wiz-actions [data-wiz-next] { margin-left: auto; }

/* Honeypot: hide visually and from AT, but let the browser see the field.
   !important is intentional here — guarantees the field stays hidden even if
   a future form style inadvertently bumps the cascade. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.form-error {
  background: var(--danger-50); color: var(--danger-800);
  padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem;
  font-size: 0.9rem; font-weight: 600;
}

/* Inline field-level error (Phase 9.6 sanitization layer) */
.field-error {
  color: var(--danger-800);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.35rem;
}
.form-group input.has-error,
.form-group textarea.has-error,
.form-group select.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(197, 54, 31, 0.15);
}

/* "Start over" link under Step 1 (Phase 9.6) */
.wiz-restart {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--ink-500);
}
.wiz-restart-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--brand-700);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.wiz-restart-btn:hover,
.wiz-restart-btn:focus-visible {
  color: var(--brand-900);
}

/* ── PHASE 9 — 6-step wizard additions ───────────────────────────── */

/* Step description paragraph (under the h4) */
.wiz-step-desc {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: -0.75rem 0 1.25rem;
}

/* Field hint below an input */
.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-500);
  margin-top: 0.35rem;
}

/* Large input (Step 1 postal code) — higher specificity than .form-group input,
   no !important needed because `.form-group input.input-lg` beats `.form-group input` */
.form-group input.input-lg {
  padding: 1rem 1.15rem;
  font-size: 1.05rem;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Full-width continue button (Step 1) */
.wiz-full-btn { width: 100%; justify-content: center; }

/* Property-type toggles (Residential / Commercial) */
.wiz-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.wiz-toggle { position: relative; cursor: pointer; }
.wiz-toggle input {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.wiz-toggle span {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--ink-100); border-radius: var(--r-md);
  background: var(--white); color: var(--ink-700);
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.wiz-toggle:hover span { border-color: var(--brand-600); }
.wiz-toggle:has(input:checked) span,
.wiz-toggle.is-checked span {
  background: var(--brand-800); color: var(--white); border-color: var(--brand-800);
}
.wiz-toggle:has(input:checked) span svg,
.wiz-toggle.is-checked span svg { color: var(--white); }
.wiz-toggle:focus-within span {
  outline: 2px solid var(--brand-700);
  outline-offset: 2px;
}

/* Conditional Step-3 panels (only one visible at a time) */
.wiz-conditional { display: none; }
.wiz-conditional.active { display: block; }

/* Checkbox list (multi-select: painting type, IKEA items) */
.wiz-checks { display: flex; flex-direction: column; gap: 0.5rem; }
.wiz-check { position: relative; cursor: pointer; }
.wiz-check input {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.wiz-check span {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--ink-100); border-radius: var(--r-md);
  background: var(--white); color: var(--ink-700);
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.wiz-check span::before {
  content: '';
  width: 20px; height: 20px;
  border: 2px solid var(--ink-100); border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.wiz-check:hover span { border-color: var(--brand-600); }
.wiz-check:has(input:checked) span,
.wiz-check.is-checked span {
  background: rgba(var(--brand-rgb), 0.06);
  border-color: var(--brand-700);
  color: var(--brand-800);
}
.wiz-check:has(input:checked) span::before,
.wiz-check.is-checked span::before {
  background: var(--brand-700);
  border-color: var(--brand-700);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.wiz-check:focus-within span {
  outline: 2px solid var(--brand-700);
  outline-offset: 2px;
}

/* Native <input type="date"> styling */
.date-input { cursor: pointer; }
.date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.date-input::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* Step 5 time pill — label stacked over time range. `.wiz-pill--time span`
   (0,2,1) beats the generic `.wiz-pill span` (0,1,1) rule at line ~603,
   so this switches display from inline-block → inline-flex column without
   affecting normal single-line pills (project size, drywall type, etc.). */
.wiz-pill--time span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.2;
  padding: 0.55rem 0.9rem;
}
.wiz-pill--time span strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: inherit;
}
.wiz-pill--time span small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-500);
}
.wiz-pill--time:has(input:checked) span small,
.wiz-pill--time.is-checked span small { color: rgba(255,255,255,0.75); }
/* ── end Phase 9 additions ──────────────────────────────────────── */

@media (max-width: 520px) {
  /* ── PHASE 9.1 — Compact wizard steps so each step fits in one viewport ── */

  /* Tile grid: 2 columns on mobile instead of single column */
  .wiz-tiles { grid-template-columns: 1fr 1fr; gap: 0.5rem; }

  /* Progress bar: compact 6-step indicator, hide labels except active */
  .wiz-progress {
    margin-bottom: 1rem;
    gap: 0.25rem;
  }
  .wiz-step-indicator {
    font-size: 0;
    gap: 0;
    flex-direction: column;
    align-items: center;
  }
  .wiz-step-indicator span {
    font-size: 0.7rem;
    width: 22px;
    height: 22px;
  }
  .wiz-step-indicator.active {
    font-size: 0.6rem;
    gap: 0.15rem;
    font-weight: 800;
  }
  .wiz-step-indicator.done { font-size: 0; }

  /* Step heading + description: tighter rhythm */
  .wiz-step h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  .wiz-step-desc {
    margin: -0.5rem 0 0.75rem;
    font-size: 0.78rem;
  }

  /* Service tiles: compact card with smaller icon + text */
  .wiz-tile {
    padding: 0.7rem 0.75rem;
    gap: 0.15rem;
  }
  .wiz-tile .tile-icon {
    width: 30px; height: 30px; border-radius: 6px;
    margin-bottom: 0.3rem;
  }
  .wiz-tile .tile-icon svg { width: 16px; height: 16px; }
  .wiz-tile strong { font-size: 0.82rem; }
  .wiz-tile span.desc { font-size: 0.68rem; }

  /* Property-type toggles: 2-up, ~45px tall so touch target stays comfy */
  .wiz-toggles { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .wiz-toggle span {
    padding: 0.75rem 0.6rem;
    font-size: 0.82rem;
    min-height: 44px;
  }
  .wiz-toggle span svg { width: 16px; height: 16px; }

  /* Pills (Step 3 sizing + Step 5 time ranges): compact but still \u226544px */
  .wiz-pills { gap: 0.35rem; }
  .wiz-pill span {
    padding: 0.7rem 0.9rem;
    font-size: 0.78rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Checkbox lists: compact rows, 44px min height */
  .wiz-checks { gap: 0.35rem; }
  .wiz-check span {
    padding: 0.7rem 0.8rem;
    font-size: 0.82rem;
    min-height: 44px;
  }
  .wiz-check span::before { width: 18px; height: 18px; }

  /* Wizard action row: tighter top spacing, shorter Continue button */
  .wiz-actions { margin-top: 1rem; }
  .wiz-actions .btn-xl {
    padding: 0.85rem 1.5rem;
    font-size: 0.92rem;
    min-height: 48px;
  }
}

/* Phase 7.5 Fix 4 — hide WhatsApp float when inside quote section */
body.in-quote .whatsapp-float { opacity: 0; pointer-events: none; transition: opacity 0.3s; }

/* ── QUOTE ── */
.quote-section { background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.quote-section::before { content: ''; position: absolute; top: -200px; right: -100px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb),0.12), transparent 70%); }
.quote-section::after  { content: ''; position: absolute; bottom: -150px; left: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--cta-rgb),0.08), transparent 70%); }
.quote-section .section-label { background: rgba(var(--brand-rgb),0.18); color: var(--brand-100); }
.quote-section .section-header h2 { color: var(--white); }
.quote-section .section-header p  { color: rgba(255,255,255,0.7); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; position: relative; z-index: 1; }
.quote-info h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.quote-info > p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.85; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding: 0.75rem; border-radius: 14px; transition: background 0.3s; }
.contact-item:hover { background: rgba(255,255,255,0.06); }
.contact-item .ci-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.3s, border-color 0.3s; }
.contact-item:hover .ci-icon { background: rgba(var(--cta-rgb),0.12); border-color: rgba(var(--cta-rgb),0.2); }
.contact-item .ci-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-item .ci-text span { display: block; color: rgba(255,255,255,0.55); font-size: 0.75rem; font-weight: 500; }
.contact-item .ci-text strong { font-size: 0.95rem; }
.contact-item .ci-text a { color: inherit; text-decoration: none; }
.contact-item .ci-text a:hover { text-decoration: underline; }
.quote-form-card { background: var(--white); border-radius: 24px; padding: 2.25rem; color: var(--dark); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.quote-form-card h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.quote-form-card .subtitle { color: var(--ink-500); font-size: 0.85rem; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 0.85rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--ink-900);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
  background: var(--white); color: var(--ink-900);
}
/* Phase 9.5.2 — Native <select> normalization. UA chevrons are inconsistent
   (absent on some mobile skins, crowded against the radius on others), so
   we strip the native affordance and draw our own. Chevron is an inline
   SVG data-URL (no extra request), right-aligned, with reserved padding. */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.btn-submit {
  width: 100%; padding: 1.1rem; background: var(--accent);
  color: var(--white); border: none; border-radius: 14px;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(var(--cta-rgb),0.22);
}
.btn-submit:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--cta-rgb),0.30); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-trust-note {
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-700);
  margin-top: 0.85rem;
  line-height: 1.4;
}
.form-trust-note svg {
  width: 16px; height: 16px;
  color: var(--success); /* green shield */
  flex-shrink: 0;
}

/* ── GUARANTEE BANNER ── */
.guarantee-banner {
  background: var(--brand-900); padding: 3rem 1.5rem;
}
.guarantee-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.guarantee-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  background: rgba(var(--cta-rgb),0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.guarantee-icon svg { width: 28px; height: 28px; color: var(--cta-600); }
.guarantee-content h3 {
  color: var(--white); font-size: 1.3rem; font-weight: 800; margin-bottom: 0.4rem;
}
.guarantee-content p {
  color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7;
}
@media (max-width: 768px) {
  .guarantee-inner { flex-direction: column; text-align: center; }
}

/* ── FAQ ── */
.faq { background: var(--light); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 0.75rem; overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item.active { border-color: var(--primary); box-shadow: 0 4px 20px rgba(var(--brand-rgb),0.08); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; cursor: pointer; gap: 1rem; background: none; border: none; width: 100%; text-align: left; font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--dark); transition: color 0.2s; }
.faq-item.active .faq-question { color: var(--primary); }
.faq-question .faq-icon { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; background: var(--primary-light); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.faq-item.active .faq-icon { background: var(--primary); }
.faq-icon svg { width: 14px; height: 14px; color: var(--primary); transition: transform 0.3s, color 0.3s; }
.faq-item.active .faq-icon svg { transform: rotate(45deg); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 1.25rem; }
.faq-item.active .faq-answer { max-height: 400px; padding: 0 1.25rem 1.25rem; }
.faq-answer p { color: var(--ink-500); font-size: 0.9rem; line-height: 1.8; }

/* ── AREA + MAP ── */
.service-area { background: var(--white); }
.area-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 500px; }
.area-tag { background: var(--light); border: 1px solid var(--border); padding: 0.45rem 1.1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--dark-mid); transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s; cursor: default; }
.area-tag:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.area-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); height: 350px; }
.area-map iframe { width: 100%; height: 100%; border: 0; }

/* ── CTA BANNER ── */
.cta-banner {
  background:
    radial-gradient(circle at 20% 30%, rgba(212,162,76,0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(var(--cta-rgb),0.22), transparent 55%),
    linear-gradient(135deg, var(--brand-900), var(--brand-700));
  padding: 4rem 1.5rem; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; top: -100px; right: -100px; width: 350px; height: 350px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.cta-banner::after  { content: ''; position: absolute; bottom: -80px; left: -80px;  width: 250px; height: 250px; border-radius: 50%; background: rgba(255,255,255,0.04); }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 0.5rem; position: relative; }
.cta-banner p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 1.5rem; position: relative; }
.cta-banner .btn { background: var(--accent); color: var(--white); padding: 0.95rem 2.5rem; font-size: 1.05rem; position: relative; box-shadow: 0 4px 12px rgba(var(--cta-rgb),0.25); border-radius: 12px; }
.cta-banner .btn:hover { background: var(--accent-dark); transform: translateY(-3px); }
.cta-banner-buttons { display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; position: relative; }
@media (max-width: 520px) { .cta-banner-buttons { flex-direction: column; width: 100%; max-width: 360px; }
  .cta-banner-buttons .btn { width: 100%; justify-content: center; } }

/* ── FOOTER ── */
footer { background: var(--brand-900); color: rgba(255,255,255,0.75); padding: 4rem 1.5rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo .logo-icon { filter: brightness(0) invert(1); }
.footer-brand .logo .name { color: var(--white); }
.footer-brand .logo .tagline { color: rgba(255,255,255,0.55); }
.footer-brand > p { font-size: 0.85rem; line-height: 1.8; margin-top: 1rem; }
footer h4 { color: var(--white); font-size: 0.8rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.45rem; }
footer ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.85rem; transition: color 0.2s, transform 0.2s; display: inline-block; }
footer ul a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.8rem; }
.social-links { display: flex; gap: 0.6rem; }
.social-links a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); text-decoration: none; transition: background 0.3s, color 0.3s, transform 0.3s; }
.social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ── WHATSAPP ── */
.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000; display: flex; align-items: center; gap: 0; }
.whatsapp-float .wa-tooltip { background: var(--white); color: var(--dark); padding: 0.5rem 1rem; border-radius: 10px; font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow-lg); white-space: nowrap; opacity: 0; transform: translateX(10px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; margin-right: 0.75rem; }
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-float .wa-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp-500); color: var(--white); display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.35); transition: transform 0.3s, box-shadow 0.3s; border: none; cursor: pointer; position: relative; }
.whatsapp-float .wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float .wa-btn svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.whatsapp-float .wa-btn::before { content: ''; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp-500); animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.8); opacity: 0; } }

/* ── BACK TO TOP ── */
.back-to-top { position: fixed; bottom: 5.5rem; right: 1.75rem; z-index: 999; width: 42px; height: 42px; border-radius: 12px; background: var(--white); color: var(--primary); border: 1px solid var(--border); cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s, color 0.3s; }
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--accent); }

/* ── STICKY MOBILE BAR ── */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 0.6rem 1rem; box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
}
.mobile-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; max-width: 500px; margin: 0 auto; }
.mobile-cta .mcta-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem; min-height: 48px; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}
.mobile-cta .mcta-btn:active { transform: scale(0.98); }
.mobile-cta .mcta-btn svg { width: 18px; height: 18px; }
.mobile-cta .mcta-call  { background: var(--brand-700); color: var(--white); }
.mobile-cta .mcta-quote { background: var(--cta-600);  color: var(--white); }

/* ── MODAL (native <dialog>) ── */
dialog.modal {
  border: none; padding: 0; border-radius: 24px;
  max-width: 400px; width: 90%;
  background: var(--white); color: var(--dark);
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
}
dialog.modal::backdrop { background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: modalIn 0.35s ease; }
.modal-inner { padding: 2.5rem; text-align: center; }
.modal-inner .check-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--success-50); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.modal-inner .check-circle svg { width: 32px; height: 32px; color: var(--success-600); }
.modal-inner h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.modal-inner p  { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 1.25rem; }
.modal-inner button { background: var(--primary); color: var(--white); border: none; padding: 0.7rem 2rem; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 0.95rem; transition: background 0.3s; }
.modal-inner button:hover { background: var(--primary-dark); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ── SERVICE PAGES (breadcrumb, service hero, detail) ── */
.breadcrumb {
  padding: 1rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--ink-100);
  margin-top: 70px; /* offset for fixed navbar */
}
.breadcrumb ol {
  display: flex; align-items: center; gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem; color: var(--ink-500);
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "›";
  margin: 0 0.5rem 0 0;
  color: var(--ink-300);
}
.breadcrumb a { color: var(--brand-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-700); font-weight: 600; }

.service-hero {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.service-hero::before {
  content: ''; position: absolute; top: -200px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--cta-rgb),0.12), transparent 70%);
}
.service-hero > .container { position: relative; z-index: 1; }
.service-hero .section-label {
  background: rgba(212,162,76,0.18); color: var(--gold-500);
}
.service-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  color: var(--white); margin: 0.75rem 0 1rem; line-height: 1.15;
  letter-spacing: -0.02em;
}
.service-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px; margin: 0 auto 2rem; line-height: 1.6;
}
.service-hero .hero-buttons { justify-content: center; }

.service-detail { padding: var(--section-y) 1.5rem; background: var(--white); }
.service-detail-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.service-description {
  font-size: 1.05rem; line-height: 1.8; color: var(--ink-700);
  margin-bottom: 2rem;
}
.service-detail h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--ink-900); margin-bottom: 1.5rem; font-weight: 800;
}
.service-detail .sc-features { margin-bottom: 1.5rem; }
.service-detail-image .sc-image {
  border-radius: var(--r-lg); overflow: hidden;
  position: sticky; top: calc(80px + 2rem);
  min-height: 360px;
  background:
    radial-gradient(circle at 30% 30%, rgba(212,162,76,0.14), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(var(--cta-rgb),0.14), transparent 55%),
    linear-gradient(135deg, var(--brand-800), var(--brand-600));
}
.service-detail-image .sc-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  min-width: 240px;
  z-index: 1001;
  list-style: none;
  margin-top: 0.5rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--brand-100); color: var(--brand-700); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in       { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }
.counter { display: inline-block; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; padding-top: 2rem; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .hero-image-wrapper img { height: 400px; }
  .service-showcase { grid-template-columns: 1fr; }
  .service-showcase:nth-child(even) .sc-image { order: 0; }
  .service-showcase:nth-child(even) .sc-content { order: 0; }
  .sc-image { min-height: 250px; }
  .prof-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .quote-grid { grid-template-columns: 1fr; }
  /* Phase 8 B1 — form card above contact sidebar on tablet/mobile */
  .quote-form-card { order: -1; }
  .quote-info { order: 1; }
  .trust-bar-inner { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .testimonials-track .testimonial-card { min-width: calc(50% - 0.63rem); }
  .area-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem; box-shadow: var(--shadow-lg); gap: 0.5rem; border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--dark); padding: 0.5rem 0; }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }

  /* ── Phase 9.2 — Compact mobile navbar ── */
  .nav-inner { padding: 0.55rem 1rem; gap: 0.6rem; }
  .logo-icon { width: 34px; height: 34px; }
  .logo-text .name { font-size: 0.95rem; }
  .logo-text .tagline { display: none; }
  .nav-cta-mobile {
    display: inline-block;
    background: var(--cta-600);
    color: var(--white);
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s, transform 0.2s;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .nav-cta-mobile:hover { background: var(--cta-700); }
  .nav-cta-mobile:active { transform: scale(0.97); }
  /* Hide the duplicate inside the hamburger menu */
  .nav-links .nav-cta { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding: 2rem 1.25rem 3rem; gap: 1.5rem; }
  .hero-image-wrapper img { height: 300px; }
  .hero-float-badge { padding: 0.5rem 0.75rem; }
  .hero-float-badge .hfb-icon { width: 32px; height: 32px; }
  .hero-deco, .hero-deco-2 { display: none; }
  section { padding: 3.5rem 1.25rem; }
  .sc-content { padding: 1.5rem; }
  .sc-image { min-height: 220px; }
  .why-us-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .why-card { padding: 1.5rem 1rem; }
  .trust-bar { position: relative; }
  .trust-bar::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40px;
    background: linear-gradient(to right, transparent, var(--ink-900));
    pointer-events: none; z-index: 2;
  }
  .trust-bar-inner {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 1rem; padding: 0 1rem;
    scrollbar-width: none; justify-content: flex-start;
  }
  .trust-bar-inner::-webkit-scrollbar { display: none; }
  .trust-item {
    scroll-snap-align: start; min-width: 160px; flex-shrink: 0;
  }
  .trust-item h4 { font-size: 1.25rem; }
  .testimonials-track .testimonial-card { min-width: 100%; }
  .mid-cta-inner { flex-direction: column; gap: 1rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }
  /* Phase 7.5 Fix 1 — clear the sticky CTA bar under the submit button */
  .quote-section { padding-bottom: 6rem; }
  /* Phase 7.5 Fix 5 — tighter form-card padding on phones */
  .quote-form-card { padding: 1.25rem; }
  /* Phase 8 B1 — compact sidebar below the form on phones */
  .quote-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
  .quote-info > p { margin-bottom: 1rem; font-size: 0.9rem; }
  .contact-item { padding: 0.5rem; margin-bottom: 0.5rem; }
  .whatsapp-float { bottom: 5rem; }
  .back-to-top { bottom: 8.5rem; }
  .hero-buttons { flex-direction: column; width: 100%; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; min-height: 48px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-image { order: -1; }
  .service-detail-image .sc-image { position: static; min-height: 240px; }
  .nav-dropdown-menu {
    position: static; transform: none; box-shadow: none;
    display: none; padding-left: 1rem; background: transparent; min-width: 0;
    margin-top: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { color: var(--dark); padding: 0.5rem 0.5rem; }
}
@media (max-width: 380px) {
  .hero-text h1 { font-size: 1.8rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stat h3 { font-size: 1.5rem; }
  /* Phase 7.5 Fix 5 — extra-tight form-card padding on iPhone SE and smaller */
  .quote-form-card { padding: 1rem 0.85rem; }
}

/* ── UTILITY CLASSES (replace inline style="..." in templates) ── */
.u-mt-5       { margin-top: var(--sp-5); }
.u-mt-6       { margin-top: var(--sp-6); }
.u-justify-center { justify-content: center; }
.wiz-tile--full   { grid-column: 1 / -1; }

/* 404 error page */
.error-page { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.error-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--brand-700);
  font-weight: 900;
  line-height: 1;
}
.error-page h2 {
  margin: var(--sp-4) 0 var(--sp-6);
  color: var(--ink-700);
}
.error-page p {
  color: var(--ink-500);
  max-width: 480px;
  margin: 0 auto var(--sp-8);
  line-height: 1.6;
}

/* ── ICON HELPER ── */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
