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

/* ─── LOCAL FONTS ─── */
@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/Barlow-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/Barlow-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../assets/fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../assets/fonts/BarlowCondensed-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Share Tech Mono';
  src: url('../assets/fonts/ShareTechMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── BRAND TOKENS ─── */
:root {
  --deep-navy:     #0E1E30;
  --navy-mid:      #1B3A5C;
  --navy-light:    #243F63;
  --brand-blue:    #3577A8;
  --brand-blue-dk: #2A5F8A;
  --white:         #FFFFFF;
  --off-white:     #E8ECF0;
  --gray-mid:      #9AACBC;
  --gray-dark:     #4A5F72;
  --footer-bg:     #060D16;

  --font-display:  'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:     'Barlow', system-ui, sans-serif;
  --font-mono:     'Share Tech Mono', monospace;

  /* Layout sizing — mobile first */
  --nav-h:       60px;
  --top-frame-h: max(150px, calc((100vh - 60px) * 0.18));
}

/* ─── TABLET ─── */
@media (min-width: 768px) {
  :root {
    --nav-h:       80px;
    --top-frame-h: calc((100vh - 80px) * 0.30);
  }
}

/* ─── DESKTOP ─── */
@media (min-width: 1024px) {
  :root {
    --nav-h:       96px;
    /* clamp: enough for two-line heading + body, caps at 210px on large monitors */
    --top-frame-h: clamp(180px, 18vh, 210px);
  }
}

html { scroll-behavior: auto; }

/* Scrollbars visible — page is normal flow */

body {
  background: var(--deep-navy);
  color: var(--off-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ─── BLUEPRINT GRID (fixed overlay, all pages) ─── */
.blueprint-grid {
  position: fixed;
  inset: 0;
  z-index: 1;    /* background texture — below scan-line (2) and all content */
  pointer-events: none;
  background-image:
    linear-gradient(rgba(100,160,220,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,160,220,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ─── LOADER ─── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--deep-navy);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { width: 200px; opacity: 0.9; }
@media (min-width: 768px) { .loader-logo { width: 240px; } }
#loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(53,119,168,0.2);
  position: relative;
}
@media (min-width: 768px) { #loader-bar { width: 200px; } }
#loader-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--brand-blue);
  transition: width 0.15s linear;
}
#loader-percent {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gray-mid);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── SITE HEADER ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: #0e1e30;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(53,119,168,0.18);
  display: flex;
  align-items: center;
}

.site-header nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .site-header nav { padding: 0 2rem; }
}
@media (min-width: 1024px) {
  .site-header nav { padding: 0 3rem; }
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 44px;
  width: auto;
}
@media (min-width: 768px) { .nav-logo-img { height: 60px; } }
@media (min-width: 1024px) { .nav-logo-img { height: 80px; } }

/* Desktop nav links */
.nav-links {
  list-style: none;
  display: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links { display: flex; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .nav-links { gap: 2.5rem; }
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
@media (min-width: 1024px) { .nav-links a { font-size: 1.1rem; } }
.nav-links a:hover { opacity: 1; color: var(--white); }

.nav-cta {
  background: var(--brand-blue) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 0.6rem 1.4rem !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  font-size: 0.85rem !important;
  letter-spacing: 0.12em !important;
  transition: background 0.2s !important;
}
@media (min-width: 1024px) {
  .nav-cta { padding: 0.7rem 1.75rem !important; font-size: 0.9rem !important; }
}
.nav-cta:hover { background: var(--brand-blue-dk) !important; }

/* Schedule Now — always visible on mobile, hidden on desktop (desktop uses nav-links) */
.nav-cta-persistent {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .nav-cta-persistent { display: none; }
}

/* Hamburger — mobile only */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(14,30,48,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(53,119,168,0.2);
  z-index: 190;
  padding: 1.5rem 1.25rem 2rem;
  flex-direction: column;
  gap: 0;
}
.nav-drawer.open { display: flex; }

.nav-drawer a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(53,119,168,0.12);
  opacity: 0.8;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a.nav-cta-drawer {
  margin-top: 1.25rem;
  display: inline-block;
  width: fit-content;
  background: var(--brand-blue);
  color: var(--white) !important;
  opacity: 1;
  padding: 0.75rem 2rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  border-bottom: none;
}

/* ─── HERO OVERLAY ─── */
/* Normal-flow block occupying full viewport height. Children use
   position:absolute relative to this container. */
.fixed-overlay {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 50;
  pointer-events: none;
}

/* Spacer (kept in DOM for JS, visually inert) */
.fixed-overlay-head { display: none; }

/* ─── SCAN LINE ─── */
/* Just above the background, below all content (text, canvas, cards, nav) */
.scan-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53,119,168,0.6), transparent);
  animation: scanDown 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scanDown {
  0%   { top: 10%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

/* TOP FRAME — text transitions */
.top-frame {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  display: grid;       /* children stack in one cell; height = tallest panel */
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  z-index: 10;
}

/* CANVAS FRAME — video playback
   Spans from bottom of top-frame to bottom of viewport.
   Horizontal padding shrinks the canvas so the full video width is visible
   instead of being cropped at the edges. */
.canvas-frame {
  position: absolute;
  top: calc(var(--nav-h) + var(--top-frame-h));
  left: 0;
  right: 0;
  /* Height set by JS in resizeCanvas() to match canvas element exactly */
  height: calc(100vh - var(--nav-h) - var(--top-frame-h)); /* fallback before JS runs */
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  z-index: 5;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
@media (min-width: 768px)  { .canvas-frame { padding: 0 2rem; } }
@media (min-width: 1024px) { .canvas-frame { padding: 0 4rem; } }

/* Wrapper sized to the canvas — white overlay is anchored to this, not the frame */
.canvas-wrap {
  position: relative;
  display: inline-flex;
  line-height: 0;
}

.canvas-frame canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

/* White dissolve overlay — covers only the video canvas, not the surrounding frame */
#canvas-white {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
}

/* Both frames fade out at end of scroll */
.frames-hidden .top-frame,
.frames-hidden .canvas-frame {
  opacity: 0;
}

/* ─── TOP FRAME CONTENT BLOCKS ─── */
/* Each block overlaps all others inside top-frame. Explicit four-side anchors
   (not the inset shorthand) for full iOS Safari compatibility. */
.tf-content {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.5rem 1.5rem 0.5rem;  /* matches cards-section horizontal padding */
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.tf-content.active { opacity: 1; }
@media (min-width: 768px) { .tf-content { padding: 0.5rem 2rem 0.5rem; } }
@media (min-width: 1024px) {
  .tf-content {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* Track the cards-grid left edge: max(4rem flat padding, centering offset once grid hits 1200px max-width) */
    padding-left:  max(4rem, calc((100vw - 1200px) / 2));
    padding-right: max(4rem, calc((100vw - 1200px) / 2));
  }
}

/* Hero content */
.tf-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .tf-eyebrow { font-size: 0.7rem; margin-bottom: .25rem; } }

.tf-heading {
  font-family: var(--font-display);
  /* ~26vw makes "CLOSER" (longest word) fill most of the padded frame on mobile */
  font-size: clamp(2.5rem, 12vw, 4.5rem); /*2.25rem, 12vw, 5.5rem   3rem, 20\6vw, 10rem*/
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
  width: 100%;
}
@media (min-width: 768px) { .tf-heading { font-size: clamp(2.5rem, 8vw, 4.5rem); margin-bottom: 0.25rem; } }
@media (min-width: 1024px) { .tf-heading { font-size: clamp(2.5rem, 8vw, 4.5rem); margin-bottom: 0.25rem; } }

.tf-heading .accent-blue { color: var(--brand-blue); }
.tf-heading .word { display: inline; }

/* Shared color helpers for both hero and panel headings */
.accent-blue  { color: var(--brand-blue); }
.word-white   { color: var(--white); }

.tf-rule-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.25rem;
  width: 100%;
}

.tf-rule {
  width: 3px;
  height: 18px;
  background: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 0.25rem;
}
@media (min-width: 768px) { .tf-rule { height: 30px; } }

.tf-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 4vw, 1.6rem);
  line-height: 1.6;
  color: var(--off-white);
  font-weight: 400;
  flex: 1;   /* takes remaining width next to the rule */
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  /*border-bottom: 1.0px solid var(--gray-mid); /*  rgba(53,119,168,0.12); */
}
.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}
.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 0.25rem;
  
}

