/* ====================================================
   POWER SAVER ELECTRIC CORP — LUXURY MASTER STYLESHEET
   Palette: Deep Navy · Charcoal Black · Pure White
            Luxury Gold #C6A85A · Electric Blue #00C8FF
   ==================================================== */

/* v=2026ad */
/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a, button, [role="button"] { touch-action: manipulation; }

:root {
  /* Core palette */
  --navy:        #0A1628;
  --navy-mid:    #0D2044;
  --navy-light:  #112860;
  --charcoal:    #111318;
  --black:       #080A0F;
  --white:       #FFFFFF;
  --off-white:   #F4F6FA;
  --mid-gray:    #8A9BB5;
  --light-gray:  #D6DCE8;

  /* Accent colours — Luxury Gold Palette (rich, not yellow) */
  --gold:        #C6A85A;
  --gold-light:  #D4AD60;
  --gold-dark:   #A88E3A;
  --electric:    #00C8FF;
  --electric-dim:#007FAA;

  /* Gradients */
  --grad-navy:   linear-gradient(135deg, #0A1628 0%, #0D2044 60%, #112860 100%);
  --grad-gold:   linear-gradient(135deg, #8C7230 0%, #C6A85A 38%, #D4AD60 60%, #C6A85A 82%, #9A7A34 100%);
  --grad-elec:   linear-gradient(135deg, #00C8FF 0%, #007FAA 100%);
  --grad-dark:   linear-gradient(180deg, #080A0F 0%, #111318 100%);
  --grad-card:   linear-gradient(145deg, #111827 0%, #0A1628 100%);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 6px 20px rgba(0,0,0,0.5);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.6);
  --shadow-gold: 0 8px 32px rgba(198,168,90,0.3);
  --shadow-elec: 0 8px 32px rgba(0,200,255,0.2);
  --glow-gold:   0 0 24px rgba(198,168,90,0.5), 0 0 80px rgba(198,168,90,0.18);
  --glow-elec:   0 0 20px rgba(0,200,255,0.4), 0 0 60px rgba(0,200,255,0.15);

  /* Typography */
  --font-head:   'Playfair Display', 'Georgia', serif;
  --font-body:   'Inter', 'Helvetica Neue', sans-serif;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: rgba(255,255,255,0.88);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.022em;
  line-height: 1.07;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.04);
}
/* Gold italic accent — the "Three Generations" pattern */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}
h4, h5, h6 { font-family: var(--font-head); font-weight: 700; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; width: 100%; box-sizing: border-box; }
img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Real-photo rendering — let browser use its high-quality bicubic scaler */
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: auto;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
section { padding: 1.88rem 0; }

/* ─── GOLD DIVIDER LINE ─── */
.gold-line {
  display: block;
  width: 60px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 0.85rem auto 0;
  box-shadow: 0 0 10px rgba(198,168,90,0.35);
}

/* ─── SECTION LABELS ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  text-shadow: 0 0 18px rgba(198,168,90,0.35);
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 1.35rem; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  line-height: 1.07;
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 3px 28px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.06);
}
.section-header p {
  font-size: 0.95rem;
  color: rgba(185,200,220,0.90);
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.76;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0.88rem 2.05rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  border: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              opacity    0.28s ease,
              background 0.28s ease,
              border-color 0.28s ease,
              color        0.28s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  text-align: center;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.07); }
.btn-gold {
  background: linear-gradient(135deg, #8C7230 0%, #C6A85A 35%, #D4AD60 55%, #C6A85A 78%, #9A7A34 100%);
  color: #07111D;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(198,168,90,0.32);
  letter-spacing: 1.6px;
  text-shadow: none;
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1), box-shadow 0.32s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease;
}
.btn-gold:hover {
  transform: translateY(-3px);
  opacity: 0.95;
  box-shadow: 0 10px 28px rgba(198,168,90,0.44);
  color: #07111D;
}
.btn-electric {
  background: var(--grad-elec);
  color: var(--navy);
  box-shadow: var(--shadow-elec);
}
.btn-electric:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-elec);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.30);
  transition: border-color 0.32s ease, color 0.32s ease, background 0.32s ease, transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(198,168,90,0.06);
  transform: translateY(-3px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(198,168,90,0.6);
  letter-spacing: 1.6px;
}
.btn-outline-gold:hover {
  background: var(--grad-gold);
  color: #0A1628;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(198,168,90,0.4);
}
.btn-lg { padding: 1.05rem 2.7rem; font-size: 0.84rem; line-height: 1.2; letter-spacing: 1.6px; }

/* Safety: breadcrumbs, navs, and other inline elements must never appear inside a button */
.btn nav, .btn .breadcrumb, .btn-gold nav, .btn-outline nav {
  display: none !important;
}

/* Legacy aliases */
.btn-primary { background: var(--grad-elec); color: var(--navy); box-shadow: var(--shadow-elec); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--glow-elec); }
.btn-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   NAVBAR — single authoritative block
   Height: 96px desktop, 76px at ≤768px
   Never shrinks on scroll. Logo transparent, no box.
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgb(6,8,14);
  border-bottom: 1px solid rgba(198,168,90,0.20);
  height: 96px;
  overflow: visible;
}
.navbar.scrolled {
  background: rgb(6,8,14);
  border-bottom-color: rgba(198,168,90,0.28);
  box-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
/* Nav inner wrapper — centered content, full-width bar */
.nav-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 0.5rem;
  overflow: visible;
}

/* ── Logo — fully transparent, no box, no artifacts ── */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-left: 4px;
  background: transparent;
  isolation: auto;         /* do NOT create stacking context — lets mix-blend-mode work */
}
.logo a {
  display: flex;
  align-items: center;
  background: transparent;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  border: none;
  box-shadow: none;
}
.logo a:hover,
.logo a:focus,
.logo a:active {
  background: transparent;
  box-shadow: none;
  outline: none;
  border: none;
}
.logo img {
  width: clamp(160px, 18vw, 320px);
  height: auto;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
  display: block;
  mix-blend-mode: screen;
  filter: contrast(1.5) brightness(1.3) saturate(1.3);
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: auto;
  transition: filter 0.3s ease;
}
.logo img:hover {
  filter: contrast(1.55) brightness(1.4) saturate(1.35);
}
.navbar.scrolled .logo img {
  filter: contrast(1.5) brightness(1.3) saturate(1.3);
}

