:root {
  color-scheme: light;
  --ink: #17322f;
  --ink-soft: #516a66;
  --muted: #7a8b87;
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --surface-alt: #edf2ec;
  --sage: #9eb8a8;
  --sage-deep: #2f6259;
  --sage-dark: #214a45;
  --clay: #c77f64;
  --line: #dcded7;
  --shadow: 0 22px 60px rgba(23, 50, 47, 0.1);
  --radius: 22px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--sage);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--sage-dark);
  box-shadow: 0 12px 24px rgba(33, 74, 69, 0.22);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: progress;
  opacity: 0.75;
  box-shadow: none;
  transform: none;
}

.button-small {
  min-height: 2.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
}

.button-full {
  width: 100%;
}

.button-secondary,
.button-ghost {
  border-color: rgba(23, 50, 47, 0.2);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(23, 50, 47, 0.06);
  box-shadow: none;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--sage-deep);
  color: var(--sage-deep);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  gap: 0.75rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(23, 50, 47, 0.08);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--sage-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switch a {
  color: var(--muted);
  text-decoration: none;
}

.language-switch a.active {
  color: var(--sage-deep);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 2.5rem;
  padding: 0.45rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 1.25rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 4.5rem));
  overflow: hidden;
  background: var(--sage-dark);
  color: #fff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(16, 44, 41, 0.97) 0%, rgba(16, 44, 41, 0.88) 42%, rgba(16, 44, 41, 0.35) 100%), url("/static/images/clinic-hero.jpg");
  background-position: center, center 45%;
  background-size: cover;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -45%;
  width: 60vw;
  height: 60vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 52rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero .eyebrow {
  color: #d9b69f;
}

.hero .lede {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero .button {
  background: #fff;
  color: var(--sage-dark);
}

.hero .button:hover {
  background: #f4f1ea;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-rating {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.rating-number {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
}

.rating-out-of {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.rating-stars {
  margin-top: 0.7rem;
  color: #e6b985;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
}

.hero-rating p {
  margin: 0.6rem 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
}

.hero-rating a {
  color: #fff;
  font-size: 0.83rem;
  font-weight: 600;
  text-underline-offset: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  z-index: 1;
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.28);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 1rem;
  background: #fff;
  animation: scroll 2s ease-in-out infinite;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: var(--paper);
  transform: translateY(-1px);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.4rem 1.2rem;
  border-right: 1px solid var(--line);
}

.info-item:first-child {
  padding-left: 0;
}

.info-item:last-child {
  border-right: 0;
}

.info-icon {
  display: grid;
  flex: 0 0 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--sage-deep);
  font-size: 1.05rem;
}

