/* =========================================================
   Boehm & Sons Pool Service — Design System
   Palette derived from logo: deep pool blue, bright aqua,
   deep navy, chrome silver, warm sun accent (used sparingly).
   Type: Sora (display) + Inter (body).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color tokens */
  --deep-blue: #0A6BB8;
  --deep-blue-dark: #085a9c;
  --aqua: #16BFDB;
  --aqua-light: #E4F8FB;
  --navy: #0B1E2E;
  --navy-soft: #14293C;
  --silver: #C9D3D9;
  --silver-light: #EEF3F5;
  --sun: #F2A93B;
  --white: #FFFFFF;
  --ink: #12222E;
  --ink-soft: #51636D;
  --ink-faint: #7E8D95;
  --line: #E1E8EC;
  --success: #1E8E5A;

  /* Gradient signature — used sparingly as the "waterline" motif */
  --water-gradient: linear-gradient(90deg, var(--deep-blue) 0%, var(--aqua) 100%);

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11,30,46,0.06);
  --shadow-md: 0 12px 32px rgba(11,30,46,0.10);
  --shadow-lg: 0 24px 60px rgba(11,30,46,0.16);

  --header-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
/* Safety net: any icon svg without a more specific sizing rule falls back
   to a sane 1em box instead of an unconstrained intrinsic size. */
svg { width: 1em; height: 1em; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--navy); line-height: 1.15; }
p { margin: 0; }

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

@media (min-width: 768px) {
  .container { padding: 0 var(--space-4); }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-blue);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--water-gradient);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--aqua); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.95rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--deep-blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(10,107,184,0.28);
}
.btn-primary:hover { background: var(--deep-blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10,107,184,0.34); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); border-color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--deep-blue);
  border-color: var(--deep-blue);
}
.btn-outline:hover { background: var(--deep-blue); color: var(--white); transform: translateY(-2px); }
.btn-sun {
  background: var(--sun);
  color: var(--navy);
}
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,169,59,0.35); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(155deg, var(--deep-blue) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.brand-text .sub { font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.footer-brand .brand-text { white-space: normal; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 1.4rem; flex-wrap: nowrap; }
.main-nav a {
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--ink-soft);
  position: relative;
  padding: 0.4rem 0.1rem;
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--deep-blue); }
.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  border-radius: 2px;
  background: var(--water-gradient);
}
.header-cta { display: none; align-items: center; gap: var(--space-2); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--silver-light);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: var(--space-4) var(--space-3) var(--space-5);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-drawer.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-drawer a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer a[aria-current="page"] { color: var(--deep-blue); }
.mobile-drawer .btn { margin-top: var(--space-3); }
.mobile-discount {
  margin-top: var(--space-3);
  background: var(--silver-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.mobile-discount strong { color: var(--deep-blue); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-drawer { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero.hero-tall { min-height: 88vh; }
.hero.hero-compact { min-height: 46vh; align-items: center; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,26,42,0.55) 0%, rgba(9,26,42,0.35) 35%, rgba(6,17,28,0.88) 100%);
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--water-gradient);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--space-7) + var(--header-h));
  padding-bottom: var(--space-6);
  width: 100%;
}
.hero.hero-compact .hero-inner { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800;
  max-width: 16ch;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: var(--space-2);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 52ch;
}
.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.hero-note {
  margin-top: var(--space-2);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.hero-badge {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--sun); flex-shrink: 0; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Sections ---------- */
section { padding: var(--space-6) 0; }
.section-tight { padding: var(--space-5) 0; }
.section-alt { background: var(--silver-light); }
.section-navy { background: var(--navy); color: rgba(255,255,255,0.9); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 62ch; margin-bottom: var(--space-5); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { margin-top: var(--space-2); color: var(--ink-soft); font-size: 1.05rem; }
.section-navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Service grid ---------- */
.grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--aqua-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--deep-blue);
  margin-bottom: var(--space-2);
  transition: background 0.22s ease, transform 0.22s ease;
}
.service-icon svg { width: 28px; height: 28px; }
.card:hover .service-icon { background: var(--water-gradient); color: var(--white); transform: scale(1.06); }

.card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: var(--space-2); font-weight: 700; font-size: 0.9rem; color: var(--deep-blue); }
.card .card-link svg { width: 15px; height: 15px; }