/* ── Nav menu (desktop) ── */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  flex-wrap: nowrap;
  min-width: 0;
  flex-shrink: 1;
  overflow: visible;
}
.nav-menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}
.nav-menu > li > a {
  color: rgba(255,255,255,0.70);
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 0 0.55rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  transition: color 0.28s ease;
}
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.nav-menu > li > a:hover { color: rgba(255,255,255,0.95); }
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { transform: scaleX(1); }
.nav-menu > li > a.active { color: var(--white); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: rgba(10,16,32,0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(198,168,90,0.16);
  border-top: 2px solid rgba(198,168,90,0.38);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  list-style: none;
  min-width: 210px;
  padding: 0.4rem 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { height: auto; display: block; }
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  height: auto;
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu li a:hover {
  color: var(--white);
  border-left-color: var(--gold);
  background: rgba(198,168,90,0.06);
  padding-left: 1.8rem;
}

/* CTA nav button */
.nav-menu li:has(.btn-contact) {
  height: auto;             /* don't stretch to full navbar height */
  overflow: visible;
}
.btn-contact {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid rgba(198,168,90,0.5) !important;
  padding: 0.45rem 1.0rem !important;
  border-radius: 3px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.66rem !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  margin-left: 0.3rem;
  transition: all 0.25s ease !important;
  white-space: nowrap;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
.btn-contact::after { display: none !important; }
.btn-contact:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  cursor: pointer;
  min-width: 40px; min-height: 40px;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.mobile-menu-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #06080d;
  margin-top: 96px;   /* matches navbar height — 96px desktop */
  overflow: hidden;
}

/* Storm cloud background — CDN image */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(2,3,8,0.38) 0%,
      transparent 30%,
      transparent 52%,
      rgba(3,5,10,0.82) 76%,
      #03050a 95%
    ),
    url('../images/hero-bg-desktop.jpg') center top / cover no-repeat;
  opacity: 0.93;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.78) contrast(1.42) saturate(1.06);
}

/* Layer 1 — ultra-restrained ambient, zero visible glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 35% at 50% 62%,
      rgba(0, 80, 180, 0.05) 0%,
      rgba(0, 50, 140, 0.02) 52%,
      transparent 76%
    );
  z-index: 0;
  pointer-events: none;
}

/* Layer 2 — cinematic vignette: premium edge crush, precise text scrim */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* a) Edge crush — deeper corners, open cinematic centre */
    radial-gradient(
      ellipse 96% 96% at 50% 50%,
      transparent 30%,
      rgba(1,2,7,0.72) 68%,
      rgba(1,2,6,0.95) 100%
    ),
    /* b) Text scrim — dark ellipse centred behind copy block */
    radial-gradient(
      ellipse 58% 46% at 50% 44%,
      rgba(2,4,12,0.72) 0%,
      rgba(2,4,10,0.22) 50%,
      transparent 72%
    ),
    /* c) Letterbox — subtle top/bottom bars */
    linear-gradient(
      to bottom,
      rgba(1,2,7,0.60) 0%,
      rgba(1,2,7,0.02) 14%,
      rgba(1,2,7,0.02) 58%,
      rgba(1,2,7,0.72) 100%
    );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  /* Shifted upward ~7% — balanced, not too aggressive */
  padding: 0 2rem 3.5rem;
  margin-top: -7vh;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  animation: fadeUp 0.6s ease both;
  text-shadow:
    0 1px 4px rgba(0,0,0,1),
    0 3px 14px rgba(0,0,0,0.98),
    0 0 18px rgba(198,168,90,0.28);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  font-style: normal;
  line-height: 1.05;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0,0,0,1),
    0 2px 10px rgba(0,0,0,1),
    0 5px 28px rgba(0,0,0,0.98),
    0 0 60px rgba(0,0,0,0.88),
    0 1px 0 rgba(255,255,255,0.04);
  margin-bottom: 0.45rem;
  animation: fadeUp 0.8s ease both;
  letter-spacing: -0.025em;
}
.hero-title-line2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);  /* tighter — gold line complements, not competes */
  font-weight: 600;
  font-style: italic;                         /* italic gold subline — elegant, distinct from h1 */
  line-height: 1.15;
  color: var(--gold-light);
  display: block;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.9s ease both;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 3px rgba(0,0,0,1),
    0 3px 14px rgba(0,0,0,0.98),
    0 0 28px rgba(198,168,90,0.28),
    0 5px 20px rgba(0,0,0,0.90);
}
.hero-divider {
  width: 48px; height: 1px;
  background: var(--grad-gold);
  opacity: 0.75;
  margin: 0 auto 1.1rem;
  animation: fadeUp 0.95s ease both;
  box-shadow: 0 0 8px rgba(198,168,90,0.35);
}
.hero-subtitle {
  font-size: clamp(0.78rem, 1.4vw, 0.94rem);
  color: rgba(255,255,255,0.78);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.6rem;
  animation: fadeUp 1s ease both;
  text-shadow:
    0 1px 4px rgba(0,0,0,1),
    0 2px 12px rgba(0,0,0,0.98),
    0 0 18px rgba(0,0,0,0.88);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1.1s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.5s infinite;
  color: rgba(255,255,255,0.3);
  font-size: 1.1rem;
  z-index: 2;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}

/* ═══════════════════════════════════════════════════
   DOCK SHOWCASE — SIGNATURE WORK
═══════════════════════════════════════════════════ */
.dock-showcase {
  background: #000;
  padding: 0;
  position: relative;
}
.dock-showcase-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2rem 1.5rem 1.6rem;
  background: #06080d;
}
.dock-showcase-line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(198,168,90,0.45), transparent);
}
.dock-showcase-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(198,168,90,0.75);
  white-space: nowrap;
}
.dock-showcase-figure {
  margin: 0;
  padding: 0;
  position: relative;
  line-height: 0;
  overflow: hidden;
}
/* Radial blue glow — sits above the image, below the caption.
   Mimics the glow of underwater/dock lighting pooling on the water.
   Low opacity so it enhances rather than dominates. */
