/* ============================================================
   styles.css — Blue Mountain Building & Remodeling
   Shared stylesheet for all pages
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  color: #0F2940;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

:root {
  --navy:   #0A2540;
  --blue:   #2563EB;
  --sky:    #60A5FA;
  --muted:  #6B7280;
  --white:  #ffffff;
  --accent: #F59E0B;
  --light:  #F1F5F9;
  --nav-h:  72px;
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.2,0,.1,1), transform .65s cubic-bezier(.2,0,.1,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .65s cubic-bezier(.2,0,.1,1), transform .65s cubic-bezier(.2,0,.1,1); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .65s cubic-bezier(.2,0,.1,1), transform .65s cubic-bezier(.2,0,.1,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: .10s !important; }
.delay-2 { transition-delay: .20s !important; }
.delay-3 { transition-delay: .30s !important; }
.delay-4 { transition-delay: .40s !important; }
.delay-5 { transition-delay: .50s !important; }
.delay-6 { transition-delay: .60s !important; }

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0 44px;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 4px 20px rgba(10,37,64,0.10);
  backdrop-filter: blur(8px);
}
.nav-inner { max-width: 1400px; margin: 0 auto; width: 100%; display: flex; align-items: center; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 52px; width: auto; display: block; }
.brand-title h1 { font-size: 15px; margin: 0; font-weight: 700; line-height: 1.2; }
.brand-title p  { font-size: 11px; margin: 0; color: var(--muted); }

.nav-links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--navy); text-decoration: none;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }

.btn-primary {
  padding: 10px 18px; border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), #2b86ff);
  color: white !important; text-decoration: none; font-weight: 700;
  box-shadow: 0 6px 18px rgba(37,99,235,0.18);
  transition: transform .2s, box-shadow .2s !important;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,0.28) !important; }

/* Hamburger */
.hamburger {
  display: none; margin-left: auto; background: none; border: none;
  cursor: pointer; padding: 8px; border-radius: 8px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform .3s, opacity .3s, background .3s;
  transform-origin: center;
}
nav.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--navy); z-index: 998; padding: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s;
}
.mobile-menu.open { max-height: 420px; padding: 12px 0 24px; }
.mobile-menu a {
  display: block; padding: 14px 28px; color: rgba(255,255,255,0.9);
  text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: .5px;
  border-bottom: 1px solid rgba(255,255,255,0.07); transition: background .2s;
}
.mobile-menu a:last-child  { border-bottom: none; }
.mobile-menu a:active      { background: rgba(255,255,255,0.08); }
.mobile-menu .mobile-cta {
  margin: 16px 24px 0; display: block; text-align: center;
  background: linear-gradient(90deg, var(--blue), #2b86ff); color: white !important;
  padding: 14px; border-radius: 10px; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 20px rgba(37,99,235,0.25); border-bottom: none !important;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=2000&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
  filter: brightness(.6) saturate(.9); z-index: 1;
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0);  }
}
.hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.65) 0%, rgba(37,99,235,0.2) 60%);
  z-index: 2;
}
.hero-container {
  position: relative; z-index: 3;
  max-width: 1400px; margin: 0 auto;
  padding: 140px 60px 100px; width: 100%;
}
.hero-left { color: var(--white); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sky); margin-bottom: 20px; font-weight: 600;
  opacity: 0; animation: fadeUp .7s .2s forwards;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--sky); }
.hero-left h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px,8vw,118px); line-height: .93; font-weight: 900;
  margin-bottom: 10px; text-shadow: 0 6px 30px rgba(0,0,0,0.45);
  opacity: 0; animation: fadeUp .7s .35s forwards;
}
.hero-left h2 {
  font-size: clamp(22px,4vw,50px); font-weight: 700;
  color: #e8f4ff; margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.38);
  opacity: 0; animation: fadeUp .7s .5s forwards;
}
.subtitle {
  font-size: 18px; color: rgba(255,255,255,0.85);
  margin-bottom: 36px; font-weight: 300; max-width: 520px; line-height: 1.65;
  opacity: 0; animation: fadeUp .7s .65s forwards;
}
.cta-group {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .7s .8s forwards;
}
.cta-primary {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white; padding: 15px 34px; border-radius: 12px;
  text-decoration: none; font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 30px rgba(37,99,235,0.25);
  transition: transform .2s, box-shadow .2s;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37,99,235,0.35); }
