/* ==========================================================================
   VITE LLC — Premium Residential Construction & Remodeling Design System
   Brand Palette: Navy #071D35 | Midnight #061426 | Primary Blue #0759C9 |
                  Bright Blue #1689FF | White #FFFFFF | Soft Gray #F3F6FA |
                  Charcoal #192536
   ========================================================================== */

:root {
  --navy: #071D35;
  --midnight: #061426;
  --primary-blue: #0759C9;
  --bright-blue: #1689FF;
  --white: #FFFFFF;
  --soft-gray: #F3F6FA;
  --charcoal: #192536;

  --text-main: #192536;
  --text-muted: #4C5D73;
  --text-on-dark: #E8F0FA;
  --text-on-dark-muted: #A7BDD6;
  --border-light: rgba(7, 29, 53, 0.11);
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 6px 20px rgba(6, 20, 38, 0.06);
  --shadow-md: 0 18px 46px rgba(6, 20, 38, 0.12);
  --shadow-lg: 0 28px 70px rgba(6, 20, 38, 0.22);
  --shadow-blue: 0 14px 36px rgba(7, 89, 201, 0.34);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --header-h: 82px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--primary-blue);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 880px);
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0 0 0.55em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4.35rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.95rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

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

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--bright-blue));
  border-radius: 2px;
}
.section-dark .eyebrow { color: #6EB9FF; }
.section-dark .eyebrow::before { background: linear-gradient(90deg, var(--bright-blue), #8ED0FF); }

.lead {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.65;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.22) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after {
  transform: translateX(120%);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--bright-blue) 100%);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(22, 137, 255, 0.45);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(7, 29, 53, 0.24);
}
.btn-outline-dark:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(7, 89, 201, 0.04);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--soft-gray);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.88rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: rgba(6, 20, 38, 0.56);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(6, 20, 38, 0.94);
  box-shadow: 0 12px 34px rgba(6, 20, 38, 0.28);
  border-bottom-color: rgba(22, 137, 255, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 4px 7px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(6, 20, 38, 0.32);
  flex-shrink: 0;
}
.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  color: var(--white);
}
.brand-logo-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8FD0FF;
  margin-top: 3px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.91rem;
  font-weight: 600;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  width: 560px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(7, 29, 53, 0.98);
  border: 1px solid rgba(22, 137, 255, 0.26);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out), visibility 0.24s;
  z-index: 1001;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown a span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-on-dark-muted);
  margin-top: 2px;
}
.nav-dropdown a:hover {
  background: rgba(22, 137, 255, 0.16);
  color: #8FD0FF;
}
.nav-dropdown .dropdown-footer {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 20, 38, 0.98);
  backdrop-filter: blur(20px);
  padding: 96px 24px 36px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-drawer a {
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-drawer .mobile-sublinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 0 16px;
}
.mobile-drawer .mobile-sublinks a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: none;
  color: #CFE2F8;
}
.mobile-drawer-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ==========================================================================
   EFFECT A: CINEMATIC CONSTRUCTION-IN-MOTION HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 88px;
  background: var(--midnight);
  color: var(--white);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 9s ease-out;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 26%, rgba(22, 137, 255, 0.24), transparent 52%),
    linear-gradient(100deg, rgba(6, 20, 38, 0.91) 0%, rgba(7, 29, 53, 0.74) 48%, rgba(6, 20, 38, 0.45) 100%),
    linear-gradient(180deg, rgba(6, 20, 38, 0.55) 0%, transparent 26%, rgba(6, 20, 38, 0.85) 100%);
}

/* Ambient light-beam / sawdust-mote canvas */
.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: end;
}

.hero-copy h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 12px 34px rgba(6, 20, 38, 0.45);
}

.hero-copy .lead {
  color: #DCE9F8;
  max-width: 590px;
  margin-bottom: 32px;
  font-size: clamp(1.1rem, 1.65vw, 1.32rem);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #D5E5F7;
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--bright-blue);
  flex-shrink: 0;
}

/* Hero Scene Switcher Card */
.hero-reel-panel {
  background: rgba(7, 29, 53, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.hero-reel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8BC7FF;
}
.reel-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.reel-live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright-blue);
  box-shadow: 0 0 12px var(--bright-blue);
  animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-reel-caption {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  min-height: 46px;
}

.hero-reel-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hero-reel-tab {
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #C7D9EE;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.hero-reel-tab:hover {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
}
.hero-reel-tab.active {
  background: rgba(22, 137, 255, 0.24);
  border-color: rgba(22, 137, 255, 0.75);
  color: var(--white);
}