.dock-showcase-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 72%,
      rgba(0, 140, 255, 0.13) 0%,
      rgba(0, 100, 220, 0.07) 45%,
      transparent 75%
    );
}
.dock-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 90vh;
  object-fit: cover;
  object-position: center center;
  /* Boost blue lighting clarity: +12% brightness, stronger contrast, richer saturation */
  filter: brightness(1.12) contrast(1.18) saturate(1.22);
  /* Ultra-sharp rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -webkit-font-smoothing: antialiased;
}
.dock-showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  /* Reduced overlay — target 40–45% opacity for cinematic feel */
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.44) 0%,
    rgba(0,0,0,0.18) 55%,
    transparent 100%
  );
  padding: 2.2rem 2rem 1.5rem;
  line-height: 1.4;
}
.dock-caption-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  max-width: 1240px;
  margin: 0 auto;
}
.dock-caption-title {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.dock-caption-sep {
  color: rgba(198,168,90,0.55);
  font-size: 1.2rem;
}
.dock-caption-location {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.dock-caption-location i {
  color: var(--gold);
  font-size: 0.72rem;
}
.dock-caption-link {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, opacity 0.2s;
  opacity: 0.85;
}
.dock-caption-link:hover {
  gap: 10px;
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   BRAND LOGO SHOWCASE
═══════════════════════════════════════════════════ */
.brand-showcase {
  background: #06080d;
  padding: 1.4rem 0 1.2rem;
  text-align: center;
  border-top: 1px solid rgba(198,168,90,0.12);
  border-bottom: 1px solid rgba(198,168,90,0.1);
  position: relative;
  overflow: hidden;
}
/* Subtle radial vignette — z-index:-1 keeps it behind all content including blend-mode img */
.brand-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,22,40,0.5) 0%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.brand-eyebrow {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(198,168,90,0.55);
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 2;
}
.brand-logo-wrap {
  /* No position/z-index — must NOT create a stacking context or blend mode won't reach the section bg */
  display: block;
  text-align: center;
  margin: 0 auto;
  isolation: auto;
}
.brand-logo-wrap img {
  width: min(340px, 62vw);
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: screen;
  filter: brightness(1.28) contrast(1.14) saturate(1.15);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
}
.brand-tagline {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(198,168,90,0.55);
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════ */
.trust-bar {
  background: rgba(10,18,35,0.98);
  border-top: 1px solid rgba(198,168,90,0.18);
  border-bottom: 1px solid rgba(198,168,90,0.12);
  padding: 0.7rem 0;
  text-align: center;
}
.trust-bar p {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 2px;
  text-transform: none;
  color: rgba(198,168,90,0.65);
}
.trust-bar p i { margin-right: 5px; color: var(--gold); opacity: 0.65; }

/* ═══════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════ */
.stats-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(198,168,90,0.1);
  padding: 1.6rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 1.05rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  font-style: italic;
  color: var(--gold);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
  text-shadow: 0 0 16px rgba(198,168,90,0.3);
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ═══════════════════════════════════════════════════
   LICENSE BANNER (inner pages)
═══════════════════════════════════════════════════ */
.license-banner {
  background: var(--navy-mid);
  border-top: 1px solid rgba(198,168,90,0.15);
  border-bottom: 1px solid rgba(198,168,90,0.15);
  padding: 1.6rem 0;
}
.license-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.license-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}
.license-item i { color: var(--gold); font-size: 1rem; }
.license-item strong { color: var(--white); }
.license-sep {
  width: 1px; height: 28px;
  background: rgba(198,168,90,0.2);
}

/* ═══════════════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════════════ */
.services-section { background: var(--charcoal); padding: 2.4rem 0; }
.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.service-card {
  background: var(--grad-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 1.95rem 1.6rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  /* Equal-height cards — all items in a row match tallest card */
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(198,168,90,0.3);
  box-shadow: var(--shadow-gold);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: var(--transition);
}
.service-icon i { font-size: 1.4rem; color: var(--electric); }
.service-card:hover .service-icon {
  background: rgba(0,200,255,0.14);
  box-shadow: 0 4px 20px rgba(0,200,255,0.15);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 900;
  font-style: normal;
  color: var(--white);
  margin-bottom: 0.82rem;
  line-height: 1.22;
  letter-spacing: -0.018em;
}
.service-card p {
  font-size: 0.86rem;
  color: rgba(185,200,220,0.88);
  line-height: 1.78;
  margin-bottom: 1.55rem;
  flex: 1; /* grow to push link to bottom */
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  margin-top: auto; /* pin link to card bottom */
}
.service-link:hover { gap: 10px; color: var(--gold-light); }

/* ═══════════════════════════════════════════════════
   PORTFOLIO / PROJECT SHOWCASE
═══════════════════════════════════════════════════ */
.portfolio-section {
  background: var(--black);
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.2rem;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: #06090f;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,10,15,0.88) 0%, transparent 50%);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 1;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; background: linear-gradient(to top, rgba(8,10,15,0.95) 0%, rgba(8,10,15,0.1) 60%); }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay h4 {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.portfolio-overlay p {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}
.portfolio-cta { text-align: center; }

/* ═══════════════════════════════════════════════════
   ABOUT SNIPPET
═══════════════════════════════════════════════════ */
.about-section {
  background: var(--navy-mid);
  border-top: 1px solid rgba(198,168,90,0.08);
  border-bottom: 1px solid rgba(198,168,90,0.08);
  padding: 2.1rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.35rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  max-width: 340px;
  margin: 0 auto;
}
/* 3D card wrapper */
.about-team-card {
  perspective: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.05) inset,
    0 -1px 0 rgba(0,0,0,0.5) inset,
    4px 4px 0 rgba(0,0,0,0.35),
    8px 10px 16px rgba(0,0,0,0.55),
    0 0 0 1px rgba(198,168,90,0.18);
  transform: translateZ(0);
  transition: transform 0.38s cubic-bezier(0.23,1,0.32,1), box-shadow 0.38s cubic-bezier(0.23,1,0.32,1);
  will-change: transform;
}
.about-team-card:hover {
  transform: rotateX(-1deg) rotateY(2deg) translateY(-4px) scale(1.015);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.6) inset,
    6px 14px 0 rgba(0,0,0,0.3),
    14px 22px 36px rgba(0,0,0,0.65),
    0 0 0 1px rgba(198,168,90,0.35),
    0 0 30px rgba(198,168,90,0.1);
}
/* Full-image 4K portrait */
.about-team-img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  filter: contrast(1.06) saturate(1.08) brightness(0.98);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}
.about-team-card:hover .about-team-img {
  transform: translateZ(0) scale(1.03);
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198,168,90,0.2);
  pointer-events: none;
}
.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-style: normal;
  color: var(--white);
  margin-bottom: 1.7rem;
  line-height: 1.07;
  letter-spacing: -0.022em;
  font-weight: 900;
}
.about-text p {
  color: rgba(185,200,220,0.92);
  line-height: 1.82;
  margin-bottom: 0.8rem;
  font-size: 0.91rem;
}
.about-text p strong { color: var(--white); font-weight: 600; }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 1.6rem;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198,168,90,0.08);
  border: 1px solid rgba(198,168,90,0.25);
  border-radius: 50px;
  padding: 0.38rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.about-badge i { font-size: 0.72rem; }