/* Panel content (sections 1–3) */
.tf-section-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
@media (min-width: 768px) { .tf-section-label { font-size: 0.75rem; margin-bottom: 0.5rem; } }

.tf-section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 4.5rem); /* matches tf-heading */
  font-weight: 800;
  line-height: 0.85;                       /* matches tf-heading */
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--brand-blue); /* default; spans override per-word */
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .tf-section-heading { font-size: clamp(2.5rem, 8vw, 4.5rem); margin-bottom: 0.5rem; }
}
@media (min-width: 1024px) {
  .tf-section-heading { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 0.5rem; }
}

.tf-section-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 4vw, 1.4rem);
  line-height: 1.0;
  color: var(--gray-mid);
  font-weight: 400;
}

/* ─── POST-HERO CONTENT ─── */
/* Normal-flow block always visible below the hero. */
#post-scroll {
  position: static;
  opacity: 1;
  pointer-events: auto;
  background:
    linear-gradient(rgba(100,160,220,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,160,220,0.12) 1px, transparent 1px),
    var(--deep-navy);
  background-size: 60px 60px, 60px 60px, auto;
}

/* ─── CTA SECTION ─── */
.cta-section {
  position: relative;
  z-index: 10;
  background: transparent;
  text-align: center;
  padding: 2rem 1.5rem 2rem;
}
@media (min-width: 768px) { .cta-section { padding: 2rem 2rem 3rem; } }
@media (min-width: 1024px) { .cta-section { padding: 2rem 2rem 3rem; } }

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 1rem;
}