/* Service block with image (services page) */
.service-block {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
@media (min-width: 860px) { .service-block { grid-template-columns: 1fr 1fr; } }
.service-block.reverse .service-media { order: 2; }
.service-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-copy .service-number {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--silver);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}
.service-copy h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.service-copy .why { margin-top: var(--space-2); padding: var(--space-2); background: var(--silver-light); border-radius: var(--radius-sm); border-left: 3px solid var(--deep-blue); }
.service-copy .why strong { color: var(--navy); display: block; margin-bottom: 0.2rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.service-copy .btn { margin-top: var(--space-3); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 0.9rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: var(--space-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.checklist .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--water-gradient);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.checklist .check svg { width: 14px; height: 14px; }
.checklist .item-title { font-weight: 700; color: var(--navy); font-family: var(--font-display); }
.checklist .item-desc { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.15rem; }

/* ---------- Process / timeline ---------- */
.process-row {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 780px) { .process-row { grid-template-columns: repeat(5, 1fr); } }
.process-step { position: relative; padding-top: var(--space-3); }
.process-step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--deep-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.process-step .num::before {
  content: '';
  width: 34px; height: 2px;
  background: var(--silver);
}
.process-step:first-child .num::before { display: none; }
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.process-step p { color: var(--ink-soft); font-size: 0.92rem; }

.visit-flow { display: flex; flex-direction: column; gap: 0; max-width: 620px; margin: 0 auto; }
.visit-flow .stage {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) 0;
}
.visit-flow .stage .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--water-gradient);
  flex-shrink: 0;
}
.visit-flow .stage span.label {
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
}
.visit-flow .connector {
  width: 2px; height: 28px; background: var(--silver);
  margin-left: 6px;
}

/* ---------- Discount banner ---------- */
.discount-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.discount-banner > * { min-width: 0; }
.discount-banner .btn { white-space: normal; text-align: center; }
.discount-banner::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(242,169,59,0.16) 0%, rgba(242,169,59,0) 70%);
}
@media (min-width: 860px) { .discount-banner { grid-template-columns: auto 1fr auto; padding: var(--space-5); } }
.discount-figure {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--sun);
  line-height: 1;
}
.discount-banner h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.4rem; }
.discount-banner p { color: rgba(255,255,255,0.78); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-6) var(--space-4);
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,36,0.72), rgba(8,22,36,0.86));
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 22ch; margin: 0 auto; }
.cta-band p { margin-top: var(--space-2); color: rgba(255,255,255,0.82); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: var(--space-4); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3);
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.faq-q .icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--deep-blue); transition: transform 0.25s ease; }
.faq-item[data-open="true"] .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 var(--space-3) var(--space-3); color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.field .hint { font-size: 0.78rem; color: var(--ink-faint); font-weight: 500; }
.field input, .field select, .field textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 4px rgba(10,107,184,0.12);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-span-2 { grid-column: 1 / -1; }

.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-option {
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex; align-items: center; gap: 0.4rem;
}
.pill-option:has(input:checked) {
  border-color: var(--deep-blue);
  background: var(--aqua-light);
  color: var(--deep-blue-dark);
}
.pill-option input { accent-color: var(--deep-blue); }

.checklist-inline { display: grid; gap: 0.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .checklist-inline { grid-template-columns: 1fr 1fr; } }
.checklist-inline label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--ink-soft);
  padding: 0.6rem 0.75rem;
  background: var(--silver-light);
  border-radius: var(--radius-sm);
}
.checklist-inline input { accent-color: var(--deep-blue); width: 17px; height: 17px; }