/* ═══════════════════════════════════════════════════
   GUARANTEE
═══════════════════════════════════════════════════ */
.guarantee-section { background: var(--charcoal); padding: 1.72rem 0; }
.guarantee-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 2.0rem 2.4rem;
  background: var(--grad-card);
  border: 1px solid rgba(198,168,90,0.15);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px;
  background: var(--grad-gold);
}
.guarantee-icon {
  width: 68px; height: 68px;
  background: rgba(198,168,90,0.08);
  border: 1px solid rgba(198,168,90,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.guarantee-icon i { font-size: 1.6rem; color: var(--gold); }
.guarantee-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-style: normal;
  letter-spacing: -0.022em;
  color: var(--white);
  margin-bottom: 1.15rem;
  font-weight: 900;
}
.guarantee-card p {
  font-size: 0.92rem;
  color: rgba(185,200,220,0.90);
  line-height: 1.8;
  margin-bottom: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.guarantee-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.05rem;
}
.guarantee-pillar {
  padding: 1.1rem 0.9rem;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}
.guarantee-pillar i { font-size: 1.1rem; color: var(--electric); margin-bottom: 0.5rem; display: block; }
.guarantee-pillar span { font-size: 0.8rem; font-weight: 600; color: var(--white); letter-spacing: 0.3px; }

/* ═══════════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════════ */
.why-section { background: var(--navy-mid); padding: 1.72rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.why-item {
  padding: 1.4rem 1.2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.why-item:hover {
  border-color: rgba(198,168,90,0.25);
  background: rgba(198,168,90,0.03);
  transform: translateY(-5px);
}
.why-icon {
  width: 50px; height: 50px;
  background: rgba(198,168,90,0.08);
  border: 1px solid rgba(198,168,90,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.05rem;
}
.why-icon i { font-size: 1.2rem; color: var(--gold); }
.why-item h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
  font-style: normal;
  color: var(--white);
  margin-bottom: 0.58rem;
  letter-spacing: -0.018em;
}
.why-item p { font-size: 0.86rem; color: rgba(185,200,220,0.88); line-height: 1.75; }

/* ═══════════════════════════════════════════════════
   VAN SECTION
═══════════════════════════════════════════════════ */
.van-section { background: var(--black); padding: 2.6rem 0; }
.van-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(198,168,90,0.1);
  max-width: 780px;
  margin: 0 auto;
}
.van-wrap img { width: 100%; height: auto; filter: contrast(1.12) saturate(1.08) brightness(1.04); image-rendering: auto; transform: translateZ(0); backface-visibility: hidden; }
.van-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,10,15,0.96) 0%, transparent 100%);
  padding: 3rem 2.5rem 2rem;
}
.van-caption .eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.van-caption .eyebrow i { margin-right: 6px; }
.van-caption p { font-size: 0.92rem; color: rgba(255,255,255,0.78); max-width: 580px; line-height: 1.75; }

/* ═══════════════════════════════════════════════════
   GOOGLE REVIEWS
═══════════════════════════════════════════════════ */
.reviews-section { background: var(--charcoal); padding: 1.72rem 0; }
.reviews-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.reviews-header h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.022em;
  margin-bottom: 0.5rem;
}
.reviews-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.reviews-rating-row img { height: 20px; width: auto; }
.stars { display: flex; gap: 3px; }
.stars i { color: #F5C518; font-size: 1rem; }
.rating-num { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.rating-count { font-size: 0.88rem; color: var(--mid-gray); }

/* ═══════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════ */
.cta-section {
  background: var(--grad-navy);
  border-top: 1px solid rgba(198,168,90,0.1);
  text-align: center;
  padding: 2.4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,200,255,0.05) 0%, transparent 70%);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.0rem;
  position: relative;
}
.cta-section p {
  font-size: 1rem;
  color: rgba(185,200,220,0.90);
  margin-bottom: 1.9rem;
  position: relative;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(198,168,90,0.12);
  padding: 2.4rem 0 1.4rem;
}

/* Footer Logo Centerpiece */
.footer-logo-wrap {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
/* screen blend removes black bg from both logo classes */
.footer-logo-img, .footer-logo {
  width: min(320px, 68vw);
  height: auto;
  display: block;
  margin: 0 auto;
  /* screen blend: black bg becomes invisible, logo floats on dark footer */
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.1) saturate(1.05);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: filter 0.3s ease;
}
.footer-logo-img:hover {
  filter: brightness(1.22) contrast(1.12) saturate(1.1) drop-shadow(0 0 8px rgba(0,200,255,0.35));
}

/* ══════════════════════════════════════════════════
   FOOTER — single authoritative block, no overrides elsewhere
══════════════════════════════════════════════════ */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  align-items: start;
}
.footer-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 2.1rem; /* matches footer-col h4 height + margin so all columns align */
}
.footer-about p {
  font-size: 0.78rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 0.7rem;
  text-align: center;
}
.footer-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--mid-gray);
}
.footer-cert span { display: block; text-align: center; }
.footer-cert strong { color: var(--gold); font-weight: 600; }
.footer-col {
  text-align: center;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.70rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li {
  margin-bottom: 0.45rem;
  display: flex;
  justify-content: center;
}
.footer-col ul li a {
  font-size: 0.78rem;
  color: var(--mid-gray);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
/* Contact column */
.footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  color: var(--mid-gray);
  width: fit-content;
  text-align: left;
}
.footer-contact-list li i {
  color: var(--electric);
  font-size: 0.78rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-list li a { color: var(--mid-gray); }
.footer-contact-list li a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.8;
}
.footer-bottom a { color: rgba(255,255,255,0.25); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   PAGE HEADERS (inner pages)
═══════════════════════════════════════════════════ */
.page-header {
  background: var(--grad-navy);
  margin-top: 96px;   /* matches navbar height — 96px desktop */
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(0,200,255,0.07) 0%, transparent 70%);
}
.page-header-content { position: relative; z-index: 2; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.page-header h1 i { color: var(--gold); margin-right: 0.5rem; }
.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ─── QUICK CONTACT BANNER ─── */
.quick-contact-banner {
  background: var(--grad-gold);
  padding: 2.5rem 0;
}
.quick-contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.quick-contact-text h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 0.25rem; }
.quick-contact-text p { font-size: 0.95rem; color: rgba(10,22,40,0.75); }

/* ─── STICKY PHONE BUTTON ─── */
.sticky-phone {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: var(--grad-gold);
  color: var(--navy);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  border: 2px solid var(--gold-light);
}
.sticky-phone:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-gold);
  color: var(--navy);
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: rgba(198,168,90,0.12); border-color: var(--gold); color: var(--gold); }

/* ─── LICENSE SERVICE BANNER ─── */
.license-service-banner {
  background: var(--navy-mid);
  border-top: 1px solid rgba(198,168,90,0.12);
  border-bottom: 1px solid rgba(198,168,90,0.12);
  padding: 2rem 0;
}
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}
.banner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
.banner-item i { font-size: 2rem; color: var(--gold); }
.banner-item div strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.banner-item div span { font-size: 0.8rem; color: var(--mid-gray); }

