/* ============================================================
   SUBMERGED CONSTRUCTION LLC — MAIN STYLESHEET
   Premium Industrial / Marine Construction Design System
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  /* Brand Colors */
  --color-navy:       #021224;
  --color-navy-mid:   #041d38;
  --color-navy-light: #0a2d4d;
  --color-steel:      #0d3659;
  --color-ocean:      #B8781E;
  --color-accent:     #B8781E;      /* bronze/gold */
  --color-accent-lt:  #D4921F;
  --color-accent-dk:  #8a5612;
  --color-white:      #FFFFFF;
  --color-off-white:  #041d38;
  --color-light-gray: #0a2d4d;
  --color-mid-gray:   #8C9BAA;
  --color-dark-gray:  #3D4F5F;
  --color-text:       #FFFFFF;
  --color-text-light: rgba(255,255,255,0.68);
  --color-border:     #1a3a58;
  --color-border-light: #d0d8e0;
  --color-success:    #2E8B57;

  /* Typography */
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing Scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Section Padding */
  --section-pad-y: clamp(3rem, 6vw, 5rem);

  /* Border Radius */
  --radius-sm:  3px;
  --radius-md:  6px;
  --radius-lg:  10px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(11,30,58,0.08);
  --shadow-md:  0 4px 16px rgba(11,30,58,0.12);
  --shadow-lg:  0 12px 40px rgba(11,30,58,0.18);
  --shadow-xl:  0 24px 60px rgba(11,30,58,0.24);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Container */
  --container-max: 1240px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  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; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad-y); background: var(--color-navy); }

.section--dark {
  background: #000d1a;
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p,
.section--dark .lead {
  color: rgba(255,255,255,0.78);
}

.section--gray { background: var(--color-navy-mid); }
.section--navy-mid { background: var(--color-navy-mid); }
.section--steel { background: var(--color-navy-light); color: var(--color-white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

.btn {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 0;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-lt);
  border-color: var(--color-accent-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,120,30,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline-dark:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-ghost-white {
  background: transparent;
  color: var(--color-white);
  border-color: transparent;
  padding-inline: 0.5rem;
}

.btn-ghost-white:hover { color: var(--color-accent); }

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ── TOP ANNOUNCEMENT BAR ── */
.top-bar { display: none; }

/* ── HEADER / NAV ── */

/* ── SITE HEADER: two-row layout ──
   Row 1: full-bleed logo banner (logo PNG already has dark bg)
   Row 2: compact nav links strip
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  background: #000d1a;
  border-bottom: 2px solid rgba(184,120,30,0.45);
  box-shadow: 0 4px 40px rgba(0,0,0,0.85);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 40px rgba(0,0,0,0.98);
}

/* Row 1 — logo fills the full header width as a billboard banner
   Strategy: logo PNG has a built-in dark navy bg (#000d1a). We match the
   container bg so 'contain' mode is seamless — no letterbox gap visible.
   The container height auto-derives from the image's natural 2.6:1 ratio.
   We cap it with max-height so it doesn’t get enormous on wide screens. */
/* ROW 1: Full-width logo billboard — image stretches edge-to-edge.
   The logo PNG has a built-in #000d1a dark background that matches
   the container perfectly, so it looks seamless at any width.        */
/* ── TWO-ROW HEADER LAYOUT ──
   Row 1 (.nav-logo-bar): centered logo billboard
   Row 2 (.nav-inner):    nav links + CTA button            */

/* Row 1 — centered logo */
.nav-logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 1rem 10px;
  border-bottom: 1px solid rgba(184,120,30,0.18);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav-logo-img {
  display: block;
  height: 120px;   /* large enough that tagline is clearly readable */
  width: auto;
  max-width: 90vw; /* never wider than viewport */
}

/* Row 2 — nav strip: 3-column grid so links stay truly centered */
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 52px;
  padding-inline: clamp(1rem, 3vw, 2rem);
  background: rgba(0,0,0,0.25);
}

/* Phone number — left column */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.nav-phone:hover { color: var(--color-accent); }
.nav-phone svg  { width: 1em; height: 1em; color: var(--color-accent); flex-shrink: 0; }

/* Nav links — center column */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover { color: var(--color-accent); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--color-accent); }
.nav-link.active::after { transform: scaleX(1); }
/* Force non-active nav links to never show visited styling */
.nav-link:not(.active)             { color: rgba(255,255,255,0.78) !important; }
.nav-link:not(.active):hover       { color: var(--color-accent) !important; }
.nav-link:not(.active)::after      { transform: scaleX(0) !important; }
.nav-link.active                   { color: var(--color-accent) !important; }
.nav-link.active::after            { transform: scaleX(1) !important; }

.nav-link svg { width: 0.8em; height: 0.8em; transition: transform var(--transition-fast); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;          /* flush against nav bar — zero gap to cross */
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy-light);
  border: 1px solid rgba(184,120,30,0.35);
  border-top: none;   /* seamless join at top */
  border-radius: 0 0 4px 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  min-width: 240px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1100;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.touch-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.nav-dropdown a:hover {
  color: var(--color-accent);
  background: rgba(184,120,30,0.08);
  border-left-color: var(--color-accent);
  padding-left: 1.5rem;
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(184,120,30,0.2);
  margin: 0.4rem 0;
}

.nav-dropdown-header {
  padding: 0.4rem 1.2rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  flex-shrink: 0;
}


/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-navy);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block;
}