.cta-secondary {
  color: white; text-decoration: none; font-weight: 600;
  padding: 15px 20px; opacity: .88; transition: opacity .2s;
}
.cta-secondary:hover { opacity: 1; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  opacity: 0; animation: fadeUp .6s 1.4s forwards;
}
.hero-scroll-line {
  width: 1px; height: 44px; background: rgba(255,255,255,0.25);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 100%;
  background: rgba(255,255,255,0.7);
  animation: scrollDrop 1.8s 1.4s ease-in-out infinite;
}
@keyframes scrollDrop { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ===================== STATS BAR ===================== */
.stats-bar { background: var(--navy); position: relative; overflow: hidden; }
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.12), transparent);
  pointer-events: none;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 36px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px,5vw,58px); font-weight: 900;
  color: var(--white); line-height: 1;
  background: linear-gradient(135deg,#fff,var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-suffix { font-size: .65em; }
.stat-label  { color: rgba(255,255,255,0.55); font-size: 13px; margin-top: 6px; letter-spacing: .5px; }

/* ===================== SECTION BASE ===================== */
.section     { padding: 96px 60px; background: #fff; }
.section.alt { background: var(--light); }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-label {
  font-size: 12px; color: var(--blue); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 10px; font-weight: 700; display: block;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px,5vw,52px); color: var(--navy);
  margin-bottom: 14px; font-weight: 900; line-height: 1.05;
}
.section-desc { color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--sky), transparent);
  opacity: .18;
}

/* ===================== WORK GRID (homepage) ===================== */
.work-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 28px; padding: 0 20px;
}
.work-item {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(11,58,99,0.07);
  text-decoration: none; color: inherit; display: block;
  transition: transform .3s ease, box-shadow .3s ease;
}
.work-item:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(11,58,99,0.13); }
.work-img-wrap { overflow: hidden; position: relative; }
.work-item img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .5s ease; }
.work-item:hover img { transform: scale(1.05); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.55) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-details { padding: 22px 24px; }
.work-title       { font-size: 20px; color: var(--navy); margin-bottom: 5px; font-weight: 700; }
.work-description { color: var(--muted); font-size: 15px; }
.work-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-size: 13px; font-weight: 600;
  margin-top: 10px; letter-spacing: .5px; text-transform: uppercase;
  transition: gap .2s;
}
.work-item:hover .work-arrow { gap: 10px; }

/* ===================== GALLERY (projects page) ===================== */
.gallery-wrap {
  max-width: 1400px; margin: 8px auto 0;
  padding: 0 20px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

/* Gallery card — links to sub-project pages */
.card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(10,37,64,0.07);
  background: #e8eef5;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(10,37,64,0.14);
}
.card:active { transform: scale(0.98); }

.card img {
  width: 100%; height: 280px; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.card:hover img { transform: scale(1.05); }

/* Card label / meta */
.card .meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 18px 16px;
  background: linear-gradient(to top, rgba(10,37,64,0.72) 0%, transparent 100%);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .28s, transform .28s;
}
.card:hover .meta { opacity: 1; transform: none; }
.card .meta small {
  font-size: 11px; font-weight: 400;
  opacity: .75; letter-spacing: .5px;
}

/* Arrow badge on hover */
.card::after {
  content: '→';
  position: absolute; top: 12px; right: 14px;
  background: rgba(37,99,235,0.85);
  color: #fff; font-size: 14px; line-height: 1;
  padding: 6px 9px; border-radius: 8px;
  opacity: 0; transition: opacity .2s;
  pointer-events: none; backdrop-filter: blur(4px);
}
.card:hover::after { opacity: 1; }

