/* ==========================================================================
   Back Bay Web Design — IT Infrastructure & Consulting
   Global Stylesheet
   ========================================================================== */

:root {
  /* Color tokens */
  --navy-950: #060f1a;
  --navy-900: #0a1929;
  --navy-800: #102a43;
  --navy-700: #1b3a5c;
  --navy-600: #294d73;
  --blue-500: #2f6fed;
  --blue-400: #5a8bf2;
  --mint-500: #4FB88C;
  --mint-600: #3B9973;
  --mint-700: #2E7A5C;
  --slate-50: #f7f9fb;
  --slate-100: #eef1f5;
  --slate-200: #dde3ea;
  --slate-300: #c3ccd6;
  --ink-900: #14202e;
  --ink-700: #2d3b4d;
  --ink-500: #5c6b7a;
  --ink-300: #8b98a6;
  --white: #ffffff;
  --success: #2f9e5c;
  --error: #c0392b;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(10, 25, 41, 0.08), 0 1px 2px rgba(10, 25, 41, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 25, 41, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 25, 41, 0.16);

  --container: 1200px;
  --header-h: 76px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
section { position: relative; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Utility type scale ------------------------------------------------ */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--mint-700);
  margin-bottom: 16px;
}
/* Brighter mint reads AA-safe on dark/photo backgrounds; darker mint-700 is needed for AA contrast on white/light sections above. */
.section.dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.photo-section .eyebrow,
.cta-band .eyebrow {
  color: var(--mint-500);
}
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--ink-500); }