.info-item div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.info-item strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.info-item span,
.info-item a {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-item a:hover {
  color: var(--sage-deep);
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.section-heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  max-width: none;
}

.section-heading-split > div:first-child {
  max-width: 40rem;
}

.section-heading-split > p:not(.eyebrow) {
  max-width: 25rem;
  padding-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section-approach .section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.approach-lead {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.45;
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.principle-list article > span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.principle-list h3 {
  margin-bottom: 0.35rem;
}

.principle-list p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.section-services {
  background: var(--surface);
  max-width: none;
}

.section-services > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 14.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-number {
  display: block;
  margin-bottom: 2rem;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.section-doctor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.doctor-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.doctor-photo::before {
  position: absolute;
  inset: 1rem 1rem auto auto;
  z-index: 1;
  width: 4.5rem;
  height: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-right: 1px solid rgba(255, 255, 255, 0.85);
  content: "";
}

.doctor-photo img {
  width: 100%;
  height: clamp(22rem, 44vw, 36rem);
  object-fit: cover;
}

.doctor-photo p {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.doctor-copy h2 {
  margin-bottom: 1.5rem;
}

.doctor-copy > p {
  color: var(--ink-soft);
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.8rem 0 2rem;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--sage-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: var(--line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-reviews {
  background: var(--surface-alt);
  max-width: none;
  overflow-x: clip;
}

.section-reviews > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-bottom: 0.3rem;
}

.reviews-summary strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.reviews-summary span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.reviews-summary a {
  color: var(--sage-deep);
  text-underline-offset: 3px;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.carousel-nav {
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(47, 98, 89, 0.24);
  border-radius: 50%;
  background: var(--surface);
  color: var(--sage-deep);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-nav:hover {
  border-color: var(--sage-deep);
  background: #fff;
}

.reviews-viewport {
  --full: 3;
  --slide-gap: 1.1rem;
  --peek-space: 3rem;
  overflow: hidden;
  touch-action: pan-y;
  border-radius: var(--radius);
}

.reviews-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--slide-gap);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.review-slide {
  display: flex;
  flex: 0 0 calc((100% - var(--slide-gap) - var(--slide-gap) - var(--peek-space) - var(--peek-space)) / 3);
  transition: opacity 0.25s ease;
}

.review-slide.is-peek {
  opacity: 0.4;
  pointer-events: none;
}

.review-slide.is-clone {
  pointer-events: none;
}

.review-card {
  --quote-height: 14rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  padding: 1.75rem;
  border: 1px solid rgba(47, 98, 89, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
}

.review-card .rating-stars {
  margin: 0;
  color: var(--clay);
}

.review-card blockquote {
  flex: 1;
  min-height: 0;
  max-height: var(--quote-height);
  margin: 1.5rem 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.07rem;
  line-height: 1.55;
  white-space: pre-line;
  scrollbar-color: rgba(47, 98, 89, 0.32) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.review-card blockquote::-webkit-scrollbar {
  width: 5px;
}

.review-card blockquote::-webkit-scrollbar-thumb {
  background: rgba(47, 98, 89, 0.32);
  border-radius: 999px;
}

.review-card figcaption {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.section-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 28rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

.contact-details {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-details a,
.contact-details p {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-details a:hover {
  color: var(--sage-deep);
}

.contact-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 1.5rem;
  font-size: 1.7rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-row,
.form-row-wide {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row-wide {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form ::placeholder {
  color: var(--ink-soft);
  opacity: 1;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(158, 184, 168, 0.25);
}

.contact-form [aria-invalid="true"] {
  border-color: #b65334;
  background: #fff8f5;
}

.required-mark {
  color: var(--sage-deep);
  font-weight: 700;
}

.field-optional {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 400;
}

.field-error {
  color: #8b3d24;
  font-size: 0.78rem;
  font-weight: 600;
}

.checkbox-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted) !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

.checkbox-row input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--sage-deep);
}

.contact-form .button {
  grid-column: 1 / -1;
}

.form-hint {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.form-hint a {
  color: var(--sage-deep);
  font-weight: 600;
}

.form-notice {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: 0.88rem;
}

.form-notice:focus {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}

.form-notice p + p {
  margin-top: 0.3rem;
}

.form-notice-error ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.form-notice-error li + li {
  margin-top: 0.2rem;
}

.form-notice-error a {
  color: inherit;
  font-weight: 700;
}

.form-notice-success {
  border: 1px solid var(--sage);
  background: var(--surface-alt);
  color: var(--sage-dark);
}

.form-notice-error {
  border: 1px solid #e3a994;
  background: #fff2ed;
  color: #8b3d24;
}

.page-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.page-hero h1 {
  max-width: 50rem;
}

.page-hero .lede {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.page-hero-language {
  min-height: 60vh;
  display: grid;
  align-items: center;
}

.section-doctor-page {
  padding-top: 0;
}

.section-awards {
  background: var(--surface-alt);
  max-width: none;
}

.section-awards > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.award-list {
  border-top: 1px solid var(--line);
}

.award-list article {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.award-list article > span {
  color: var(--clay);
  font-family: var(--serif);
}

.award-list h3 {
  margin-bottom: 0.35rem;
}

.award-list p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.section-values {
  background: var(--surface);
  max-width: none;
}

.section-values > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.section-cta p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.section-contact-page {
  padding-top: 0;
}

.section-map {
  padding-top: 0;
}

.map-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.map-card-copy .eyebrow {
  margin-bottom: 0;
}

.map-card-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.map-card-copy > p:not(.eyebrow) {
  max-width: 20rem;
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.map-card-copy .button {
  margin-top: 0.5rem;
}

.map-frame {
  width: 100%;
  min-height: 26rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
}

.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-brand .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-brand strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.footer-column h2 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column p {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.72);
}

.footer-column p span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateY(2rem);
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-rating {
    width: min(22rem, 100%);
  }

  .card-grid-three,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .header-cta {
    display: none;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-item,
  .info-item:first-child {
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-item:last-child {
    border-bottom: 0;
  }

  .approach-grid,
  .section-doctor,
  .section-contact,
  .award-list article,
  .map-card {
    grid-template-columns: 1fr;
  }

  .map-frame {
    min-height: 22rem;
  }

  .section-heading-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .reviews-summary {
    align-items: flex-start;
  }

  .reviews-viewport {
    --full: 2;
    --slide-gap: 0.9rem;
    --peek-space: 2rem;
  }

  .review-slide {
    flex-basis: calc((100% - var(--slide-gap) - var(--peek-space) - var(--peek-space)) / 2);
  }

  .doctor-photo img {
    height: 22rem;
  }

  .section-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 42rem;
  }

  .hero-backdrop {
    background-image: linear-gradient(180deg, rgba(16, 44, 41, 0.94) 0%, rgba(16, 44, 41, 0.82) 100%), url("/static/images/clinic-hero.jpg");
  }

  .hero-rating {
    width: 100%;
  }

  .card-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .service-card {
    min-height: 0;
  }

  .reviews-carousel {
    gap: 0.5rem;
  }

  .reviews-viewport {
    --full: 1;
    --slide-gap: 0.75rem;
    --peek-space: 1.75rem;
  }

  .review-slide {
    flex-basis: calc(100% - var(--peek-space) - var(--peek-space));
  }

  .review-card {
    --quote-height: 16rem;
    min-height: 0;
    padding: 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-details > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .map-frame {
    min-height: 18rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