/* ═══════════════════════════════════════════════════
   ANIMATIONS — INTERSECTION OBSERVER
═══════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Brand logo blend fix ──
   mix-blend-mode:screen is broken by CSS transform (creates stacking context).
   Logo wrappers animate opacity-only so the img can blend against the section bg.
*/
.brand-logo-wrap.fade-in,
.svc-brand-logo.fade-in,
.marina-brand-logo.fade-in,
.elev-brand-logo.fade-in,
.comm-brand-logo.fade-in,
.gen-brand-logo.fade-in,
.abt-brand-logo.fade-in {
  transform: none !important;
}
.brand-logo-wrap.fade-in.visible,
.svc-brand-logo.fade-in.visible,
.marina-brand-logo.fade-in.visible,
.elev-brand-logo.fade-in.visible,
.comm-brand-logo.fade-in.visible,
.gen-brand-logo.fade-in.visible,
.abt-brand-logo.fade-in.visible {
  transform: none !important;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 1200px  (layout grid only, NO hamburger)
   Logo shrinks to ensure all 9 nav items fit on
   screens 1025px–1440px without triggering hamburger
═══════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  /* layout grid only — hamburger not yet active */
  .services-cards { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 1024px  (Hamburger activates HERE)
   With 9 nav items + logo, the desktop bar runs out of
   room below ~1024px. Switch to drawer at this point.
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* ── Hamburger activates at 1024px ── */
  .mobile-menu-btn { display: flex; }
  .nav-menu {
    position: fixed;
    top: 96px; left: -100%;
    width: 100%;
    height: calc(100vh - 96px);
    background: rgba(6,8,14,0.99);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    gap: 0;
    overflow-y: auto;
    transition: left 0.32s cubic-bezier(0.4,0,0.2,1);
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: unset;
    z-index: 999;
  }
  .nav-menu.active { left: 0; }
  .nav-menu li { height: auto; }
  .nav-menu > li > a {
    font-size: 0.9rem;
    letter-spacing: 1.4px;
    padding: 0.85rem 0;
    height: auto;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    justify-content: flex-start;
    white-space: normal;
  }
  .nav-menu > li > a::after { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(198,168,90,0.18);
    border-radius: 0;
    border-top: none;
    display: none;
    margin: 0 0 0.4rem 0.8rem;
    padding: 0;
    backdrop-filter: none;
    min-width: 0;
  }
  .dropdown.active .dropdown-menu { display: block; }
  .dropdown-menu li a {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    border-left: none;
    color: rgba(255,255,255,0.5);
  }
  .dropdown-menu li a:hover { padding-left: 1.2rem; color: var(--gold); background: none; }
  .btn-contact {
    display: inline-flex !important;
    margin: 0.8rem 0 0.5rem !important;
    width: fit-content !important;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 1280px layout adjustments
═══════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .services-cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.35rem; }
  .about-image-wrap { max-width: 540px; margin: 0 auto; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.06); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar { height: 76px; }
  .nav-wrapper { height: 76px; }
  .nav-container { padding: 0 1rem; }
  .nav-menu {
    top: 76px;
    height: calc(100vh - 76px);
  }

  section { padding: 3rem 0; }
  .container { padding: 0 16px; }

  .logo img {
    width: clamp(130px, 38vw, 220px);
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(1.6) contrast(1.45) saturate(1.5);
    image-rendering: auto;
  }

  /* Hero — kill the min-height:100vh gap on mobile */
  .hero { margin-top: 76px; text-align: center; min-height: 0; padding: 3rem 0 3.5rem; }
  .hero-content { padding: 1.5rem 1.4rem 2rem; margin-top: 0; }
  .hero-title { font-size: 1.85rem; }
  .hero-title-line2 { font-size: 1.25rem; margin-bottom: 1rem; }
  .hero-divider { margin: 0 auto 1rem; }
  .hero-subtitle { font-size: 0.74rem; letter-spacing: 2.8px; margin-bottom: 1.4rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.65rem; }
  /* Storm clouds — portrait CDN image on mobile */
  .hero::after {
    background:
      linear-gradient(
        to bottom,
        rgba(4,5,10,0.24) 0%,
        transparent 38%,
        rgba(6,8,13,0.78) 68%,
        #06080d 88%
      ),
      url('../images/hero-bg-desktop.jpg') center 30% / cover no-repeat;
    opacity: 0.92;
    filter: brightness(0.83) contrast(1.28) saturate(1.06);
  }

  /* Dock showcase */
  .dock-showcase-img { max-height: 60vw; object-position: center 30%; }
  .dock-caption-inner { gap: 0.5rem 1rem; }
  .dock-caption-link { margin-left: 0; margin-top: 0.3rem; }
  .dock-showcase-label { padding: 1.5rem 1rem 1.2rem; }
  .dock-showcase-line { max-width: 60px; }

  /* Brand showcase */
  .brand-showcase { padding: 1.2rem 0; }
  .brand-logo-wrap img { width: min(280px, 76vw); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .services-cards { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }

  /* Guarantee */
  .guarantee-pillars { grid-template-columns: 1fr; }
  .guarantee-card { padding: 3rem 1.8rem; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Banner */
  .banner-grid { grid-template-columns: 1fr; text-align: center; gap: 1.2rem; }
  .banner-item { flex-direction: column; gap: 0.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-logo-img { width: min(220px, 65vw); }
  .footer-about p { max-width: 100%; }

  /* License bar */
  .license-banner .container { flex-direction: column; gap: 1rem; text-align: center; }
  .license-sep { width: 60px; height: 1px; }

  /* Quick contact */
  .quick-contact-content { flex-direction: column; text-align: center; }

  /* Page header */
  .page-header { padding: 4rem 0 2.5rem; margin-top: 76px; }
  .page-header h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.9rem; }
  .section-header { margin-bottom: 1.8rem; }

  input, select, textarea { font-size: 16px !important; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .navbar { height: 68px; }
  .nav-wrapper { height: 68px; }
  .nav-container { padding: 0 0.75rem; }
  .hero { margin-top: 68px !important; }
  .nav-menu { top: 68px; height: calc(100vh - 68px); }
  /* Storm clouds — full opacity portrait image on small phones */
  .hero::after {
    background:
      linear-gradient(
        to bottom,
        rgba(4,5,10,0.28) 0%,
        transparent 36%,
        rgba(6,8,13,0.82) 64%,
        #06080d 86%
      ),
      url('../images/hero-bg-desktop.jpg') center 30% / cover no-repeat;
    opacity: 0.94;
    filter: brightness(0.82) contrast(1.30) saturate(1.04);
  }
  .hero-title { font-size: 1.65rem; }
  .hero-title-line2 { font-size: 1.15rem; margin-bottom: 0.9rem; }
  .hero-subtitle { font-size: 0.7rem; letter-spacing: 2.4px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2rem; }
  .btn-lg { padding: 0.85rem 1.6rem; font-size: 0.8rem; }
  .logo img {
    width: clamp(140px, 44vw, 220px);
    height: auto;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(1.6) contrast(1.45) saturate(1.5);
    image-rendering: auto;
  }
  .footer-bottom p { font-size: 0.7rem; line-height: 1.75; }
  .brand-logo-wrap img { width: min(280px, 88vw); }
  .brand-tagline { font-size: 0.9rem; }
}

/* ══════════════════════════════════════════════════════════
   HIGH-DPI / RETINA / 4K RENDERING — CRISP AT EVERY DENSITY
   ══════════════════════════════════════════════════════════ */

/* 2× Retina displays (most phones, MacBook Pro) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img {
    image-rendering: auto;
  }
  .svc-photo-item img,
  .comm-work-item img,
  .svc-work-item img,
  .marina-showcase-item img,
  .elev-work-item img,
  .glry-tile img,
  .photo-card__img,
  .svc-ba-card-img img,
  .svc-ba-img img,
  .svc-hero-img {
    image-rendering: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

/* 3× and 4K displays — auto rendering is already optimal */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  img { image-rendering: auto; }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCTION AUDIT REPAIR — Full Sitewide QA Pass (May 2026)
   Fixes: mobile overflow · card alignment · label readability ·
          hero polish · typography · nav · image containers
   ══════════════════════════════════════════════════════════════ */

/* ── 1. Global overflow guard ── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
*, *::before, *::after {
  box-sizing: border-box;
}
.container {
  width: 100%;
  max-width: 1240px;
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ── 2. Nav logo — sharp at all sizes, never overflow ── */
.navbar {
  height: 96px;
  overflow: visible;
}
.nav-wrapper {
  height: 96px;
  overflow: visible;
  box-sizing: border-box;
}
.logo { flex-shrink: 0; }
.logo img {
  /* Matches base rule above — smooth rendering */
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Nav links — guaranteed to fit 1024px–∞ */
.nav-menu {
  flex-shrink: 1;
  min-width: 0;
  overflow: visible;
}
.nav-menu > li > a {
  white-space: nowrap;
}

/* ── 3. Hero — desktop centred; mobile overrides below ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  padding-bottom: 4rem;
  margin-top: -4vh;   /* desktop only — mobile overrides set margin-top:0 */
}
.hero-btns {
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btns .btn {
  min-width: 150px;
  justify-content: center;
}

/* ── 4. Section padding — consistent rhythm ── */
section { padding: 3.2rem 0; }
.svc-section { padding: 2.4rem 0; }

/* ── 5. Service cards — equal height, centered orphans ── */
.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card p { flex: 1; }
.service-card .service-link { margin-top: auto; }

/* ── 6. Portfolio grid ── */
.portfolio-grid {
  width: 100%;
  box-sizing: border-box;
}
.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

/* ── 7. Image containers — consistent radius and shadow ── */
.svc-photo-badge-wrap,
.svc-photo-item,
.photo-card__inner,
.marina-showcase-item,
.elev-work-item,
.comm-work-item,
.svc-work-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.svc-photo-item {
  position: relative;
  background: #06090f;
  border: 1px solid rgba(198,168,90,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
.svc-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── 8. Gold labels — always readable ── */
.svc-photo-item span {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 4 !important;
  opacity: 1 !important;
  display: block !important;
  background: linear-gradient(to top,
    rgba(2,4,10,0.98) 0%,
    rgba(2,4,10,0.85) 40%,
    rgba(2,4,10,0.35) 70%,
    transparent 100%
  ) !important;
  padding: 2.4rem 0.9rem 0.85rem !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,1) !important;
  text-shadow: 0 1px 5px rgba(0,0,0,1), 0 2px 10px rgba(0,0,0,0.9) !important;
  pointer-events: none !important;
  letter-spacing: 0.4px !important;
}
.svc-photo-item span i {
  color: #D4B870 !important;
  margin-right: 5px !important;
  text-shadow: 0 1px 6px rgba(0,0,0,1) !important;
}
.svc-photo-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 5 !important;
  background: linear-gradient(135deg, #5a3f00 0%, #b8922a 35%, #D4AD60 55%, #b8922a 80%, #5a3f00 100%) !important;
  color: #07111D !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  padding: 0.32rem 0.95rem !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.75), 0 1px 0 rgba(255,255,255,0.15) inset !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
  white-space: nowrap !important;
}
.svc-category-label {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(10,22,50,0.97) !important;
  border-left: 3px solid var(--electric) !important;
  color: var(--electric) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
  opacity: 1 !important;
}
.svc-project-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #040c1c, #0d1e3c) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.6rem 1.8rem !important;
  color: #D4B870 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.75), 0 0 0 1px rgba(198,168,90,0.25) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
  opacity: 1 !important;
}

/* ── 9. Before/After pills ── */
.svc-ba-pill--before {
  background: rgba(160, 30, 30, 0.88) !important;
  color: #fff !important;
  border: 1px solid rgba(220,80,80,0.7) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7) !important;
  opacity: 1 !important;
}
.svc-ba-pill--after {
  background: rgba(15, 120, 55, 0.88) !important;
  color: #c8ffd8 !important;
  border: 1px solid rgba(60,200,100,0.7) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7) !important;
  opacity: 1 !important;
}

/* ── 10. Typography rhythm ── */
h2 { line-height: 1.1; margin-bottom: 0.5rem; }
h3 { line-height: 1.2; margin-bottom: 0.4rem; }
p  { line-height: 1.72; }
.svc-lead {
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  max-width: 680px;
}

/* ── 11. Stat cards ── */
.svc-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── 12. Responsive 1024px (tablet — hamburger already handled above) ── */
@media (max-width: 1024px) {
  section { padding: 2.8rem 0; }
  /* Logo size for hamburger context already set in the main 1024px block above */
}

/* ── 13. Responsive 768px (mobile) ── */
@media (max-width: 768px) {
  .logo img {
    width: clamp(130px, 38vw, 220px);
    height: auto;
    max-height: 58px;
  }
  section { padding: 2.2rem 0; }
  .services-cards { grid-template-columns: 1fr; }
  .hero-content { margin-top: 0; padding: 1.5rem 1.2rem 3rem; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-title-line2 { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  .hero-btns { gap: 0.6rem; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  /* Prevent any element from causing horizontal scroll */
  img, video, iframe, table { max-width: 100%; }
  .svc-photo-grid,
  .svc-ba-strip,
  .svc-day-night,
  .svc-intro-inner,
  .svc-two-col,
  .svc-two-col-rev,
  .gen-ba-wrap,
  .carfix-ba-wrap { 
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
}

/* ── 14. Responsive 480px (small phones) ── */
@media (max-width: 480px) {
  .logo img {
    width: clamp(120px, 40vw, 200px);
    height: auto;
    max-height: 52px;
  }
  section { padding: 1.8rem 0; }
  .container { padding-left: 14px; padding-right: 14px; }
  .hero-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-title-line2 { font-size: clamp(1rem, 5vw, 1.3rem); }
  .hero-subtitle { font-size: 0.68rem; letter-spacing: 2px; }
  .svc-ba-strip {
    grid-template-columns: 1fr !important;
    border-radius: var(--radius-md);
  }
  .svc-ba-arrow { display: none !important; }
  .svc-ba-card--before:first-child { grid-column: auto; }
}

/* ══════════════════════════════════════════════════════════════
   FINAL PRODUCTION QA — v2026c
   Fixes: hero mobile gap · badge contrast · call btn safe area ·
          trust bar layout · gallery preload · spacing rhythm
   ══════════════════════════════════════════════════════════════ */

/* ── Hero: eliminate dead space on mobile ── */
@media (max-width: 768px) {
  .hero {
    min-height: 0 !important;
    align-items: flex-start;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }
  .hero-content { padding-bottom: 0; margin-top: 0; }
  .hero-title { margin-bottom: 0.3rem; }
  .hero-title-line2 { margin-bottom: 0.85rem; }
  .hero-divider { margin-bottom: 0.85rem; }
  .hero-subtitle { margin-bottom: 1.1rem; }
}
@media (max-width: 480px) {
  .hero { padding-top: 2.5rem; padding-bottom: 3rem; }
  .hero-content { padding-bottom: 0; margin-top: 0; }
  .hero-btns .btn { min-width: 0; width: 100%; max-width: 260px; }
}

/* ── Gold badge: refined darker gradient for better contrast ── */
.svc-photo-badge {
  background: linear-gradient(135deg,
    #3d2900 0%,
    #8a6820 30%,
    #C4A040 52%,
    #8a6820 75%,
    #3d2900 100%
  ) !important;
  color: #fff !important;                        /* white on darker gold = better contrast */
  text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
  box-shadow:
    0 2px 14px rgba(0,0,0,0.8),
    0 1px 0 rgba(255,255,255,0.18) inset !important;
}

/* ── Sticky phone button: mobile safe area ── */
.sticky-phone {
  bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem) + 0.5rem);
  right: 1.5rem;
}
@media (max-width: 768px) {
  .sticky-phone {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    bottom: max(1.2rem, env(safe-area-inset-bottom, 1.2rem) + 0.4rem);
    right: 1.2rem;
  }
}
@media (max-width: 480px) {
  .sticky-phone {
    width: 46px;
    height: 46px;
    font-size: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem) + 0.3rem);
    right: 1rem;
  }
  /* Also shrink scroll-top so it doesn't overlap with sticky phone */
  .scroll-top {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem) + 0.3rem);
    left: 1rem;
  }
}

/* ── Trust bar: guaranteed horizontal layout ── */
.svc-trust-grid,
.marina-trust-grid,
.gen-trust-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 0 !important;
}
.svc-trust-item,
.marina-trust-item,
.gen-trust-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  flex: 1 1 180px !important;
  min-width: 150px !important;
  padding: 0.75rem 1.4rem !important;
}
.svc-trust-divider,
.marina-trust-divider,
.gen-trust-div {
  width: 1px !important;
  min-height: 48px !important;
  background: rgba(198,168,90,0.2) !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}
