/* ============================================
   Vidsan Builders — Design Tokens
   ============================================ */
:root {
  /* Brand colors, sampled directly from logo file */
  --navy: #023C6D;
  --navy-dark: #012A4D;
  --navy-deep: #011D36;
  --navy-light: #0E5490;
  --navy-tint: #EAF0F5;

  --gray: #A6A6A6;
  --gray-light: #E2E2E0;
  --gray-lighter: #F2F2F0;

  --ink: #1A1E22;
  --ink-soft: #4A5056;
  --muted: #6B7075;

  --white: #FFFFFF;
  --offwhite: #FAF9F7;

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

  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(1, 29, 54, 0.08), 0 1px 2px rgba(1, 29, 54, 0.06);
  --shadow-md: 0 8px 24px rgba(1, 29, 54, 0.12);
  --shadow-lg: 0 20px 48px rgba(1, 29, 54, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 240ms var(--ease);

  --header-h: 84px;
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@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; }
}
body, h1, h2, h3, h4, p, figure, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--navy-deep); }
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4rem); font-weight: 500; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3vw + 1rem, 2.5rem); font-weight: 500; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { color: var(--ink-soft); }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  min-height: 44px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-full { width: 100%; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  display: block;
}
.eyebrow-light { color: rgba(255,255,255,0.92); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
  height: 72px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 100%;
}
.brand { display: flex; align-items: center; height: 100%; }
.brand-logo {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.25));
  transition: filter var(--transition), height var(--transition);
}
.site-header.scrolled .brand-logo { filter: none; height: 46px; }

.main-nav ul { display: flex; gap: var(--space-lg); }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  transition: color var(--transition), opacity var(--transition);
  opacity: 0.92;
}
.main-nav a:hover { opacity: 1; }
.site-header.scrolled .main-nav a { color: var(--navy-deep); opacity: 0.85; }
.site-header.scrolled .main-nav a:hover { opacity: 1; color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  white-space: nowrap;
}
.site-header.scrolled .header-phone { color: var(--navy-deep); }
.header-actions .btn-primary { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--navy-deep); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: 170vh;
  color: var(--white);
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; top: -18%; left: 0; right: 0; height: 145%; z-index: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(1,20,38,0.7) 0%, rgba(1,20,38,0.2) 42%, rgba(1,20,38,0.38) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-2xl);
  padding-left: clamp(1.5rem, 6vw, 6rem);
  padding-right: 1.5rem;
  max-width: 560px;
  will-change: transform, opacity;
}
.hero h1 { color: var(--white); margin-bottom: var(--space-sm); }
.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: var(--space-lg);
}
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 1;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  color: var(--white);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

/* ============================================
   Sections
   ============================================ */
.section { padding: var(--space-2xl) 0; }
.section-tint { background: var(--offwhite); }
.section-head { max-width: 640px; margin-bottom: var(--space-xl); }
.section-sub { margin-top: var(--space-sm); font-size: 1.05rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-copy p { font-size: 1.05rem; margin-bottom: var(--space-sm); }
.about-copy strong { color: var(--navy); }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; object-position: 15% 45%; }

/* Stats band */
.stats-band {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
  isolation: isolate;
}
.stats-band-media { position: absolute; inset: 0; z-index: -1; }
.stats-band-media img { width: 100%; height: 100%; object-fit: cover; }
.stats-band-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(1,20,38,0.94) 0%, rgba(1,29,54,0.9) 45%, rgba(2,60,109,0.75) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-left: var(--space-md);
  border-left: 2px solid rgba(255,255,255,0.28);
}
.stat-icon { width: 34px; height: 34px; color: var(--white); opacity: 0.85; margin-bottom: 0.5rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(3.25rem, 4.5vw + 1rem, 5rem); font-weight: 700; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.75); font-weight: 500; max-width: 220px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card h3 { margin-bottom: var(--space-2xs); }
.service-card-featured {
  background: var(--navy);
  border-color: var(--navy);
}
.service-card-featured h3, .service-card-featured p { color: var(--white); }
.service-card-featured p { opacity: 0.9; }
.services-secondary { margin-top: var(--space-lg); }
.services-secondary-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}
.services-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
.service-card-sm {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: var(--white);
}
.service-card-sm h4 { font-size: 1rem; font-weight: 600; color: var(--navy-deep); margin-bottom: 0.3rem; }
.service-card-sm p { font-size: 0.92rem; margin: 0; }
.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--white);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

/* Process */
.process-list {
  display: flex;
  flex-direction: column;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px; left: 31px;
  width: 2px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--gray-light) 100%);
}
.process-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) 0;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.process-marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--white);
}
.process-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}
.process-body { padding-top: 0.4rem; }
.process-icon { width: 22px; height: 22px; color: var(--navy); opacity: 0.55; margin-bottom: 0.6rem; }
.process-step h3 { margin-bottom: 0.4rem; }
.process-step p { max-width: 560px; }

