@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --white: #FFFFFF;
  --off: #F5F4F2;
  --navy: #1A1A2E;
  --navy-dark: #0C0C14;
  --gold: #E8600A;
  --gold-dark: #C44E04;
  --gold-light: #FF7A22;
  --text: #1A1A1A;
  --muted: #5A5A5A;
  --light: #888;
  --border: #E0DDD8;
  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --max: 1200px;
  --pad: clamp(1.5rem, 5vw, 5rem);
  --section: clamp(5rem, 10vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: var(--white); color: var(--text); font-family: var(--ff-body); font-weight: 400; line-height: 1.85; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* Typography */
h1,h2,h3,h4 { font-family: var(--ff-head); line-height: 1.1; font-weight: 400; color: var(--text); }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; }
p { font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.85; color: var(--muted); }

/* Eyebrow */
.eyebrow { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }

/* Arrow link */
.arrow-link { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: gap 0.3s ease, color 0.3s; }
.arrow-link:hover { gap: 1.2rem; color: var(--navy); border-color: var(--navy); }
.arrow-link-dark { color: var(--navy); border-color: var(--navy); }
.arrow-link-dark:hover { color: var(--gold); border-color: var(--gold); }
.arrow-link-white { color: #fff; border-color: rgba(255,255,255,0.5); }
.arrow-link-white:hover { gap: 1.2rem; color: var(--gold); border-color: var(--gold); }

/* Btn */
.btn-fill { background: var(--navy); color: #fff; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; padding: 1rem 2.5rem; border: 2px solid var(--navy); display: inline-block; transition: all 0.3s ease; cursor: pointer; }
.btn-fill:hover { background: transparent; color: var(--navy); }
.btn-fill-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-fill-gold:hover { background: transparent; color: var(--gold); }
.btn-outline { background: transparent; color: #fff; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; padding: 1rem 2.5rem; border: 2px solid rgba(255,255,255,0.6); display: inline-block; transition: all 0.3s ease; cursor: pointer; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* NAV */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 72px; display: flex; align-items: center; transition: background 0.4s ease, box-shadow 0.4s ease; }
#nav.solid { background: #fff; box-shadow: 0 1px 0 var(--border); }
#nav .nav-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; }
#nav .brand { display:flex; align-items:center; }
#nav .brand .nav-logo-wrap { background:transparent; border-radius:5px; padding:0; display:inline-flex; align-items:center; transition:box-shadow 0.3s; }
#nav .brand .nav-logo-wrap:hover { box-shadow:0 2px 16px rgba(0,0,0,0.15); }
#nav .brand img { height: 38px; display:block; filter:none; transition:none; }
#nav.over-hero .brand img { filter: none; }
#nav.solid .brand img { filter: brightness(0) saturate(100%); }
#nav .nav-links { display: flex; align-items: center; gap: 2.5rem; }
#nav .nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.88); transition: color 0.3s; }
#nav.solid .nav-links a { color: var(--navy); }
#nav .nav-links a:hover { color: var(--gold); }
#nav .nav-links .nav-cta { background: var(--gold); color: #fff; padding: 0.6rem 1.5rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; transition: background 0.3s; }
#nav .nav-links .nav-cta:hover { background: var(--gold-dark); color: #fff; }
#nav.solid .nav-links .nav-cta { color: #fff; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span { width: 24px; height: 2px; background: #fff; transition: background 0.4s; display: block; }
#nav.solid .hamburger span { background: var(--navy); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 1200; padding: 5rem 2rem 2rem; flex-direction: column; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; font-size: 1.4rem; font-family: var(--ff-head); border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 1rem; }
.mobile-close { position: absolute; top: 1.5rem; right: 2rem; color: #fff; font-size: 1.5rem; cursor: pointer; background: none; border: none; }

/* HERO */
#hero { height: 100dvh; min-height: 600px; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('../images/hero-bg.jpg') center/cover no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,28,48,0.85) 0%, rgba(15,28,48,0.55) 55%, rgba(15,28,48,0.2) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(3rem,8vw,6rem); }
.hero-kicker { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; opacity: 0; }
.hero-h1 { color: #fff; max-width: 700px; margin-bottom: 1.8rem; opacity: 0; font-weight: 800; }
.hero-p { color: rgba(255,255,255,0.8); max-width: 520px; margin-bottom: 2.5rem; font-size: clamp(1rem,1.5vw,1.15rem); opacity: 0; }
.hero-actions { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; opacity: 0; }
.hero-scroll { position: absolute; bottom: 2.5rem; right: var(--pad); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }
.hero-scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1} 100%{opacity:0;transform:scaleY(1);transform-origin:bottom} }

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-dark);
  position: relative;
}
/* Teal accent line at top */
.stats-row::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.stat-box {
  padding: 4rem 2rem 3.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  position: relative;
  transition: background 0.3s;
}
.stat-box:last-child { border-right: none; }
.stat-box:hover { background: rgba(255,255,255,0.03); }
/* Icon area above number */
.stat-icon {
  display: block;
  margin: 0 auto 1.2rem;
  opacity: 0.55;
}
.stat-num {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(3.2rem, 5.5vw, 5rem);
  color: var(--gold);
  line-height: 1;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}
.stat-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.8rem;
  font-weight: 500;
}