/* At 600px: stack each item into 2-per-row */
@media (max-width: 600px) {
  .svc-trust-grid,
  .marina-trust-grid,
  .gen-trust-grid {
    gap: 0 !important;
  }
  .svc-trust-item,
  .marina-trust-item,
  .gen-trust-item {
    flex: 1 1 45% !important;
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(198,168,90,0.07) !important;
  }
  .svc-trust-divider,
  .marina-trust-divider,
  .gen-trust-div { display: none !important; }
}
@media (max-width: 400px) {
  .svc-trust-item,
  .marina-trust-item,
  .gen-trust-item { flex: 1 1 100% !important; }
}

/* ── Navigation: prevent any overflow at any viewport width ── */
/* NOTE: overflow:clip/hidden on navbar creates a stacking context that
   breaks hero::after background image — keep overflow:visible on nav */
.nav-wrapper {
  max-width: 100vw;
  box-sizing: border-box;
}
.nav-menu {
  overflow: visible;
  min-width: 0;
  flex-shrink: 1;
}

/* ── Image path safety: local images have fallback bg ── */
img[src^="images/"] {
  background-color: #06090f;
}

/* ── Section spacing rhythm — consistent across pages ── */
.svc-section          { padding: 2.4rem 0; }
.svc-section + .svc-section { padding-top: 0; }
.svc-section-head     { margin-bottom: 1.5rem; }
.svc-lead             { max-width: 660px; line-height: 1.78; }

