/* =========================
   COLOR SYSTEM (Restored)
========================= */
:root {
  --black-main: #0b1220;
  --text-muted: #94a3b8;
  --chrome: #0e223d;
  --chrome-border: #16345f;
  --blue-main: #14b8a6;
  --blue-dark: #0f8f83;
  --navy: #0f2a4d;
  --navy-dark: #0a1d36;
  --border-light: #e5e7eb;
}

/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black-main);
  line-height: 1.5;
  background: #f6f8fc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* WIDE OVERRIDE for Quote & Gallery */
.container-wide {
  max-width: 1600px !important;
  width: 95% !important;
}

/* =========================
   HEADER (STICKY)
========================= */
.site-header {
  background: var(--chrome);
  border-bottom: 1px solid var(--chrome-border);
  position: sticky;
  top: 0;
  z-index: 1000;

  /* needed so absolute edge logos anchor to the header */
  position: sticky;
}

/* Edge logos: big bookends */
.edge-logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  text-decoration: none;
}

.edge-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 
  Center the logo in the "gutter" (space between viewport edge and the centered content).
  Gutter width ≈ clamp(0, (100vw - 1400px)/2, big)
  We want approx half that gutter => /4.
  Add half of container padding (0.75rem) so it visually centers better.
*/
.left-logo {
  left: calc(clamp(0px, (100vw - 1400px) / 4, 9999px) + 0.75rem);
}

.right-logo {
  right: calc(clamp(0px, (100vw - 1400px) / 4, 9999px) + 0.75rem);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  /* make room so big edge logos don’t overlap content */
  padding-left: 11rem;
  padding-right: 11rem;
}

/* Site name */
.logo-text {
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 600;
}

.main-nav a.active, .main-nav a:hover { color: #ffffff; }

.main-nav .cta {
  background: var(--blue-main);
  color: #ffffff;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-weight: 800;
}

.main-nav .cta:hover { background: var(--blue-dark); }

.call-now-wrapper {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 0.9rem;
}

.call-now {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.call-now a {
  color: var(--blue-main);
  font-weight: 900;
  text-decoration: none;
}

/* =========================
   HERO IMAGE (HOME PAGE)
========================= */
.hero-splash { width: 100%; }
.hero-video-frame { position: relative; width: 100%; overflow: hidden; }

.hero-image {
  width: 100%;
  height: 72vh;
  min-height: 520px;
  max-height: 760px;
  object-fit: cover;
  display: block;
  filter: grayscale(18%) saturate(85%) contrast(1.08) brightness(0.88);
  position: relative;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0.25), rgba(11,18,32,0.70));
  z-index: 2;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero-on-video { max-width: 700px; border-bottom: none !important; }

.hero-video-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(11,18,32,0.55);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
  z-index: 4;
}

/* =========================
   BENEFITS SECTION (NAVY BAND)
========================= */
.benefits-section { position: relative; }
.benefits-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
}
.benefits-section .container { position: relative; color: #ffffff; }
.section-sub { color: rgba(255,255,255,0.82); }
.section-divider { height: 1px; margin: 2rem 0; background: rgba(255,255,255,0.2); }
.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.benefits-list li {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 1.25rem;
  border-radius: 12px;
}
.band-cta { margin-top: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* =========================
   HOME ABOUT
========================= */
.home-about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.25rem; }
.home-about-card { background: #ffffff; border: 1px solid #e7edf6; border-radius: 14px; padding: 1.25rem; }
.home-cta-row { display: flex; gap: 0.75rem; margin-top: 1rem; }

.home-about-card ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  margin-left: 0;
}

.home-about-card li { margin: 0.4rem 0; }

.home-results { margin-top: 2.25rem; padding-top: 0.5rem; }

/* =========================
   SERVICES CARDS (OLD SERVICES PAGE)
========================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  border: 1px solid #e7edf6;
  border-radius: 14px;
  padding: 1.25rem;
  background: #ffffff;
}

.card .price {
  display: inline-block;
  margin: 0.4rem 0;
  font-weight: 800;
  background: rgba(20, 184, 166, 0.10);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

/* =========================
   SERVICES GRID (NEW)
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e7edf6;
  border-radius: 14px;
  padding: 1.5rem;
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.service-card h2 { margin-bottom: 0.5rem; }
.service-card p { color: #64748b; }

.service-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 800;
  color: var(--blue-dark);
  text-decoration: none;
}
.service-link:hover { text-decoration: underline; }

.services-cta { text-align: center; margin-top: 2rem; }

/* =========================
   SERVICES INFO BAND (OLD SERVICES PAGE)
========================= */
.services-info-band {
  margin-top: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #f6f8fc 100%);
  padding: 3.25rem 0;
}

.services-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
}

.services-info-grid h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.services-info-grid p { color: #475569; }

.services-info-list {
  margin-top: 0.75rem;
  padding-left: 1.15rem;
}

.services-info-list li {
  margin: 0.6rem 0;
  color: #0b1220;
}

.services-info-cta {
  padding-left: 1.25rem;
  border-left: 3px solid rgba(20, 184, 166, 0.8);
}

.services-info-cta p { margin-bottom: 0.9rem; }

/* =========================
   PAGE HERO TEXT (COMMON)
========================= */
.page-hero { padding-bottom: 1.25rem; border-bottom: 1px solid #e7edf6; }
.page-hero h1 { font-size: 2.4rem; margin-bottom: 0.75rem; }
.page-hero p { color: #64748b; font-size: 1.05rem; }

.page-hero.hero-on-video h1 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.page-hero.hero-on-video p {
  color: #f1f5f9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* =========================
   BUTTONS
========================= */
.button {
  display: inline-block;
  margin-top: 1rem;
  background: var(--blue-main);
  color: #ffffff;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.35); }
.button-secondary { background: #0e223d; }

/* =========================
   GALLERY
========================= */
.gallery { display: grid; gap: 2rem; margin-top: 1.25rem; }

.coming-soon-img {
  display: block;
  margin: 2rem auto;
  width: 50%;
  max-width: 520px;
  border-radius: 14px;
}

/* =========================
   QUOTE FORM
========================= */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin-top: 1.5rem;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 700;
  width: 100%;
}
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font: inherit;
}
.quote-form textarea { min-height: 180px; }

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--chrome);
  border-top: 1px solid var(--chrome-border);
  padding: 1.75rem 0;
  margin-top: auto;
}
.site-footer p { color: #cbd5e1; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .benefits-list, .card-grid, .home-about-grid { grid-template-columns: 1fr; }
  .header-container { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  /* Hide giant edge logos on mobile */
  .edge-logo { display: none; }

  /* Remove the extra padding used to reserve space for logos */
  .header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Make hero less tall on phones */
  .hero-image {
    min-height: 420px;
    height: 60vh;
  }

  .services-info-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-info-cta {
    padding-left: 0;
    border-left: none;
    border-top: 3px solid rgba(20, 184, 166, 0.8);
    padding-top: 1.25rem;
  }

  .services-grid { grid-template-columns: 1fr; }
}