.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.dark { background: var(--navy-900); color: var(--slate-100); }
.section.dark .section-head p { color: var(--slate-300); }
.section.alt { background: var(--slate-50); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--mint-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--mint-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue-500);
  transition: gap 0.15s ease;
}
.link-arrow:hover { gap: 10px; }
.link-arrow.light { color: var(--mint-500); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 25, 41, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex: 1 1 auto;
  min-width: 0;
}
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--slate-200);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.main-nav a.active { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { padding: 11px 20px; font-size: 14px; }
.header-actions .btn-primary span.short { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: none; background: transparent;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; display: block; width: 22px; height: 2px; background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle::before { transform: translateY(-7px); }
.nav-toggle::after { transform: translateY(5px); }
.nav-toggle span { position: relative; top: -2px; }
.nav-toggle.open::before { transform: translateY(0) rotate(45deg); }
.nav-toggle.open::after { transform: translateY(-2px) rotate(-45deg); }
.nav-toggle.open span { opacity: 0; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-primary span.full { display: none; }
  .header-actions .btn-primary span.short { display: inline; }
  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  .header-actions { flex-shrink: 0; gap: 10px; }
  .site-header .container { padding: 0 16px; gap: 12px; }
  .brand-logo { height: 32px; }

  .mobile-drawer {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--navy-900);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 99;
    padding: 24px 20px 40px;
  }
  .mobile-drawer.open { transform: translateX(0); }
  .mobile-drawer a {
    display: block;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .mobile-drawer .btn { margin-top: 20px; }
  .mobile-drawer .call-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mint-500);
    border-bottom: none;
    padding: 4px 4px 20px;
    font-size: 17px;
  }
  .mobile-drawer .call-link svg { width: 20px; height: 20px; flex-shrink: 0; }
}
@media (max-width: 360px) {
  .brand-logo { height: 28px; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: 13px; }
}
@media (min-width: 901px) { .mobile-drawer { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(47,111,237,0.35), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(79,184,140,0.25), transparent 60%),
    linear-gradient(180deg, rgba(6,15,26,0.58), rgba(10,25,41,0.82)),
    url('../images/nautical/ocean-horizon.jpg');
  background-size: auto, auto, cover, cover;
  background-position: center, center, center, center 65%;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 96px 0 100px;
  overflow: hidden;
}
.hero .container.with-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 22px; }
.hero-copy .lead { font-size: 19px; color: var(--slate-300); max-width: 640px; margin-bottom: 34px; }
.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-copy-centered { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-copy-centered .lead { margin-left: auto; margin-right: auto; }
.hero-copy-centered .hero-ctas { justify-content: center; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual.contain { background: linear-gradient(155deg, var(--navy-700), var(--navy-800)); display: flex; align-items: center; justify-content: center; padding: 24px; }
.hero-visual.contain img { width: 100%; height: 100%; object-fit: contain; }

.page-hero {
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(47,111,237,0.28), transparent 60%),
    radial-gradient(600px 340px at 5% 120%, rgba(79,184,140,0.2), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--white);
  padding: 76px 0 72px;
  overflow: hidden;
}
.page-hero .section-head { color: var(--white); }
.page-hero .section-head p { color: var(--slate-300); }
.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.page-hero .container.with-visual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.page-hero .hero-visual { aspect-ratio: 4 / 2.9; }

/* ---- Wave divider — a nautical signature repeated at section transitions ---- */
.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.wave-divider svg { width: 100%; height: 56px; display: block; }
.wave-divider.top { top: -1px; bottom: auto; transform: scaleY(-1); }
@media (max-width: 640px) { .wave-divider svg { height: 34px; } }

/* ---- Nautical photo sections (ocean/lighthouse/marina/NJ-map from the brand's coastal imagery) ---- */
.photo-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.section.dark.photo-trust {
  background-image:
    linear-gradient(180deg, rgba(6,15,26,0.55), rgba(6,15,26,0.8)),
    url('../images/nautical/lighthouse-dusk.jpg');
}
.section.dark.photo-service-area {
  background-image:
    linear-gradient(180deg, rgba(6,15,26,0.6), rgba(10,25,41,0.78)),
    url('../images/nautical/nj-nautical-map.jpg');
}
.cta-band.photo-marina {
  background-image:
    linear-gradient(120deg, rgba(6,15,26,0.72), rgba(27,58,92,0.6)),
    url('../images/nautical/marina-dusk.jpg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 980px) {
  .hero .container.with-visual { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; }
  .page-hero .container.with-visual { grid-template-columns: 1fr; }
  .page-hero .hero-visual { order: -1; max-width: 480px; }
}

/* ==========================================================================
   Value Prop
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.value-copy p { font-size: 17px; color: var(--ink-500); margin-bottom: 24px; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-tile {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
}
.stat-tile strong { display: block; font-size: 30px; color: var(--navy-900); }
.stat-tile span { font-size: 13px; color: var(--ink-500); }
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service Cards
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(47,111,237,0.12), rgba(79,184,140,0.16));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-800);
}
.card-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; }
.service-card p { color: var(--ink-500); font-size: 15px; flex: 1; }

@media (max-width: 980px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.timeline-step { position: relative; padding-top: 8px; }
.timeline-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
}
.timeline-step h3 { font-size: 17px; margin-bottom: 10px; }
.timeline-step p { font-size: 14.5px; color: var(--ink-500); }
.timeline-connector {
  position: absolute; top: 30px; left: 60px; right: -20px;
  height: 2px; background: var(--slate-200);
}
@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline-connector { display: none; }
}
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ==========================================================================
   Trust / Testimonials
   ========================================================================== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.trust-bar .stat-tile { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.trust-bar .stat-tile strong { color: var(--white); }
.trust-bar .stat-tile span { color: var(--slate-300); }
.stat-tile .stat-icon {
  width: 34px; height: 34px;
  margin: 0 auto 12px;
  border-radius: 9px;
  background: rgba(79,184,140,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-500);
}
.stat-tile .stat-icon svg { width: 18px; height: 18px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge-pill {
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-200);
  background: rgba(255,255,255,0.04);
}
.section:not(.dark) .badge-pill {
  border-color: var(--slate-200);
  color: var(--ink-700);
  background: var(--slate-50);
}

@media (max-width: 980px) {
  .trust-bar { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.cta-band p { color: var(--slate-300); font-size: 17px; max-width: 620px; margin: 0 auto 30px; }
@media (max-width: 640px) { .cta-band { padding: 44px 24px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: var(--slate-300); }
.footer-top {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-tagline { font-size: 14.5px; color: var(--slate-300); max-width: 260px; margin-bottom: 20px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.social-row a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.social-row svg { width: 16px; height: 16px; }

.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-100); margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-300);
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Services Page — detail sections
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--slate-200);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse { grid-template-columns: 1.05fr 0.95fr; }
.service-detail.reverse .service-detail-copy { order: 2; }
.service-detail-copy .card-icon { margin-bottom: 18px; }
.service-detail-copy h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.service-detail-copy p.body { color: var(--ink-500); font-size: 16.5px; margin-bottom: 24px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.feature-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-700); font-weight: 600; }
.feature-list li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--success); margin-top: 2px; }

.service-detail-visual {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-800), var(--navy-900));
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-detail-visual svg { width: 100%; height: 100%; }
.service-detail-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail-copy { order: 0; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ---- Feature-icon photo tiles (custom brand icon art, not line-art SVGs) ---- */
.feature-icon-photo {
  width: 68px; height: 68px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.feature-icon-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Tools & platforms strip ---- */
.tools-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px 56px;
}
.tools-strip img {
  height: 30px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.tools-strip img:hover { opacity: 1; }
@media (max-width: 640px) {
  .tools-strip { gap: 28px 32px; }
  .tools-strip img { height: 24px; }
}

/* ---- Trusted-brands carousel (auto-scrolling marquee) ---- */
.brand-carousel-section { background: var(--slate-50); padding: 64px 0; }
.brand-carousel {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.brand-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 72px;
  animation: brand-scroll 60s linear infinite;
}
.brand-carousel:hover .brand-track { animation-play-state: paused; }
.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 40px;
}
.brand-logo-item img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(1);
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.brand-logo-item img:hover { opacity: 1; filter: grayscale(0); }
.brand-logo-item.is-wide img { max-width: 168px; }
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .brand-carousel-section { padding: 48px 0; }
  .brand-track { gap: 48px; animation-duration: 42s; }
  .brand-logo-item { height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
  .brand-carousel { overflow-x: auto; }
}

/* ==========================================================================
   About Page
   ========================================================================== */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story-copy p { color: var(--ink-500); font-size: 17px; margin-bottom: 20px; }
.story-visual {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/4.6;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.story-visual svg { width: 100%; height: 100%; }
.story-split-item { position: relative; flex: 1; overflow: hidden; min-height: 0; }
.story-split-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-split-label {
  position: absolute; left: 16px; bottom: 14px;
  background: rgba(6,15,26,0.78);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
}
.story-split-divider {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--mint-500);
  color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { position: static; aspect-ratio: 4/2.6; flex-direction: row; }
  .story-split-divider { transform: translate(-50%, -50%) rotate(-90deg); }
}

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.value-card .num { font-size: 13px; font-weight: 800; color: var(--mint-700); margin-bottom: 14px; }
.value-card .card-icon { margin-bottom: 16px; }
.value-card h3 { font-size: 17px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--ink-500); }
@media (max-width: 980px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.credibility-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.credibility-panel.photo-credibility {
  background-image:
    linear-gradient(120deg, rgba(6,15,26,0.9), rgba(10,25,41,0.86)),
    url('../images/services/hero-technician.jpg');
}
.credibility-panel p { color: var(--slate-300); font-size: 16.5px; margin-top: 14px; }
@media (max-width: 900px) {
  .credibility-panel { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ==========================================================================
   In-the-Field gallery (Home page capabilities teaser)
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  overflow: hidden;
  position: relative;
}
.gallery-item svg { width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(0deg, rgba(6,15,26,0.88), transparent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.form-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-panel h2 { font-size: 24px; margin-bottom: 8px; }
.form-panel > p { color: var(--ink-500); margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--ink-700); }
.form-field label .req { color: var(--mint-700); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-900);
  background: var(--slate-50);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47,111,237,0.15);
  background: var(--white);
}
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.checkbox-item { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-700); }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--blue-500); }
.form-micro { font-size: 13px; color: var(--ink-500); margin-top: 14px; text-align: center; }
.form-status { margin-top: 16px; font-size: 14.5px; font-weight: 600; display: none; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status.show { display: block; }
.form-status.success { background: rgba(47,158,92,0.1); color: var(--success); }
.form-status.error { background: rgba(192,57,43,0.1); color: var(--error); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 28px 22px; }
}