.nav-mobile-menu a:hover { color: var(--color-accent); }

.nav-mobile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: var(--color-white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
}

.nav-mobile-section {
  padding: 0.5rem 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
}

.nav-mobile-menu .btn { margin-top: var(--space-md); width: 100%; justify-content: center; }

@media (max-width: 1024px) {
  .nav-menu    { display: none; }
  .nav-actions { display: none; }
  .nav-phone   { display: none; }
  .nav-toggle  { display: flex; }
  /* Row 2 collapses to hamburger only — use flex instead of grid */
  .nav-inner   { display: flex; justify-content: flex-end; height: 48px; padding-inline: 1rem; }
  /* Row 1 logo: tablet — slightly smaller */
  .nav-logo-img { height: 96px; }
}

@media (max-width: 640px) {
  /* Mobile: logo tall enough that tagline is readable */
  .nav-logo-img { height: 88px; }
  .nav-logo-bar { padding: 10px 0.75rem 8px; }
  .nav-inner    { height: 44px; }
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
  min-height: 65vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Left-to-right: keep text area dark, open to the right where diver is */
  background:
    linear-gradient(
      to right,
      rgba(2,18,36,0.92) 0%,
      rgba(2,18,36,0.70) 40%,
      rgba(2,18,36,0.35) 70%,
      rgba(2,18,36,0.20) 100%
    ),
    /* Top and bottom fade for depth */
    linear-gradient(
      to bottom,
      rgba(2,18,36,0.50) 0%,
      rgba(2,18,36,0.00) 30%,
      rgba(2,18,36,0.00) 65%,
      rgba(2,18,36,0.90) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-3xl) var(--space-2xl);
  max-width: 660px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero h1 span { color: var(--color-accent); }

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.hero-trust-item svg { width: 1.25em; height: 1.25em; color: var(--color-accent); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--color-navy);
  color: var(--color-white);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,18,36,0.92) 0%, rgba(2,18,36,0.72) 100%);
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero h1 { color: var(--color-white); margin-bottom: var(--space-md); }
.page-hero .lead { color: rgba(255,255,255,0.8); max-width: 680px; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-md);
}

.breadcrumbs a { color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span { color: rgba(255,255,255,0.4); }
.breadcrumbs .current { color: var(--color-accent); font-weight: 600; }

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--color-accent);
  padding: 1.5rem 0;
}

.stat-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11,30,58,0.7);
  margin-top: 0.2rem;
}

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--color-navy-mid);
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}

.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-navy-light);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.service-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(184,120,30,0.12);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--color-white); }
.service-card p { font-size: 0.85rem; flex: 1; margin-bottom: 0; color: rgba(255,255,255,0.65); }
.service-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition-fast);
  margin-top: 0.75rem;
}
.service-card:hover .service-card-link { gap: 0.55rem; }
.service-card-link svg { width: 1em; height: 1em; }

/* ── LOCATION CARDS ── */
.location-card {
  background: var(--color-navy-light);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition-base);
}

.location-card:hover {
  border-color: var(--color-accent);
  background: var(--color-steel);
  padding-left: 1.75rem;
}

.location-card-text {}
.location-card h4 { font-size: 1rem; margin-bottom: 0.15rem; color: var(--color-white); }
.location-card p { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.location-card svg { width: 1.1em; height: 1.1em; color: var(--color-accent); flex-shrink: 0; }

/* ── TRUST BADGES / CREDENTIALS ── */
.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.credential-badge svg { width: 1.3em; height: 1.3em; color: var(--color-accent); }

.credential-badge-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}

/* ── FAQ ACCORDION ── */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  gap: 1rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition-fast);
  user-select: none;
}

.faq-question:hover { color: var(--color-accent); }

.faq-question svg {
  width: 1.3em;
  height: 1.3em;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
}

/* ── PROCESS STEPS ── */
.process-steps { counter-reset: step; }
.process-step {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(184,120,30,0.2);
}

.process-step:last-child { border-bottom: none; }

.process-step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-content {}
.process-step-content h4 { margin-bottom: 0.4rem; }
.process-step-content p { font-size: 0.92rem; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--color-navy-mid);
  border-top: 1px solid rgba(184,120,30,0.3);
  border-bottom: 1px solid rgba(184,120,30,0.3);
  color: var(--color-white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 500px; }