/* ── Heading spacing tightness ── */
h2 + p, h2 + .svc-lead { margin-top: 0.6rem; }
h3 + p                  { margin-top: 0.4rem; }

/* ── Portfolio orphan centering (3-col grid) ── */
.portfolio-grid .portfolio-item:last-child:nth-child(3n+1) {
  grid-column: 2 / 3;
}
.portfolio-grid .portfolio-item:last-child:nth-child(3n+2) {
  /* stays in natural position — no override needed */
}
@media (max-width: 768px) {
  /* In 2-col layout, last lone item should be centered */
  .portfolio-grid .portfolio-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.55rem);
    margin-left: auto;
    margin-right: auto;
  }
  /* Override 3-col centering rule in 2-col layout */
  .portfolio-grid .portfolio-item:last-child:nth-child(3n+1) {
    grid-column: auto;
    max-width: calc(50% - 0.55rem);
  }
}
@media (max-width: 480px) {
  /* In 1-col layout, disable all orphan centering */
  .portfolio-grid .portfolio-item:last-child { grid-column: auto; max-width: 100%; }
}

/* ── Services cards on 1024px: always 2 cols ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-cards { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── About page hero safe margin ── */
@media (max-width: 480px) {
  .abt-hero, .page-header { margin-top: 68px !important; }
}

/* ── Gallery: ensure tiles are always readable ── */
.glry-tile {
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.glry-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.glry-tile:hover img { transform: scale(1.04); }

/* ── Prevent font size flash on iOS (input zoom) ── */
input, select, textarea { font-size: max(16px, 1rem); }

/* ══════════════════════════════════════════════════════════════
   FINAL SITEWIDE QA — v2026f
   Fixes: nav logo sharpness · nav cutoff · footer logo · text
          centering · pedestal step cards · spacing
   ══════════════════════════════════════════════════════════════ */

/* ── 1. NAV LOGO — smooth rendering on ALL pages ── */
.navbar .logo img {
  image-rendering: auto !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  transform: translateZ(0) !important;
  filter: contrast(1.5) brightness(1.3) saturate(1.3) !important;
}
.navbar.scrolled .logo img {
  filter: contrast(1.5) brightness(1.3) saturate(1.3) !important;
}

/* ── 2. NAV CUTOFF FIX — tighter nav text only at mid-range widths, logo untouched ── */
@media (min-width: 1025px) and (max-width: 1300px) {
  .nav-menu > li > a {
    font-size: 0.64rem;
    letter-spacing: 0.5px;
    padding: 0 0.35rem;
  }
  .btn-contact {
    font-size: 0.60rem !important;
    padding: 0.38rem 0.6rem !important;
    letter-spacing: 0.8px !important;
    margin-left: 0.15rem !important;
  }
}
@media (min-width: 1301px) and (max-width: 1440px) {
  .nav-menu > li > a {
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    padding: 0 0.5rem;
  }
}

/* ── 3. FOOTER LOGO — sharp, properly sized, centered ── */
.footer-logo-img,
.footer-logo {
  width: min(300px, 72vw) !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  mix-blend-mode: screen !important;
  filter: brightness(1.2) contrast(1.08) saturate(1.05) !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: high-quality !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
}
.footer-logo-wrap {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  padding-bottom: 1.8rem !important;
  margin-bottom: 1.8rem !important;
  border-bottom: 1px solid rgba(198,168,90,0.12) !important;
}

/* ── 4. TEXT CENTERING — section headers, labels, eyebrows ── */
.section-header { text-align: center; }
.section-label  { text-align: center; }
.gold-line      { margin-left: auto; margin-right: auto; }

/* Hero always centered */
.hero-content { text-align: center; }
.hero-title, .hero-title-line2, .hero-subtitle { text-align: center; }

/* Svc page section heads: left-aligned by design — do NOT force center */
/* (The svc-section-head has icon + text in flex row — keep as-is) */



/* ── 5. PEDESTAL STEP CARDS — fix distortion ── */
/* The images are 768×1024 (portrait). Use portrait aspect-ratio */
.svc-seq-body {
  aspect-ratio: 3 / 4 !important;  /* portrait — matches 768×1024 source */
  flex: none !important;
  position: relative !important;
  overflow: hidden !important;
}
.svc-seq-body img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;  /* show top of image (faces, key details) */
  display: block !important;
}
/* Sequence grid: rules are in css/services.css (master block at end of file) */