.cta-text-block {
  display: inline-block;
  text-align: center;
}

.cta-button-wrap {
  text-align: center;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 4.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 0;
  margin-bottom: 0.5rem;
  /*border-top: 1.0px solid var(--gray-mid); /* rgb(189, 240, 7); */
  /*border-bottom: 1.0px solid var(--gray-mid); /* rgb(189, 240, 7); */
}

.cta-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 4vw, 1.4rem);
  line-height: 1.0;
  color: var(--gray-mid);
  max-width: 100%;
  /*margin: 0.1 auto 0.5rem; */
  margin-bottom: 0.5rem
  /*border-top: 1.0px solid var(--gray-mid); /* rgb(189, 240, 7); */
  /*border-bottom: 1.0px solid var(--gray-mid); /* rgb(189, 240, 7); */
}

/* Primary CTA button */
.cta-button {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--brand-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.25s;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.0rem; padding: 1.5rem 3rem; }
}
@media (min-width: 1024px) {
  .cta-button { font-size: 1.0rem; padding: 0.9rem 2.5rem;
    clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%); }
}
.cta-button:hover { background: var(--brand-blue-dk); }

/* Secondary outline button */
.cta-button-outline {
  background: transparent;
  border: 1px solid var(--brand-blue);
  color: var(--off-white);
}
.cta-button-outline:hover { background: var(--brand-blue); color: var(--white); }

/* ─── CARDS ─── */
.cards-section {
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 0 1.5rem 0.4rem;
}
@media (min-width: 768px) { .cards-section { padding: 0 2rem 0.5rem; } }
@media (min-width: 1024px) { .cards-section { padding: 0 4rem 0.6rem; } }

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .cards-grid { flex-direction: row; gap: 1.5rem; }
}

.card {
  flex: 1;
  background: var(--navy-mid);
  border: 1px solid rgba(53,119,168,0.2);
  padding: 1rem 1.5rem 0.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand-blue);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  background: var(--navy-light);
  border-color: rgba(53,119,168,0.45);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

.card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 0.95;
}

.card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--gray-mid);
  flex: 1;
  margin-bottom: 0.5rem;
}

.card-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand-blue);
  padding: 0.55rem 1.4rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s;
  width: fit-content;
  align-self: center;
}
.card:hover .card-link { background: var(--brand-blue-dk); }
.service-card .card-link,
.blog-post-card .card-link { margin-top: 1rem; align-self: flex-start; }
.service-card:hover .card-link,
.blog-post-card:hover .card-link { background: var(--brand-blue-dk); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--deep-navy);
  /*border-top: 1px solid var(--gray-mid); /* rgb(53,119,168,0.15); */
  padding: .1rem 1.0rem .1rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) { .site-footer { padding: .5rem 2rem 1rem; } }