/* SPLIT (Turner 50/50) */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.split:hover .split-img img { transform: scale(1.03); }
.split-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem,6vw,7rem) clamp(2rem,5vw,6rem); background: var(--white); }
.split-body.bg-off { background: var(--off); }
.split-body.bg-navy { background: var(--navy); }
.split-body.bg-navy h2 { color: #fff; }
.split-body.bg-navy p { color: rgba(255,255,255,0.7); }
.split-body.bg-navy .eyebrow { color: var(--gold); }
.split-body h2 { margin-bottom: 1.5rem; }
.split-body p { margin-bottom: 2rem; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.svc-card { padding: 3.5rem 2.5rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; transition: background 0.35s; overflow: hidden; }
.svc-card:nth-child(3n) { border-right: none; }
.svc-card:nth-last-child(-n+3) { border-bottom: none; }
.svc-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--gold); transition: width 0.4s ease; }
.svc-card:hover::after { width: 100%; }
.svc-card:hover { background: var(--off); }
.svc-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
.svc-card h4 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text); }
.svc-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }

/* WHY / USP */
.usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.usp-item { padding: 3rem 2.5rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.usp-item:nth-child(2n) { border-right: none; }
.usp-num { font-family: var(--ff-head); font-size: 3.5rem; color: var(--gold); opacity: 0.25; line-height: 1; margin-bottom: 1rem; font-weight: 400; }
.usp-item h4 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.usp-item p { font-size: 0.95rem; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.process-card { padding: 3rem 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.p-num { font-family: var(--ff-head); font-size: 4rem; color: var(--border); line-height: 1; margin-bottom: 1.5rem; font-weight: 400; }
.process-card h4 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.process-card p { font-size: 0.92rem; }

/* GALLERY */
.gallery-header { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--pad) 3rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 3rem; }
.fb { background: none; border: none; padding: 0.8rem 1.5rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); cursor: pointer; position: relative; transition: color 0.3s; font-weight: 500; }
.fb::after { content:''; position:absolute; bottom:-1px; left:0; right:0; height:2px; background:var(--gold); transform:scaleX(0); transition:transform 0.3s; }
.fb.active, .fb:hover { color: var(--navy); }
.fb.active::after { transform:scaleX(1); }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.gal-item { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gal-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.6s ease; }
.gal-item:hover img { transform:scale(1.06); }
.gal-item .gal-cap { position:absolute; inset:0; background:linear-gradient(to top, rgba(15,28,48,0.85) 0%, transparent 55%); display:flex; align-items:flex-end; padding:1.5rem; opacity:0; transition:opacity 0.4s; }
.gal-item:hover .gal-cap { opacity:1; }
.gal-cap span { color:#fff; font-family:var(--ff-head); font-size:1.1rem; }

/* LIGHTBOX */
#lb { display:none; position:fixed; inset:0; background:rgba(10,15,25,0.97); z-index:9999; align-items:center; justify-content:center; padding:2rem; }
#lb.open { display:flex; }
#lb img { max-width:90vw; max-height:85vh; object-fit:contain; }
#lb-close { position:absolute; top:1.5rem; right:2rem; color:#fff; font-size:2rem; cursor:pointer; background:none; border:none; opacity:0.7; transition:opacity 0.3s; }
#lb-close:hover { opacity:1; color:var(--gold); }

/* TESTIMONIAL */
.testi-wrap { max-width:760px; margin:0 auto; text-align:center; padding: var(--section) var(--pad); }
.testi-quote { font-family:var(--ff-head); font-size:clamp(1.4rem,3vw,2rem); font-style:italic; line-height:1.6; color:var(--text); margin-bottom:2rem; font-weight:400; }
.testi-name { font-size:0.78rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); font-weight:500; }
.testi-loc { font-size:0.78rem; color:var(--light); margin-top:0.3rem; }
.carousel-indicators [data-bs-target] { width:8px; height:8px; border-radius:50%; background:var(--border); border:none; opacity:1; }
.carousel-indicators .active { background:var(--gold); }

/* BLOG */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid var(--border); border-left:1px solid var(--border); }
.blog-card { border-right:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; transition:background 0.3s; }
.blog-card:hover { background:var(--off); }
.blog-card-thumb { height:240px; overflow:hidden; background:var(--off); display:flex; align-items:center; justify-content:center; font-size:3.5rem; }
.blog-card-body { padding:2.5rem 2rem; }
.blog-cat { font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); font-weight:500; display:block; margin-bottom:0.8rem; }
.blog-card h4 { font-size:1.2rem; margin-bottom:1rem; line-height:1.35; }
.blog-card p { font-size:0.92rem; margin-bottom:1.5rem; }