/* ==========================================================================
   SUB-PAGE CINEMATIC PAGE HERO
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: var(--midnight);
  color: var(--white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  opacity: 0.36;
  transform: scale(1.04);
  transition: transform 0.6s ease-out;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(22, 137, 255, 0.22), transparent 50%),
    linear-gradient(120deg, rgba(6, 20, 38, 0.94) 15%, rgba(7, 29, 53, 0.76) 100%);
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #9BB6D4;
  margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--white); }

.page-hero h1 {
  color: var(--white);
  max-width: 820px;
}
.page-hero .lead {
  color: #D2E3F6;
  max-width: 700px;
}

/* ==========================================================================
   SECTIONS & LAYOUT RHYTHM
   ========================================================================== */
.section {
  padding: clamp(64px, 8vw, 112px) 0;
  position: relative;
}
.section-soft { background: var(--soft-gray); }
.section-dark {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%);
  color: var(--white);
}

.section-header {
  max-width: 740px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section-header.center {
  margin-inline: auto;
  text-align: center;
}
.section-header.center .eyebrow {
  justify-content: center;
}
.section-header-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4.5vw, 52px);
}
.section-header-split > div { max-width: 680px; }

/* ==========================================================================
   PHOTOGRAPHIC SERVICE CARDS (WITH 3D DEPTH & BLUE ACCENT LIGHT)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
  transform-style: preserve-3d;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 137, 255, 0.4);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out);
}
.service-card:hover .service-card-media img {
  transform: scale(1.07);
}
.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 20, 38, 0.58) 100%);
}
.service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 20, 38, 0.74);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service-card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body h3 {
  margin-bottom: 10px;
}
.service-card-body p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}
.card-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-blue);
  transition: gap 0.25s ease, color 0.25s ease;
}
.service-card:hover .card-link-arrow {
  gap: 12px;
  color: var(--bright-blue);
}

/* ==========================================================================
   EFFECT B: MATERIAL TRANSFORMATIONS & INTERACTIVE BEFORE/AFTER SLIDERS
   ========================================================================== */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.transform-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}
.transform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 137, 255, 0.55);
}

.transform-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  cursor: pointer;
}
.transform-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transform-stage .img-after {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.1s var(--ease-out);
}
.transform-card.revealed .transform-stage .img-after,
.transform-card:hover .transform-stage .img-after {
  clip-path: inset(0 0 0 0%);
}
.transform-card.show-raw .transform-stage .img-after {
  clip-path: inset(0 0 0 100%);
}

.transform-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(6, 20, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.transform-toggle-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 89, 201, 0.82);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.transform-body {
  padding: 22px;
}
.transform-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.transform-body p {
  font-size: 0.92rem;
  margin: 0;
}

/* Interactive Before/After Comparison Slider */
.ba-showcase {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 34px);
}
.ba-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.ba-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #D2E3F6;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.22s ease;
}
.ba-tab.active, .ba-tab:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
  border-color: transparent;
  color: var(--white);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: var(--midnight);
  box-shadow: var(--shadow-lg);
  --pos: 50%;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 20px rgba(22, 137, 255, 0.9);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
  border: 3px solid var(--white);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(6, 20, 38, 0.55);
  pointer-events: none;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.ba-label {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 20, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.ba-label.before { left: 18px; }
.ba-label.after { right: 18px; background: rgba(7, 89, 201, 0.86); }

.conceptual-banner {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   PROJECT GALLERY & LIGHTBOX
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.22s ease;
}
.filter-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.project-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy);
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.project-card:hover .project-card-media img { transform: scale(1.06); }
.project-card-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.icon-pill-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 20, 38, 0.72);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.icon-pill-btn:hover {
  background: var(--primary-blue);
  transform: scale(1.06);
}
.project-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-blue);
  margin-bottom: 8px;
}
.conceptual-tag {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.76rem;
  color: #6B7B90;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 20, 38, 0.94);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 1120px;
  width: 100%;
  text-align: center;
}
.lightbox-inner img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  margin-top: 14px;
  color: #DCE9F8;
  font-size: 0.96rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(7, 29, 53, 0.85);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   WHY CHOOSE & PROCESS TIMELINE
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 137, 255, 0.45);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(7, 89, 201, 0.12), rgba(22, 137, 255, 0.2));
  color: var(--primary-blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.process-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.process-card:hover {
  background: rgba(22, 137, 255, 0.09);
  border-color: rgba(22, 137, 255, 0.5);
  transform: translateY(-4px);
}
.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   INTERACTIVE GREATER SEATTLE SERVICE AREA MAP
   ========================================================================== */
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: stretch;
}
.seattle-map-box {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, #071D35 0%, #0A2747 55%, #061426 100%);
  border: 1px solid rgba(22, 137, 255, 0.28);
  padding: 20px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: var(--shadow-lg);
}
.seattle-map-svg {
  width: 100%;
  height: 100%;
  min-height: 460px;
}
.map-pin {
  cursor: pointer;
  transition: transform 0.25s ease;
}
.map-pin circle.pin-ring {
  fill: rgba(22, 137, 255, 0.22);
  transition: r 0.25s ease, fill 0.25s ease;
}
.map-pin circle.pin-dot {
  fill: #44A8FF;
  stroke: #FFFFFF;
  stroke-width: 1.8;
  transition: fill 0.25s ease, r 0.25s ease;
}
.map-pin text {
  fill: #DCEBFF;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}
.map-pin.active circle.pin-dot,
.map-pin:hover circle.pin-dot {
  fill: #FFFFFF;
  stroke: #1689FF;
  stroke-width: 3;
}
.map-pin.active circle.pin-ring {
  fill: rgba(22, 137, 255, 0.45);
}

.map-info-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.city-chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--soft-gray);
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.city-chip:hover, .city-chip.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}
.selected-city-card {
  margin-top: auto;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--soft-gray);
  border-left: 4px solid var(--primary-blue);
}

