/* ============================================================
   SkySpec AI — Design System
   Palette from the brand mark: deep navy and blue, with a muted
   steel blue and a brass gold signature accent. Display: Barlow
   Condensed. Body: Inter. Labels: IBM Plex Mono.
   Full bleed photography carries the visual weight; no glow
   effects, scan lines, or grid overlays.
   ============================================================ */

:root {
  --navy: #0A1930;
  --navy-2: #0E2A4C;
  --blue: #1B6FAE;
  --cyan: #6FA8C9;
  --cyan-soft: #D9F2FB;
  --gold: #C69A45;
  --gold-light: #E7C777;
  --gold-dark: #9C7527;
  --orange: #E8762C;
  --paper: #F6F8FB;
  --paper-2: #EDF2F7;
  --ink: #101E30;
  --slate: #55677B;
  --slate-light: #8494A6;
  --line: rgba(10, 25, 48, 0.12);
  --line-soft: rgba(10, 25, 48, 0.07);
  --white: #FFFFFF;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --radius-s: 3px;
  --radius-m: 6px;
  --radius-l: 14px;
  --shadow-m: 0 18px 50px -18px rgba(10, 25, 48, 0.45);
  --shadow-gold: 0 14px 34px -12px rgba(198, 154, 69, 0.55);

  --container: 1240px;
  --nav-h: 118px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, figcaption, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

section { position: relative; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-light); }

.h-display { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 650; }
.h-section { font-size: clamp(2rem, 3.4vw, 2.85rem); font-weight: 600; }
.h-card { font-size: 1.36rem; font-weight: 600; }

.lede {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 62ch;
}
.on-dark .lede, .lede.on-dark { color: rgba(255,255,255,0.78); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

p { color: var(--slate); }
.on-dark p { color: rgba(255,255,255,0.75); }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* Orange italic placeholders for details Samson will add himself */
.placeholder-field {
  color: var(--orange) !important;
  font-style: italic;
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(198,154,69,0.65); }

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

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.photo-frame { border-radius: var(--radius-l); overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Dark band (stats, CTA) — solid, no grid overlay ---------- */
.dark-band { background: var(--navy); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 999;
  border-radius: var(--radius-s);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   Utility bar + Header
   ============================================================ */
.utility-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
  padding-bottom: 4px;
}
.utility-left { display: flex; align-items: center; gap: 8px; }
.utility-left svg { width: 13px; height: 13px; color: var(--cyan); flex: none; }
.utility-right { display: flex; align-items: center; gap: 22px; }
.utility-right a { color: rgba(255,255,255,0.72); transition: color .2s ease; }
.utility-right a:hover { color: var(--gold-light); }
.utility-social { display: flex; gap: 14px; }
.utility-social svg { width: 14px; height: 14px; }
@media (max-width: 700px) { .utility-right .u-contact { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 248, 251, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 76px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--blue); background: var(--paper-2); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .25s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-item { position: relative; }

.header-cta { display: flex; align-items: center; gap: 14px; }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(880px, 88vw);
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index: 60;
}
.nav-item.open .mega-menu,
.nav-item:hover .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  transition: background .2s ease;
}
.mega-link:hover { background: var(--paper-2); }
.mega-link .ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background .2s ease, color .2s ease;
}
.mega-link:hover .ico { background: var(--navy); color: var(--cyan); }
.mega-link .ico svg { width: 21px; height: 21px; }
.mega-link .txt strong { display: block; font-size: 0.94rem; color: var(--navy); font-weight: 650; margin-bottom: 2px; }
.mega-link .txt span { font-size: 0.82rem; color: var(--slate); line-height: 1.4; display: block; }
.mega-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mega-foot .mono-tag { font-size: 11px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .main-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 6px 20px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .3s ease; z-index: 150;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; justify-content: space-between; width: 100%; }
  /* Compact accordion: icon + name only, so all seven services fit without scrolling */
  .mega-menu { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: none; grid-template-columns: 1fr; width: 100%; padding: 2px 0 10px 4px; display: none; gap: 0; }
  .nav-item.open .mega-menu { display: grid; }
  .mega-link { padding: 10px 6px; gap: 12px; border-bottom: 1px solid var(--line-soft); }
  .mega-link .ico { width: 32px; height: 32px; border-radius: 8px; }
  .mega-link .ico svg { width: 16px; height: 16px; }
  .mega-link .txt span { display: none; }
  .mega-link .txt strong { margin-bottom: 0; }
  .mega-foot { flex-direction: column; align-items: flex-start; padding-top: 10px; }
  .header-mobile-cta { margin-top: 14px; }
  .nav-toggle { display: flex; }
  .header-cta .desktop-only { display: none; }
}
@media (min-width: 1021px) { .header-mobile-cta { display: none; } }