/* CONTACT */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; min-height:600px; }
.contact-form-side { padding:clamp(3rem,6vw,7rem) clamp(2rem,5vw,6rem); background:var(--white); }
.contact-info-side { padding:clamp(3rem,6vw,7rem) clamp(2rem,5vw,6rem); background:var(--navy); }
.contact-info-side h3 { color:#fff; margin-bottom:1.5rem; }
.ci-item { display:flex; gap:1rem; margin-bottom:2rem; }
.ci-icon { color:var(--gold); font-size:1.1rem; margin-top:0.1rem; }
.ci-item h5 { font-size:0.7rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:0.3rem; font-weight:500; }
.ci-item p { color:rgba(255,255,255,0.7); font-size:0.95rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin-bottom:1.5rem; }
.form-group { margin-bottom:1.5rem; }
.form-group label { display:block; font-size:0.72rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--muted); margin-bottom:0.6rem; font-weight:500; }
.form-group input, .form-group select, .form-group textarea { width:100%; border:none; border-bottom:1px solid var(--border); padding:0.8rem 0; font-size:1rem; font-family:var(--ff-body); color:var(--text); background:transparent; transition:border-color 0.3s; outline:none; font-weight:300; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--gold); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-group select { cursor:pointer; }

/* CTA STRIP */
.cta-strip {
  background: var(--navy);
  padding: clamp(5rem,10vw,8rem) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Blueprint grid overlay */
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* Teal accent bar top */
.cta-strip::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; background: var(--gold);
}
.cta-strip h2 {
  color: #fff;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  position: relative;
}
.cta-strip .actions {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
@media(max-width:767px) {
  .cta-strip .actions { flex-direction: column; gap: 1.2rem; }
}

/* PAGE HERO (inner pages) */
.page-hero { height:60vh; min-height:420px; position:relative; display:flex; align-items:flex-end; overflow:hidden; }
.ph-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.ph-bg::after { content:''; position:absolute; inset:0; background:linear-gradient(to right,rgba(15,28,48,0.88) 0%,rgba(15,28,48,0.5) 60%,rgba(15,28,48,0.2) 100%); }
.ph-body { position:relative; z-index:2; width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--pad) clamp(2.5rem,5vw,5rem); }
.ph-body .eyebrow { color:rgba(255,255,255,0.6); }
.ph-body h1 { color:#fff; }

/* BREADCRUMB */
.breadcrumb { display:flex; gap:0.6rem; align-items:center; margin-bottom:1rem; }
.breadcrumb a { font-size:0.72rem; color:rgba(255,255,255,0.5); letter-spacing:0.1em; text-transform:uppercase; transition:color 0.3s; }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb span { color:rgba(255,255,255,0.3); font-size:0.65rem; }

/* SECTION WRAP */
.sw { max-width:var(--max); margin:0 auto; padding: var(--section) var(--pad); }
.sw-sm { max-width:var(--max); margin:0 auto; padding:4rem var(--pad); }

/* DIVIDER */
.rule { border:none; border-top:1px solid var(--border); }
.rule-gold { border-top-color:var(--gold); }

/* REVEAL */
.reveal { opacity:0; transform:translateY(28px); }

/* FOOTER */
#footer { background:var(--navy-dark); padding:5rem var(--pad) 2rem; }
.footer-inner { max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:4rem; }
.footer-brand .footer-logo-wrap { display:inline-block; background:transparent; border-radius:6px; padding:0; margin-bottom:1.5rem; }
.footer-brand img { height:44px; display:block; filter:none; }
.footer-brand p { font-size:0.9rem; color:rgba(255,255,255,0.45); line-height:1.8; }
.footer-socials { display:flex; gap:1rem; margin-top:1.5rem; }
.footer-socials a { width:36px; height:36px; border:1px solid rgba(255,255,255,0.2); border-radius:50%; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.5); font-size:0.85rem; transition:all 0.3s; }
.footer-socials a:hover { border-color:var(--gold); color:var(--gold); }
.footer-col h5 { font-size:0.68rem; letter-spacing:0.22em; text-transform:uppercase; color:var(--gold); margin-bottom:1.5rem; font-weight:500; }
.footer-col li { margin-bottom:0.7rem; }
.footer-col a { color:rgba(255,255,255,0.45); font-size:0.88rem; transition:color 0.3s; font-weight:300; }
.footer-col a:hover { color:#fff; }
.footer-bottom { max-width:var(--max); margin:3rem auto 0; padding-top:2rem; border-top:1px solid rgba(255,255,255,0.1); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-size:0.8rem; color:rgba(255,255,255,0.3); font-weight:300; }
.footer-bottom a { font-size:0.8rem; color:rgba(255,255,255,0.3); transition:color 0.3s; }
.footer-bottom a:hover { color:rgba(255,255,255,0.7); }

/* BACK TOP */
#bt { position:fixed; bottom:2rem; right:2rem; width:44px; height:44px; background:var(--navy); color:#fff; border:none; border-radius:0; display:flex; align-items:center; justify-content:center; cursor:pointer; opacity:0; transform:translateY(10px); transition:all 0.3s; z-index:500; }
#bt.show { opacity:1; transform:translateY(0); }
#bt:hover { background:var(--gold); }

/* RESPONSIVE */
@media(max-width:1024px){
  .split,.contact-grid { grid-template-columns:1fr; }
  .split-img { height:400px; }
  .services-grid { grid-template-columns:1fr 1fr; }
  .svc-card:nth-child(3n) { border-right:1px solid var(--border); }
  .svc-card:nth-child(2n) { border-right:none; }
  .process-grid { grid-template-columns:1fr 1fr; }
  .usp-grid { grid-template-columns:1fr; }
  .usp-item:nth-child(2n) { border-right:1px solid var(--border); }
  .blog-grid { grid-template-columns:1fr 1fr; }
  .footer-inner { grid-template-columns:1fr 1fr; gap:3rem; }
}
@media(max-width:767px){
  .stats-row { grid-template-columns:1fr 1fr; }
  .stat-box:nth-child(2n) { border-right:none; }
  .stat-box { border-bottom:1px solid rgba(255,255,255,0.1); }
  .services-grid,.blog-grid { grid-template-columns:1fr; }
  .gal-grid { grid-template-columns:1fr 1fr; }
  .cta-strip { flex-direction:column; align-items:flex-start; }
  .form-row { grid-template-columns:1fr; }
  #nav .nav-links { display:none; }
  .hamburger { display:flex; }
  .footer-inner { grid-template-columns:1fr; gap:2.5rem; }
  .process-grid { grid-template-columns:1fr; }
  .usp-grid { grid-template-columns:1fr; }
}
@media(max-width:480px){ .gal-grid { grid-template-columns:1fr; } }

/* ── SMOOTH SCROLL ── */
html { scroll-behavior: smooth; }

/* ── REVEAL INITIAL STATE (CSS fallback — JS overrides) ── */
.reveal { opacity: 0; transform: translateY(24px); }

/* ── VIDEO HERO ── */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10,20,38,0.82) 0%,
    rgba(10,20,38,0.48) 55%,
    rgba(10,20,38,0.16) 100%
  );
}
#hero .hero-content { position: relative; z-index: 2; }
#hero .hero-progress,
#hero .hero-scroll  { position: absolute; z-index: 3; }
#heroWrapper { height: auto; position: static; }
#hero { position: relative; height: 100dvh; overflow: hidden; }

