/* ==========================================================================
   VISIONARY HOMES & INVESTMENTS LLC — Design System
   ========================================================================== */

/* Fonts are loaded via the Google Fonts <link> in each page's <head>;
   'Georgia'/system-sans fallbacks below cover the no-JS/no-network case. */

/* -------------------- Tokens -------------------- */
:root {
  --primary: #FF6600;
  --primary-dark: #D94F00;
  --primary-light: #FF8533;
  --primary-rgb: 255, 102, 0;

  --navy: #101820;
  --navy-light: #1A2530;
  --dark: #111111;
  --charcoal: #252525;

  --white: #FFFFFF;
  --off-white: #F7F7F5;
  --light-gray: #F1F2F3;
  --border: #E4E4E4;

  --text: #222222;
  --muted: #6B7280;
  --muted-on-dark: #A7B0B9;

  --success: #2E7D32;

  --container: 1280px;
  --container-wide: 1440px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-sm: 8px;

  --font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(16, 24, 32, 0.06);
  --shadow-md: 0 8px 30px rgba(16, 24, 32, 0.10);
  --shadow-lg: 0 20px 60px rgba(16, 24, 32, 0.16);
  --shadow-orange: 0 12px 30px rgba(255, 102, 0, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
  --announce-h: 40px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--muted); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* -------------------- Type Scale -------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--primary-light); }

h1, .h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
h2, .h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3, .h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4, .h4 { font-size: 1.15rem; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

.lead { font-size: 1.15rem; color: var(--muted); }

/* -------------------- Sections -------------------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 80px 0; }
.bg-off-white { background: var(--off-white); }
.bg-light { background: var(--light-gray); }
.bg-dark { background: var(--navy); color: var(--muted-on-dark); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: var(--muted-on-dark); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255,102,0,0.36); }

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

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); transform: translateY(-2px); }

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

.btn-sm { padding: 12px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.text-link:hover { border-color: var(--primary); }
.text-link:hover svg { transform: translateX(4px); }
.text-link.on-dark { color: var(--primary-light); }

/* -------------------- Announcement Bar -------------------- */
.announce-bar {
  background: var(--navy);
  color: var(--muted-on-dark);
  font-size: 0.82rem;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 210;
}
.announce-bar .container { display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%; }
.announce-track { position: relative; height: 18px; flex: 1; max-width: 560px; text-align: center; overflow: hidden; }
.announce-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.announce-item.active { opacity: 1; transform: translateY(0); }
.announce-cta {
  color: var(--primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.announce-cta:hover { color: var(--white); }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  background: transparent;
}
.site-header.is-solid {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 76px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; flex-shrink: 0; }
.brand-logo {
  height: 64px; width: auto; display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45));
  transition: height 0.4s var(--ease), filter 0.4s var(--ease);
}
.is-solid .brand-logo { height: 56px; filter: none; }
.footer-brand .brand-logo { height: 70px; }

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  padding: 9px 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  white-space: nowrap;
}
.is-solid .main-nav a { color: var(--text); }
.main-nav a:hover { background: rgba(255,255,255,0.12); }
.is-solid .main-nav a:hover { background: var(--off-white); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.is-solid .main-nav a.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-call {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--white);
  transition: color 0.4s var(--ease);
}
.is-solid .header-call { color: var(--navy); }
.header-call svg { width: 17px; height: 17px; color: var(--primary-light); }
.is-solid .header-call svg { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: none; background: transparent;
  border-radius: 10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease); }
