/* ==========================================================================
   Seacoast Detailing & Marine Services — Coastal Marine Design System
   ========================================================================== */

:root {
  --navy-950: #07131f;
  --navy-900: #0b1c2c;
  --navy-850: #0f2235;
  --navy-800: #12263a;
  --navy-700: #1a354f;
  --gold-500: #c5a35a;
  --gold-400: #d9b870;
  --gold-300: #e7ce94;
  --gold-600: #9f7e38;
  --fog-100: #f4f1ea;
  --fog-200: #eae5da;
  --fog-300: #dcd4c4;
  --seaglass-500: #4f7c86;
  --seaglass-600: #3a636d;
  --white: #ffffff;
  --ink-900: #111e2b;
  --ink-700: #334354;
  --ink-500: #556677;
  --border-light: rgba(17, 30, 43, 0.11);
  --border-dark: rgba(224, 194, 122, 0.22);
  --shadow-sm: 0 4px 14px rgba(7, 19, 31, 0.06);
  --shadow-md: 0 14px 36px rgba(7, 19, 31, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 19, 31, 0.28);

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-label: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --max-w: 1240px;
  --header-h: 78px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--fog-100);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 700;
  padding: 10px 18px;
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.section-dark .eyebrow,
.hero .eyebrow {
  color: var(--gold-300);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.55em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 4.4vw, 3.85rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.22rem, 1.8vw, 1.48rem); font-weight: 600; }

.lead {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  color: var(--ink-700);
  max-width: 66ch;
}
.section-dark .lead {
  color: rgba(244, 241, 234, 0.84);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 2px;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: var(--navy-950);
  box-shadow: 0 8px 22px rgba(197, 163, 90, 0.28);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #f0dcad 0%, var(--gold-400) 100%);
  box-shadow: 0 12px 28px rgba(197, 163, 90, 0.36);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}
.btn-navy:hover {
  background: var(--navy-800);
}

.btn-outline-light {
  background: rgba(11, 28, 44, 0.45);
  color: var(--white);
  border-color: rgba(231, 206, 148, 0.55);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(231, 206, 148, 0.15);
  border-color: var(--gold-300);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(11, 28, 44, 0.28);
}
.btn-outline-dark:hover {
  border-color: var(--navy-900);
  background: rgba(11, 28, 44, 0.05);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Top Utility Strip & Sticky Header
   ========================================================================== */
.top-strip {
  background: var(--navy-950);
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(197, 163, 90, 0.18);
}
.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  flex-wrap: wrap;
}
.top-strip__group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-strip__item strong {
  color: var(--gold-300);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(11, 28, 44, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 163, 90, 0.22);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 19, 31, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.brand__sub {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 2px;
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: rgba(244, 241, 234, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-300);
}
.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231, 206, 148, 0.3);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.header-phone:hover {
  background: rgba(231, 206, 148, 0.12);
  border-color: var(--gold-300);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(231, 206, 148, 0.35);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy-950);
  z-index: 890;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  border-top: 1px solid var(--border-dark);
}
.mobile-drawer.is-open {
  display: flex;
}
.mobile-drawer a.mobile-link {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-drawer__cta {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 1;
  transform: scale(1.02);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 19, 31, 0.82) 0%, rgba(11, 28, 44, 0.45) 50%, rgba(11, 28, 44, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 19, 31, 0.10) 0%, rgba(7, 19, 31, 0.10) 55%, rgba(7, 19, 31, 0.65) 100%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.82fr);
  gap: 44px;
  align-items: center;
}
.hero__title {
  margin-top: 16px;
  margin-bottom: 18px;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__title span {
  color: var(--gold-300);
}
.hero__lead {
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
  color: rgba(244, 241, 234, 0.9);
  max-width: 58ch;
  margin: 0 0 28px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(18, 38, 58, 0.78);
  border: 1px solid rgba(231, 206, 148, 0.28);
  color: rgba(244, 241, 234, 0.94);
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.trust-chip svg {
  color: var(--gold-300);
  flex-shrink: 0;
}

/* Hero Dispatch Card */
.hero-card {
  background: rgba(11, 28, 44, 0.86);
  border: 1px solid rgba(224, 194, 122, 0.32);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.hero-card__kicker {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 6px;
}
.hero-card__title {
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 11px;
}
.hero-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(244, 241, 234, 0.88);
}
.hero-card__list svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}
.hero-card__meta {
  border-top: 1px solid rgba(224, 194, 122, 0.2);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}
.hero-card__phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(244, 241, 234, 0.82);
}
.hero-card__phone strong {
  color: var(--gold-300);
  font-size: 1.05rem;
}