@media (min-width: 1024px) { .site-footer { padding: .5rem 2rem 1rem; } }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  /*gap: 0rem; */
  margin-bottom: 0rem;
}
@media (min-width: 600px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { height: 48px; width: auto; opacity: 0.85; }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  /*gap: 0.2rem; */
  /*margin-top: 2.5rem; */
  padding: 0.25rem 0.5rem 0.1rem;
  /*border-top: 1.0px solid var(--gray-mid); /* rgb(189, 240, 7); */
}
.footer-contact a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.0;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--off-white); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--off-white); }

/* Certification badges — full-width row, evenly spaced */
.footer-badges {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding: 1.0rem 1.0rem 1.0rem;
  /*border-top: 1.0px solid var(--gray-mid); /* rgb(189, 240, 7); */
  border-bottom: 1.0px solid var(--gray-mid); /*  rgba(53,119,168,0.12); */
  margin-bottom: 0.5rem;
}

.footer-badge {
  height: clamp(32px, 5vw, 52px);
  width: auto;
  opacity: 0.82;
  flex-shrink: 0;
}

.footer-bottom {
  /*border-top: 1px solid var(--gray-mid); /* rgb(189, 240, 7); */
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.1rem;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

/* ─── PLACEHOLDER PAGES ─── */
.page-body-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 1.5rem 4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .page-main { padding: calc(var(--nav-h) + 5rem) 2rem 5rem; }
}

.page-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 1rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 4.5rem);  /* mobile — matches tf-heading */
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .page-title { font-size: clamp(2.5rem, 8vw, 4.5rem); } }
.page-sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 420px;
  margin: 0 auto 2rem;
}
.page-divider {
  width: 40px;
  height: 2px;
  background: var(--brand-blue);
  margin: 0 auto 1.5rem;
}
.back-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.back-link:hover { opacity: 1; color: var(--brand-blue); }

/* ─── WHY FOUNDATION FIRST (people.html) ─── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .section-inner { padding: 0 2.5rem; } }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.38rem, 3.45vw, 2.23rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.section-title em {
  font-style: normal;
  color: var(--brand-blue);
}

.section-desc {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 560px;
  font-weight: 300;
}

/* ─── WHAT TO EXPECT (process.html) ─── */
.expect-section {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(27,58,92,0.12) 50%, transparent 100%);
  padding: 1rem 0;
}
.expect-inner {
  padding: 0;
}

.expect-header { text-align: center; margin-bottom: 1rem; }
.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 3rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}
@media (min-width: 600px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  background: #0e1e30;
  border: 1px solid rgba(100,160,220,0.1);
  padding: 1rem 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.step-card:hover {
  background: #1b3a5c;
  border-color: rgba(53,119,168,0.3);
  transform: translateY(-4px);
}
.step-card:hover::before { transform: scaleX(1); }

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.step-body { font-size: 0.9rem; line-height: 1.7; color: var(--gray-mid); font-weight: 300; }

/* ─── SERVICES SECTION (packages.html) ─── */
.services-section {
  padding: 1rem 0 5rem;
  position: relative;
  z-index: 2;
}
.process-first-section {
  padding-top: calc(var(--nav-h) + 0.5rem);
}

/* Shared page header block — used on people, blog, etc. */
.page-header-section {
  padding: calc(var(--nav-h) + 0.5rem) 0 0.5rem;
  position: relative;
  z-index: 2;
}

.services-header {
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card,
.blog-post-card {
  background: #0e1e30;
  border: 1px solid rgba(100,160,220,0.1);
  padding: 1rem 1.75rem 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.blog-post-card { scroll-margin-top: var(--nav-h); }
.service-card::before,
.blog-post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover,
.blog-post-card:hover {
  background: #1b3a5c;
  border-color: rgba(53,119,168,0.3);
  transform: translateY(-4px);
}
.service-card:hover::before,
.blog-post-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.service-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.service-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-mid);
  font-weight: 300;
}
.service-card-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-card-link::after {
  content: '→';
  transition: transform 0.2s;
}
.service-card:hover .service-card-link::after,
.blog-post-card:hover .service-card-link::after { transform: translateX(4px); }

.service-card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2.0rem;
  margin-top: 0.5rem;
  justify-content: center;
}
.service-card-buttons .cta-button {
  font-size: 0.7rem;
  padding: 0.55rem 2rem;
  
}
.service-card-buttons .btn-secondary {
  font-size: 0.7rem;
  padding: 0.55rem 2rem;
  
}

