/* ============================================================
   ONTARIO BUILDERS — Master Stylesheet
   Navy & Gold Premium Contractor Theme
   ============================================================ */

/* --- CSS Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* --- Design Tokens --- */
:root {
  --navbar-height: 80px;
  --primary: #1B3A5C;
  --primary-dark: #112438;
  --primary-rgb: 27, 58, 92;
  --secondary: #C9A96E;
  --accent: #C9A96E;
  --accent-rgb: 201, 169, 110;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #ffffff;
  --bg-alt: #f4f1eb;
  --bg-dark: #0F2236;
  --white: #ffffff;
  --max-width: 1200px;
  --section-pad: 80px 20px;
  --section-pad-mobile: 50px 20px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.16);
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  font-kerning: auto;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--navbar-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-rendering: optimizeLegibility;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Eyebrow Label --- */
.eyebrow-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: 'Open Sans', sans-serif;
}

/* --- Section Title --- */
.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 640px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(var(--primary-rgb), 0.95);
  transition: background 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(var(--primary-rgb), 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  height: calc(var(--navbar-height) - 10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-brand img {
  height: 50px;
  width: auto;
}

.navbar.scrolled .nav-brand img {
  height: 42px;
}

.nav-brand-text {
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
}

.nav-brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-phone i { width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--primary-dark);
  padding: calc(var(--navbar-height) + 20px) 30px 30px;
  transition: right 0.35s ease;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.05rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  padding-left: 8px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background-size: 110%;
  background-position: center;
  background-repeat: no-repeat;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { background-size: 110%; background-position: center top; }
  to { background-size: 120%; background-position: center bottom; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,28,47,0.68) 0%, rgba(15,34,54,0.75) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
}

.hero .gradient-text {
  background: linear-gradient(135deg, var(--white), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 {
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.7s ease forwards;
  animation-delay: 0ms;
}

.hero .hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 1.5rem;
  opacity: 0.9;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.7s ease forwards;
  animation-delay: 150ms;
  line-height: 1.6;
}

.hero .hero-phone {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.7s ease forwards;
  animation-delay: 200ms;
}

.hero .hero-cta-wrap {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.7s ease forwards;
  animation-delay: 300ms;
  margin-bottom: 2rem;
}

.hero .hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: heroFadeIn 0.7s ease forwards;
  animation-delay: 450ms;
}

.hero .hero-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero .hero-badges .badge-star {
  color: var(--accent);
}

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

@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* Split Hero (Service Pages) */
.hero-split {
  min-height: 60vh;
  display: flex;
  align-items: stretch;
}

.hero-split-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 60px 0;
  position: relative;
  z-index: 3;
}

.hero-split-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service Page Hero */
.hero-service {
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.92) 0%, rgba(17,36,56,0.85) 100%);
  z-index: 1;
}