/* ==========================================================================
   Sections & Surface Rhythm
   ========================================================================== */
.section {
  padding: 84px 0;
}
.section-sm {
  padding: 58px 0;
}
.section-light {
  background: var(--fog-100);
  color: var(--ink-900);
}
.section-white {
  background: var(--white);
  color: var(--ink-900);
}
.section-dark {
  background: var(--navy-900);
  color: var(--white);
}
.section-deep {
  background: var(--navy-950);
  color: var(--white);
}

.section-header {
  max-width: 720px;
  margin-bottom: 42px;
}
.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header--center .eyebrow {
  justify-content: center;
}
.section-header h2 {
  margin-top: 12px;
}

/* Page Sub-Hero (Services, About, Contact) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 64px 0 58px;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 163, 90, 0.14) 0%, rgba(197, 163, 90, 0) 70%);
  pointer-events: none;
}
.page-hero h1 {
  margin-top: 14px;
  max-width: 18ch;
}
.page-hero .lead {
  color: rgba(244, 241, 234, 0.86);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(244, 241, 234, 0.72);
  margin-bottom: 10px;
}
.breadcrumb a:hover {
  color: var(--gold-300);
}

/* ==========================================================================
   Why Seacoast Split & Pillars
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 36px;
  align-items: center;
}
.split-col-5 { grid-column: span 5; }
.split-col-6 { grid-column: span 6; }
.split-col-7 { grid-column: span 7; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 163, 90, 0.55);
  box-shadow: var(--shadow-md);
}
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(197, 163, 90, 0.35);
}
.why-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.why-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-700);
}

.callout-panel {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-md);
}
.callout-panel h3 {
  color: var(--gold-300);
  margin-bottom: 12px;
}
.callout-panel p {
  color: rgba(244, 241, 234, 0.86);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
}
.checklist svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Services Filter + 10-Card Grid
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 30, 43, 0.2);
  background: var(--white);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-btn:hover {
  border-color: var(--navy-900);
}
.filter-btn.is-active {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--navy-900);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 163, 90, 0.65);
}
.service-card.is-hidden {
  display: none;
}
.service-card__tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seaglass-600);
  margin-bottom: 10px;
}
.service-card h3 {
  font-size: 1.26rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.94rem;
  color: var(--ink-700);
  margin: 0 0 16px;
}
.service-card__bullets {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px solid var(--border-light);
  display: grid;
  gap: 6px;
  font-size: 0.87rem;
  color: var(--ink-700);
}
.service-card__bullets li {
  position: relative;
  padding-left: 16px;
}
.service-card__bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 800;
}

.service-card--featured {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  border-color: var(--border-dark);
}
.service-card--featured .service-card__tag {
  color: var(--gold-300);
}
.service-card--featured p,
.service-card--featured .service-card__bullets {
  color: rgba(244, 241, 234, 0.86);
  border-top-color: rgba(224, 194, 122, 0.2);
}
.service-card--featured .service-card__bullets li::before {
  color: var(--gold-300);
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step-card {
  background: rgba(18, 38, 58, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: 14px;
}
.step-card h3 {
  color: var(--white);
  margin-bottom: 10px;
}
.step-card p {
  margin: 0;
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.95rem;
}

/* ==========================================================================
   Gallery (Representative Capabilities — Honestly Labeled)
   ========================================================================== */