/* ─── SERVICE DETAIL SECTIONS (process.html) ─── */
.service-detail-section {
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(100,160,220,0.1);
}
.service-detail-section:first-of-type {
  border-top: none;
}

/* ─── TECHNOLOGY SPOTLIGHT (process.html) ─── */
.tech-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10,20,35,0.8) 50%, transparent 100%);
}

.tech-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .tech-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-left: 2px solid rgba(100,160,220,0.2);
  transition: border-color 0.3s;
}
.tech-feature:hover { border-left-color: var(--brand-blue); }

.tech-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.tech-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}
.tech-feature-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-mid);
  font-weight: 300;
}

.tech-comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.tech-img-panel {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.tech-img-panel .img-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: var(--white);
  background: rgba(0,0,0,0.7);
  padding: 4px 8px;
  text-transform: uppercase;
  z-index: 2;
}

.panel-normal {
  background: linear-gradient(135deg, #1a2535 0%, #243040 50%, #1a2030 100%);
}
.panel-normal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,35,50,0.3) 0%, transparent 40%, rgba(0,0,0,0.4) 100%);
}
.house-sketch {
  position: absolute;
  inset: 10%;
  opacity: 0.4;
}

.panel-thermal { background: #000510; }
.panel-thermal-content {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 50% at 40% 50%, rgba(255,40,0,0.8) 0%, rgba(200,80,0,0.5) 30%, transparent 60%),
    radial-gradient(ellipse 30% 35% at 70% 40%, rgba(255,180,0,0.6) 0%, rgba(180,80,0,0.3) 40%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(0,60,180,0.5) 0%, transparent 60%),
    linear-gradient(180deg, #000510 0%, #050515 100%);
}

/* ─── ABOUT PREVIEW (people.html) ─── */
.about-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, rgba(27,58,92,0.3) 0%, transparent 60%);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.about-photo-wrapper { position: relative; }

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 360px;
  background: linear-gradient(160deg, #1a2e45 0%, #243040 100%);
  border: 1px solid rgba(100,160,220,0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(100,160,220,0.03) 20px,
    rgba(100,160,220,0.03) 21px
  );
}

.about-photo-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gray-dark);
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}

.about-accent-block {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--brand-blue);
  opacity: 0.12;
  z-index: -1;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}

.credential-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  border: 1px solid rgba(100,160,220,0.2);
  padding: 5px 10px;
  background: rgba(14,30,48,0.5);
  white-space: nowrap;
}

.about-body-text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about-inline-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-inline-badge {
  height: clamp(36px, 5vw, 52px);
  width: auto;
  opacity: 0.82;
}

/* ─── SERVICE AREA (packages.html) ─── */
.area-section {
  padding: 4rem 0 5rem;
}

.area-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .area-inner { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
}

.area-map {
  border: 1px solid rgba(100,160,220,0.2);
  border-radius: 6px;
  overflow: hidden;
  min-height: 320px;
  /* On desktop, stretch to match the left column height; floor at 420px */
  height: 100%;
}
@media (min-width: 900px) {
  .area-map { min-height: 420px; }
}

#service-area-map {
  width: 100%;
  height: 100%;
  display: block;
  min-height: inherit;
}

.area-towns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 1.25rem;
}
.area-town {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--off-white);
  font-weight: 300;
}
.area-town::before {
  content: '◆';
  color: var(--brand-blue);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ─── FINAL CTA (process.html) ─── */
.final-cta-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(53,119,168,0.12) 0%, transparent 60%);
}
.final-cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.final-cta-inner .section-label {
  justify-content: center;
}
.final-cta-inner .section-label::before { display: none; }
.final-cta-inner .section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 700px;
  margin: 0 auto 1rem;
}
.final-cta-inner .section-desc {
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.final-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  border: 1px solid rgba(150,180,210,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.final-cta-note {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gray-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── REVIEWS (index.html) ─── */
.reviews-section {
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 2rem 1.5rem 0.4rem;
}
@media (min-width: 768px)  { .reviews-section { padding: 2rem 2rem 0.5rem; } }
@media (min-width: 1024px) { .reviews-section { padding: 2rem 4rem 0.6rem; } }

.reviews-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.reviews-header .section-label { justify-content: center; }
.reviews-header .section-label::before { display: none; }

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
}
@media (min-width: 768px) {
  .reviews-grid { flex-direction: row; gap: 1.5rem; }
}

.review-card {
  flex: 1;
  background: rgba(14, 30, 48, 0.95);
  border: 1px solid rgba(100,160,220,0.5);
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--brand-blue);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--off-white);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.25rem;
  border-left: 2px solid var(--brand-blue);
  padding-left: 1rem;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--navy-mid);
  border: 1px solid rgba(100,160,220,0.);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-blue);
}