/* ── FORCE POPPINS HEADINGS ── */
h1, h2, h3, h4, h5, h6,
.hero-h1, .stat-num, .p-num, .usp-num {
  font-family: 'Poppins', sans-serif !important;
}
h1, .hero-h1 { font-weight: 800 !important; }
h2            { font-weight: 700 !important; }
h3, h4        { font-weight: 700 !important; }
h5, h6        { font-weight: 600 !important; }

/* ── BODY + UI — NUNITO ── */
body, p, a, button, input, select, textarea, li, span,
.eyebrow, .arrow-link, .btn-fill, .hero-p, .blog-cat,
.footer-col a, .stat-lbl, .testi-name, .testi-loc {
  font-family: 'Nunito', sans-serif;
}

/* ── MOBILE NAV ── */
@media (max-width: 767px) {
  #nav .nav-links { display: none !important; }
  .hamburger      { display: flex !important; }
}

/* ── SCROLL BAR SMOOTH ── */
* { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: #E8600A; border-radius: 3px; }

/* ── HERO BOUNCE LOOP ANIMATION ── */
@keyframes heroBounce {
  0%   { transform: scale(1.08) translate(0%, 0%); }
  25%  { transform: scale(1.12) translate(-2%, -1%); }
  50%  { transform: scale(1.15) translate(-3.5%, 0%); }
  75%  { transform: scale(1.12) translate(-2%, 1%); }
  100% { transform: scale(1.08) translate(0%, 0%); }
}

.hero-video {
  animation: heroBounce 18s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* Fallback: if no video, animate the hero bg image too */
.hero-bg {
  animation: heroBounce 18s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* Oversized video so bounce never clips to white edges */
.hero-video {
  width: 110% !important;
  height: 110% !important;
  top: -5% !important;
  left: -5% !important;
  object-fit: cover;
}


/* ── CONSTRUCTION DOODLES ── */
.doodle-wrap { position: relative; display: inline-block; }

/* Floating hard-hat */
.doodle-hardhat {
  position: absolute; top: -28px; right: -36px;
  animation: floatBob 3.5s ease-in-out infinite;
  opacity: 0.55; pointer-events: none;
}
/* Spinning gear */
.doodle-gear {
  position: absolute; top: -24px; left: -32px;
  animation: spinSlow 10s linear infinite;
  opacity: 0.45; pointer-events: none;
}
/* Blueprint corner */
.doodle-blueprint {
  position: absolute; bottom: -16px; right: -20px;
  animation: floatY 4s ease-in-out infinite;
  opacity: 0.4; pointer-events: none;
}
/* Crane arm */
.doodle-crane {
  position: absolute; top: -38px; left: -18px;
  animation: cranesway 6s ease-in-out infinite;
  opacity: 0.45; pointer-events: none;
  transform-origin: bottom center;
}
/* Ruler tick marks */
.doodle-ruler {
  position: absolute; bottom: -12px; left: 0;
  animation: fadeInOut 4s ease-in-out infinite;
  opacity: 0.35; pointer-events: none;
}
/* Brick pattern */
.doodle-brick {
  position: absolute; bottom: -18px; left: -28px;
  animation: floatY 3s ease-in-out infinite 0.5s;
  opacity: 0.4; pointer-events: none;
}

/* Keyframes */
@keyframes spinSlow    { to { transform: rotate(360deg); } }
@keyframes floatBob    { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-8px) rotate(3deg)} }
@keyframes floatY      { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes cranesway   { 0%,100%{transform:rotate(-4deg)} 50%{transform:rotate(4deg)} }
@keyframes fadeInOut   { 0%,100%{opacity:0.2} 50%{opacity:0.5} }

@media(max-width:767px) {
  .doodle-hardhat, .doodle-gear, .doodle-blueprint,
  .doodle-crane, .doodle-ruler, .doodle-brick { display: none; }
}

/* ── HEADING HIGHLIGHTS ── */
.hl {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
/* Subtle animated underline glow on highlight */
.hl::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0.25;
  border-radius: 2px;
}
/* On navy backgrounds highlights go lighter teal */
.bg-navy .hl,
.split-body.bg-navy .hl,
.cta-strip .hl,
.stats-row .hl,
#footer .hl {
  color: #4DD8DD;
}
.bg-navy .hl::after,
.cta-strip .hl::after {
  background: #4DD8DD;
}

/* ── FIX: ALL TEXT ON NAVY / DARK BACKGROUNDS → WHITE ── */
/* Split sections with navy bg */
.split-body.bg-navy h2,
.split-body.bg-navy h3,
.split-body.bg-navy h4,
.split-body.bg-navy p,
.split-body.bg-navy span,
.split-body.bg-navy li,
.split-body.bg-navy a { color: #fff; }
.split-body.bg-navy p,
.split-body.bg-navy li { color: rgba(255,255,255,0.80); }
.split-body.bg-navy .eyebrow { color: var(--gold); }
.split-body.bg-navy .arrow-link { color: #fff; border-color: rgba(255,255,255,0.5); }
.split-body.bg-navy .arrow-link:hover { color: var(--gold); }

/* CTA strip */
.cta-strip h2, .cta-strip h3, .cta-strip p,
.cta-strip span:not(.btn-fill):not(.btn-outline) { color: #fff !important; }
.cta-strip .eyebrow { color: var(--gold) !important; }

/* Stats row */
.stats-row .stat-lbl { color: rgba(255,255,255,0.65) !important; }
.stats-row .stat-num { color: var(--gold) !important; }

/* Page hero inner pages */
.page-hero h1, .page-hero h2,
.page-hero p, .page-hero .eyebrow,
.ph-body h1, .ph-body h2,
.ph-body p { color: #fff !important; }
.ph-body .eyebrow { color: rgba(255,255,255,0.7) !important; }

/* Contact info side */
.contact-info-side h2, .contact-info-side h3,
.contact-info-side h4, .contact-info-side h5,
.contact-info-side p, .contact-info-side a,
.contact-info-side li, .contact-info-side span { color: #fff; }
.contact-info-side p, .contact-info-side li { color: rgba(255,255,255,0.78); }
.contact-info-side .ci-item h5 { color: var(--gold); }
.contact-info-side .ci-item p { color: rgba(255,255,255,0.75); }

/* Footer */
#footer h2, #footer h3, #footer h4, #footer h5 { color: #fff; }
#footer .footer-col h5 { color: var(--gold); }

/* USP section if on navy bg */
.bg-navy .usp-item h4, .bg-navy .usp-item p { color: #fff; }
.bg-navy .usp-item p { color: rgba(255,255,255,0.75); }
.bg-navy .usp-num { color: var(--gold); }

/* Mobile nav menu */
.mobile-menu a { color: #fff; }

/* Hero em tags */
.hero-h1 em, .hero-h1 em { color: var(--gold); font-style: italic; }

/* ── STATS ROW: force white labels ── */
.stat-lbl { color: #ffffff !important; opacity: 1 !important; }
.stat-icon { stroke: var(--gold) !important; opacity: 0.7 !important; }

/* ── HIGHLIGHT COLOR UPDATE ── */
/* On white/light bg: orange matching the logo accent */
.hl {
  color: #E8600A !important;
  font-style: italic;
}
.hl::after { background: #E8600A !important; opacity: 0.2; }

/* On dark/navy/hero bg: bright orange-amber that pops */
.hero-h1 .hl,
.page-hero .hl,
.ph-body .hl,
.split-body.bg-navy .hl,
.cta-strip .hl {
  color: #FF8C42 !important;
}
.hero-h1 .hl::after,
.cta-strip .hl::after { background: #FF8C42 !important; }

/* ── REMOVE HEADING DOODLES (cluttered) — keep only bg deco ── */
.doodle-hardhat,
.doodle-gear,
.doodle-blueprint,
.doodle-crane,
.doodle-ruler,
.doodle-brick,
.doodle-circle,
.doodle-dots,
.doodle-star,
.doodle-bracket { display: none !important; }

/* ── HERO TITLE: fully white, no highlights ── */
.hero-h1,
.hero-h1 .hl,
.hero-h1 em,
.hero-h1 span {
  color: #ffffff !important;
}
.hero-h1 .hl::after { display: none; }

/* ── STATS: white numbers ── */
.stat-num { color: #ffffff !important; }

/* ═══════════════════════════════════════════════
   GLASSMORPHISM SYSTEM
   ═══════════════════════════════════════════════ */

/* ── NAV: frosted glass on scroll ── */
#nav.solid {
  background: rgba(255,255,255,0.72) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(10,20,38,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}

/* ── HERO: glass panel behind content ── */
.hero-content {
  background: linear-gradient(
    135deg,
    rgba(10, 20, 38, 0.45) 0%,
    rgba(10, 20, 38, 0.15) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-left: 2px solid rgba(255,255,255,0.15);
  padding-left: clamp(2rem, 4vw, 4rem) !important;
  border-radius: 0 8px 8px 0;
  max-width: 760px !important;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-bottom: clamp(3rem,8vw,6rem);
}

/* ── STAT BOXES: glass cards on dark bg ── */
.stat-box {
  background: rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08) !important;
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
}
.stat-box:hover {
  background: rgba(255,255,255,0.09) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

/* ── SERVICE CARDS: glass on hover ── */
.svc-card {
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
}
.svc-card:hover {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 12px 40px rgba(10,20,38,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  transform: translateY(-4px);
}

/* ── TESTIMONIAL: glass card ── */
.testi-wrap {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(10,20,38,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem);
  max-width: 820px !important;
}

/* ── BLOG CARDS: subtle glass on hover ── */
.blog-card:hover {
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(10,20,38,0.08);
  transform: translateY(-3px);
}
.blog-card { transition: background 0.35s, box-shadow 0.35s, transform 0.35s; }

/* ── CONTACT FORM SIDE: glass panel ── */
.contact-form-side {
  background: rgba(255,255,255,0.75) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-right: 1px solid rgba(255,255,255,0.6);
}

/* ── CTA STRIP: glass cards for buttons ── */
.cta-strip .btn-fill,
.cta-strip .btn-outline {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cta-strip .btn-outline {
  background: rgba(255,255,255,0.08) !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.cta-strip .btn-outline:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.8) !important;
  box-shadow: 0 4px 24px rgba(255,255,255,0.12);
}

/* ── MOBILE MENU: glass overlay ── */
.mobile-menu {
  background: rgba(15, 28, 48, 0.92) !important;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

/* ── PAGE HERO (inner pages): glass breadcrumb ── */
.breadcrumb {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  display: inline-flex;
  margin-bottom: 1.5rem;
}

/* ── GALLERY CAPTION: glass overlay ── */
.gal-cap {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: linear-gradient(to top, rgba(10,20,38,0.82) 0%, rgba(10,20,38,0.1) 60%, transparent 100%) !important;
}

/* ── BACK-TO-TOP: glass button ── */
#bt {
  background: rgba(26, 43, 74, 0.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 6px !important;
}
#bt:hover {
  background: rgba(232, 96, 10, 0.85) !important;
  box-shadow: 0 4px 20px rgba(232,96,10,0.4);
}

/* ── HERO: remove glassmorphism from content panel ── */
.hero-content {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ── HERO LAYOUT STABILIZER (desktop/laptop) ── */
#hero {
  justify-content: flex-start;
}

#hero .hero-content {
  position: absolute !important;
  left: var(--pad);
  bottom: clamp(2.5rem, 7vh, 5rem);
  width: min(780px, calc(100% - (var(--pad) * 2))) !important;
  max-width: min(780px, calc(100% - (var(--pad) * 2))) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}

#hero .hero-h1 {
  max-width: 20ch;
  font-size: clamp(2.3rem, 4.2vw, 4.6rem);
  line-height: 1.05;
}

#hero .hero-p {
  max-width: 58ch;
  margin-bottom: 1.8rem;
}

@media (max-width: 1366px) {
  #hero .hero-content {
    width: min(700px, calc(100% - (var(--pad) * 2))) !important;
    max-width: min(700px, calc(100% - (var(--pad) * 2))) !important;
    bottom: clamp(2.25rem, 6vh, 4rem);
  }

  #hero .hero-h1 {
    font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  }
}

@media (max-width: 767px) {
  #hero .hero-content {
    width: calc(100% - (var(--pad) * 2)) !important;
    max-width: calc(100% - (var(--pad) * 2)) !important;
    left: var(--pad);
    bottom: 2.25rem;
  }

  #hero .hero-h1 {
    max-width: 100%;
    line-height: 1.1;
  }

  #hero .hero-p {
    max-width: 100%;
    margin-bottom: 1.4rem;
  }
}