.cta-banner-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; flex-shrink: 0; }

/* ── CONTACT FORM ── */
.contact-form {
  background: var(--color-navy-mid);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }

@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.span-2 { grid-column: span 2; }
@media (max-width: 600px) { .form-group.span-2 { grid-column: 1; } }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-label .required { color: var(--color-accent); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-navy-light);
  border: 1.5px solid var(--color-border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  background: var(--color-steel);
  box-shadow: 0 0 0 3px rgba(184,120,30,0.15);
}

.form-control::placeholder { color: rgba(255,255,255,0.4); }

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C9BAA' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-submit { margin-top: var(--space-md); }
.form-success { display: none; text-align: center; padding: var(--space-xl); }
.form-success svg { width: 3rem; height: 3rem; color: var(--color-success); margin: 0 auto var(--space-md); }
.form-success h3 { color: var(--color-navy); margin-bottom: 0.5rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  text-decoration: none;
}

.footer-logo-img {
  height: 52px;
  width: 52px;
  display: block;
  object-fit: contain;
}

.footer-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.footer-contact-info { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item svg { width: 1.1em; height: 1.1em; color: var(--color-accent); flex-shrink: 0; margin-top: 0.15em; }
.footer-contact-item a { color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-links a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color var(--transition-fast); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: var(--space-3xl); }
.section-header.center { text-align: center; }
.section-header .eyebrow { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header .lead { max-width: 640px; }
.section-header.center .lead { margin-inline: auto; }

/* ── ICON FEATURE ROWS ── */
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245,166,35,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-content h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.feature-content p { font-size: 0.88rem; }

/* ── WHY-US CARDS ── */
.why-card {
  padding: 1.75rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(255,255,255,0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.why-card.light {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.why-card h4 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.why-card p { font-size: 0.9rem; }
.why-card.light h4 { color: var(--color-navy); }
.why-card.light p { color: var(--color-text-light); }

/* ── IMAGE-TEXT SPLIT ── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 480px; }
.split-image { position: relative; overflow: hidden; min-height: 360px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; }
  .split-section .split-image { order: -1; }
}

/* ── MOBILE STICKY CTA ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 900;
  background: var(--color-navy);
  padding: 0.75rem var(--container-pad);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  gap: 0.5rem;
}

/* Mobile sticky CTA — shown on phones and tablets, hidden on desktop */
@media (max-width: 1024px) {
  .mobile-cta-bar { display: flex; }
  .mobile-cta-bar .btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 0.75rem 0.5rem; }
}
@media (min-width: 1025px) {
  .mobile-cta-bar { display: none !important; }
  body { padding-bottom: 0; }
}

/* ── SCROLL REVEAL ── */
/* Only hide .reveal elements after JS has confirmed it's running.
   This prevents sections from being permanently invisible if JS
   is slow, blocked, or the IntersectionObserver threshold isn't met. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
/* Elements already in viewport when page loads — always show */
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── MISC UTILITIES ── */
.text-accent { color: var(--color-accent); }
.text-navy { color: var(--color-navy); }
.text-ocean { color: var(--color-ocean); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-mid-gray); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-md { gap: var(--space-md); }
.flex-wrap { flex-wrap: wrap; }

.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;
}

/* Separator line with accent dot */
.section-divider {
  background: var(--color-accent);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.section-divider.center { margin-inline: auto; }

/* Tag pills */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  background: var(--color-light-gray);
  color: var(--color-text);
  border-radius: 2px;
}

.tag-navy { background: var(--color-navy); color: var(--color-white); }
.tag-accent { background: var(--color-accent); color: var(--color-navy); }

/* Link underline effect */
.link-underline {
  position: relative;
  font-weight: 600;
  color: var(--color-ocean);
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-ocean);
  transition: width var(--transition-base);
}
.link-underline:hover::after { width: 100%; }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Print */
@media print {
  .site-header, .mobile-cta-bar, .cta-banner { display: none; }
}

/* ── WHITE / LIGHT CARD TEXT FIX ──
   Any element with an inline white background needs dark text.
   Covers all text descendants: headings, paragraphs, list items, spans.   */
[style*="background:#fff"],
[style*="background: #fff"],
[style*="background:#FFF"],
[style*="background: #FFF"],
[style*="background:white"],
[style*="background: white"] {
  color: #1a2e44 !important;
}
[style*="background:#fff"] h1, [style*="background:#fff"] h2,
[style*="background:#fff"] h3, [style*="background:#fff"] h4,
[style*="background:#fff"] h5, [style*="background:#fff"] h6,
[style*="background: #fff"] h1, [style*="background: #fff"] h2,
[style*="background: #fff"] h3, [style*="background: #fff"] h4,
[style*="background: #fff"] h5, [style*="background: #fff"] h6 {
  color: var(--color-navy) !important;
}
[style*="background:#fff"] p,  [style*="background:#fff"] li,
[style*="background:#fff"] span, [style*="background:#fff"] a:not([style*="color"]),
[style*="background: #fff"] p,  [style*="background: #fff"] li,
[style*="background: #fff"] span, [style*="background: #fff"] a:not([style*="color"]) {
  color: #1a2e44 !important;
}

/* ── PAGE HERO BACKGROUND IMAGE SUPPORT ── */
.page-hero[style*="background-image"] {
  background-size: cover;
  background-position: center;
}
.page-hero[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,18,36,0.92) 0%, rgba(2,18,36,0.75) 100%);
  z-index: 0;
}
.page-hero[style*="background-image"] .page-hero-inner {
  position: relative;
  z-index: 2;
}
.page-hero[style*="background-image"]::before { display: none; }