/* ============================================================
   Hero — full bleed photograph, no scanning line, no grid overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 170px 0 76px;
  background: var(--navy);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(7,14,26,0.97) 0%, rgba(9,20,38,0.72) 42%, rgba(9,20,38,0.28) 72%, rgba(9,20,38,0.08) 100%),
    linear-gradient(100deg, rgba(7,14,26,0.9) 0%, rgba(7,14,26,0.42) 48%, rgba(7,14,26,0.05) 78%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 700px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 span { color: var(--gold-light); }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.16);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--white);
  font-weight: 650;
}
.hero-stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 760px) {
  .hero { min-height: auto; padding: 140px 0 56px; }
  .hero-stats { gap: 24px 34px; }
}

/* Sub-page hero photograph sizing is handled by .svc-hero .photo-frame below */

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.bg-navy { background: var(--navy); }
.bg-paper2 { background: var(--paper-2); }
.bg-white { background: var(--white); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-copy p + p { margin-top: 16px; }
.split-media .photo-frame { aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-m); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.check-list { display: flex; flex-direction: column; gap: 13px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; color: var(--ink); }
.check-list svg { flex: none; width: 20px; height: 20px; color: var(--gold-dark); margin-top: 2px; }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; margin-top: 8px; }
.check-grid li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--ink); }
.check-grid svg { flex: none; width: 19px; height: 19px; color: var(--gold-dark); margin-top: 2px; }
@media (max-width: 680px) { .check-grid { grid-template-columns: 1fr; } }

/* ---------- Service cards (uniform, bold treatment — every service equal weight) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: transparent; }
.svc-card .svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.svc-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background .3s ease, color .3s ease;
  flex: none;
}
.svc-card:hover .svc-icon { background: var(--navy); color: var(--cyan); }
.svc-icon svg { width: 27px; height: 27px; }
.svc-num { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--slate-light); }
.svc-card .svc-photo { border-radius: 10px; overflow: hidden; height: 260px; margin-bottom: 22px; }
.svc-card .svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-photo img { transform: scale(1.05); }
.svc-card h3 { margin-bottom: 12px; font-size: 1.55rem; }
.svc-card p { font-size: 0.98rem; flex: 1; margin-bottom: 22px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: 0.9rem; color: var(--navy);
  border-top: 1px solid var(--line-soft); padding-top: 15px;
}
.svc-link svg { width: 15px; height: 15px; transition: transform .25s ease; color: var(--gold-dark); }
.svc-card:hover .svc-link svg, .svc-link:hover svg { transform: translateX(4px); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 650;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-block span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  line-height: 1.5;
  display: block;
}

/* ---------- Process steps ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }
.process-item { padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.process-item .pnum {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 650;
  color: transparent; -webkit-text-stroke: 1.4px var(--gold);
  line-height: 1; margin-bottom: 14px; display: block;
}
.process-item h4 { font-size: 1.08rem; margin-bottom: 8px; }
.process-item p { font-size: 0.9rem; }

/* ---------- Compare block ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare-col { padding: 32px 30px; }
.compare-col.is-old { background: var(--paper-2); }
.compare-col.is-new { background: var(--navy); }
.compare-col.is-new h4 { color: var(--white); }
.compare-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.compare-col.is-old .compare-tag { color: var(--slate); }
.compare-col.is-new .compare-tag { color: var(--gold-light); }
.compare-col h4 { font-size: 1.25rem; margin-bottom: 18px; }
.compare-col ul { display: flex; flex-direction: column; gap: 12px; }
.compare-col li { font-size: 0.92rem; display: flex; gap: 10px; color: var(--slate); }
.compare-col.is-old li::before { content: "—"; color: var(--slate-light); flex: none; }
.compare-col.is-new li { color: rgba(255,255,255,0.85); }
.compare-col.is-new li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: var(--gold); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.86rem; font-weight: 600; color: var(--navy);
  background: var(--white); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px;
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 3.6;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo .avatar-mark { width: 38%; opacity: 0.9; color: var(--cyan); }
.team-photo-note {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  font-size: 0.78rem;
  text-align: center;
  padding: 7px 10px;
  border: 1px dashed rgba(232,118,44,0.7);
  border-radius: var(--radius-s);
  background: rgba(10,25,48,0.4);
}
.team-body { padding: 30px 26px 30px; }
.team-role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; display: block; }
.team-body h3 { margin-bottom: 12px; }
.team-body p { font-size: 0.92rem; }

/* ============================================================
   Reviews carousel
   ============================================================ */