.gallery-disclaimer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid rgba(79, 124, 134, 0.35);
  border-left: 4px solid var(--seaglass-500);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: var(--ink-700);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gallery-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--navy-900);
}
.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-card:hover .gallery-card__media img {
  transform: scale(1.04);
}
.gallery-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(7, 19, 31, 0.82);
  color: var(--gold-300);
  border: 1px solid rgba(224, 194, 122, 0.35);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.gallery-card figcaption {
  padding: 16px 18px;
}
.gallery-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.gallery-card__sub {
  font-size: 0.86rem;
  color: var(--ink-500);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(7, 19, 31, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__dialog {
  max-width: 960px;
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox__img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: var(--navy-950);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  color: var(--white);
}
.lightbox__close {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

/* ==========================================================================
   Service Area & Marinas
   ========================================================================== */
.area-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.town-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}
.town-pill {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 8px 15px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.marina-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.marina-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.marina-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy-900);
}
.marina-item span {
  font-size: 0.84rem;
  color: var(--ink-500);
}
.marina-item--highlight {
  border-color: var(--gold-500);
  background: linear-gradient(135deg, #fffdf8 0%, #f9f3e3 100%);
}

.chart-card {
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.chart-card__caption {
  font-size: 0.86rem;
  color: rgba(244, 241, 234, 0.78);
  margin-top: 12px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
}
.faq-trigger:hover {
  background: rgba(11, 28, 44, 0.02);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fog-100);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--navy-900);
  color: var(--gold-300);
}
.faq-panel {
  padding: 0 24px 20px;
  color: var(--ink-700);
  font-size: 0.96rem;
  display: none;
}
.faq-panel.is-open {
  display: block;
}

/* ==========================================================================
   Quote Section & Form
   ========================================================================== */
.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 36px;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.contact-card {
  background: rgba(18, 38, 58, 0.82);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(197, 163, 90, 0.16);
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 3px;
}
.contact-card p, .contact-card a {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(244, 241, 234, 0.85);
}
.contact-card a:hover {
  color: var(--gold-300);
}

.quote-form-wrap {
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.quote-form-wrap h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}
.quote-form-wrap .form-sub {
  font-size: 0.93rem;
  color: var(--ink-500);
  margin: 0 0 22px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(17, 30, 43, 0.18);
  background: #fcfbf8;
  color: var(--ink-900);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(197, 163, 90, 0.28);
  background: var(--white);
}

.services-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 6px;
}
.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(17, 30, 43, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  background: #fcfbf8;
}
.check-pill input {
  accent-color: var(--navy-900);
}

.photo-tip {
  background: var(--fog-100);
  border: 1px dashed rgba(79, 124, 134, 0.55);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.87rem;
  color: var(--ink-700);
  margin-bottom: 16px;
}
.photo-tip strong {
  color: var(--navy-900);
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.94rem;
}
.form-status.is-success {
  display: block;
  background: #eaf6ee;
  border: 1px solid #358352;
  color: #184e2c;
}
.form-status.is-error {
  display: block;
  background: #fdf0ef;
  border: 1px solid #b53d35;
  color: #7c221c;
}

/* ==========================================================================
   Footer & Mobile Sticky Bar
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(244, 241, 234, 0.8);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--gold-300);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(244, 241, 234, 0.65);
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--navy-950);
  border-top: 1px solid var(--border-dark);
  padding: 10px 12px;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
}
.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mobile-sticky-bar__call {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(231, 206, 148, 0.35);
}
.mobile-sticky-bar__text {
  background: rgba(79, 124, 134, 0.35);
  color: var(--white);
  border: 1px solid rgba(79, 124, 134, 0.65);
}
.mobile-sticky-bar__quote {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: var(--navy-950);
}

/* Scroll Reveal (progressive enhancement; JS adds .reveal-ready on html) */
html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-col-5, .split-col-6, .split-col-7 { grid-column: span 12; }
}

@media (max-width: 900px) {
  .site-nav, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .top-strip { display: none; }
  .mobile-sticky-bar { display: flex; }
  .section { padding: 58px 0; }
  .hero { min-height: auto; padding: 48px 0 54px; }
  .why-grid,
  .services-grid,
  .gallery-grid,
  .marina-list,
  .form-row,
  .services-checks,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quote-form-wrap { padding: 22px; }
}

/* Featured Yard Card spans full width on 3-col grid when alone */
.services-grid--home .service-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}
.services-grid--home .service-card--featured .service-card__bullets {
  border-top: 0;
  border-left: 1px solid rgba(224, 194, 122, 0.25);
  padding: 6px 0 6px 26px;
}
@media (max-width: 1080px) {
  .services-grid--home .service-card--featured {
    grid-column: auto;
    display: flex;
  }
  .services-grid--home .service-card--featured .service-card__bullets {
    border-left: 0;
    border-top: 1px solid rgba(224, 194, 122, 0.2);
    padding: 14px 0 0;
  }
}

/* ==========================================================================
   Real-Photo Service Card Media & Rich Project Gallery Enhancements
   ========================================================================== */
