/* Hearing World visual overhaul
   The source copy and data remain unchanged. This layer only changes presentation. */

:root {
  --ink: #071f2b;
  --ink-soft: #35515c;
  --paper: #ffffff;
  --mist: #effaf8;
  --mist-2: #e4f6f2;
  --teal: #078b79;
  --teal-dark: #056558;
  --teal-light: #2bd6bc;
  --blue: #1456b8;
  --blue-bright: #2d77ef;
  --gold: #e29619;
  --gold-light: #ffbd45;
  --line: rgba(7, 31, 43, 0.12);
  --shadow-sm: 0 10px 30px rgba(7, 31, 43, 0.08);
  --shadow-lg: 0 28px 80px rgba(7, 31, 43, 0.14);
  --radius-sm: 0.875rem;
  --radius-md: 1.4rem;
  --radius-lg: 2.25rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(43, 214, 188, .16), transparent 28rem),
    radial-gradient(circle at 96% 14%, rgba(45, 119, 239, .11), transparent 32rem),
    #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}

::selection { background: var(--gold-light); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 10000;
  inset: .75rem auto auto .75rem;
  translate: 0 -200%;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { translate: 0; }

button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-light) !important;
  outline-offset: 3px;
}

.emergency-band {
  min-height: 2.55rem;
  padding: .65rem 1rem;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  letter-spacing: .02em;
}
.emergency-band a { color: var(--gold-light); font-weight: 800; }

.nearme-band {
  min-height: 2.8rem;
  padding: .65rem clamp(1rem, 4vw, 4rem);
  gap: 1rem 2rem;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  color: white;
  box-shadow: inset 0 -1px rgba(255,255,255,.18);
}
.nearme-pill { font-size: .78rem; color: rgba(255,255,255,.86); }