.hero-service .hero-content {
  text-align: left;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ============================================================
   TICKER STRIP
   ============================================================ */
.ticker-strip {
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}

.ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker-track > div {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.ticker-item {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0 16px;
}

.ticker-star {
  color: var(--accent);
  font-size: 0.7rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   REVIEW PLATFORM BADGES
   ============================================================ */
.review-badges {
  background: var(--bg);
  padding: 28px 20px;
}

.review-badges-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.review-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.review-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.review-badge:hover .review-badge-ext {
  opacity: 1;
}

.review-badge-ext {
  width: 14px;
  height: 14px;
  color: var(--text-light);
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.review-badge-logo {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-badge-google {
  color: #4285F4;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
}

.review-badge-yelp {
  color: #D32323;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.review-badge-bbb {
  color: #003F87;
}

.review-badge-bbb i {
  width: 24px;
  height: 24px;
}

.review-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-badge-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.review-badge-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1;
}

.review-badge-rating i {
  width: 13px;
  height: 13px;
  color: var(--accent);
  fill: var(--accent);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section .container {
  position: relative;
  z-index: 2;
}

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

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

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark .eyebrow-label { color: var(--accent); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.75); }
.section-dark .gradient-text {
  background: linear-gradient(135deg, var(--white), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-darker {
  background: var(--bg-dark);
  color: var(--white);
}

/* Numbered Sections */
.main-sections { counter-reset: section; }

.numbered-section {
  counter-increment: section;
  position: relative;
}

.numbered-section::before {
  content: "0" counter(section);
  font-size: 8rem;
  font-weight: 900;
  opacity: 0.04;
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
  color: var(--primary);
  pointer-events: none;
  z-index: 0;
  font-family: 'Rajdhani', sans-serif;
}

.section-dark .numbered-section::before,
.section-darker .numbered-section::before {
  color: var(--white);
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.divider-diagonal {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.divider-diagonal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
}

.divider-diagonal svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
}

.divider-wave {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.divider-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
}

.divider-diagonal-up {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.divider-diagonal-up svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

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

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid-asym {
  grid-template-columns: 2fr 1fr 1fr;
}

.card-grid-asym .card:first-child {
  grid-row: 1 / 3;
  align-self: stretch;
}

.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  height: auto;
}

.card:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card:hover h3 {
  color: #ffffff;
}

.card:hover .card-icon {
  color: var(--accent);
  transform: scale(1.15) rotate(-5deg);
}

.card:hover p {
  color: rgba(255,255,255,0.85);
}

.card:hover .card-link {
  color: var(--accent);
}

.card:hover a {
  color: var(--accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 16px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: color 0.25s ease, gap 0.25s ease;
}

.card-link:hover { gap: 8px; }

/* Section-alt cards */
.section-alt .card { background: var(--bg); }
.section-dark .card { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
.section-dark .card .card-icon { color: var(--accent); }
.section-dark .card p { color: rgba(255,255,255,0.7); }
.section-dark .card:hover { background: rgba(255,255,255,0.15); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 0 var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--primary-dark);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0,0,0,0.2);
}

.btn-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
}

.stat-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin: 0 auto 12px;
}

.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.section-dark .stat-number { color: var(--accent); }
.section-dark .stat-label { color: rgba(255,255,255,0.8); }

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.process-step {
  position: relative;
  padding: 24px 16px;
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.process-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin: 0 auto 12px;
  transition: transform var(--transition);
}

.process-step:hover .process-icon {
  transform: translateY(-4px);
}

.section-dark .process-icon { color: var(--accent); }

.process-step h3 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.section-dark .process-step p { color: rgba(255,255,255,0.7); }

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-media {
  position: relative;
  min-height: 400px;
}

.split-media .tinted-photo-wrapper {
  height: 100%;
}

.split-content h2 { margin-bottom: 1rem; }

/* Image Reveal */
.img-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.77,0,0.18,1);
}

.img-reveal.in-view {
  clip-path: inset(0 0% 0 0);
}

/* Duotone Navy Tint */
.tinted-photo-wrapper {
  position: relative;
  background: var(--primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tinted-photo-wrapper img {
  mix-blend-mode: luminosity;
  opacity: 0.7;
  filter: grayscale(30%) sepia(10%);
}

.tinted-photo-wrapper img.tinted-photo {
  filter: grayscale(30%) sepia(20%);
  mix-blend-mode: multiply;
  opacity: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner .cta-phone {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.section-dark .faq-item { border-bottom-color: rgba(255,255,255,0.15); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
}

.section-dark .faq-question { color: var(--white); }

.faq-question i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section-dark .faq-answer p { color: rgba(255,255,255,0.75); }

/* ============================================================
   TESTIMONIALS / REVIEWS
   ============================================================ */
.testimonial-card {
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  height: auto;
  min-width: 0;
}

.stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer-name {
  font-weight: 700;
  color: var(--primary);
}

.review-source {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================================================
   GALLERY / SWIPER
   ============================================================ */
.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.swiper-pagination-bullet {
  background: var(--primary);
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

/* ============================================================
   BEFORE/AFTER SLIDER
   ============================================================ */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: ew-resize;
  aspect-ratio: 16/10;
}

.ba-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider .ba-after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0s;
}

.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 3;
  cursor: ew-resize;
}

.ba-slider .ba-handle::after {
  content: '⟨⟩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ============================================================
   VALUES / ICON GRID
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.value-item {
  padding: 24px 16px;
}

.value-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin: 0 auto 12px;
  transition: transform var(--transition);
}

.value-item:hover .value-icon {
  transform: translateY(-4px);
}

.value-item h3 {
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 16px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb-list a {
  color: var(--accent);
  transition: color var(--transition);
}

.breadcrumb-list a:hover { color: var(--primary); }

.breadcrumb-sep { color: var(--text-light); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0ddd6;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ============================================================
   ENTITY BLOCK
   ============================================================ */
.entity-block {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 60px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item i {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.footer-social a i { width: 18px; height: 18px; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-credit a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-credit a:hover { color: var(--accent); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 900;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.back-to-top i { width: 20px; height: 20px; }

/* ============================================================
   FLOATING MOBILE CTA
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  z-index: 950;
  padding: 10px 16px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}

.mobile-cta-inner {
  display: flex;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-cta .cta-call {
  background: var(--accent);
  color: var(--primary-dark);
}

.mobile-cta .cta-estimate {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent);
}

.mobile-cta a i { width: 18px; height: 18px; }

/* ============================================================
   GOOGLE MAP
   ============================================================ */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ============================================================
   TRUST BADGES SECTION
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  padding: 20px 16px;
}

.trust-item i {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 12px;
}

.trust-item h3 { margin-bottom: 4px; }

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================================
   LAST UPDATED BADGE
   ============================================================ */
.last-updated {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 16px;
}

/* ============================================================
   404 & THANK YOU
   ============================================================ */
.error-page,
.thankyou-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-pad);
}

.error-page h1 { margin-bottom: 1rem; }
.error-page p { margin-bottom: 2rem; color: var(--text-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1023px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-asym { grid-template-columns: repeat(2, 1fr); }
  .card-grid-asym .card:first-child { grid-row: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-pad: var(--section-pad-mobile);
  }

  body {
    padding-bottom: 64px;
  }

  .hero { min-height: 70vh; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .hero .hero-badges {
    gap: 8px 16px;
    font-size: 0.75rem;
  }

  .card-grid-3,
  .card-grid-4,
  .card-grid-asym {
    grid-template-columns: 1fr;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .values-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .mobile-cta { display: block; }

  .back-to-top { bottom: 80px; }

  .hero-split { flex-direction: column; }
  .hero-split-content { padding: 40px 20px; }

  .numbered-section::before { font-size: 5rem; }

  .gallery-swiper .swiper-slide img { height: 260px; }

  .map-container iframe { height: 300px; }

  .split-media { min-height: auto; }
  .split-media .tinted-photo { aspect-ratio: 4/3; }

  .review-badges-inner { flex-direction: column; gap: 12px; }
  .review-badge { width: 100%; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero { animation: none; background-size: cover; }
  .ticker-track { animation: none; }
  .img-reveal { clip-path: none; }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print */
@media print {
  .navbar, .mobile-cta, .back-to-top, .ticker-strip { display: none; }
  body { padding-top: 0; }
  .hero { min-height: auto; padding: 40px 20px; }
}
