/* ============================================
   ACI Hearing Center — Styles
   Colors: Deep Navy + Warm Gold/Amber
   Typography: Lora (serif headings) + Source Sans 3 (body)
   Audience: Seniors 55+, high contrast, large text
   ============================================ */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-height: 100dvh;
  line-height: 1.7;
  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  color: #2B2D33;
  background-color: #FAFAF8;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.2; font-family: 'Lora', Georgia, serif; color: #1B3A5C; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
a { color: #1B3A5C; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #C8963E; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }

::selection {
  background: rgba(27, 58, 92, 0.2);
  color: #1B3A5C;
}

:focus-visible {
  outline: 3px solid #C8963E;
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

/* === DESIGN TOKENS === */
:root {
  /* Colors */
  --navy: #1B3A5C;
  --navy-dark: #122740;
  --navy-light: #2A5580;
  --gold: #C8963E;
  --gold-light: #DAB56A;
  --gold-dark: #A67A2E;
  --cream: #FAFAF8;
  --cream-dark: #F0EDE8;
  --white: #FFFFFF;
  --text-primary: #2B2D33;
  --text-secondary: #5A5D66;
  --text-light: #8A8D96;
  --border: #DDD9D2;
  --success: #2E7D4F;
  --error: #C0392B;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27, 58, 92, 0.08);
  --shadow-md: 0 4px 12px rgba(27, 58, 92, 0.1);
  --shadow-lg: 0 8px 30px rgba(27, 58, 92, 0.12);
  --shadow-xl: 0 16px 48px rgba(27, 58, 92, 0.15);

  /* Content widths */
  --content-narrow: 720px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === TYPOGRAPHY === */
.heading-xl {
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.heading-lg {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.heading-md {
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  font-weight: 600;
}
.heading-sm {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}
.text-sm {
  font-size: 0.9375rem;
}
.text-xs {
  font-size: 0.8125rem;
}

/* === LAYOUT UTILITIES === */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

.section {
  padding-top: clamp(var(--space-3xl), 6vw, var(--space-4xl));
  padding-bottom: clamp(var(--space-3xl), 6vw, var(--space-4xl));
}
.section--sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.text-center { text-align: center; }

/* === STICKY HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.header--scrolled {
  box-shadow: var(--shadow-md);
}

/* Top bar */
.header__top {
  background: var(--navy);
  color: #fff;
  padding: 8px 0;
  font-size: 0.875rem;
}
.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.header__top a {
  color: #fff;
  text-decoration: none;
}
.header__top a:hover {
  color: var(--gold-light);
}
.header__top-info {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.header__top-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Main nav bar */
.header__main {
  padding: 16px 0;
}
.header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.header__logo img {
  height: 100px;
  width: auto;
}

/* Desktop navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link--active {
  background: var(--cream-dark);
  color: var(--navy);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}
.nav__dropdown a:hover {
  background: var(--cream-dark);
  color: var(--navy);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.header__phone {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__phone:hover { color: var(--gold-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--navy);
}
.nav-toggle:hover { background: var(--cream-dark); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile nav */
@media (max-width: 1024px) {
  .header__top { position: static; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    z-index: 200;
  }
  .nav--open { display: flex; }
  .nav__link {
    padding: 14px 16px;
    width: 100%;
    font-size: 1.0625rem;
  }
  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: var(--space-md);
    background: transparent;
  }
  .nav__dropdown a {
    padding: 10px 16px;
  }
  .header__phone--desktop { display: none; }
}
@media (min-width: 1025px) {
  .header__phone--mobile { display: none; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
}
/* Variant for use on light backgrounds (e.g. inside .highlight-box) */
.highlight-box .btn--secondary,
.btn--secondary.btn--on-light {
  color: var(--navy);
  border-color: var(--navy);
}
.highlight-box .btn--secondary:hover,
.btn--secondary.btn--on-light:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--sm {
  padding: 10px 20px;
  font-size: 0.9375rem;
  min-height: 40px;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* === HERO SECTIONS === */

/* Home hero — split layout */
.hero--home {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 580px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__text-side {
  display: flex;
  align-items: center;
  padding: var(--space-3xl) var(--space-3xl) var(--space-3xl) 0;
}
.hero__text-side .container {
  padding-left: clamp(var(--space-lg), 4vw, var(--space-3xl));
}
.hero__photo-side {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.hero__main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 0 0 var(--radius-xl);
  display: block;
}
.hero__photo-collage {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 180px;
}
.hero__collage-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.6);
  display: block;
}

/* Inner/shared hero — original overlay style */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 520px;
  background: var(--navy);
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.85) 0%, rgba(27, 58, 92, 0.55) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 0;
  max-width: 680px;
}
.hero__tagline {
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
}
.hero__title {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}
.hero__subtitle {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  max-width: 560px;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Inner page hero (smaller) */
.hero--inner {
  min-height: 300px;
}
.hero--inner .hero__title {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem);
}

@media (max-width: 768px) {
  .hero--home {
    grid-template-columns: 1fr;
  }
  .hero__text-side {
    padding: var(--space-2xl) 0;
    order: 1;
  }
  .hero__photo-side {
    order: 2;
    min-height: 280px;
  }
  .hero__main-photo {
    border-radius: 0;
  }
  .hero__photo-collage {
    width: 120px;
  }
  .hero { min-height: 420px; }
  .hero--inner { min-height: 240px; }
  .hero__content { padding: var(--space-2xl) 0; }
}

/* === AWARD BANNER === */
.award-banner {
  background: linear-gradient(135deg, #1a2e4a 0%, #1B365D 60%, #1e3a5f 100%);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  padding: var(--space-xl) 0;
}
.award-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.award-banner__badge {
  flex-shrink: 0;
  width: 120px;
  height: auto;
}
.award-banner__text {
  text-align: left;
}
.award-banner__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.award-banner__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.award-banner__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 600px) {
  .award-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }
  .award-banner__text { text-align: center; }
  .award-banner__badge { width: 90px; }
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.trust-bar__item strong {
  font-weight: 800;
  font-size: 1.07em;
}
.trust-bar__item svg {
  color: var(--gold);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.trust-bar__divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

@media (max-width: 768px) {
  .trust-bar__inner {
    gap: var(--space-md);
    flex-direction: column;
  }
  .trust-bar__divider { display: none; }
}

/* === TINNITUS RELIEF BANNER === */
.tinnitus-banner {
  background: var(--navy);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.tinnitus-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}
.tinnitus-banner__content {
  flex: 1;
}
.tinnitus-banner__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}
.tinnitus-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}
.tinnitus-banner__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}
.tinnitus-banner__text strong {
  color: var(--gold-light);
}
.tinnitus-banner__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.btn--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.tinnitus-banner__icon {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  animation: pulse-rings 3s ease-in-out infinite;
}
.tinnitus-banner__icon svg {
  width: 100%;
  height: 100%;
}
@keyframes pulse-rings {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
@media (max-width: 768px) {
  .tinnitus-banner__icon { display: none; }
  .tinnitus-banner__actions { flex-direction: column; }
  .tinnitus-banner__actions .btn { text-align: center; }
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  transition: all 0.3s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(27, 58, 92, 0.06);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--navy);
}
.card__icon svg {
  width: 28px;
  height: 28px;
}
.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  font-family: 'Lora', Georgia, serif;
}
.card__text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
}
.card__link:hover {
  color: var(--gold-dark);
}
.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.card__link:hover svg {
  transform: translateX(3px);
}

