@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --paper: #faf7f2;
  --card: #fffcf8;
  --sand: #f3ece2;
  --blush: #f0e2da;
  --ink: #28201b;
  --muted: #635950;
  --deep: #211b18;
  --gold: #e7c59c;
  --gold-text: #785631;
  --line: #e3d8cb;
  --white: #fff9f1;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --card-radius: 17px;
  --shadow: 0 15px 40px #38291b10;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, ul, ol { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: clamp(3.2rem, 6.4vw, 6.2rem); }
h2 { font-size: clamp(2.35rem, 4.3vw, 4.4rem); }
h3 { font-size: clamp(1.9rem, 2.9vw, 2.65rem); }
address { font-style: normal; }
:focus-visible { outline: 2px solid #92602e; outline-offset: 5px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: var(--deep); }

.container { width: calc(100% - 112px); max-width: 1280px; margin-inline: auto; }
.section { padding-block: 64px; }
.page-section { padding-block: 42px 84px; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.skip-link {
  position: absolute;
  z-index: 8;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--deep);
  color: var(--white);
  border-radius: 6px;
}
.skip-link:focus { transform: none; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold-text);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); max-width: 52ch; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 12px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--gold); color: var(--deep); }
.button-primary:hover { background: #f3d9b7; }
.button-dark { background: var(--deep); color: var(--white); }
.button-dark:hover { background: #4b352a; }
.button-outline { background: transparent; color: var(--ink); border-color: #c7b6a5; }
.button-outline:hover { background: var(--sand); border-color: #9a826b; }
.button-outline-light { background: transparent; color: var(--white); border-color: #ac8970; }
.button-outline-light:hover { background: #ffffff13; border-color: var(--gold); }
.button-text, .text-link {
  background: transparent;
  color: var(--gold-text);
  text-decoration: underline;
  text-decoration-color: #ba9a77;
  text-underline-offset: .36em;
  padding-inline: 0;
}
.button-text:hover, .text-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9rem; }
.text-link .icon { width: 16px; height: 16px; }

.site-header { position: relative; z-index: 4; background: var(--paper); border-bottom: 1px solid #e8ddcf; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 83px;
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--gold-text);
  font: 27px/1 Georgia, serif;
}
.brand-mark span { margin-block-start: -1px; }
.brand-type { display: grid; gap: 2px; }
.brand-title { font: 400 29px/.91 var(--font-serif); letter-spacing: .075em; white-space: nowrap; }
.brand-subtitle { font-size: .53rem; font-weight: 700; line-height: 1.4; letter-spacing: .22em; white-space: nowrap; }
.desktop-nav { display: flex; gap: clamp(24px, 3.2vw, 54px); align-items: center; }
.desktop-nav a, .mobile-nav nav > a:not(.button) {
  font-size: .92rem;
  font-weight: 550;
  text-decoration: none;
}
.desktop-nav a:hover, .desktop-nav a[aria-current], .desktop-nav .section-current {
  color: var(--gold-text);
  text-decoration: underline;
  text-decoration-color: #b58f63;
}
.header-appointment { justify-self: end; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--deep);
  color: var(--white);
}
.hero-inner { position: relative; }
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 49%;
  min-height: 546px;
  padding-block: 52px 59px;
}
.hero .eyebrow { color: #e6c59d; }
.hero h1 {
  margin-block: 20px 24px;
  font-size: clamp(4.3rem, 7.7vw, 7.35rem);
  line-height: .86;
  letter-spacing: -.028em;
  text-wrap: unset;
}
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-description { max-width: 37ch; color: #ecded1; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.6; }
.hero-actions { margin-top: 27px; }
.hero-actions .button { min-height: 50px; }
.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 48%;
  background: #7c5b46;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #211b18 0%, #211b1830 14%, transparent 34%);
  pointer-events: none;
}

.contact-strip { background: var(--sand); border-bottom: 1px solid var(--line); }
.contact-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-strip-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 89px;
  padding: 13px 24px;
  text-decoration: none;
}
.contact-strip-item:first-child { padding-inline-start: 0; }
.contact-strip-item:last-child { padding-inline-end: 0; }
.contact-strip-item + .contact-strip-item { border-inline-start: 1px solid var(--line); }
.contact-strip-item:hover .contact-strip-copy span { text-decoration: underline; }
.icon-medallion {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #d8c1a9;
  border-radius: 50%;
  color: var(--gold-text);
  background: #fbf6ef;
}
.contact-strip-copy { display: flex; flex-direction: column; gap: 1px; line-height: 1.4; }
.contact-strip-copy strong { font-size: .9rem; font-weight: 680; }
.contact-strip-copy span { color: var(--muted); font-size: .81rem; }
.contact-strip-item > .icon { width: 16px; height: 16px; color: var(--gold-text); }

.section-heading, .page-heading-row, .group-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.section-heading { margin-bottom: 28px; }
.section-heading p { margin-top: 9px; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 14px #4d342b06;
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s;
}
.category-card:hover { border-color: #b99974; box-shadow: var(--shadow); }
.category-image { aspect-ratio: 1.62; overflow: hidden; background: var(--sand); }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.category-card:hover img { transform: scale(1.04); }
.category-card-content {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 19px 20px 23px;
}
.category-card-content h3 { text-wrap: pretty; }
.category-card-content p { margin-top: 7px; color: var(--muted); font-size: .87rem; line-height: 1.4; }
.circle-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border: 1px solid #d9c4ad;
  border-radius: 50%;
  color: var(--gold-text);
  transition: background-color .25s, color .25s;
}
.circle-arrow .icon { width: 18px; height: 18px; }
.category-card:hover .circle-arrow { background: var(--deep); color: var(--white); }
.home-about { padding-top: 0; }
.editorial-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 42px;
  padding: clamp(27px, 4.6vw, 67px);
  border: 1px solid #e8d3c7;
  border-radius: var(--card-radius);
  background: var(--blush);
}
.editorial-card h2 { margin-block-start: 13px; max-width: 11ch; }
.editorial-card p:not(.eyebrow) { max-width: 49ch; color: #56443c; }
.editorial-card .actions { margin-top: 21px; gap: 18px; }

.breadcrumbs { margin-bottom: 28px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.breadcrumbs li a { color: var(--gold-text); font-weight: 600; }
.breadcrumbs [aria-current] { color: var(--ink); }
.breadcrumbs .icon { width: 13px; height: 13px; color: #8c735d; }
.page-heading { padding-top: 35px; }
.page-heading-row { align-items: end; }
.page-heading-row p { margin-top: 12px; color: var(--muted); font-size: 1.04rem; max-width: 52ch; }

.catalogue-search { flex: 0 1 330px; min-width: 216px; }
.catalogue-search label { display: block; margin-bottom: 6px; font-weight: 650; font-size: .86rem; }
.search-field { position: relative; }
.search-field .icon { position: absolute; inset: 50% auto auto 14px; transform: translateY(-50%); color: var(--gold-text); }
.search-field input { padding-inline-start: 42px; }
input, select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #cbbba9;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
}
input::placeholder { color: #776d62; opacity: 1; }
input:focus-visible, select:focus-visible { outline-offset: 2px; }
input[type="date"] { display: block; min-width: 0; appearance: none; }
.category-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.category-jumps a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 13px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}
.category-jumps a:hover { border-color: #9e8061; }
.category-jumps .icon { width: 15px; height: 15px; color: var(--gold-text); }
.search-status { margin: 16px 0 0; color: var(--muted); font-size: .87rem; }
.search-status:empty, .form-status:empty { display: none; }
.catalogue-group { margin-top: 42px; scroll-margin-top: 15px; }
.group-heading { margin-bottom: 14px; }
.group-heading h2, .category-menu h2, .related-services h2 { font-size: clamp(2.15rem, 3.7vw, 3.7rem); }
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
  padding: 0;
}
.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
  min-height: 57px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.service-list a:hover { border-color: #ae8e67; color: var(--gold-text); }
.service-list a .icon { width: 16px; height: 16px; color: var(--gold-text); }
.no-results { margin-top: 20px; padding: 27px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.no-results h2 { margin-bottom: 16px; font-size: 2.3rem; }

.category-feature {
  display: grid;
  grid-template-columns: 1fr .88fr;
  align-items: center;
  gap: clamp(20px, 5vw, 68px);
}
.category-feature h1 { text-wrap: pretty; }
.category-feature p:not(.eyebrow) { color: var(--muted); max-width: 49ch; margin-block: 16px 21px; }
.category-feature .eyebrow { margin-bottom: 14px; }
.category-feature img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
}
.category-feature .about-photo { object-position: center 43%; }
.category-menu { margin-block: 47px 30px; }
.category-menu h2, .related-services h2 { margin-bottom: 14px; }
.service-feature {
  display: grid;
  grid-template-columns: 1.15fr .7fr;
  align-items: start;
  gap: clamp(20px, 6vw, 84px);
}
.service-feature .eyebrow { margin-bottom: 14px; }
.service-feature h1 { font-size: clamp(3.2rem, 6vw, 6rem); text-wrap: pretty; }
.service-feature .lead { margin-block: 17px 24px; }
.related-services { margin-top: 56px; }
.related-services > .button { margin-top: 9px; }
.clinic-team { max-width: 660px; margin-top: 53px; }
.clinic-team h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.clinic-team p { margin-block: 10px 17px; color: var(--muted); }

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card, .booking-card {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--card);
  padding: clamp(20px, 3.6vw, 42px);
  box-shadow: 0 8px 22px #3c211a06;
}
.info-card .icon-medallion { margin-bottom: 16px; }
.info-card h2, .booking-card h2 { font-size: clamp(2rem, 3.1vw, 3.1rem); }
.info-card p, .info-card address, .booking-card p { margin-block: 9px 17px; color: var(--muted); }
.info-card .actions + .button { margin-top: 6px; }
.location-card { background: var(--blush); border-color: #e4d0c5; }
.location-card address { font-size: 1.08rem; }
.appointment-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); align-items: start; gap: 20px; }
.booking-card p { max-width: 53ch; }
.booking-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.field { margin-bottom: 16px; }
.field label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; font-size: .88rem; font-weight: 650; }
.optional { font-size: .76rem; font-weight: 450; color: var(--muted); }
.booking-card .form-status { font-size: .87rem; margin: 12px 0 0; }
.booking-card .form-status a { color: var(--gold-text); font-weight: 650; }
.booking-aside { display: grid; gap: 16px; }
.booking-aside .info-card { padding: clamp(20px, 2.8vw, 32px); }
.booking-aside .info-card h2 { font-size: clamp(1.95rem, 2.7vw, 2.85rem); }
.booking-aside .info-card p, .booking-aside .info-card address { margin-bottom: 2px; }
.policy-page { max-width: 840px; }
.policy-page h1 { margin-bottom: 24px; }
.policy-page section { margin-top: 24px; }
.policy-page h2 { font-size: 2rem; margin-bottom: 6px; }
.policy-page p, .missing-page p { color: var(--muted); }
.missing-page { min-height: 54vh; }
.missing-page p { margin-block: 11px 20px; }

.site-footer { background: var(--deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 30px; padding-block: 43px 36px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { color: var(--gold); }
.site-footer p, .site-footer address, .site-footer a:not(.brand) { color: #e0d1c2; font-size: .85rem; }
.footer-brand > p { margin-top: 14px; }
.footer-grid h2 { font: 700 .75rem/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.footer-grid nav, .footer-contact { display: grid; align-content: start; justify-items: start; gap: 5px; }
.footer-grid nav a, .footer-bottom a { text-decoration: none; }
.footer-grid nav a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #513e32;
  padding-block: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px 17px;
}
.footer-bottom nav { display: flex; gap: 15px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom nav a { font-size: .74rem; }
.powered-by { font-size: .74rem; }
.powered-by a { color: var(--gold); text-decoration: none; font-weight: 600; }
.powered-by a:hover { text-decoration: underline; }

/* Chat Bot Widget */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  font-family: var(--font-sans);
}
.chat-widget-toggle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--gold);
  color: var(--deep);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.chat-widget-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 50px #e7c59c40;
}
.chat-widget-toggle:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 4px;
}
.chat-widget-toggle .icon { width: 28px; height: 28px; }
.chat-widget-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: min(360px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transition: opacity .25s, visibility .25s, transform .25s;
}
.chat-widget[open] .chat-widget-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--blush);
  border-bottom: 1px solid var(--line);
}
.chat-widget-title { font-weight: 700; font-size: .95rem; color: var(--ink); }
.chat-widget-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.chat-widget-close:hover { background: var(--sand); color: var(--ink); }
.chat-widget-close .icon { width: 18px; height: 18px; }
.chat-widget-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-widget-message {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}
.chat-widget-actions { display: flex; flex-direction: column; gap: 10px; }
.chat-widget-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .87rem;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.chat-widget-action:hover { border-color: var(--gold); background: var(--blush); }
.chat-widget-action .icon { width: 20px; height: 20px; color: var(--gold-text); }