/* ===================== PROCESS ===================== */
.process { padding: 96px 60px; background: var(--navy); position: relative; overflow: hidden; }
.process::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.process-steps {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 32px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 36px; left: calc(12.5% + 12px); right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  opacity: .4;
}
.process-step { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg,var(--blue),var(--sky));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 900; color: #fff;
  box-shadow: 0 8px 28px rgba(37,99,235,0.35);
  position: relative; z-index: 1;
  transition: transform .3s, box-shadow .3s;
}
.process-step:hover .step-num { transform: scale(1.12); box-shadow: 0 14px 36px rgba(37,99,235,0.5); }
.step-title { color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.step-desc  { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.65; }

/* ===================== TESTIMONIALS ===================== */
.testimonials { padding: 96px 60px; background: #fff; }
.testimonials-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--light); border-radius: 16px; padding: 32px;
  border-top: 3px solid var(--blue);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(11,58,99,0.10); }
.quote-mark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 80px; line-height: .7; color: var(--blue);
  opacity: .18; position: absolute; top: 20px; right: 24px;
  font-weight: 900; pointer-events: none;
}
.testimonial-text  { color: #374151; font-size: 15px; line-height: 1.75; font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,var(--blue),var(--sky));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.author-loc  { font-size: 12px; color: var(--muted); margin-top: 1px; }
.stars       { color: #F59E0B; font-size: 13px; margin-bottom: 14px; letter-spacing: 1px; }

/* ===================== COVERAGE ===================== */
.coverage { padding: 96px 40px; background: linear-gradient(135deg,var(--navy),#1a3a6b); color: #fff; }
.coverage-container { max-width: 1200px; margin: 0 auto; display: grid; gap: 40px; }
.map {
  width: 75%; max-width: 900px; height: auto;
  display: block; margin: 0 auto; border-radius: 12px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.28);
}
.city-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.city-card {
  background: rgba(255,255,255,0.07); padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .2s, border-color .2s;
}
.city-card:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.2); }
.city-card h3 { margin: 0; color: #fff; font-size: 14px; font-weight: 600; }

/* ===================== ABOUT ===================== */
.about { padding: 96px 60px; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; max-width: 1200px; margin: 0 auto; align-items: center; }
.features { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 28px; }
.feature-card {
  background: rgba(37,99,235,0.05); padding: 22px;
  border-radius: 12px; border-top: 3px solid var(--blue);
  transition: background .2s;
}
.feature-card:hover { background: rgba(37,99,235,0.09); }
.about-img-wrap { position: relative; }
.about-img-wrap::before {
  content: ''; position: absolute;
  top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 2px solid var(--blue); border-radius: 14px;
  opacity: .2; z-index: 0;
}
.about-img-wrap img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 16px 50px rgba(11,58,99,0.12);
  display: block; position: relative; z-index: 1;
}
.badge-wrap {
  position: absolute; bottom: -20px; right: -20px; z-index: 2;
  background: linear-gradient(135deg,var(--blue),var(--sky));
  color: #fff; border-radius: 14px; padding: 16px 20px;
  text-align: center; box-shadow: 0 10px 32px rgba(37,99,235,0.35);
}
.badge-num { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 900; line-height: 1; }
.badge-txt { font-size: 11px; opacity: .88; letter-spacing: .5px; margin-top: 2px; }

/* ===================== SERVICES ===================== */
.services { padding: 96px 60px; background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.service-card {
  background: #fff; padding: 32px; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(11,58,99,0.06);
  border-bottom: 4px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg,rgba(37,99,235,0.04),transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 52px rgba(11,58,99,0.12); border-color: var(--blue); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg,var(--blue),var(--sky));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px;
  box-shadow: 0 6px 20px rgba(37,99,235,0.25);
}
.service-title { font-size: 20px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.service-desc  { color: var(--muted); line-height: 1.7; font-size: 15px; }

/* ===================== PAGE HERO (sub-pages) ===================== */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 60px 56px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--light);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-inner { max-width: 1400px; margin: 0 auto; }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 20px; flex-wrap: wrap;
}
.page-hero .breadcrumb a  { color: var(--sky); text-decoration: none; transition: opacity .2s; }
.page-hero .breadcrumb a:hover { opacity: .8; }
.page-hero .breadcrumb span { opacity: .35; }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px,6vw,76px); font-weight: 900; line-height: 1;
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,0.72); font-size: 17px; max-width: 540px; line-height: 1.7; }