.testi-rating-badge { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 42px; flex-wrap: wrap; }
.testi-rating-badge .stars { display: flex; gap: 3px; }
.testi-rating-badge svg { width: 20px; height: 20px; color: var(--gold); }
.testi-rating-badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.testi-rating-badge span { font-family: var(--font-mono); font-size: 12px; color: var(--slate); }

.testi-wrap { position: relative; }
.testi-viewport { overflow: hidden; cursor: grab; }
.testi-viewport:active { cursor: grabbing; }
.testi-track {
  display: flex;
  gap: 22px;
  transition: transform 0.85s cubic-bezier(.65,0,.35,1);
  will-change: transform;
}
.testi-card {
  flex: 0 0 calc((100% - 44px) / 3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 980px) { .testi-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 660px) { .testi-card { flex-basis: 100%; } }

.testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testi-stars svg { width: 16px; height: 16px; color: var(--gold); }
.testi-quote { font-size: 0.95rem; color: var(--ink); flex: 1; margin-bottom: 20px; line-height: 1.6; }
.testi-who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 650; font-size: 1rem;
  flex: none;
}
.testi-who strong { display: block; font-size: 0.88rem; color: var(--navy); }
.testi-who span { font-family: var(--font-mono); font-size: 11px; color: var(--slate-light); }

.testi-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.testi-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.testi-arrow:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.testi-arrow svg { width: 18px; height: 18px; }
.testi-dots { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: center; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(10,25,48,0.18); border: none; padding: 0; transition: background .25s ease, transform .25s ease; }
.testi-dot.active { background: var(--gold); transform: scale(1.35); }