/* 3D Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px) rotateX(15deg) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(0) scale(1);
}
.scroll-reveal.stagger-1 { transition-delay: 0.1s; }
.scroll-reveal.stagger-2 { transition-delay: 0.2s; }
.scroll-reveal.stagger-3 { transition-delay: 0.3s; }
.scroll-reveal.stagger-4 { transition-delay: 0.4s; }
.scroll-reveal.stagger-5 { transition-delay: 0.5s; }
.scroll-reveal.stagger-6 { transition-delay: 0.6s; }

/* 3D Card tilt effect */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Parallax layers */
.parallax-layer {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .tilt-card {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .chat-widget-panel {
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .hero-copy { width: 52%; min-height: 500px; }
  .hero-media { left: 48%; }
  .category-card-content { padding-inline: 16px; }
  .category-card-content h3 { font-size: clamp(1.75rem, 3.2vw, 2.3rem); }
  .contact-strip-item { padding-inline: 16px; gap: 9px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 42px; }
  .page-section { padding-block: 26px 55px; }
  .header-inner { display: flex; min-height: 68px; gap: 12px; }
  .desktop-nav { display: none; }
  .header-appointment { margin-left: auto; min-height: 40px; padding: 8px 11px; font-size: .78rem; gap: 8px; }
  .header-appointment .icon { width: 14px; height: 14px; }
  .brand { gap: 8px; }
  .brand-mark { width: 33px; height: 33px; font-size: 22px; }
  .brand-title { font-size: 25px; }
  .brand-subtitle { font-size: .47rem; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    display: grid;
    place-items: center;
    width: 41px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon-close, .mobile-nav[open] summary .icon-menu { display: none; }
  .mobile-nav[open] summary .icon-close { display: block; }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% - 2px);
    right: 20px;
    display: grid;
    gap: 7px;
    width: min(250px, calc(100vw - 40px));
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--card);
    box-shadow: var(--shadow);
  }
  .mobile-nav nav > a:not(.button) { padding: 9px 10px; border-radius: 5px; }
  .mobile-nav nav > a:not(.button):hover, .mobile-nav nav > a[aria-current] { background: var(--sand); }

  .hero { display: grid; }
  .hero-inner { grid-row: 1; }
  .hero-copy { width: 100%; min-height: 0; padding-block: 44px 33px; }
  .hero h1 { margin-block: 18px; font-size: clamp(3.95rem, 13.6vw, 6.7rem); }
  .hero-description { max-width: 39ch; }
  .hero-actions { margin-top: 21px; }
  .hero-actions .button { min-height: 44px; padding-inline: 12px; }
  .hero-media { grid-row: 2; position: relative; inset: auto; aspect-ratio: 1.35; max-height: 440px; }
  .hero-media img { object-position: center 39%; }
  .hero-media::after { background: linear-gradient(180deg, #211b184d 0%, transparent 25%); }

  .contact-strip-item { min-height: 72px; display: flex; align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px 8px; }
  .contact-strip-item > .icon { display: none; }
  .contact-strip-item .icon-medallion { width: 33px; height: 33px; }
  .contact-strip-item .icon-medallion .icon { width: 16px; height: 16px; }
  .contact-strip-copy strong { font-size: .76rem; }
  .contact-strip-copy span { font-size: .71rem; }
  .contact-strip-copy { gap: 4px; }

  .section-heading { flex-wrap: wrap; row-gap: 3px; margin-bottom: 17px; }
  .section-heading h2 { font-size: 3.25rem; }
  .section-heading p { margin-top: 4px; font-size: .92rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card-content { padding: 13px; align-items: flex-start; }
  .category-card-content h3 { font-size: 2rem; }
  .category-card-content p { font-size: .79rem; }
  .circle-arrow { width: 30px; height: 30px; }
  .circle-arrow .icon { width: 14px; height: 14px; }
  .home-about { padding-top: 0; }
  .editorial-card { grid-template-columns: 1fr; gap: 13px; }
  .editorial-card h2 { max-width: none; }

  .page-heading { padding-top: 25px; }
  .breadcrumbs { margin-bottom: 21px; }
  .page-heading-row { display: grid; gap: 16px; }
  .page-heading-row p { font-size: .97rem; }
  .catalogue-search { max-width: 410px; min-width: 0; }
  .catalogue-group { margin-top: 30px; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-feature, .service-feature { grid-template-columns: 1fr; gap: 20px; }
  .category-feature img { aspect-ratio: 1.65; }
  .category-menu, .clinic-team { margin-top: 33px; }
  .related-services { margin-top: 36px; }
  .visit-grid, .appointment-grid { grid-template-columns: 1fr; gap: 15px; }
  .booking-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 30px 22px; gap: 20px 14px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; }
}

@media (max-width: 465px) {
  .category-grid, .booking-aside { grid-template-columns: 1fr; }
  .category-image { aspect-ratio: 1.8; }
  .category-card-content { align-items: center; padding: 13px 15px 15px; }
  .category-card-content h3 { font-size: 2.15rem; }
  .service-list { grid-template-columns: 1fr; }
  .group-heading { align-items: start; flex-direction: column; gap: 0; }
  .group-heading .button { min-height: 36px; }
  .footer-grid { grid-template-columns: .67fr 1fr; }
}

@media (max-width: 350px) {
  .container { width: calc(100% - 30px); }
  .header-appointment { display: none; }
  .mobile-nav { margin-left: auto; }
  .hero h1 { font-size: 3.75rem; }
  .hero-actions { column-gap: 6px; }
  .hero-actions .button { padding-inline: 8px; font-size: .78rem; gap: 6px; }
  .contact-strip-copy span { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