.contact-side { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.info-card h3 { font-size: 17px; margin-bottom: 20px; }
.info-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-row:last-child { margin-bottom: 0; }
.info-row .icon-box {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.info-row .icon-box svg { width: 18px; height: 18px; color: var(--mint-500); }
.info-row strong { display: block; font-size: 14.5px; }
.info-row span, .info-row a { font-size: 14px; color: var(--slate-300); }
.info-row a:hover { color: var(--white); }

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}
.map-card iframe { width: 100%; height: 100%; border: 0; }

.service-area-copy { max-width: 640px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--slate-200);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-900);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: '';
  position: absolute;
  background: var(--navy-900);
  transition: transform 0.2s ease;
}
.faq-question .plus::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.faq-question .plus::after { width: 2px; height: 14px; top: 5px; left: 11px; }
.faq-item.open .plus::after { transform: rotate(90deg) translate(0, 0); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 4px 22px; color: var(--ink-500); font-size: 15px; max-width: 680px; }

/* ==========================================================================
   Misc: breadcrumb-free, generic
   ========================================================================== */
.two-col-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.two-col-cta h2 { font-size: clamp(24px, 2.6vw, 32px); }
.two-col-cta p { color: var(--ink-500); margin-top: 10px; max-width: 520px; }

@media (max-width: 500px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 16px; }
  .btn { width: 100%; }
}