/* ===================== CONTACT ===================== */
.contact {
  padding: 100px 40px;
  background: linear-gradient(135deg,var(--blue),var(--navy));
  color: #fff; position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.contact-container { max-width: 1000px; margin: 0 auto; text-align: center; position: relative; }
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 56px 40px;
  backdrop-filter: blur(8px); margin-top: 40px;
}

/* ===================== LIGHTBOX ===================== */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(5,15,30,0.95);
  align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  animation: lbFadeIn .2s ease;
}
.lightbox-overlay.active { display: flex; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-inner {
  position: relative; max-width: 95vw; max-height: 92vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-inner img {
  max-width: 95vw; max-height: 88vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: lbImgIn .25s ease; display: block;
}
@keyframes lbImgIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1);    }
}
.lightbox-close {
  position: fixed; top: 16px; right: 20px;
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  font-size: 28px; line-height: 1; width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; backdrop-filter: blur(6px); z-index: 10001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.10); border: none; color: #fff;
  font-size: 26px; width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; backdrop-filter: blur(6px); z-index: 10001;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.22); }
.lightbox-arrow.prev { left: 12px; }
.lightbox-arrow.next { right: 12px; }
.lightbox-counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 13px;
  font-family: 'Barlow', sans-serif; letter-spacing: 1px;
  pointer-events: none; z-index: 10001;
}