.service-card--has-media {
  padding: 0;
  overflow: hidden;
}
.service-card--has-media > .service-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
  border-bottom: 1px solid var(--border-light);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover .service-card__media img {
  transform: scale(1.04);
}
.service-card--featured.service-card--has-media {
  padding: 0;
}
.service-card--featured .service-card__media {
  border-bottom: 0;
  border-right: 1px solid rgba(224, 194, 122, 0.22);
  height: 100%;
  min-height: 240px;
}
.services-grid--home .service-card--featured.service-card--has-media {
  grid-template-columns: 1.05fr 1.1fr 0.95fr;
  gap: 0;
  align-items: stretch;
}
.services-grid--home .service-card--featured.service-card--has-media .service-card__body {
  padding: 28px;
}
.services-grid--home .service-card--featured.service-card--has-media .service-card__bullets {
  padding: 28px;
  border-left: 1px solid rgba(224, 194, 122, 0.22);
  align-content: center;
}
@media (max-width: 1080px) {
  .services-grid--home .service-card--featured.service-card--has-media {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .service-card--featured .service-card__media {
    border-right: 0;
    border-bottom: 1px solid rgba(224, 194, 122, 0.22);
    min-height: 200px;
  }
  .services-grid--home .service-card--featured.service-card--has-media .service-card__bullets {
    border-left: 0;
    padding: 18px 24px 24px;
  }
}

/* Gallery Filter & Verified Work Banner */
.gallery-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid rgba(197, 163, 90, 0.45);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.93rem;
  color: var(--ink-700);
}
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.gallery-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 30, 43, 0.2);
  background: var(--white);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.gallery-filter-btn:hover {
  border-color: var(--navy-900);
}
.gallery-filter-btn.is-active {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--navy-900);
}
.gallery-card.is-hidden {
  display: none;
}

/* About / Plans Photo Grid */
.work-strip-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .work-strip-grid--2 { grid-template-columns: 1fr; }
}
.work-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 1080px) {
  .work-strip-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .work-strip-grid--2 { grid-template-columns: 1fr; }
}
.work-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .work-strip-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .work-strip-grid--2 { grid-template-columns: 1fr; }
}
.work-strip-grid {
    grid-template-columns: 1fr;
  }
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.plan-card {
  background: rgba(18, 38, 58, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-card--popular {
  border-color: var(--gold-500);
  background: linear-gradient(165deg, rgba(26, 53, 79, 0.95) 0%, rgba(11, 28, 44, 0.96) 100%);
  box-shadow: var(--shadow-md);
}
.plan-card__tag {
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 6px;
}
.plan-card__price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin: 4px 0 12px;
}
.plan-card__price span {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(244, 241, 234, 0.72);
}
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEO Service & Area Pages, Mega-Menu, and Expanded Footer
   ========================================================================== */
.nav-item--dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(244, 241, 234, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease;
}
.nav-dropdown-trigger:hover,
.nav-item--dropdown.is-open .nav-dropdown-trigger,
.nav-dropdown-trigger.is-active {
  color: var(--gold-300);
}
.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}
.nav-item--dropdown.is-open .nav-dropdown-trigger svg,
.nav-item--dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.mega-menu {
  position: fixed;
  top: var(--header-h);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(1120px, calc(100vw - 32px));
  background: #07131f;
  border: 1px solid rgba(224, 194, 122, 0.28);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  padding: 24px 26px;
  display: none;
  z-index: 950;
  backdrop-filter: blur(14px);
}
.mega-menu--areas {
  width: min(560px, calc(100vw - 32px));
  left: auto;
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  transform: translateY(-6px);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.nav-item--dropdown:hover > .mega-menu,
.nav-item--dropdown:focus-within > .mega-menu,
.nav-item--dropdown.is-open > .mega-menu {
  display: block;
  transform: translateX(-50%) translateY(0);
}
.nav-item--dropdown:hover > .mega-menu--areas,
.nav-item--dropdown:focus-within > .mega-menu--areas,
.nav-item--dropdown.is-open > .mega-menu--areas {
  transform: translateY(0);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.mega-menu--areas .mega-menu__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mega-menu__col h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(224, 194, 122, 0.18);
}
.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}
.mega-menu__list a {
  display: block;
  padding: 3px 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(244, 241, 234, 0.86);
}
.mega-menu__list a::after {
  display: none !important;
}
.mega-menu__list a:hover {
  color: var(--gold-300);
}
.site-nav a.btn-gold { color: var(--navy-950); }
.site-nav a.btn-gold::after { display: none; }
.mega-menu__footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(244, 241, 234, 0.78);
}