/* ── 6. SPACING CONSISTENCY site-wide ── */
/* Uniform section heads */
.svc-section-head  { margin-bottom: 2rem; }
.section-header    { margin-bottom: 2rem; }

/* Card grid gaps */
.services-cards    { gap: 1.4rem; }
.portfolio-grid    { gap: 1.2rem; }
.why-grid          { gap: 1.4rem; }

/* Mobile margins */
@media (max-width: 768px) {
  .services-cards { gap: 1rem; }
  .portfolio-grid { gap: 0.9rem; }
  /* svc-sequence-grid gap: handled in services.css */
  .svc-section-head { margin-bottom: 1.4rem; }
}

/* ── 7. BRAND LOGO (mid-page showcase) — sharp on all service pages ── */
.svc-brand-logo img,
.marina-brand-logo img,
.elev-brand-logo img,
.comm-brand-logo img,
.gen-brand-logo img,
.abt-brand-logo img {
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: high-quality !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* rendering already set in the master .logo img block above */



/* ══════════════════════════════════════════════════════════════════════
   10. TRUST BAR OVERFLOW FIX — items must never overflow or overlap
   Keep icons fixed width, text wraps, never clips
   ══════════════════════════════════════════════════════════════════════ */
.svc-trust-bar,
.marina-trust,
.gen-trust-section {
  overflow: visible !important;
}
.svc-trust-grid,
.marina-trust-grid,
.gen-trust-grid {
  flex-wrap: wrap !important;
  overflow: visible !important;
  align-items: flex-start !important;
}
.svc-trust-item,
.marina-trust-item,
.gen-trust-item {
  overflow: visible !important;
  word-break: normal !important;
  hyphens: auto !important;
}
.svc-trust-text,
.marina-trust-text,
.gen-trust-text {
  overflow: visible !important;
  min-width: 0 !important;
  max-width: 180px !important;
}
.svc-trust-text strong,
.marina-trust-text strong,
.gen-trust-text strong {
  white-space: normal !important;
  word-break: break-word !important;
}
.svc-trust-text span,
.marina-trust-text span,
.gen-trust-text span {
  white-space: normal !important;
  word-break: break-word !important;
}

/* ══════════════════════════════════════════════════════════════════════
   COMPANY SLOGAN — Luxury 3D Treatment
   "Powering Homes, Protecting Lives, Saving You Money"
   ══════════════════════════════════════════════════════════════════════ */

.hero-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.7s ease both;
}

/* Flanking decorative rules */
.hero-slogan-rule {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(198,168,90,0.25) 30%,
    rgba(198,168,90,0.7) 100%);
  display: block;
}
.hero-slogan-rule:last-child {
  background: linear-gradient(90deg,
    rgba(198,168,90,0.7) 0%,
    rgba(198,168,90,0.25) 70%,
    transparent 100%);
}

/* Inner text container */
.hero-slogan-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.2;
  /* Gold gradient text */
  background: linear-gradient(
    160deg,
    #9A7A34 0%,
    #C6A85A 22%,
    #F0D080 38%,
    #D4AD60 50%,
    #F5E090 62%,
    #C6A85A 76%,
    #9A7A34 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* No filter on background-clip:text — causes bounding-box artifacts on mobile.
     Depth comes from the gradient contrast alone. */
}

/* Separator dots */
.slogan-sep {
  color: rgba(198,168,90,0.55);
  -webkit-text-fill-color: rgba(198,168,90,0.55);
  font-style: normal;
  font-size: 0.85em;
  font-weight: 400;
}

/* Each word — base style inherits gradient */
.slogan-word {
  white-space: nowrap;
}

/* "Powering Homes" — electric blue accent highlight */
.slogan-w1 {
  background: linear-gradient(
    160deg,
    #7ab8d4 0%,
    #a8ddf5 25%,
    #00C8FF 45%,
    #a8ddf5 65%,
    #7ab8d4 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* "Protecting Lives" — gold gradient (center — most prominent) */
.slogan-w2 {
  background: linear-gradient(
    160deg,
    #C6A85A 0%,
    #F5E090 30%,
    #FFE97A 50%,
    #F0D080 70%,
    #C6A85A 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* "Saving You Money" — electric blue accent highlight */
.slogan-w3 {
  background: linear-gradient(
    160deg,
    #7ab8d4 0%,
    #a8ddf5 25%,
    #00C8FF 45%,
    #a8ddf5 65%,
    #7ab8d4 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-slogan { gap: 0.5rem; margin-bottom: 1rem; }
  .hero-slogan-rule { max-width: 30px; }
  .hero-slogan-inner {
    font-size: clamp(0.78rem, 3.8vw, 1.1rem);
    letter-spacing: 0.02em;
    gap: 0;
  }
  .slogan-sep { font-size: 0.75em; }
}

@media (max-width: 480px) {
  .hero-slogan-rule { display: none; }
  .hero-slogan-inner { font-size: clamp(0.72rem, 3.5vw, 0.95rem); }
  .slogan-word { white-space: normal; }
}

/* ══════════════════════════════════════════════════════════════════════
   ABOUT PAGE SLOGAN
   ══════════════════════════════════════════════════════════════════════ */

/* About page: mission statement in company story */
.abt-slogan {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
  margin-top: 0.4rem;
  line-height: 1.5;
  background: linear-gradient(
    135deg,
    #9A7A34 0%,
    #C6A85A 25%,
    #F0D080 45%,
    #C6A85A 65%,
    #9A7A34 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 1px 0 rgba(80,55,10,0.8))
    drop-shadow(0 2px 6px rgba(0,0,0,0.7))
    drop-shadow(0 0 16px rgba(198,168,90,0.25));
}

@media (max-width: 768px) {
  .abt-slogan { font-size: 0.9rem; }
}