.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.review-location {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

.reviews-cta {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 1rem;
}
.reviews-cta a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(53,119,168,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.reviews-cta a:hover { border-color: var(--brand-blue); }

/* ─── GOOGLE REVIEWS ─── */
.google-reviews-container {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(100,160,220,0.15);
}

.google-reviews-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-left: 0.25rem;
}
.google-reviews-header span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.google-g-logo { flex-shrink: 0; }

.google-reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .google-reviews-grid { flex-direction: row; flex-wrap: wrap; gap: 1.25rem; }
}

.google-review-card {
  flex: 1 1 200px;
  background: rgba(14, 30, 48, 0.75);
  border: 1px solid rgba(100,160,220,0.25);
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gr-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gr-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  position: relative;
}
.gr-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.gr-avatar-initial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1b3a5c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #4285F4;
}

.gr-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.gr-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
}
.gr-time {
  font-size: 0.7rem;
  color: var(--gray-mid);
}

.gr-stars {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: #FBBC05;
}

.gr-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--off-white);
  font-weight: 300;
  margin: 0;
}

.google-reviews-cta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding-top: 1.25rem;
  flex-wrap: wrap;
}
.google-reviews-cta a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(53,119,168,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.google-reviews-cta a:hover { border-color: var(--brand-blue); }
.google-reviews-cta .gr-cta-leave { color: var(--gray-mid); }
.google-reviews-cta .gr-cta-leave:hover { color: var(--brand-blue); border-color: var(--brand-blue); }

/* Scan line — page hero decoration */
.page-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
  animation: scan 3.5s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.4;
}
@keyframes scan {
  0%   { top: 0%;   opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* ─── PRICING TABLE ─────────────────────────────────────────── */
.pricing-section {
  width: 100%;
  padding: calc(var(--nav-h) + 0.5rem) 0 3rem;
  position: relative;
  z-index: 2;
}
.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #0e1e30;
  border: 1px solid rgba(53,119,168,0.2);
}
/* Standalone intro text block (above table) */
.page-intro {
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: 400;
  color: var(--gray-mid);
  line-height: 1.6;
  margin: 0 0 1rem;
  padding: 0;
}
.page-intro a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.page-intro a:hover {
  opacity: 1;
}
/* Section header rows (PACKAGES / ALA CARTE MENU) */
.pricing-table thead th.pricing-section-header,
.pricing-table tbody td.pricing-section-header {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand-blue);
  padding: 0.5rem 1rem;
  text-align: left;
}
.pricing-table tbody tr.pricing-section-divider td {
  padding: 0.5rem;
  border: none;
}
.pricing-table tbody tr:hover td {
  background: rgba(27, 58, 92, 0.6);
  border-color: rgba(53,119,168,0.3);
}
.pricing-table tbody tr.pricing-section-divider:hover {
  background: transparent;
}
.pricing-table tbody td {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--off-white);
  background: #0e1e30;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(53,119,168,0.1);
  vertical-align: middle;
}
.pricing-table tbody td:first-child {
  padding-left: 0;
}
.pricing-table tbody td.price-col {
  font-family: var(--font-mono);
  font-size: 1.0rem;
  color: var(--white);
  text-align: right;
  white-space: nowrap;
}
.pricing-table tbody td.quote-val {
  font-style: italic;
  color: var(--gray-mid);
  font-size: 0.9rem;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767px) {
  .pricing-section { padding: calc(var(--nav-h) + 0.75rem) 0.75rem 2.5rem; }
  .pricing-table { font-size: 0.82rem; }
  .pricing-table tbody td,
  .pricing-table thead th { padding: 0.5rem 0.75rem; }
}