/* Mobile Drawer Accordions */
.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-group summary {
  list-style: none;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 13px 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-group summary::-webkit-details-marker {
  display: none;
}
.mobile-nav-group summary::after {
  content: '+';
  color: var(--gold-300);
  font-size: 1.2rem;
  font-weight: 700;
}
.mobile-nav-group[open] summary::after {
  content: '\2212';
}
.mobile-nav-sub {
  padding: 0 0 12px 12px;
  display: grid;
  gap: 6px;
}
.mobile-nav-sub a {
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.94rem;
  padding: 5px 0;
}
.mobile-nav-sub a:hover {
  color: var(--gold-300);
}

/* Service Card Links & Directory Pills */
.service-card__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(197, 163, 90, 0.7);
}
.service-card--featured .service-card__footer-link {
  color: var(--gold-300);
}
.service-card__footer-link:hover {
  color: var(--gold-600);
}
.service-card--featured .service-card__footer-link:hover {
  color: var(--white);
}

.town-pill--link {
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.town-pill--link:hover {
  transform: translateY(-1px);
  border-color: var(--gold-500);
  background: #fffdf8;
}

.seo-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.seo-directory-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.seo-directory-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.seo-directory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.seo-directory-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(17, 30, 43, 0.09);
}
.seo-directory-list a:hover {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}
.seo-directory-list a span {
  color: var(--gold-600);
  font-weight: 700;
}

/* Sub-Hero With Real Job Photo */
.page-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
}
.page-hero--split h1 {
  max-width: 19ch;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.page-hero__media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(224, 194, 122, 0.3);
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}
.page-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.page-hero__caption {
  padding: 10px 14px;
  background: rgba(7, 19, 31, 0.92);
  color: rgba(244, 241, 234, 0.84);
  font-size: 0.82rem;
  border-top: 1px solid rgba(224, 194, 122, 0.2);
}

/* Main SEO Article + Sticky Sidebar */
.seo-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.72fr);
  gap: 40px;
  align-items: start;
}
.prose-block h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.prose-block h2:first-child {
  margin-top: 0;
}
.prose-block h3 {
  font-size: 1.18rem;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.prose-block p {
  color: var(--ink-700);
  margin: 0 0 16px;
}
.prose-block a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(197, 163, 90, 0.8);
}
.prose-block a:hover {
  color: var(--gold-600);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 28px;
}
.scope-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.scope-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.scope-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-700);
}

.local-callout {
  background: linear-gradient(135deg, #fffdf8 0%, #f6efe0 100%);
  border: 1px solid rgba(197, 163, 90, 0.55);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 24px 0;
}
.local-callout strong {
  color: var(--navy-900);
}
.local-callout p {
  margin: 6px 0 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.seo-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card--dark {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}
.sidebar-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.sidebar-card--dark h3 {
  color: var(--gold-300);
}
.sidebar-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  font-size: 0.91rem;
}
.sidebar-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-facts li span:first-child {
  color: rgba(244, 241, 234, 0.72);
}
.sidebar-facts li span:last-child {
  font-weight: 600;
  text-align: right;
  color: var(--white);
}
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 6px 0;
  border-bottom: 1px solid rgba(17, 30, 43, 0.07);
}
.sidebar-links a:hover {
  color: var(--navy-900);
}
.sidebar-links a span {
  color: var(--gold-600);
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.related-card {
  background: var(--fog-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
}
.related-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}
.related-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.related-card__cta {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold-600);
}

/* Expanded 5-Column Footer */
.footer-grid--expanded {
  grid-template-columns: 1.25fr 0.95fr 1fr 1fr 1.05fr;
  gap: 28px;
}

@media (max-width: 1120px) {
  .footer-grid--expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .page-hero--split,
  .seo-article-grid {
    grid-template-columns: 1fr;
  }
  .seo-sidebar {
    position: static;
  }
  .related-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .scope-grid,
  .related-services-grid,
  .seo-directory-grid,
  .footer-grid--expanded {
    grid-template-columns: 1fr;
  }
}