.form-progress {
  display: flex; align-items: center; gap: 0.4rem;
  margin-bottom: var(--space-4);
}
.form-progress .step {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: var(--line);
  transition: background 0.3s ease;
}
.form-progress .step.done, .form-progress .step.active { background: var(--water-gradient); }
.form-status {
  margin-top: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #EAF7EF; color: var(--success); border: 1px solid #BFE6CD; }
.form-status.error { background: #FDECEC; color: #B3261E; border: 1px solid #F5C6C4; }

/* ---------- Why-choose ---------- */
.value-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.value-row .mark {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--aqua-light);
  color: var(--deep-blue);
  display: flex; align-items: center; justify-content: center;
}
.value-row .mark svg { width: 22px; height: 22px; }
.value-row h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.value-row p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Testimonial placeholder ---------- */
.testimonial-placeholder {
  border: 1.5px dashed var(--silver);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  color: var(--ink-faint);
  background: var(--silver-light);
}
.testimonial-placeholder svg { width: 30px; height: 30px; margin-bottom: var(--space-2); color: var(--silver); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: var(--space-6) 0 var(--space-3); }
.footer-top { display: grid; gap: var(--space-5); grid-template-columns: 1fr; padding-bottom: var(--space-5); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: var(--space-2); font-size: 0.92rem; max-width: 32ch; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-2); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--aqua); }
.footer-bottom {
  padding-top: var(--space-3);
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: var(--space-2); right: var(--space-2); bottom: var(--space-2);
  z-index: 90;
  display: flex;
  box-shadow: var(--shadow-lg);
  border-radius: 100px;
  overflow: hidden;
}
.sticky-cta .btn { flex: 1; border-radius: 0; padding: 1rem; box-shadow: none; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.pad-bottom-sticky { padding-bottom: 90px; }
@media (min-width: 1024px) { .pad-bottom-sticky { padding-bottom: 0; } }

.badge-strip {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: var(--space-2);
}
.badge-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--silver-light); border: 1px solid var(--line);
  padding: 0.4rem 0.85rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
}
.badge-chip svg { width: 14px; height: 14px; color: var(--deep-blue); }

.divider-water {
  width: 64px; height: 4px; border-radius: 4px;
  background: var(--water-gradient);
  margin: var(--space-2) auto var(--space-4);
}

/* =========================================================
   Packaging + brand polish patch
   ========================================================= */
.brand-logo {
  background: #050607;
  border: 1px solid rgba(10,107,184,.22);
  overflow: hidden;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.site-header {
  box-shadow: 0 8px 26px rgba(11,30,46,.06);
}
.site-header .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.site-header .brand-text {
  font-size: 1.02rem;
}
.hero {
  background-position: center 45%;
}
.hero::before {
  background:
    linear-gradient(90deg, rgba(6,17,28,.87) 0%, rgba(6,17,28,.65) 45%, rgba(6,17,28,.26) 76%, rgba(6,17,28,.2) 100%),
    linear-gradient(180deg, rgba(9,26,42,.18) 0%, rgba(6,17,28,.78) 100%);
}
.hero h1 {
  text-wrap: balance;
  letter-spacing: -.035em;
}
.hero-sub { line-height: 1.72; }
.card {
  box-shadow: 0 10px 30px rgba(11,30,46,.055);
}
.service-media img,
.cta-band { transition: transform .45s ease; }
.service-block:hover .service-media img { transform: scale(1.025); }
.footer-brand .brand-mark {
  width: 66px;
  height: 66px;
  border-radius: 14px;
}
.footer-brand .brand {
  align-items: center;
}
@media (max-width: 639px) {
  :root { --header-h: 68px; }
  .site-header .container { padding-left: 1rem; padding-right: 1rem; }
  .site-header .brand-mark { width: 42px; height: 42px; border-radius: 10px; }
  .site-header .brand-text { font-size: .88rem; }
  .site-header .brand-text .sub { font-size: .54rem; letter-spacing: .1em; }
  .hero.hero-tall { min-height: 72vh; }
  .hero.hero-compact { min-height: 40vh; }
  .hero-inner { padding-top: 5.5rem; padding-bottom: 3.6rem; }
  .hero h1 { font-size: clamp(2.05rem, 11vw, 3.15rem); max-width: 12ch; }
  .hero-sub { font-size: 1rem; max-width: 36ch; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; white-space: normal; }
  .hero-badge { border-radius: 16px; align-items: flex-start; line-height: 1.35; }
  section { padding: 3.6rem 0; }
  .section-tight { padding: 2.7rem 0; }
  .section-head { margin-bottom: 2.25rem; }
  .card { padding: 1.25rem; }
  .discount-banner { padding: 1.5rem; }
  .discount-banner .btn { width: 100%; }
  .cta-band { border-radius: 16px; padding: 3.4rem 1.15rem; }
  .form-card { padding: 1.25rem; border-radius: 16px; }
  .pill-option { width: 100%; border-radius: 12px; }
  .footer-top { gap: 2.2rem; }
}
@media (min-width: 1024px) and (max-width: 1230px) {
  .main-nav ul { gap: .9rem; }
  .main-nav a { font-size: .81rem; }
  .header-cta .btn { padding-left: 1.15rem; padding-right: 1.15rem; font-size: .88rem; }
}