.is-solid .nav-toggle span { background: var(--navy); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero .hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); animation: heroSlowZoom 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroSlowZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(10,15,22,0.8) 0%, rgba(12,18,26,0.45) 38%, rgba(9,13,19,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 130px 0 90px; max-width: 760px; }
.hero-content h1 {
  color: var(--white); margin-bottom: 28px; font-weight: 800;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem); letter-spacing: -0.015em;
}
.hero-content .lead { color: rgba(255,255,255,0.88); font-size: 1.3rem; max-width: 580px; margin-bottom: 40px; line-height: 1.55; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.hero-note svg { width: 16px; height: 16px; color: var(--primary-light); }

/* Floating stat card — the hero's signature "cinematic" accent */
.hero-stat-card {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 6vw, 100px);
  bottom: clamp(128px, 15vh, 178px);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  animation: heroCardFloat 5s ease-in-out infinite;
}
@keyframes heroCardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-stat-icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: rgba(var(--primary-rgb), 0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.hero-stat-icon svg { width: 22px; height: 22px; }
.hero-stat-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.hero-stat-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--navy); }
.hero-stat-label { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* Blueprint corner-bracket signature — registration marks referencing architectural
   survey drawings; appear on the hero frame and key property imagery site-wide. */
.corner-frame { position: relative; }
.corner-frame > .cf-tl, .corner-frame > .cf-tr, .corner-frame > .cf-bl, .corner-frame > .cf-br {
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--primary);
  opacity: 0.9;
  z-index: 3;
  pointer-events: none;
  transition: width 0.4s var(--ease), height 0.4s var(--ease);
}
.corner-frame > .cf-tl { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.corner-frame > .cf-tr { top: 18px; right: 18px; border-left: none; border-bottom: none; }
.corner-frame > .cf-bl { bottom: 18px; left: 18px; border-right: none; border-top: none; }
.corner-frame > .cf-br { bottom: 18px; right: 18px; border-left: none; border-top: none; }
.corner-frame:hover > .cf-tl, .corner-frame:hover > .cf-tr,
.corner-frame:hover > .cf-bl, .corner-frame:hover > .cf-br { width: 36px; height: 36px; }

/* -------------------- Trust Strip -------------------- */
.trust-strip { background: var(--white); position: relative; z-index: 3; margin-top: -1px; }
.trust-strip .container-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateY(-58px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.trust-item { padding: 30px 20px; text-align: center; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--primary); display: block; margin-bottom: 4px; }
.trust-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* -------------------- Intro / Split -------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; height: 560px; object-fit: cover; box-shadow: var(--shadow-md); }
.split-media-accent {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--primary); color: var(--white);
  padding: 26px 30px; border-radius: var(--radius);
  box-shadow: var(--shadow-orange);
  max-width: 220px;
}
.split-media-accent .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; display: block; margin-bottom: 6px; }
.split-media-accent .lbl { font-size: 0.82rem; font-weight: 500; opacity: 0.95; }

.feature-points { margin: 30px 0 34px; display: flex; flex-direction: column; gap: 22px; }
.feature-point { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-text h4 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-text p { margin: 0; font-size: 0.95rem; }

/* -------------------- Service Cards -------------------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-media { position: relative; height: 240px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-media::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary);
  transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease);
  z-index: 2;
}
.service-card:hover .service-media::before { transform: scaleY(1); }
.service-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(16,24,32,0.72); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(4px);
}
.service-body { padding: 30px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { margin-bottom: 10px; }
.service-points { margin: 18px 0 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-points li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text); }
.service-points svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* -------------------- Why Choose Us -------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; margin-top: 56px; }
.why-card { background: var(--navy); padding: 40px 30px; transition: background 0.4s var(--ease); }
.why-card:hover { background: var(--navy-light); }
.why-num { font-family: var(--font-display); color: var(--primary); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em; display: block; margin-bottom: 22px; }
.why-line { width: 34px; height: 2px; background: var(--primary); margin-bottom: 20px; }
.why-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.92rem; margin: 0; }

/* -------------------- Stats -------------------- */
.stats-band { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 56px 20px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--navy); display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.stat-value .suffix { color: var(--primary); }
.stat-label { color: var(--muted); font-size: 0.92rem; margin-top: 8px; font-weight: 500; }

/* -------------------- Projects / Portfolio -------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.filter-btn {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--white); font-size: 0.88rem; font-weight: 600; color: var(--muted);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.project-card.hidden-item { display: none; }
.project-media { position: relative; height: 320px; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,24,32,0) 30%, rgba(16,24,32,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  color: var(--white);
}
.project-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-light); margin-bottom: 8px; }
.project-overlay h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.project-loc { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.project-loc svg { width: 14px; height: 14px; }
.project-view {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--white);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.project-card:hover .project-view { opacity: 1; transform: translateY(0); }

/* -------------------- Before / After Slider -------------------- */
.ba-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { z-index: 1; }
.ba-after-wrap { position: absolute; inset: 0; z-index: 2; overflow: hidden; width: 50%; }
.ba-after-wrap img { width: var(--ba-img-w, 900px); max-width: none; height: 100%; }
.ba-label { position: absolute; top: 20px; z-index: 3; background: rgba(16,24,32,0.75); color: var(--white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }
.ba-label.before { left: 20px; }
.ba-label.after { right: 20px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 0;
  z-index: 4; transform: translateX(-50%);
}
.ba-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--white); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.ba-grip {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 4px;
  box-shadow: var(--shadow-md); color: var(--navy);
}
.ba-grip svg { width: 16px; height: 16px; }

/* -------------------- Fix & Flip Timeline -------------------- */
.ff-timeline { position: relative; margin-top: 60px; }
.ff-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.ff-steps::before {
  content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px);
}
.ff-step { text-align: center; position: relative; }
.ff-dot {
  width: 54px; height: 54px; border-radius: 50%; background: var(--white); border: 2px solid var(--primary);
  color: var(--primary); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative; z-index: 2;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.ff-step:hover .ff-dot { background: var(--primary); color: var(--white); }
.ff-step h4 { font-size: 0.98rem; margin-bottom: 6px; }
.ff-step p { font-size: 0.85rem; margin: 0; }

/* -------------------- Process -------------------- */
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin-top: 56px; position: relative; }
.process-item { position: relative; padding-top: 34px; }
.process-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--border);
}
.process-item::after {
  content: ''; position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--primary);
}
.process-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--border); display: block; margin-bottom: 10px; transition: color 0.4s var(--ease); }
.process-item:hover .process-num { color: var(--primary); }
.process-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-item p { font-size: 0.92rem; margin: 0; }

/* -------------------- Local / Map -------------------- */
.local-section { position: relative; background: var(--navy); overflow: hidden; }
.local-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; align-items: center; }
.local-copy { padding: 100px 0; position: relative; z-index: 2; }
.local-map { position: relative; height: 100%; min-height: 480px; }
.local-map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.local-map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(16,24,32,0) 24%); }
.local-pin {
  position: absolute; top: 44%; left: 46%; width: 18px; height: 18px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 8px rgba(255,102,0,0.25);
}
.local-pin::after { content: ''; position: absolute; inset: -14px; border: 1px solid rgba(255,102,0,0.5); border-radius: 50%; animation: pulse-ring 2.4s var(--ease) infinite; }
@keyframes pulse-ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

/* -------------------- Testimonials -------------------- */
.testimonial-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 44px; display: flex; gap: 34px; align-items: center; box-shadow: var(--shadow-sm);
}
.testimonial-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-quote { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); line-height: 1.5; margin-bottom: 16px; }
.testimonial-name { font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 0.88rem; color: var(--muted); }
.testimonial-empty {
  text-align: center; padding: 70px 40px; border: 1px dashed var(--border); border-radius: var(--radius-lg); background: var(--off-white);
}
.testimonial-empty svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 16px; }

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy);
}
.faq-q-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.faq-q-icon svg { width: 15px; height: 15px; color: var(--navy); transition: transform 0.3s var(--ease); }
.faq-item[data-open="true"] .faq-q-icon { background: var(--primary); border-color: var(--primary); transform: rotate(180deg); }
.faq-item[data-open="true"] .faq-q-icon svg { color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 0 26px; max-width: 760px; }
.faq-a-inner p { margin: 0; }

/* -------------------- CTA Band -------------------- */
.cta-band {
  position: relative; background: var(--navy); color: var(--white); overflow: hidden;
  border-radius: var(--radius-lg);
}
.cta-band-media { position: absolute; inset: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(16,24,32,0.96) 20%, rgba(255,102,0,0.28) 130%); }
.cta-band-inner { position: relative; z-index: 2; padding: 90px 60px; text-align: center; }
.cta-band h2 { color: var(--white); max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 560px; margin: 0 auto 36px; color: rgba(255,255,255,0.82); font-size: 1.08rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); }
.footer-top { padding: 90px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; max-width: 320px; }
.footer-col h5 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.6); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--primary-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.footer-contact svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 26px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.84rem; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--white); }