/* ==========================================================================
   GOOGLE REVIEWS (HONEST API-READY INTEGRATION — NO FAKE REVIEWS)
   ========================================================================== */
.reviews-shell {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.review-card {
  background: var(--soft-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
}
.reviews-empty-state {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: center;
}
.google-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--soft-gray);
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
  margin-bottom: 14px;
}

/* ==========================================================================
   BLOG CARDS & ARTICLES
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.blog-card:hover .blog-card-media img { transform: scale(1.06); }
.blog-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.open {
  border-color: rgba(22, 137, 255, 0.45);
  box-shadow: var(--shadow-sm);
}
.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--navy);
  cursor: pointer;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft-gray);
  color: var(--primary-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary-blue);
  color: var(--white);
}
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.faq-panel-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

/* ==========================================================================
   FULL-WIDTH CINEMATIC CONTACT CTA
   ========================================================================== */
.cta-band {
  position: relative;
  padding: clamp(78px, 10vw, 128px) 0;
  background: var(--midnight);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-band-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(7, 89, 201, 0.36), rgba(6, 20, 38, 0.92) 72%);
}
.cta-band .container {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 18px;
}
.cta-band p {
  color: #D7E7FA;
  margin-bottom: 32px;
}

/* ==========================================================================
   FORMS & ESTIMATE REQUEST
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 36px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid rgba(7, 29, 53, 0.16);
  background: var(--soft-gray);
  color: var(--navy);
  font-size: 0.96rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(22, 137, 255, 0.14);
}
.form-group textarea { min-height: 132px; resize: vertical; }

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(7, 29, 53, 0.16);
  background: var(--soft-gray);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.radio-pill input { width: auto; margin: 0; }

.file-dropzone {
  padding: 20px;
  border-radius: 14px;
  border: 2px dashed rgba(7, 89, 201, 0.34);
  background: rgba(7, 89, 201, 0.03);
  text-align: center;
}
.file-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.file-preview-chip {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--navy);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.form-status {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 0.94rem;
  display: none;
}
.form-status.visible { display: block; }
.form-status.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}
.form-status.warning {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}
.form-status.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Detail & Prose Layouts */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: start;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
}
.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(7, 89, 201, 0.12);
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.sidebar-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  box-shadow: var(--shadow-md);
}
.sidebar-card h3, .sidebar-card h4 { color: var(--white); }
.sidebar-card p { color: #C5D8EE; }

.article-body {
  font-size: 1.07rem;
  line-height: 1.8;
}
.article-body p {
  margin-bottom: 1.35rem;
  color: var(--charcoal);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--midnight);
  color: var(--text-on-dark-muted);
  padding: 72px 0 34px;
  border-top: 1px solid rgba(22, 137, 255, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.84rem;
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .services-grid, .projects-grid, .blog-grid, .features-grid, .process-grid, .transform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .map-layout, .contact-grid, .detail-grid, .reviews-empty-state {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --header-h: 72px; }
  .header-actions .btn { display: none; }
  .services-grid, .projects-grid, .blog-grid, .features-grid, .process-grid, .transform-grid, .reviews-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-reel-tabs { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 42px); padding-bottom: 64px; }
}

/* Reduced Motion Accessibility */
@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;
  }
  .ambient-canvas { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