/* ============================================================
   CTA band + contact
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #0C3459 100%);
  border-radius: var(--radius-l);
  padding: 60px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(56,192,232,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(56,192,232,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 80% 30%, black, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 560px; }
.cta-band p { margin-top: 10px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: 44px 30px; } }

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info { background: var(--navy); color: var(--white); padding: 46px 42px; }
.contact-info h3 { color: var(--white); margin-bottom: 12px; }
.contact-info > p { margin-bottom: 30px; }
.contact-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-line svg { width: 19px; height: 19px; color: var(--cyan); margin-top: 2px; flex: none; }
.contact-line strong { display: block; font-size: 0.92rem; color: var(--white); margin-bottom: 2px; }
.contact-line span, .contact-line a { font-size: 0.88rem; color: rgba(255,255,255,0.68); }

.contact-form { background: var(--white); padding: 46px 42px; }
@media (max-width: 560px) { .contact-form, .contact-info { padding: 34px 24px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; font-weight: 650; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.8rem; margin-top: 14px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding-top: 84px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 58px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 62px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.58); font-size: 0.9rem; max-width: 30ch; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; color: rgba(255,255,255,0.8); }
.footer-social a:hover svg { color: var(--navy); }

.footer-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 22px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-loc { margin-bottom: 8px; }
.footer-loc strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 3px; }
.footer-loc span { font-size: 0.84rem; color: rgba(255,255,255,0.55); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.48); }
.footer-bottom-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.48); }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   Service pages
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.68); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 10px; height: 10px; }

.svc-hero {
  min-height: 0;
  display: block;
  padding: 150px 0 68px;
  background: radial-gradient(120% 140% at 85% -10%, var(--navy-2) 0%, var(--navy) 60%, #071426 100%);
}
.svc-hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center; }
@media (max-width: 900px) { .svc-hero-inner { grid-template-columns: 1fr; } }
.svc-hero .lede { margin-bottom: 4px; }
.svc-hero .photo-frame { aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-m); }

.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .gallery-row { grid-template-columns: 1fr; } }
.gallery-row figure { border-radius: var(--radius-l); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.gallery-row img { width: 100%; height: 230px; object-fit: cover; }
.gallery-row figcaption { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--slate); padding: 13px 16px; }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-l);
  overflow: hidden;
}
@media (max-width: 860px) { .spec-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .spec-strip { grid-template-columns: 1fr; } }
.spec-cell { background: var(--navy); padding: 24px 22px; }
.spec-cell .spec-key { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 8px; }
.spec-cell .spec-val { font-size: 0.94rem; color: rgba(255,255,255,0.85); line-height: 1.5; }

.other-services-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .other-services-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .other-services-strip { grid-template-columns: 1fr; } }
.mini-svc-card {
  padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  display: flex; align-items: center; gap: 14px; transition: border-color .2s ease, transform .2s ease;
}
.mini-svc-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.mini-svc-card .svc-icon { width: 42px; height: 42px; }
.mini-svc-card .svc-icon svg { width: 21px; height: 21px; }
.mini-svc-card strong { font-size: 0.88rem; color: var(--navy); font-weight: 650; }

/* ---------- misc ---------- */
.text-center { text-align: center; }
.small-print { font-size: 0.78rem; color: var(--slate-light); }

/* ============================================================
   Mobile header scaling
   ============================================================ */
@media (max-width: 560px) {
  :root { --nav-h: 88px; }
  .brand img { height: 54px; }
}

/* ============================================================
   Interactive process tabs (click a step, see its detail —
   replaces four identical static boxes)
   ============================================================ */
.process-tabs { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
@media (max-width: 760px) { .process-tabs { grid-template-columns: 1fr; } }
.process-tab-list { background: var(--paper-2); border-right: 1px solid var(--line); }
@media (max-width: 760px) { .process-tab-list { border-right: none; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.process-tab-btn {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 20px 22px; text-align: left; background: none; border: none;
  border-bottom: 1px solid var(--line); cursor: pointer;
  font-family: var(--font-body); color: var(--slate);
  transition: background .2s ease, color .2s ease;
}
@media (max-width: 760px) { .process-tab-btn { border-bottom: none; border-right: 1px solid var(--line); white-space: nowrap; padding: 16px 18px; } }
.process-tab-btn .pnum { font-family: var(--font-display); font-size: 1.5rem; font-weight: 650; color: var(--slate-light); flex: none; }
.process-tab-btn strong { font-size: 0.96rem; font-weight: 650; color: var(--navy); }
.process-tab-btn.active { background: var(--white); color: var(--navy); }
.process-tab-btn.active .pnum { color: var(--gold-dark); }
.process-tab-btn:hover { background: rgba(255,255,255,0.6); }
.process-tab-panels { position: relative; padding: 40px 44px; }
@media (max-width: 760px) { .process-tab-panels { padding: 28px 24px; } }
.process-tab-panel { display: none; animation: fadeInPanel .35s ease; }
.process-tab-panel.active { display: block; }
@keyframes fadeInPanel { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.process-tab-panel h4 { font-size: 1.4rem; margin-bottom: 12px; }
.process-tab-panel p { font-size: 1rem; max-width: 56ch; }
@media (prefers-reduced-motion: reduce) { .process-tab-panel { animation: none; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 650; font-size: 1rem; color: var(--navy);
}
.faq-q .faq-plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .faq-plus::before, .faq-q .faq-plus::after {
  content: ""; position: absolute; background: var(--gold-dark); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.faq-q .faq-plus::before { left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; }
.faq-q .faq-plus::after { top: 3px; bottom: 3px; left: 50%; width: 2px; margin-left: -1px; }
.faq-item.open .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; font-size: 0.95rem; max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }
