:root {
  color-scheme: light;
  --bg: oklch(1 0 0);
  --surface: oklch(0.95 0.025 151);
  --surface-soft: oklch(0.97 0.012 150);
  --ink: oklch(0.18 0.035 158);
  --muted: oklch(0.43 0.025 155);
  --accent: oklch(0.33 0.095 166);
  --accent-dark: oklch(0.27 0.08 164);
  --border: oklch(0.9 0.015 150);
  --star: oklch(0.78 0.16 78);
  --text-small: 14px;
  --text-body: 16px;
  --text-lead: 19px;
  --text-heading: clamp(34px, 4vw, 48px);
  --text-display: clamp(42px, 5.2vw, 66px);
  --page-width: 1200px;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Geist, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--bg);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 1;
}

.header-inner,
.hero-inner,
.section-heading,
.review-archive,
.booking-inner,
.footer-inner {
  width: min(var(--page-width), calc(100% - 48px));
  margin-inline: auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-inner > a:first-child {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 50px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-link {
  color: var(--accent-dark);
  font-size: var(--text-small);
  font-weight: 650;
}

.header-icon-button {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  transition: background-color 160ms ease, transform 160ms ease;
}

.header-icon-button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.header-icon-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  border-color: var(--accent);
  background: var(--bg);
  color: var(--accent-dark);
}

.button-secondary:hover {
  background: var(--surface);
  color: var(--accent-dark);
}

.button-small {
  min-height: 50px;
  padding: 10px 18px;
  font-size: 15px;
}

.floating-cta {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 8px;
  width: min(480px, calc(100vw - 36px));
}

.floating-cta .button {
  min-width: 0;
  flex: 0 1 auto;
  box-shadow: 0 8px 24px oklch(0.2 0.04 158 / 22%);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("/images/new-york-times-square.webp");
  background-position: center 42%;
  background-size: cover;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  padding-block: clamp(58px, 8vw, 100px);
}

.hero-copy {
  max-width: 580px;
}

.hero-claim {
  max-width: 34ch;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.035em;
}

.hero-heading {
  max-width: 22ch;
  font-size: var(--text-display);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-intro {
  max-width: 48ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: 1.55;
}

.hero-rating {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.rating-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.stars {
  display: inline-flex;
  gap: 4px;
  color: var(--star);
}

.stars span {
  display: block;
  width: 16px;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(50% 0%, 62% 35%, 100% 35%, 69% 58%, 81% 96%, 50% 73%, 19% 96%, 31% 58%, 0 35%, 38% 35%);
}

.hero-rating .stars {
  gap: 8px;
}

.hero-rating .stars span {
  width: 48px;
}

.rating-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-score {
  color: var(--ink);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-montage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 500px;
  height: clamp(400px, 39vw, 520px);
  justify-self: end;
}

.montage-photo {
  position: absolute;
  display: block;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 14px 36px oklch(0.25 0.04 158 / 16%);
}

.montage-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.montage-doctor {
  z-index: 1;
  inset: 0 0 0 auto;
  width: 68%;
}

.montage-doctor img {
  object-position: center 24%;
}

.montage-office,
.montage-care {
  z-index: 2;
  width: 47%;
  border: 5px solid var(--surface);
}

.montage-office {
  top: 9%;
  left: 0;
  height: 40%;
}

.montage-office img {
  object-position: center 38%;
}

.montage-care {
  bottom: 7%;
  left: 4%;
  height: 36%;
}

.montage-care img {
  object-position: center 35%;
}

.reviews-section {
  padding-block: clamp(68px, 8vw, 104px);
}

.map-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: -28px auto 0;
}

.map-actions .button {
  min-height: 56px;
  padding-inline: 20px;
  font-size: 15px;
}

.map-actions .map-provider-link {
  gap: 10px;
  border-color: #dadce0;
  background: #fff;
  color: #202124;
  box-shadow: 0 1px 2px rgb(60 64 67 / 18%);
}

.map-actions .map-provider-link:hover {
  background: #f8f9fa;
  color: #202124;
}

.map-provider-icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 7px;
}

.section-heading h2,
.booking-inner h2 {
  font-size: var(--text-heading);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.review-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-entry {
  position: relative;
  min-width: 0;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px;
  border: 1px solid oklch(0.89 0.025 151);
  border-radius: 14px;
  background: linear-gradient(155deg, var(--bg) 35%, oklch(0.985 0.012 150));
  box-shadow: 0 12px 28px oklch(0.2 0.04 158 / 6%);
}

.review-rating {
  display: flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.review-rating .stars span {
  width: 22px;
}

.review-entry blockquote {
  margin-bottom: 18px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.review-entry blockquote p + p {
  margin-top: 0.85em;
}

.review-author {
  margin-top: auto;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.booking-band {
  padding-block: clamp(56px, 8vw, 88px);
  background-image: linear-gradient(90deg, oklch(0.2 0.04 158 / 90%), oklch(0.2 0.04 158 / 70%)), url("/images/singer-audiology-reception-800.webp");
  background-position: center 42%;
  background-size: cover;
  color: var(--bg);
}

.booking-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid oklch(1 0 0 / 26%);
  border-radius: 24px;
  background: oklch(0.2 0.04 158 / 42%);
  backdrop-filter: blur(8px);
}

.booking-inner h2 {
  margin-bottom: 10px;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.08;
}

.booking-inner p {
  max-width: 48ch;
  color: oklch(0.94 0.018 151);
  font-size: var(--text-lead);
}

.booking-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding-block: 26px 112px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 8px;
}

.footer-brand img {
  display: block;
  width: 168px;
  height: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 8px;
}

.footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 650;
  text-decoration: none;
}

.footer-nav a:hover {
  background: var(--surface);
}

@media (max-width: 860px) {
  :root {
    --text-small: 13px;
    --text-body: 16px;
    --text-lead: 18px;
    --text-heading: 34px;
    --text-display: clamp(38px, 10vw, 48px);
  }

  html {
    scroll-behavior: auto;
  }

  .header-inner,
  .hero-inner,
  .section-heading,
  .review-archive,
  .booking-inner,
  .footer-inner,
  .map-actions {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand img {
    height: 48px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-icon-button {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .button-small {
    min-height: 48px;
    padding: 10px 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-block: 48px 56px;
  }

  .hero-heading {
    max-width: 20ch;
  }

  .hero-intro {
    margin-top: 18px;
  }

  .hero-rating {
    margin-top: 26px;
  }

  .hero-rating .stars span {
    width: 36px;
  }

  .hero-rating .stars {
    gap: 4px;
  }

  .rating-score-row {
    gap: 8px;
  }

  .rating-score {
    font-size: 36px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-montage {
    max-width: 500px;
    height: clamp(330px, 88vw, 420px);
    justify-self: center;
  }

  .floating-cta {
    left: 18px;
    right: 18px;
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
    flex-direction: column;
    width: auto;
  }

  .floating-cta .button {
    width: 100%;
  }

  .map-actions {
    gap: 16px 12px;
    margin-top: -12px;
  }

  .map-actions .button {
    flex: 1 1 220px;
    padding-inline: 20px;
  }

  .reviews-section {
    padding-block: 72px 60px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .review-archive {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .review-entry {
    min-height: 132px;
    padding: 24px 22px;
  }

  .booking-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .booking-actions {
    width: 100%;
    flex-direction: column;
  }

  .booking-actions .button {
    width: 100%;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-layout {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer {
    padding-top: 22px;
    padding-bottom: 120px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    gap: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions > .button {
    display: none;
  }

}

@media (max-width: 360px) {
  .header-inner {
    width: calc(100% - 24px);
    gap: 4px;
  }

  .header-actions {
    gap: 4px;
  }

  .brand img {
    height: 44px;
  }

  .header-icon-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