/* Service card variant */
.card--service {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}
.card--service .card__icon {
  margin-left: auto;
  margin-right: auto;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.08), rgba(200, 150, 62, 0.08));
}

/* Team card */
.card--team {
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.card--team__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.card--team__info {
  padding: var(--space-lg);
}
.card--team__name {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.card--team__title {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}
.card--team__bio {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
}

/* === SECTIONS === */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}
.section-header__label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: var(--space-sm);
}
.section-header__title {
  margin-bottom: var(--space-md);
}
.section-header__text {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 auto;
}

/* Why Choose section */
.why-choose {
  background: var(--cream-dark);
}
.why-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}
.why-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}
.why-item__icon svg { width: 24px; height: 24px; }
.why-item__content h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}
.why-item__content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Alternating content sections */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.content-row--reverse {
  direction: rtl;
}
.content-row--reverse > * {
  direction: ltr;
}
.content-row__media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.content-row__text h2 {
  margin-bottom: var(--space-md);
}
.content-row__text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .content-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .content-row--reverse { direction: ltr; }
}

/* Award section */
.award-section {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
}
.award-section img {
  width: 180px;
  height: auto;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .award-section {
    flex-direction: column;
    text-align: center;
  }
  .award-section img { width: 140px; }
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}
.cta-banner__title {
  color: var(--white);
  margin-bottom: var(--space-md);
}
.cta-banner__text {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}
.cta-banner__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* === FORMS === */
.form-group {
  margin-bottom: var(--space-lg);
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
  outline: none;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-note {
  background: rgba(27, 58, 92, 0.04);
  border-left: 4px solid var(--gold);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: var(--space-xl);
}

/* Form success message */
.form-success {
  display: none;
  background: rgba(46, 125, 79, 0.06);
  border: 2px solid var(--success);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}
.form-success.active { display: block; }
.form-success h3 {
  color: var(--success);
  margin-bottom: var(--space-sm);
}

/* === REVIEWS === */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--gold);
}
.review-card__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}
.review-card__text {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.review-card__author {
  font-weight: 600;
  color: var(--navy);
}

/* Stats section */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  padding: var(--space-2xl) 0;
}
.stat__number {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.stat__label {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
  gap: var(--space-md);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer__content {
  padding-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === BRAND LOGOS === */
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
}
.brand-item {
  padding: var(--space-md) var(--space-lg);
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* === CONTENT PAGES === */
.content-page {
  padding: var(--space-3xl) 0;
}
.content-page h2 {
  margin-bottom: var(--space-md);
  margin-top: var(--space-2xl);
}
.content-page h2:first-child { margin-top: 0; }
.content-page h3 {
  margin-bottom: var(--space-sm);
  margin-top: var(--space-xl);
}
.content-page p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.content-page ul,
.content-page ol {
  list-style: none;
  margin-bottom: var(--space-lg);
  padding-left: 0;
}
.content-page li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}
.content-page li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.content-page ol { counter-reset: item; }
.content-page ol li::before {
  content: counter(item);
  counter-increment: item;
  background: var(--navy);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  top: 4px;
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.04), rgba(200, 150, 62, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}
.highlight-box h3 {
  color: var(--navy);
  margin-top: 0;
  margin-bottom: var(--space-md);
}

/* === CONTACT INFO === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.contact-info__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(27, 58, 92, 0.06);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__label {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-info__text {
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-info__text a { color: var(--navy); font-weight: 500; }
.contact-info__text a:hover { color: var(--gold-dark); }

/* Map embed */
.map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-3xl);
}
.footer a {
  color: rgba(255, 255, 255, 0.8);
}
.footer a:hover {
  color: var(--gold-light);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
}
.footer__brand img {
  height: 48px;
  margin-bottom: var(--space-md);
}
.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}
.footer__heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer__links a {
  font-size: 0.9375rem;
  padding: 4px 0;
}
.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}
.footer__social a:hover {
  background: var(--gold);
  color: var(--white);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  margin-top: var(--space-2xl);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* === ANIMATION (scroll reveal) === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
.stagger > .reveal:nth-child(7) { transition-delay: 480ms; }
.stagger > .reveal:nth-child(8) { transition-delay: 560ms; }

/* === MOBILE-SPECIFIC FIXES === */
@media (max-width: 600px) {
  .container { padding-left: var(--space-md); padding-right: var(--space-md); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { width: 100%; max-width: 320px; }
}

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: var(--space-md);
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.mobile-cta__inner {
  display: flex;
  gap: var(--space-sm);
}
.mobile-cta .btn {
  flex: 1;
  padding: 14px;
  font-size: 0.9375rem;
}
@media (max-width: 768px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* === GOOGLE REVIEWS SECTION === */
.google-reviews {
  text-align: center;
}
.google-reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
}
.google-reviews__rating {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Lora', Georgia, serif;
  line-height: 1;
}
.google-reviews__info {
  text-align: left;
}

/* === LENIRE HIGHLIGHT === */
.lenire-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin: var(--space-xl) 0;
}
.lenire-section h3 {
  color: var(--gold-light);
}
.lenire-section p,
.lenire-section li {
  color: rgba(255,255,255,0.9);
}
.lenire-section li::before {
  background: var(--gold-light);
}

/* === BRAND CARDS (Hearing Aids page) === */
.brands-we-carry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-md);
}
.brand-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.brand-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.12);
  transform: translateY(-2px);
  color: var(--navy);
}
.brand-card__accent {
  display: block;
  width: 4px;
  min-height: 36px;
  border-radius: 2px;
  flex-shrink: 0;
}
.brand-card__name {
  flex: 1;
  line-height: 1.3;
}
.brand-card__arrow {
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.brand-card:hover .brand-card__arrow {
  opacity: 1;
  transform: translateX(3px);
}
@media (max-width: 600px) {
  .brands-we-carry {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === REVIEWS PAGE ENHANCEMENTS === */
.reviews-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border);
}
.reviews-section-header__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviews-section-header__icon--google {
  background: #fff;
  border: 1.5px solid #e0e0e0;
}
.reviews-section-header__icon--facebook {
  background: #1877F2;
}
.reviews-section-header__title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0;
}
.reviews-section-header__sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 2px 0 0;
}
.review-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-card__author-info {
  flex: 1;
}
.review-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.2;
}
.review-card__date {
  font-size: 0.8125rem;
  color: var(--text-light);
}
.review-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}
@media (max-width: 600px) {
  .review-buttons {
    flex-direction: column;
  }
  .review-buttons .btn {
    text-align: center;
  }
}

/* === OFFICE PHOTO (Contact page) === */
.office-photo-section {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.office-photo-section img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
}
.office-photo-section__caption {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

/* === PHOTO PAIR GRID (2-col on desktop, stacks on mobile) === */
.photo-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.photo-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 600px) {
  .photo-pair-grid,
  .photo-text-grid {
    grid-template-columns: 1fr;
  }
  .cochlear-feature-grid {
    grid-template-columns: 1fr !important;
  }
  .cochlear-feature-grid img {
    width: 100% !important;
  }
}

/* === PRINT STYLES === */
@media print {
  .header, .footer, .mobile-cta, .cta-banner { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
}

/* === HERO SLIDESHOW (homepage) === */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border-radius: 0 0 0 var(--radius-xl);
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1200ms ease-in-out, transform 7000ms ease-out;
  display: block;
}
.hero-slide--active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 400ms linear; transform: none !important; }
}