nav {
  position: sticky;
  z-index: 1000;
  top: 0;
  max-width: none;
  min-height: 5.4rem;
  margin: 0;
  padding: 0 clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(7, 31, 43, .08);
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 32px rgba(7,31,43,.04);
  backdrop-filter: blur(18px) saturate(150%);
}
.logo {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -.04em;
}
.logo span { color: var(--teal); }
.nav-links { gap: clamp(.8rem, 1.6vw, 1.55rem); }
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 700;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 -.45rem;
  height: 2px;
  scale: 0 1;
  border-radius: 2px;
  background: var(--teal);
  transition: scale .25s ease;
}
.nav-links a:hover::after { scale: 1; }
.nav-cta, .nav-call-btn, .call-btn, .btn-gold, .btn-teal, .reveal-table-btn, .quiz-next-btn, .quiz-submit, .popup-submit, .cta-dark-btn {
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 10px 24px rgba(7,139,121,.16);
  transition: translate .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta:hover, .nav-call-btn:hover, .call-btn:hover, .btn-gold:hover, .btn-teal:hover, .reveal-table-btn:hover, .quiz-next-btn:hover, .quiz-submit:hover, .popup-submit:hover, .cta-dark-btn:hover {
  translate: 0 -2px;
  box-shadow: 0 14px 30px rgba(7,139,121,.25);
}
.nav-cta { background: var(--ink); }
.nav-call-btn { border-color: var(--line); color: var(--ink); background: white; }
/* Call Now: the same button as Book Hearing Test, in the brand orange */
.call-btn { background: var(--gold); color: #fff; }
.call-btn:hover { background: #c47d0f; }
.call-btn--on-gold { background: var(--paper); color: var(--ink); }
.call-btn--on-gold:hover { background: var(--paper); }
/* language dropdown: same pill, height and weight as the buttons beside it */
.lang-switcher { border: 0; background: none; }
.lang-select {
  min-height: 3rem;
  padding: 0 2.3rem 0 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--mist);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23078b79' stroke-width='1.9'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c2.5 2.6 2.5 15.4 0 18M12 3c-2.5 2.6-2.5 15.4 0 18'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%23071f2b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: left .95rem center, right .95rem center;
  background-size: 1.05rem 1.05rem, .65rem .45rem;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.lang-select:hover { background-color: var(--mist-2); border-color: var(--teal); }
.lang-select:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(7,139,121,.22); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(790px, calc(100svh - 8rem));
  max-width: 92rem;
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8.5rem) clamp(1.2rem, 5vw, 5rem) clamp(4.5rem, 7vw, 7rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background: transparent;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: clamp(1rem, 3vw, 3rem);
  border: 1px solid rgba(7,139,121,.16);
  border-radius: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(140deg, rgba(255,255,255,.96), rgba(239,250,248,.88)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(7,139,121,.045) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(7,139,121,.045) 80px);
  box-shadow: var(--shadow-lg);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 24rem;
  aspect-ratio: 1;
  right: 3%;
  top: 10%;
  border: 5rem solid rgba(43,214,188,.12);
  border-radius: 50%;
  filter: blur(1px);
}
.hero-left { max-width: 48rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: .62rem .9rem;
  border: 1px solid rgba(7,139,121,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  max-width: 13ch;
  margin: 1.35rem 0 1.4rem;
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: clamp(3.2rem, 6.5vw, 6.7rem);
  font-weight: 750;
  letter-spacing: -.072em;
  line-height: .94;
}
.hero h1 em { color: var(--teal); font-style: normal; }
.hero h1 .gold { color: var(--gold); }
.hero-subtext {
  max-width: 43rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}
.price-highlight {
  display: inline-flex;
  margin-top: 1.3rem;
  padding: .7rem 1rem;
  border-radius: .9rem;
  background: rgba(226,150,25,.12);
  color: #835100;
}
.hero-btns { margin-top: 1.8rem; gap: .75rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-teal { background: var(--ink); color: white; }
.hero-trust { gap: .55rem; margin-top: 1.6rem; }
.trust-pill {
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--ink-soft);
  box-shadow: 0 5px 14px rgba(7,31,43,.04);
}
.trust-pill span { color: var(--ink); }
.hero-right { max-width: 31rem; }
.price-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #082936, #074f59 56%, #087c70);
  box-shadow: 0 30px 80px rgba(7,31,43,.26);
  transform: rotate(1.5deg);
}
.price-card h3 { font-size: 1rem; letter-spacing: .04em; }
.price-row { min-height: 3.4rem; border-color: rgba(255,255,255,.13); }
.price-cta-overlay { border-radius: 999px; background: var(--gold-light); color: var(--ink); font-weight: 850; }
.hero-badge-small {
  margin-top: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}

section:not(.hero) { padding-block: clamp(5rem, 8vw, 8.5rem); }
.price-section-inner, .services, .brands, .blogs, .locations, .faq, .about-section, .reviews-section, .emergency-section, .cta-dark {
  padding-inline: clamp(1.2rem, 5vw, 5rem);
}
.section-label {
  margin-bottom: .9rem;
  color: var(--teal);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .18em;
}
.section-title {
  max-width: 18ch;
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  font-weight: 740;
  letter-spacing: -.06em;
  line-height: 1.02;
}
.section-desc {
  max-width: 46rem;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.price-section { background: linear-gradient(180deg, var(--mist), white); }
.price-section-inner { max-width: 88rem; }
.price-table-wrap {
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}
.price-table th { background: var(--ink); color: white; }
.price-table td, .price-table th { padding: 1rem 1.1rem; }
.price-table tr:hover td { background: var(--mist); }
.price-note { color: var(--ink-soft); }
.price-content { margin-top: 3rem; gap: 1rem; }
.price-content-col {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 12px 30px rgba(7,31,43,.05);
}
.price-content-col h3 { color: var(--ink); font-size: 1.2rem; }

.services { max-width: 88rem; }
.services-grid { gap: 1rem; margin-top: 2.5rem; }
.service-card {
  min-height: 20rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #fff, #f5fbfa);
  box-shadow: 0 12px 35px rgba(7,31,43,.05);
}
.service-card:hover { translate: 0 -.45rem; border-color: rgba(7,139,121,.4); box-shadow: var(--shadow-lg); }
.sc-icon { display: grid; place-items: center; width: 4rem; aspect-ratio: 1; border-radius: 1.2rem; background: var(--mist-2); font-size: 1.75rem; }
.service-card h3 { margin-top: 2rem; font-size: 1.3rem; }
.sc-tag { margin-top: auto; border-radius: 999px; background: var(--ink); color: white; }

.brands {
  position: relative;
  max-width: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(43,214,188,.22), transparent 25rem),
    radial-gradient(circle at 88% 92%, rgba(45,119,239,.22), transparent 28rem),
    var(--ink);
}
.brands > * { max-width: 88rem; margin-inline: auto; }
.brands .section-title { color: white !important; }
.brands .section-desc { color: rgba(255,255,255,.66) !important; }
.brands-grid { gap: 1rem; margin-top: 2.5rem; }
.brand-card {
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}
.brand-card:hover { translate: 0 -.4rem; background: rgba(255,255,255,.12); }
.brand-card h3 { font-size: 1.35rem; }
.brand-price { margin-top: auto; color: var(--gold-light); }

.quiz-section {
  padding-inline: clamp(1.2rem, 5vw, 5rem);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal) 58%, #0aa590);
}
.quiz-wrap { max-width: 78rem; }
.quiz-section .section-title { color: white !important; }
.quiz-card {
  margin-top: 2rem;
  padding: clamp(1.3rem, 4vw, 3rem);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  background: rgba(5,54,51,.42);
  box-shadow: 0 32px 80px rgba(3,52,47,.28);
  backdrop-filter: blur(14px);
}
.qp-bar { height: .35rem; border-radius: 999px; }
.quiz-q { font-size: clamp(1.35rem, 2.6vw, 2.25rem); letter-spacing: -.035em; }
.quiz-opt {
  min-height: 4rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.08);
}
.quiz-opt:hover, .quiz-opt.sel { border-color: var(--gold-light); background: rgba(255,255,255,.16); }
.quiz-form-group input, .quiz-form-group select { min-height: 3.5rem; border-radius: .9rem; }