/* ── MOBILE ENHANCEMENTS ── */

/* Ensure body padding covers mobile CTA bar */
@media (max-width: 768px) {
  body { padding-bottom: 70px; }
  h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .hero-content { padding-block: 5rem 3rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-trust { gap: var(--space-md); }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .stat-strip-inner { gap: 1.5rem; }
  .stat-item { flex: 1; min-width: 100px; }
  .process-step { flex-direction: column; gap: var(--space-md); }
  .process-step-number { width: 44px; height: 44px; font-size: 1.1rem; }
  .split-section { grid-template-columns: 1fr; }
  .split-image { min-height: 280px; }
  .split-image img { height: 280px; object-fit: cover; width: 100%; }
  .why-card { padding: 1.25rem; }
  .contact-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .nav-actions .btn-sm { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding-block: 2.5rem; }
  .page-hero { padding-block: 2.5rem; }
  .hero-trust { display: none; }
  .cta-banner-inner { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-card-icon { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-lead { font-size: 0.95rem; }
  .btn-lg { padding: 0.8rem 1.4rem; font-size: 0.95rem; }
  .stat-number { font-size: 1.8rem; }
  .section-header { margin-bottom: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* Top-bar responsive */
@media (max-width: 640px) {
  .top-bar span { display: none; }
  .top-bar { justify-content: center; }
}

/* ── DARK THEME OVERRIDES ── */
/* Top bar dark */
.top-bar {
  background: #000d1a;
  border-bottom: 1px solid rgba(184,120,30,0.2);
}

/* Credential badges dark */
.credential-badge {
  background: var(--color-navy-light);
  border-color: var(--color-border);
  color: rgba(255,255,255,0.8);
}

/* Feature icon dark */
.feature-icon {
  background: rgba(184,120,30,0.12);
}

/* FAQ item border dark */
.faq-item {
  border-bottom-color: rgba(184,120,30,0.2);
}

/* ── RESPONSIVE: 4-COL TO 2-COL TO 1-COL ── */
@media (max-width: 900px) {
  /* Trust strip & core services 4-col → 2-col */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Mission 3-col (left, divider, right) → 1-col */
  [style*="grid-template-columns:1fr 1px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="padding-right:3.5rem"] {
    padding-right: 0 !important;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(184,120,30,0.3);
  }
  [style*="padding-left:3.5rem"] {
    padding-left: 0 !important;
    padding-top: 2rem;
  }
  /* Hide gold vertical divider on mobile */
  [style*="background:var(--color-accent);width:1px"] {
    display: none !important;
  }
}

@media (max-width: 560px) {
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ── WHO WE ARE 3-PANEL RESPONSIVE ── */
@media (max-width: 960px) {
  /* Collapse the 3-col who-we-are panel to 1 col */
  [style*="grid-template-columns:1fr 1px 1fr 1px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  /* Hide thin vertical dividers between panels */
  [style*="grid-template-columns:1fr 1px 1fr 1px 1fr"] > [style*="width:1px"] {
    display: none !important;
  }
  /* Remove left/right padding added for divider spacing */
  [style*="padding-right:3rem"],
  [style*="padding-inline:3rem"],
  [style*="padding-left:3rem"] {
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-inline: 0 !important;
  }
  /* Add bottom border as separator between stacked panels */
  [style*="grid-template-columns:1fr 1px 1fr 1px 1fr"] > div:not(:last-child) {
    border-bottom: 1px solid rgba(184,120,30,0.25);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
}

/* Nav logo responsive — handled in the 1024px breakpoint above */

/* Capabilities grid responsive */
@media (max-width: 600px) {
  .caps-grid, .grid-2 { grid-template-columns: 1fr; }
}

/* Breadcrumb wrapping */
.breadcrumbs { gap: 0.3rem; }
@media (max-width: 480px) {
  .breadcrumbs { font-size: 0.72rem; }
}
