/* Miller Audiology Service — production styles (blue clinical system) */
:root {
  /* Brand — blue / navy / white (live-site feel) */
  --navy: #0a0f1a;
  --navy-deep: #060a12;
  --navy-mid: #111827;
  --blue: #1a4b8c;
  --blue-dark: #143a6e;
  --blue-mid: #2563eb;
  --blue-light: #3b82f6;
  --blue-soft: #e8f1fb;
  --blue-glow: #60a5fa;
  --slate: #475569;
  --slate-light: #64748b;
  --border: #e2e8f0;
  --bg: #f0f6fc;
  --bg-muted: #f8fafc;
  --white: #ffffff;
  --silver: #94a3b8;
  --focus: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(10, 15, 26, 0.07);
  --shadow-lg: 0 16px 40px rgba(10, 15, 26, 0.12);
  --shadow-lift: 0 20px 44px rgba(26, 75, 140, 0.16);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --header-h: 72px;
  /* Back-compat aliases (teal → blue) so any leftover refs stay on-brand */
  --teal: var(--blue);
  --teal-dark: var(--blue-dark);
  --teal-light: var(--blue-light);
  --teal-soft: var(--blue-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy-mid);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Single large brand watermark — fixed, does not scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/bg-logo.png");
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: min(44vw, 460px);
  opacity: 0.16;
}
body > * {
  position: relative;
  z-index: 1;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-mid); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  position: relative;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy-mid);
  flex-shrink: 0;
}
.logo-link img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 4px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-mid);
}
.logo-text span {
  font-size: 0.75rem;
  color: var(--slate-light);
  font-weight: 500;
}
.footer-brand .logo-link img {
  /* Logo reads on dark footer */
  filter: brightness(1.05) contrast(1.05);
}

.nav-toggle {
  display: none;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--navy-mid);
  transition: background 0.15s, border-color 0.15s;
}
.nav-toggle:hover {
  background: var(--blue-soft);
  border-color: #c5d8ef;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-primary a {
  text-decoration: none;
  color: var(--navy-mid);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(26, 75, 140, 0.25);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: white;
  box-shadow: 0 4px 14px rgba(26, 75, 140, 0.35);
}
.btn-secondary {
  background: linear-gradient(180deg, #f8fafc 0%, #e8eef5 100%);
  color: var(--navy-mid);
  border-color: #c5ced9;
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: white;
}
.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: white;
}
.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}
.btn-call {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
}
.btn-call:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.btn-call svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* Hero — deep navy with soft animated blue glow */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--navy-deep) 0%, #0c1628 42%, #132338 100%);
  color: white;
  padding: 4.25rem 0 4.75rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 48% at 88% 18%, rgba(37, 99, 235, 0.32), transparent 70%),
    radial-gradient(ellipse 42% 38% at 8% 85%, rgba(26, 75, 140, 0.22), transparent 65%),
    radial-gradient(ellipse 30% 30% at 50% 0%, rgba(96, 165, 250, 0.12), transparent);
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -20%;
  width: 45%;
  height: 80%;
  background: repeating-linear-gradient(
    -35deg,
    transparent,
    transparent 12px,
    rgba(255,255,255,0.03) 12px,
    rgba(255,255,255,0.03) 13px
  );
  pointer-events: none;
}
@keyframes heroGlow {
  0% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 0.85;
    transform: scale(1.06) translate(-2%, 1%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #bfdbfe;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.35rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 4.6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1.1rem;
  max-width: 18ch;
  letter-spacing: -0.025em;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 38rem;
  margin: 0 0 1.85rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.15rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
}
.hero-meta strong { color: white; display: block; font-size: 1rem; }

/* Trust strip */
.trust-strip {
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid #d4e4f7;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(26, 75, 140, 0.1);
}
.trust-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy-mid);
  margin-bottom: 0.1rem;
}
.trust-item span {
  font-size: 0.85rem;
  color: var(--slate-light);
}

/* Sections */
.section { padding: 4.25rem 0; }
.section-alt { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.section-header {
  max-width: 40rem;
  margin-bottom: 2.65rem;
}
.section-header.center {
  text-align: center;
  margin-inline: auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.65rem;
  position: relative;
  padding-bottom: 0.55rem;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-glow));
  border-radius: 2px;
  margin-top: 0.45rem;
}
.section-header.center .eyebrow::after {
  margin-inline: auto;
}
h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  color: var(--navy-mid);
}
.section-header p {
  margin: 0;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--navy-mid);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--blue);
}
.card .card-link:hover { color: var(--blue-mid); }

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.step p { margin: 0; color: var(--slate); font-size: 0.92rem; }

/* Equipment list */
.equip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.equip-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.equip-list li:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow);
}
.equip-list li svg {
  flex-shrink: 0;
  color: var(--blue);
}

/* Stats / why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.why-points { list-style: none; padding: 0; margin: 0; }
.why-points li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.why-points li:last-child { border-bottom: none; }
.why-points .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-points strong { display: block; margin-bottom: 0.2rem; }
.why-points span { color: var(--slate); font-size: 0.95rem; }

.stat-cards {
  display: grid;
  gap: 1rem;
}
.stat-card {
  background: var(--navy-mid);
  color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stat-card.accent,
.stat-card.teal {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
}
.stat-card .num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-card p { margin: 0; opacity: 0.9; font-size: 0.95rem; }

/* Product teaser */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lift);
  border-color: rgba(37, 99, 235, 0.4);
  color: inherit;
  transform: translateY(-4px);
}
.product-card-visual {
  height: 120px;
  background: linear-gradient(135deg, #0f2744 0%, var(--blue) 55%, var(--blue-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}
.product-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.25), transparent 50%);
  pointer-events: none;
}
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body p {
  margin: 0 0 1rem;
  color: var(--slate);
  font-size: 0.92rem;
  flex: 1;
}
.product-card-body .more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0f1f36 50%, #163056 100%);
  color: white;
  padding: 3.75rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(37, 99, 235, 0.28), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: white;
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}
.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(145deg, var(--navy-deep), #122038 55%, #1a3354);
  color: white;
  padding: 3rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(37, 99, 235, 0.28), transparent);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a {
  color: var(--blue-glow);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

/* Content blocks */
.prose { max-width: 42rem; }
.prose p { color: var(--slate); }
.prose ul, .content-list {
  color: var(--slate);
  padding-left: 1.25rem;
}
.prose li, .content-list li { margin-bottom: 0.4rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.feature-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.feature-box h3 { margin-top: 0; }
.feature-box ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--slate);
}
.feature-box li { margin-bottom: 0.4rem; }

