/* ================================================================
   TJ NASH CONSTRUCTION INC. — Site Stylesheet
   Tokens → Reset → Typography → Buttons → Header → Components
   ================================================================ */

/* ----------------------------------------------------------------
   GOOGLE FONTS — loaded via <link> in HTML
   Anton (display/tagline), Barlow Condensed (headings), IBM Plex Sans (body)
   ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy:        #1B2A47;
  --navy-dark:   #111D32;
  --navy-mid:    #243660;
  --navy-light:  #2D4470;
  --orange:      #FF7A1A;
  --orange-dark: #D96200;
  --orange-glow: rgba(255, 122, 26, 0.25);
  --cream:       #F5F1EA;
  --cream-dark:  #EDE8DF;
  --white:       #FDFCFB;
  --charcoal:    #1A1A1A;
  --gray-mid:    #6B7180;
  --gray-light:  #D8D4CC;
  --star-gold:   #F5A623;

  /* Typography */
  --font-display:  'Anton', sans-serif;
  --font-heading:  'Barlow Condensed', sans-serif;
  --font-body:     'IBM Plex Sans', sans-serif;

  /* Layout */
  --max-w:    1200px;
  --gutter:   clamp(1rem, 4vw, 1.5rem);
  --header-h: 72px;

  /* Shape */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.10);
  --shadow-card: 0 2px 8px rgba(27,42,71,0.08), 0 8px 24px rgba(27,42,71,0.06);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.18);

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:    150ms;
  --dur-base:    250ms;
  --dur-slow:    450ms;
}

/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
svg { display: block; }

/* ----------------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }
.reveal-d7 { transition-delay: 0.56s; }
.reveal-d8 { transition-delay: 0.64s; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.05;
}

.section-title--light { color: #fff; }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 12px var(--orange-glow);
}
.btn-orange:hover {
  background: var(--orange-dark);
  box-shadow: 0 4px 20px rgba(255,122,26,0.4);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  background: transparent;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn .icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg .icon { width: 20px; height: 20px; }

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.header-cta { font-size: 0.85rem; padding: 0.55rem 1.2rem; flex-shrink: 0; }

/* Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 2px;
}
.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--navy-dark);
  padding: 0.5rem 0 1.25rem;
  z-index: 99;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover { color: var(--orange); background: rgba(255,255,255,0.04); }
.mobile-nav a.active { color: var(--orange); }
.mobile-nav .mobile-nav-cta {
  display: block;
  margin: 1rem 1.5rem 0;
  text-align: center;
}

/* ----------------------------------------------------------------
   MOBILE STICKY BAR
   ---------------------------------------------------------------- */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 58px;
  z-index: 200;
}
.mobile-sticky a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-sticky .sticky-call {
  background: var(--orange);
  color: #fff;
}
.mobile-sticky .sticky-quote {
  background: var(--navy);
  color: #fff;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.mobile-sticky svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* "40 years" ghost watermark */
.hero-stamp {
  position: absolute;
  right: -0.05em;
  bottom: -0.15em;
  font-family: var(--font-display);
  font-size: clamp(18rem, 42vw, 36rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Orange accent bar on left edge */
.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--orange);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  display: inline-block;
  position: relative;
}
.hero-tagline::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  opacity: 0.35;
  transform: skewX(-12deg);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9vw, 5.75rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.97;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.hero-headline .accent { color: var(--orange); }

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.75); }
  50% { opacity: 0.9; transform: scaleY(1); }
}

/* ----------------------------------------------------------------
   TRUST STRIP
   ---------------------------------------------------------------- */
.trust-strip {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0;
  overflow: hidden;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-right: 1px solid rgba(255,255,255,0.1);
  min-width: 220px;
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--orange); width: 18px; height: 18px; flex-shrink: 0; }

/* ----------------------------------------------------------------
   SECTION WRAPPERS
   ---------------------------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); }
.section--navy-dark { background: var(--navy-dark); }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ----------------------------------------------------------------
   HOME — SERVICES GRID
   ---------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--charcoal);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.service-tile:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.service-tile:hover::after { transform: scaleX(1); }
.service-tile:hover .tile-icon { color: var(--orange); }
.service-tile:hover .tile-arrow { opacity: 1; transform: translateX(0); }

.tile-icon {
  width: 38px; height: 38px;
  color: var(--navy);
  transition: color 0.3s;
}

.tile-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.tile-arrow {
  margin-top: auto;
  font-size: 1.1rem;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s var(--ease-out);
}

/* ----------------------------------------------------------------
   HOME — FEATURED PROJECTS
   ---------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-mid);
}
.project-card--wide { grid-row: 1 / 3; aspect-ratio: 3/4; }
.project-card--short { aspect-ratio: 4/3; }

.project-card img,
.project-card .img-ph {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover img,
.project-card:hover .img-ph { transform: scale(1.04); }

.card-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(transparent, rgba(17,29,50,0.92));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   IMAGE PLACEHOLDER
   ---------------------------------------------------------------- */