/* ===================== FOOTER ===================== */
footer { padding: 44px 40px; background: var(--navy); color: #fff; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer-inner a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color .2s; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; }

/* ===================== RESPONSIVE ===================== */
@media(max-width: 1100px) {
  .work-grid            { grid-template-columns: 1fr; }
  .about-grid           { grid-template-columns: 1fr; }
  .services-grid        { grid-template-columns: 1fr 1fr; }
  .city-grid            { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid    { grid-template-columns: 1fr; }
  .process-steps        { grid-template-columns: repeat(2,1fr); }
  .process-steps::before{ display: none; }
  .stats-inner          { grid-template-columns: repeat(2,1fr); }
  .gallery              { grid-template-columns: repeat(2,1fr); }
}

@media(max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .mobile-menu { display: block; }

  nav { padding: 0 20px; }
  .brand img       { height: 44px; }
  .brand-title h1  { font-size: 13px; }
  .brand-title p   { display: none; }

  .hero-container  { padding: 110px 24px 80px; }
  .hero-scroll     { display: none; }

  .section         { padding: 64px 20px; }
  .section.alt     { padding: 64px 20px; }
  .process         { padding: 64px 20px; }
  .testimonials    { padding: 64px 20px; }
  .about           { padding: 64px 20px; }
  .services        { padding: 64px 20px; }
  .coverage        { padding: 64px 20px; }
  .contact         { padding: 64px 20px; }
  .page-hero       { padding: calc(var(--nav-h) + 32px) 20px 80px; }

  .work-grid       { gap: 18px; padding: 0; }
  .work-item img   { height: 240px; }
  .services-grid   { grid-template-columns: 1fr; }
  .process-steps   { grid-template-columns: 1fr 1fr; gap: 20px; }

  .stats-inner     { grid-template-columns: repeat(2,1fr); }
  .stat-item       { padding: 28px 12px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }

  .city-grid       { grid-template-columns: repeat(2,1fr); }
  .about-grid      { gap: 40px; }
  .about-img-wrap::before { display: none; }
  .badge-wrap      { bottom: -12px; right: -8px; }
  .features        { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-card    { padding: 36px 20px; }
  footer           { padding: 32px 20px; }
  .footer-inner    { flex-direction: column; text-align: center; }
  .footer-links    { justify-content: center; }

  /* Gallery mobile: 2 cols */
  .gallery         { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .card img        { height: 200px; }
  /* Always show meta on touch */
  .card .meta      { opacity: 1; transform: none; }
  .card::after     { opacity: 1; font-size: 13px; padding: 5px 8px; top: 10px; right: 10px; }

  .lightbox-arrow.prev { left: 4px; }
  .lightbox-arrow.next { right: 4px; }
  .lightbox-arrow      { width: 42px; height: 42px; font-size: 20px; }
}

@media(max-width: 480px) {
  .process-steps   { grid-template-columns: 1fr; }
  .stats-inner     { grid-template-columns: 1fr 1fr; }
  /* Single column gallery on very small phones */
  .gallery         { grid-template-columns: 1fr; gap: 14px; }
  .card img        { height: 260px; }
}

@media(max-width: 400px) {
  .hero-left h1    { font-size: 44px; }
  .city-grid       { grid-template-columns: 1fr; }
  .features        { grid-template-columns: 1fr; }
}
.project-hero {
      padding: calc(var(--nav-h) + 52px) 60px 60px;
      background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .project-hero::before {
      content: '';
      position: absolute;
      top: -160px; right: -160px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .project-hero::after {
      content: '';
      position: absolute;
      bottom: -1px; left: 0; right: 0;
      height: 64px;
      background: var(--light);
      clip-path: ellipse(55% 100% at 50% 100%);
    }
    .project-hero-inner {
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
    }
    .project-hero .breadcrumb {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
      color: rgba(255,255,255,0.5); margin-bottom: 22px; flex-wrap: wrap;
    }
    .project-hero .breadcrumb a { color: var(--sky); text-decoration: none; transition: opacity .2s; }
    .project-hero .breadcrumb a:hover { opacity: .8; }
    .project-hero .breadcrumb span { opacity: .35; }
    .project-hero h1 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(44px, 7vw, 84px);
      font-weight: 900; line-height: .95;
      margin-bottom: 14px;
    }
    .project-hero p {
      color: rgba(255,255,255,0.72);
      font-size: 17px; max-width: 520px; line-height: 1.7;
      margin-bottom: 28px;
    }
    .project-tags {
      display: flex; gap: 10px; flex-wrap: wrap;
    }
    .tag {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.18);
      color: rgba(255,255,255,0.85);
      padding: 6px 14px; border-radius: 20px;
      font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
      backdrop-filter: blur(4px);
    }

    /* ── Photo grid ── */
    .project-section {
      padding: 72px 60px 96px;
      background: var(--light);
    }
    .project-grid-wrap {
      max-width: 1400px;
      margin: 0 auto;
    }
    .project-grid-wrap .section-label {
      display: block;
      margin-bottom: 6px;
    }
    .grid-heading {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 900; color: var(--navy);
      margin-bottom: 32px;
    }

    /* Masonry-feel: first image is wide */
    .photo-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
      .photo-grid .photo-item {
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
        background: #d5dde8;
        box-shadow: 0 6px 28px rgba(10,37,64,0.08);
        transition: transform .28s ease, box-shadow .28s ease;
    
    }
    .photo-grid .photo-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 50px rgba(10,37,64,0.15);
    }
    .photo-grid .photo-item img {
      width: 100%; height: 300px;
      object-fit: cover; display: block;
      transition: transform .45s ease;
    
    }
    .photo-grid .photo-item:hover img {
      transform: scale(1.05);
    }

    /* Zoom icon overlay */
    .photo-item::after {
      content: '⤢';
      position: absolute; top: 12px; right: 14px;
      background: rgba(37,99,235,0.85);
      color: #fff; font-size: 15px; line-height: 1;
      padding: 6px 9px; border-radius: 8px;
      opacity: 0; transition: opacity .2s;
      pointer-events: none; backdrop-filter: blur(4px);
    }
    .photo-item:hover::after { opacity: 1; }

    /* Always show on mobile */
    @media (max-width: 768px) {
      .photo-item::after { opacity: 1; font-size: 12px; padding: 4px 7px; }
    }

    /* ── Lightbox ── */
    .lb-overlay {
      display: none;
      position: fixed; inset: 0; z-index: 10000;
      background: rgba(5, 12, 28, 0.96);
      align-items: center; justify-content: center;
      backdrop-filter: blur(8px);
      animation: lbIn .2s ease;
    }
    .lb-overlay.active { display: flex; }
    @keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

    .lb-img-wrap {
      max-width: 92vw; max-height: 88vh;
      display: flex; align-items: center; justify-content: center;
      position: relative;
    }
    .lb-img-wrap img {
      max-width: 92vw; max-height: 88vh;
      object-fit: contain;
      border-radius: 10px;
      box-shadow: 0 32px 90px rgba(0,0,0,0.65);
      animation: lbImgIn .22s ease;
      display: block;
      user-select: none;
    }
    @keyframes lbImgIn {
      from { opacity: 0; transform: scale(.93); }
      to   { opacity: 1; transform: scale(1);  }
    }

    .lb-close {
      position: fixed; top: 16px; right: 20px;
      background: rgba(255,255,255,0.12); border: none; color: #fff;
      font-size: 26px; width: 46px; height: 46px; border-radius: 50%;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background .2s; backdrop-filter: blur(6px); z-index: 10001;
    }
    .lb-close:hover { background: rgba(255,255,255,0.24); }

    .lb-arrow {
      position: fixed; top: 50%; transform: translateY(-50%);
      background: rgba(255,255,255,0.11); border: none; color: #fff;
      font-size: 24px; width: 50px; height: 50px; border-radius: 50%;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background .2s; backdrop-filter: blur(6px); z-index: 10001;
      -webkit-tap-highlight-color: transparent;
    }
    .lb-arrow:hover { background: rgba(255,255,255,0.24); }
    .lb-arrow.prev { left: 14px; }
    .lb-arrow.next { right: 14px; }

    .lb-counter {
      position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
      color: rgba(255,255,255,0.55); font-size: 13px; letter-spacing: 1px;
      font-family: 'Barlow', sans-serif; z-index: 10001; pointer-events: none;
    }

    /* ── Back link ── */
    .back-link {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--sky); text-decoration: none;
      font-size: 13px; font-weight: 600; letter-spacing: 1px;
      text-transform: uppercase; margin-bottom: 36px;
      transition: gap .2s;
    }
    .back-link:hover { gap: 12px; }

    /* ── Responsive ── */
    @media (max-width: 1100px) {
      .photo-grid { grid-template-columns: repeat(2, 1fr); }
      .photo-grid .photo-item:first-child { grid-column: span 2; }
    }
    @media (max-width: 768px) {
      .project-hero    { padding: calc(var(--nav-h) + 28px) 20px 72px; }
      .project-section { padding: 52px 20px 72px; }
      .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
      .photo-grid .photo-item:first-child { grid-column: span 2; }
      .photo-grid .photo-item img { height: 200px; }
      .photo-grid .photo-item:first-child img { height: 260px; }
      .lb-arrow.prev { left: 4px; }
      .lb-arrow.next { right: 4px; }
      .lb-arrow { width: 42px; height: 42px; font-size: 18px; }
    }
    @media (max-width: 480px) {
      .photo-grid { grid-template-columns: 1fr; }
      .photo-grid .photo-item:first-child { grid-column: span 1; }
      .photo-grid .photo-item img,
      .photo-grid .photo-item:first-child img { height: 260px; }
    }