/* Product detail */
.model-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.model-block:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-lg);
}
.model-block h2 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.model-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.model-block p { color: var(--slate); margin: 0 0 1rem; }
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.spec-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--slate);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy-mid);
}
.form-group .hint {
  font-weight: 400;
  color: var(--slate-light);
  font-size: 0.85rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--navy-mid);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
  cursor: pointer;
}
.checkbox-group input { width: auto; margin-top: 0.25rem; }
.form-note {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin: 0.75rem 0 0;
}
.aside-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.aside-card h3 { margin-top: 0; }
.aside-card p, .aside-card li { color: var(--slate); font-size: 0.95rem; }
.contact-lines {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.contact-lines li {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.contact-lines li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-lines strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-light);
  margin-bottom: 0.2rem;
}
.contact-lines a {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-mid);
}
.contact-lines a:hover { color: var(--blue); }

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--blue-soft), #dbeafe),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(26, 75, 140, 0.04) 10px,
      rgba(26, 75, 140, 0.04) 11px
    );
  position: relative;
}
.map-wrap::before {
  content: "Loading map…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 0;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-link { color: white; margin-bottom: 1rem; }
.footer-brand .logo-text strong { color: white; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.55); }
.footer-brand p { margin: 0; max-width: 28ch; line-height: 1.6; }
.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.footer-col a:hover { color: var(--blue-glow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid,
  .two-col,
  .form-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 1.75rem; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; z-index: 110; }
  .nav-primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1rem 1.15rem;
    box-shadow: 0 16px 32px rgba(10, 15, 26, 0.12);
    gap: 0.2rem;
    animation: navDrop 0.2s ease;
  }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }
  .nav-primary.is-open { display: flex; }
  .nav-primary a {
    padding: 0.85rem 0.9rem;
    border-radius: 8px;
    font-size: 1rem;
  }
  .nav-primary .header-actions {
    margin: 0.65rem 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .nav-primary .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .btn-secondary { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .logo-text strong { font-size: 0.85rem; }
  .card:hover,
  .product-card:hover,
  .step:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-primary { animation: none; }
  .card,
  .product-card,
  .step {
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .card:hover,
  .product-card:hover,
  .step:hover {
    transform: none;
  }
}
@media (max-width: 520px) {
  .trust-grid,
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 3.25rem 0 3.5rem; }
  .section { padding: 3rem 0; }
}

.hp-field{position:absolute!important;left:-9999px!important;height:0!important;width:0!important;opacity:0!important;overflow:hidden!important;}

/* Audiology Pal — product screenshots & landing helpers */
.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #f7f4ee;
}
.shot-sm {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.shot-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #f7f4ee;
}
.shot-frame img,
.shot-frame .shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: #f7f4ee;
  object-fit: contain;
  object-position: top center;
}
.shot-caption {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--slate-light);
  text-align: center;
}
.feature-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-media { order: 1; }
.feature-media .shot-frame {
  min-height: 0;
}
.feature-copy .eyebrow { margin-bottom: 0.5rem; }
.feature-copy h2 { margin-bottom: 0.75rem; }
.feature-copy p {
  color: var(--slate);
  margin: 0 0 1rem;
}
.feature-copy ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--slate);
}
.feature-copy li { margin-bottom: 0.4rem; }
.shot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 1.75rem;
}
.shot-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shot-card-media {
  background: #f7f4ee;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.shot-card-media--tall {
  aspect-ratio: 4 / 3;
}
.shot-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shot-card .shot-caption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.install-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.install-card .mode-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.install-card h3 { margin-top: 0; }
.install-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}
.privacy-note {
  background: var(--blue-soft);
  border: 1px solid rgba(26, 75, 140, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.privacy-note h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}
.privacy-note p {
  margin: 0 0 0.75rem;
  color: var(--slate);
}
.privacy-note p:last-child { margin-bottom: 0; }
.hero-product {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-product .hero-lead { max-width: none; }
.hero-product .shot-frame {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.14);
  background: #f7f4ee;
  min-height: 280px;
}
.hero-product .shot-frame img {
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}
.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}
.cta-links a { color: var(--blue-glow); }
.cta-band .cta-links a:hover { color: white; }
@media (max-width: 900px) {
  .hero-product,
  .feature-row,
  .feature-row.reverse,
  .install-grid,
  .shot-gallery {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-media { order: unset; }
  .hero-product .shot-frame img {
    max-height: 360px;
  }
}
@media (max-width: 700px) {
  .shot-gallery { grid-template-columns: 1fr; }
}

/* Supplies */
.affiliate-note {
  background: var(--blue-soft);
  border: 1px solid rgba(26, 75, 140, 0.18);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.affiliate-note strong {
  color: var(--navy-deep, #0f2744);
  display: block;
  margin-bottom: 0.35rem;
}
.affiliate-note p {
  margin: 0 0 0.5rem;
  color: var(--slate);
}
.affiliate-note p:last-child { margin-bottom: 0; }
.associates-callout {
  background: #fff8e6;
  border: 1px solid rgba(180, 140, 40, 0.35);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--slate);
  font-size: 0.92rem;
}
.supply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.supply-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.supply-card:hover {
  box-shadow: var(--shadow-lift);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
}
.supply-card .product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.supply-card .product-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.supply-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.recommended-card {
  max-width: 36rem;
  margin-bottom: 0.5rem;
  border-color: rgba(26, 75, 140, 0.35);
  box-shadow: var(--shadow-lift);
}
.recommended-card .btn { margin-top: 0.75rem; }

.recommended-card {
  max-width: 42rem;
  padding: 1rem;
  border-color: rgba(26, 75, 140, 0.35);
  box-shadow: var(--shadow-lift);
}
.recommended-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.15rem;
  align-items: center;
}
.recommended-photo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
}
.recommended-card .product-card-body { padding: 0; }
.recommended-card .btn { margin-top: 0.75rem; }
@media (max-width: 520px) {
  .recommended-layout { grid-template-columns: 100px 1fr; gap: 0.85rem; }
  .recommended-photo { width: 100px; height: 100px; }
}