.img-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 1.5rem;
  position: relative;
}
.img-ph::before {
  content: '★ REPLACE WITH REAL PHOTO';
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.img-ph svg { width: 32px; height: 32px; opacity: 0.4; }
.img-ph .ph-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.img-ph .ph-desc {
  font-size: 0.7rem;
  line-height: 1.45;
  max-width: 200px;
  color: rgba(255,255,255,0.28);
}

/* ----------------------------------------------------------------
   REVIEWS CAROUSEL
   ---------------------------------------------------------------- */
.reviews-section { background: var(--navy); }

.reviews-track-wrapper { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc(33.333% - 0.875rem);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-stars {
  display: flex;
  gap: 3px;
  font-size: 1.1rem;
  color: var(--star-gold);
  letter-spacing: 1px;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  flex: 1;
}
.review-meta { margin-top: auto; }
.review-author {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.review-source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.2rem;
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.reviews-dots { display: flex; gap: 0.5rem; align-items: center; }
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
}
.reviews-dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}
.reviews-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.reviews-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
}
.reviews-btn svg { width: 14px; height: 14px; }

/* ----------------------------------------------------------------
   CTA BAND
   ---------------------------------------------------------------- */
.cta-band {
  background: var(--orange);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'GET STARTED';
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 14rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.08);
  pointer-events: none;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
  position: relative;
}
.cta-band p {
  color: rgba(255,255,255,0.88);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-logo-main {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}
.footer-logo-sub {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.footer-address {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
}
.footer-phone {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
  margin-bottom: 0.5rem;
}
.footer-phone:hover { opacity: 0.8; }
.footer-email {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.footer-email:hover { color: rgba(255,255,255,0.75); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.1rem;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}
.footer-col nav a:hover { color: #fff; padding-left: 0.4rem; }

.footer-contact-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-contact-btns .btn { justify-content: center; font-size: 0.9rem; }

.footer-license {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}

.footer-bottom {
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ----------------------------------------------------------------
   PAGE HERO (inner pages)
   ---------------------------------------------------------------- */
.page-hero {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.62); font-size: 1.1rem; max-width: 540px; }

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.page-breadcrumb a { color: var(--orange); transition: opacity 0.2s; }
.page-breadcrumb a:hover { opacity: 0.75; }
.page-breadcrumb .sep { color: rgba(255,255,255,0.2); }

/* ----------------------------------------------------------------
   SERVICES PAGE — SUBNAV
   ---------------------------------------------------------------- */
.services-subnav {
  background: var(--navy-dark);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  border-bottom: 2px solid rgba(255,122,26,0.4);
  overflow-x: auto;
  scrollbar-width: none;
}
.services-subnav::-webkit-scrollbar { display: none; }
.services-subnav nav {
  display: flex;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.services-subnav a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  padding: 0.9rem 1rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.services-subnav a:hover,
.services-subnav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ----------------------------------------------------------------
   SERVICES PAGE — SECTIONS
   ---------------------------------------------------------------- */
.service-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  border-bottom: 1px solid var(--gray-light);
}
.service-section:last-child { border-bottom: none; }

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}
.service-layout.flip { direction: rtl; }
.service-layout.flip > * { direction: ltr; }

.service-content .section-eyebrow { display: block; }
.service-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}
.service-content p {
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
}
.service-scope {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.service-scope li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.service-scope li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--orange);
  flex-shrink: 0;
  transform: rotate(45deg);
}
.service-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}

/* ----------------------------------------------------------------
   ABOUT PAGE
   ---------------------------------------------------------------- */
.about-story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
}
.about-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
}

.about-story h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: 1.25rem; }
.about-story p {
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.why-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-light);
}
.why-icon {
  width: 38px; height: 38px;
  background: rgba(255,122,26,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.why-icon svg { width: 18px; height: 18px; }
.why-content h4 {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--navy);
}
.why-content p {
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 1.55;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--cream);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.trust-badge svg { width: 18px; height: 18px; color: var(--orange); }

/* ----------------------------------------------------------------
   CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-label .req { color: var(--orange); }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,71,0.1);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B2A47' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.form-radio input {
  accent-color: var(--navy);
  width: 16px; height: 16px;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
}

.form-submit-row { margin-top: 0.5rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(27,42,71,0.05);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}
.form-success.show { display: block; }
.form-success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.form-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--gray-mid); font-size: 0.95rem; }

.contact-sidebar { display: flex; flex-direction: column; gap: 2rem; }

.contact-info-block { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; }
.info-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 0.25rem;
}
.info-value { font-size: 0.95rem; color: var(--charcoal); font-weight: 500; }
.info-value a { color: var(--navy); font-weight: 700; transition: color 0.2s; }
.info-value a:hover { color: var(--orange); }

/* ----------------------------------------------------------------
   MAPS EMBED
   ---------------------------------------------------------------- */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  line-height: 0;
  border: 2px solid var(--gray-light);
}
.map-embed iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

/* ----------------------------------------------------------------
   GALLERY PAGE
   ---------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 2px solid var(--gray-light);
  background: transparent;
  color: var(--gray-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-mid);
}
.gallery-item.hidden { display: none; }
.gallery-item .img-ph,
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover .img-ph,
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,29,50,0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(17,29,50,0.55);
  opacity: 1;
}
.gallery-overlay svg { width: 36px; height: 36px; color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
}
.lightbox-close {
  position: absolute;
  top: -3rem; right: 0;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-content {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--navy);
}
.lightbox-caption {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ----------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-story-layout { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-layout.flip { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }

  .mobile-sticky { display: flex; }
  body { padding-bottom: 58px; }

  .hero-stamp { display: none; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .trust-items { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); min-width: 0; }
  .trust-item:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .projects-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-card--wide { grid-row: auto; aspect-ratio: 16/9; }
  .project-card--short { aspect-ratio: 16/9; }

  .review-card { flex: 0 0 calc(100% - 0.875rem); }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }

  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn { justify-content: center; }

  .why-us-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