/* -------------------- Forms -------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.form-group label .req { color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,102,0,0.12); outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { font-size: 0.8rem; color: #C0392B; min-height: 16px; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #C0392B; }
.form-success {
  text-align: center; padding: 60px 30px; display: none;
}
.form-success.is-visible { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--success); margin-bottom: 20px; }
.form-success h3 { margin-bottom: 10px; }

/* -------------------- Toast -------------------- */
.toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--navy); color: var(--white); padding: 15px 24px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(16px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 17px; height: 17px; color: var(--primary-light); }

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 190;
  width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; border: none;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); }
.back-to-top svg { width: 18px; height: 18px; }

/* -------------------- Mobile sticky CTA -------------------- */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 195;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-cta-bar a { flex: 1; text-align: center; padding: 13px 10px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mobile-cta-bar a svg { width: 16px; height: 16px; }
.mobile-cta-bar .call { background: var(--off-white); color: var(--navy); }
.mobile-cta-bar .quote { background: var(--primary); color: var(--white); }

/* -------------------- Breadcrumb / Page Hero -------------------- */
.page-hero {
  position: relative; min-height: 52vh; display: flex; align-items: flex-end; color: var(--white);
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,0.55) 0%, rgba(16,24,32,0.88) 100%); }
.page-hero-inner { position: relative; z-index: 2; padding-bottom: 64px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0; }

/* -------------------- Reveal Animations -------------------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* -------------------- Utilities -------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.tag-pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(var(--primary-rgb),0.1);
  color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.divider { height: 1px; background: var(--border); border: none; margin: 0; }

/* Content page blocks (about/blog/legal) */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p { font-size: 1.02rem; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose ul li { margin-bottom: 8px; color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); background: var(--white); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-media { height: 210px; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-body { padding: 26px 28px 30px; }
.blog-meta { font-size: 0.78rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.blog-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-body p { font-size: 0.92rem; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1100px) {
  .hero-stat-card { display: none; }
  .services-grid, .grid-2, .split { grid-template-columns: 1fr; }
  .split { gap: 44px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .grid-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .ff-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .ff-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .local-grid { grid-template-columns: 1fr; }
  .local-map { min-height: 340px; }
}

@media (max-width: 1240px) {
  .main-nav, .header-call { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .trust-strip .container-wide { grid-template-columns: repeat(2, 1fr); transform: translateY(-30px); }
  .trust-item { border-bottom: 1px solid var(--border); }
  .testimonial-card { flex-direction: column; text-align: center; }
  .mobile-cta-bar { display: flex; }
  .header-cta { display: none; }
  body { padding-bottom: 76px; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .section-sm { padding: 50px 0; }
  .why-grid, .projects-grid, .grid-3, .blog-grid, .stats-grid, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .process-list, .ff-steps { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 100px 0 60px; }
  .hero { min-height: 100vh; }
  .stat-item, .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .split-media img { height: 380px; }
  .split-media-accent { left: 12px; bottom: -22px; padding: 18px 20px; }
  .cta-band-inner { padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .ba-slider { height: 380px; }
}

/* Mobile nav drawer */
@media (max-width: 1240px) {
  .main-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 84vw);
    background: var(--white); padding: 110px 26px 40px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    z-index: 199; overflow-y: auto;
  }
  .main-nav.is-open { display: flex; transform: translateX(0); }
  .main-nav a { color: var(--text); font-size: 1rem; padding: 14px 10px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(16,24,32,0.5); z-index: 198; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease); }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
  .main-nav .header-call-mobile { display: flex; margin-top: 14px; color: var(--primary); font-weight: 700; align-items: center; gap: 8px; padding: 14px 10px; }
}
@media (min-width: 1241px) { .header-call-mobile, .nav-overlay { display: none; } }