.blogs { max-width: 92rem; background: white; }
.blogs-filter {
  margin-top: 2rem;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
}
.filter-btn { min-height: 2.75rem; border-radius: 999px; }
.filter-btn.active { background: var(--ink); color: white; }
.blogs-grid { gap: 1rem; }
.blog-card {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(7,31,43,.05);
}
.blog-card:hover { translate: 0 -.35rem; border-color: rgba(7,139,121,.35) !important; box-shadow: var(--shadow-lg); }
.blog-thumb { min-height: 8rem; }
.blog-body { padding: 1.35rem; }
.blog-body h3 { font-size: 1.12rem; line-height: 1.35; }
.blog-read { color: var(--teal-dark); font-weight: 800; }

.article-overlay { background: rgba(7,31,43,.72); backdrop-filter: blur(10px); }
.article-modal { border-radius: var(--radius-lg); box-shadow: 0 40px 110px rgba(0,0,0,.3); }
.article-modal-body { color: var(--ink-soft); font-size: 1rem; }
.article-modal-body h2, .article-modal-body h3 { color: var(--ink); letter-spacing: -.035em; }

.about-section, .reviews-section, .locations, .faq, .emergency-section, .cta-dark { max-width: none; }
.about-section > *, .reviews-section > *, .locations > *, .faq > *, .emergency-section > *, .cta-dark > * { max-width: 88rem; margin-inline: auto; }
.about-section { background: linear-gradient(180deg, white, var(--mist)); }
.expert-grid, .reviews-grid, .locations-grid { gap: 1rem; }
.expert-card, .review-card, .loc-card, .faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 10px 30px rgba(7,31,43,.05);
}
.review-card:hover, .loc-card:hover { translate: 0 -.35rem; box-shadow: var(--shadow-lg); }
.loc-card { overflow: hidden; }
.faq { background: var(--mist); }
.faq-item { margin-bottom: .75rem; overflow: hidden; }
.faq-question { min-height: 4.5rem; }
.faq-item.open { border-color: rgba(7,139,121,.38); }
.emergency-section { background: #a91f24; }
.cta-dark { background: var(--ink); }

.wa-fab {
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3.7rem;
  height: 3.7rem;
  border: 2px solid white;
  background: #16a96f;
  box-shadow: 0 16px 36px rgba(7,31,43,.25);
}

footer { background: #041720; }

@media (max-width: 1100px) {
  nav { min-height: 4.8rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { max-width: 58rem; }
  .hero-right { width: min(100%, 38rem); max-width: none; }
  .price-card { transform: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 5rem; }
  .emergency-band { font-size: .72rem; }
  .nearme-band { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .nearme-pill { flex: 0 0 auto; }
  nav { padding-inline: 1rem; }
  nav > div:last-child { gap: .4rem !important; }
  .nav-call-btn { display: none; }
  .nav-cta { min-height: 2.7rem; padding-inline: .9rem; font-size: .75rem; }
  .lang-switcher { display: none; }
  .hero { padding: 4.5rem 1.1rem 4rem; }
  .hero::before { inset: .6rem; border-radius: 1.8rem; }
  .hero::after { width: 14rem; top: 24%; right: -20%; border-width: 3rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-btns { display: grid; }
  .hero-btns button { width: 100%; }
  section:not(.hero) { padding-block: 4.5rem; }
  .section-title { font-size: clamp(2.35rem, 11vw, 3.6rem); }
  .price-table-wrap { overflow-x: auto; }
  .price-table { min-width: 760px; }
  .services-grid, .brands-grid, .blogs-grid, .price-content { grid-template-columns: 1fr; }
  .service-card { min-height: 17rem; }
  .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-card { min-height: 11rem; }
  .blogs-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; border-radius: 1rem; }
  .filter-btn { flex: 0 0 auto; }
  .article-modal { border-radius: 1.5rem 1.5rem 0 0; }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: 1fr; }
  .hero-badge { border-radius: .8rem; line-height: 1.45; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-pill { border-radius: .8rem; }
}

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