/* Horizontal stepper on wide screens — steps run left to right */
@media (min-width: 1080px) {
  .process-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    padding-top: var(--space-sm);
  }
  .process-list::before {
    top: 32px;
    bottom: auto;
    left: 10%;
    right: 10%;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--gray-light) 100%);
  }
  .process-step {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding: 0;
  }
  .process-marker { margin: 0; }
  .process-step p { max-width: none; font-size: 0.92rem; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--gray-lighter);
}
.gallery-item.span-2 { grid-column: 1 / -1; aspect-ratio: 21/9; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(1,20,38,0.65) 0%, rgba(1,20,38,0.18) 22%, rgba(1,20,38,0) 45%);
  pointer-events: none;
}
.gallery-caption {
  position: absolute; left: var(--space-md); bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.gallery-caption strong { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
.gallery-caption span { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-2xl);
}
.contact-info p { font-size: 1.05rem; margin-bottom: var(--space-lg); }
.contact-details { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contact-details li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-details a { font-size: 1.15rem; font-weight: 600; color: var(--navy-deep); transition: color var(--transition); }
.contact-details a:hover { color: var(--navy); }

.service-area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-area-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--navy-tint);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.contact-form {
  background: var(--offwhite);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.form-row { margin-bottom: var(--space-md); display: flex; flex-direction: column; gap: 0.4rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }
.form-row-split .form-row { margin-bottom: 0; }
.contact-form label { font-size: 0.85rem; font-weight: 600; color: var(--navy-deep); }
.contact-form input, .contact-form select, .contact-form textarea {
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: var(--white);
  min-height: 44px;
  transition: border-color var(--transition);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--navy); }
.contact-form .field-invalid { border-color: #B3413A; }
.form-note { margin-top: var(--space-sm); font-size: 0.9rem; color: var(--navy); min-height: 1.2em; }
.form-honeypot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-note.error { color: #B3413A; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-md);
}
.footer-logo { height: 48px; filter: brightness(0) invert(1); margin-bottom: var(--space-sm); }
.footer-brand p { color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact a { color: rgba(255,255,255,0.8); font-weight: 600; }
.footer-contact a:hover { color: var(--white); }
.footer-contact span { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: var(--space-md) 0; }
.footer-bottom p { color: rgba(255,255,255,0.55); font-size: 0.85rem; text-align: center; }

/* ============================================
   Project detail pages
   ============================================ */
.project-hero {
  position: relative;
  height: 62vh;
  min-height: 380px;
  margin-top: var(--header-h);
  overflow: hidden;
}
.project-hero img { width: 100%; height: 100%; object-fit: cover; }

.project-header { max-width: 720px; margin-bottom: var(--space-xl); }
.project-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-md);
}
.project-back:hover { color: var(--navy-dark); }
.project-location { font-size: 1.05rem; color: var(--muted); margin-bottom: var(--space-md); }
.project-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--space-md);
}
.project-description { font-size: 1.1rem; }

.project-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}
.project-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.project-photos img:only-child { grid-column: 1 / -1; aspect-ratio: 16/9; }

.project-media-video {
  position: relative;
  grid-column: 1 / -1;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy-deep);
}
.project-media-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-video-badge {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(1,20,38,0.6);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.project-feature-video { margin-bottom: var(--space-xl); }
.project-feature-video video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
  display: block;
}
.project-video-caption { margin-top: var(--space-sm); font-size: 0.9rem; color: var(--muted); text-align: center; }

.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: var(--space-lg);
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
}
.project-cta p { margin: 0; font-size: 1.1rem; color: var(--navy-deep); font-weight: 500; }

.project-pagination {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: var(--space-2xl);
  border-top: 1px solid var(--gray-light);
  padding-top: var(--space-lg);
}
.project-pagination a {
  font-weight: 600;
  color: var(--navy-deep);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 45%;
}
.project-pagination a:hover { color: var(--navy); }
.project-pagination .dir-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.project-pagination .next-link { text-align: right; align-items: flex-end; }

@media (max-width: 640px) {
  .project-photos { grid-template-columns: 1fr; }
  .project-photos img:only-child { aspect-ratio: 4/3; }
  .project-hero { height: 42vh; }
}

/* ============================================
   Reveal-on-scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media img { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-lg); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .hero { height: 130vh; }
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    align-self: stretch;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: var(--space-lg) var(--space-md);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: var(--space-md); }
  .main-nav a { color: var(--navy-deep); font-size: 1.2rem; opacity: 1; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .services-secondary-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); row-gap: var(--space-lg); }
  .stat { border-left: none; border-top: 2px solid rgba(255,255,255,0.28); padding-left: 0; padding-top: var(--space-md); }
  .gallery-item.span-2 { aspect-ratio: 4/3; }
  .process-list::before { left: 23px; }
  .process-marker { width: 48px; height: 48px; }
  .process-step { gap: var(--space-md); }
  .process-num { font-size: 1rem; }
  .form-row-split { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.span-2 { aspect-ratio: 4/3; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-content { padding-bottom: var(--space-xl); }
  .scroll-cue { display: none; }
}
