/* EB Garamond, self-hosted (was Google Fonts). One variable file per style covers all weights;
   the latin-ext files only download if a page uses characters outside Western European latin. */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/eb-garamond-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/eb-garamond-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("assets/fonts/eb-garamond-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("assets/fonts/eb-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --cream: #FEF5F0;
  --cream-deep: #FBE7DB;
  --cream-card: #FFFAF6;
  --rust: #9F5434;
  --rust-dark: #7C4128;
  --ink: #2A1810;
  --gray: #7A6459;
  --gray-soft: #9C8A80;
  --line: rgba(42, 24, 16, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --shadow: 0 20px 50px -25px rgba(42, 24, 16, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--gray); }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.tag {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--rust-dark);
  font-size: .8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
}

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.faq-head { margin-bottom: 0; }
.section-sub { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 99px;
  font-weight: 500;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--rust); color: var(--cream); }
.btn-solid:hover { background: var(--rust-dark); }

.btn-light { background: var(--cream-card); color: var(--rust-dark); }
.btn-light:hover { background: #fff; }

.btn-outline-rust { background: transparent; color: var(--rust); border-color: var(--rust); }
.btn-outline-rust:hover { background: var(--rust); color: var(--cream); }

.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-full { width: 100%; }

/* ---------- Header (floating pill nav) ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
}
.nav-pill {
  max-width: calc(var(--container) - 32px);
  margin: 0 auto;
  background: rgba(254, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--rust-dark);
}
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: .9rem; color: var(--rust-dark); transition: opacity .15s ease; }
.main-nav a:hover { opacity: .7; }

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

.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  opacity: .45;
  filter: grayscale(1);
  transition: opacity .15s ease, filter .15s ease;
}
.lang-btn:hover { opacity: .75; }
.lang-btn.is-active { opacity: 1; filter: none; }

/* Mobile menu button: two black lines (the lower one shorter), no circle or fill.
   The lines draw in once on page load and turn into a black X while the menu is open.
   The 44px box is invisible – it only keeps the tap area finger-sized. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 1px solid #000; outline-offset: 2px; }
.nav-toggle-icon { position: relative; display: block; width: 22px; height: 8px; color: #000; }
.nav-toggle-icon span {
  position: absolute;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, width .3s ease, top .3s ease;
}
.nav-toggle-icon span:nth-child(1) { top: 0; width: 22px; animation: nav-line-in .7s .5s cubic-bezier(.2,.7,.2,1) backwards; }
.nav-toggle-icon span:nth-child(2) { top: 6px; width: 14px; animation: nav-line-in .7s .65s cubic-bezier(.2,.7,.2,1) backwards; }
.nav-toggle:hover .nav-toggle-icon span:nth-child(2) { width: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span { top: 3px; width: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { transform: rotate(-45deg); }
@keyframes nav-line-in { from { transform: scaleX(0); transform-origin: right; } to { transform: scaleX(1); transform-origin: right; } }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-icon span { animation: none !important; transition: none; }
}

/* ---------- Hero (full-bleed, image-as-background) ---------- */
.hero-full {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 78%;
  filter: sepia(.2) saturate(1.15) hue-rotate(-4deg) brightness(1.03) contrast(1.02);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(254,245,240,0.35) 0%, rgba(254,245,240,0) 22%),
    linear-gradient(to top, rgba(42,24,16,0.25) 0%, rgba(42,24,16,0) 30%);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-overlay h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; justify-content: flex-start; }
.hero-overlay .btn-outline-rust { background: rgba(254,245,240,0.5); }

@media (max-width: 980px) and (orientation: landscape) {
  .hero-overlay { display: none; }
}

.intro-block { padding: 88px 0; text-align: center; background: var(--cream-deep); }
.intro-block .wrap { max-width: 700px; margin: 0 auto; }
.intro-block p { font-size: 1.15rem; line-height: 1.7; color: var(--ink); margin: 0; }
.intro-block-wide .wrap { max-width: calc(var(--container) - 32px); }

.quote-section { padding: 72px 0; }
.quote-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  max-width: 940px;
  margin: 0 auto;
}
.quote-box {
  max-width: 620px;
  margin: 0;
  padding: 0;
  border: none;
  text-align: center;
}
.quote-logo { flex: 0 0 auto; width: 120px; height: auto; }
.quote-text {
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 20px;
}
.quote-author {
  display: block;
  font-style: normal;
  font-size: .95rem;
  color: var(--gray-soft);
  letter-spacing: .02em;
}

/* ---------- About ---------- */
.about-grid, .doctor-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-grid { grid-template-columns: 3fr 7fr; }
.about-image-frame, .doctor-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
}
.about-image-frame img, .doctor-image-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
}
.about-image-frame.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-deep);
  color: var(--gray-soft);
  font-size: .9rem;
  text-align: center;
  padding: 24px;
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-points li {
  position: relative;
  padding-left: 26px;
  font-size: .95rem;
  color: var(--gray);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 99px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
}
.intro-block .about-points { text-align: left; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  display: block;
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rust); }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 99px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--rust);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card p { font-size: .92rem; margin: 0; }
.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Prices ---------- */
.price-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.price-row h3 { margin: 0; }
.price-value { font-weight: 600; color: var(--rust-dark); white-space: nowrap; }

/* ---------- Doctor ---------- */
.doctor-role { font-weight: 500; color: var(--rust-dark); margin-bottom: 16px; }
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}
.credential {
  background: var(--cream-deep);
  color: var(--rust-dark);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
}
.testimonial-rating {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--rust-dark);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.testimonial-card p { font-size: .95rem; color: var(--ink); }
.testimonial-name { font-weight: 600; font-size: .92rem; margin-top: 14px; }
.testimonial-meta { font-size: .82rem; color: var(--gray-soft); }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--line);
}
.news-thumb {
  border-radius: var(--radius-sm);
  height: 200px;
  margin-bottom: 20px;
}
.thumb-a { background: linear-gradient(135deg, #e8c9b2, #c98f68); }
.thumb-b { background: linear-gradient(135deg, #d9ab8a, #9f5434); }
.news-date { font-size: .8rem; color: var(--gray-soft); margin-bottom: 6px; }
.news-card h3 { margin-bottom: 8px; }
.news-card p { font-size: .92rem; margin: 0; }

/* ---------- Certifications ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cert-card {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid var(--line);
  text-align: center;
}
.cert-icon {
  width: 46px; height: 46px;
  border-radius: 99px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--rust);
}
.cert-icon svg { width: 22px; height: 22px; }
.cert-logo {
  width: 88px; height: 88px;
  border-radius: var(--radius-md);
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  padding: 12px;
}
.cert-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-card h3 { font-size: 1rem; margin: 0; }
.cert-name { font-size: .82rem; color: var(--gray-soft); margin: 6px 0 0; }

/* ---------- Further info (About page) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.info-grid-3 { grid-template-columns: repeat(3, 1fr); }
.further_info-compact { padding-top: 48px; padding-bottom: 48px; }
.info-card {
  display: block;
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.info-card:hover { border-color: var(--rust); transform: translateY(-2px); }
.info-icon {
  width: 46px; height: 46px;
  border-radius: 99px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--rust);
}
.info-icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--rust); padding: 100px 0; }
.cta-inner { text-align: center; max-width: calc(var(--container) - 32px); }
.cta h2 { color: var(--cream); }
.cta p { color: rgba(254,245,240,0.78); font-size: 1.05rem; }
.cta-locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 6px;
}
.cta-locations a {
  border-bottom: 1px solid currentColor;
  padding: 0 0 4px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--cream-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 99px;
  background: var(--cream-deep);
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--rust-dark);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 9px; height: 1.4px; }
.faq-icon::after { width: 1.4px; height: 9px; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease, padding .28s ease;
  padding: 0 22px;
}
.faq-a p { margin: 0 0 20px; font-size: .92rem; }
.faq-item.open .faq-a { max-height: 220px; }

/* ---------- Book a Consultation page ---------- */
.book-hero { text-align: center; padding-bottom: 24px; }
.book-hero .wrap { max-width: 640px; margin: 0 auto; }

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.location-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.location-card:hover, .location-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rust); outline: none; }
.location-icon {
  width: 42px; height: 42px;
  border-radius: 99px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  color: var(--rust);
}
.location-icon svg { width: 20px; height: 20px; }
.location-card h3 { margin: 0 0 2px; }
.location-address { font-size: .9rem; line-height: 1.5; color: var(--gray); margin: 6px 0 16px; }
.location-phone { font-size: .85rem; color: var(--gray-soft); margin: 0 0 12px; }
.location-select { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--rust-dark); }

.booking-panel { padding-top: 8px; }
.booking-back {
  background: none;
  border: none;
  color: var(--rust-dark);
  font-weight: 500;
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  margin-bottom: 36px;
}
.booking-back:hover { opacity: .7; }
.booking-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.booking-head h2 { margin-bottom: 6px; }
/* ---------- Custom booking widget ---------- */
.booking-widget {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
  transform-origin: top center;
  opacity: 1;
  transition: transform .32s ease, opacity .28s ease;
}
.booking-widget.is-folded {
  transform: perspective(1000px) rotateX(-16deg) scaleY(0.92);
  opacity: 0;
  pointer-events: none;
}
.booking-widget[hidden] { display: none; }
.booking-calendar {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
}
.calendar-nav {
  width: 34px; height: 34px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--rust-dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.calendar-nav:hover { background: var(--cream-deep); }
.calendar-nav:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.calendar-nav svg { width: 18px; height: 18px; }
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.calendar-weekdays span {
  text-align: center;
  font-size: .78rem;
  color: var(--gray-soft);
  font-weight: 500;
  text-transform: uppercase;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: 99px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.calendar-day:hover:not(:disabled) { background: var(--cream-deep); }
.calendar-day.is-selected { background: var(--rust); color: var(--cream); font-weight: 600; }
.calendar-day.is-past, .calendar-day-empty { visibility: hidden; pointer-events: none; }
.calendar-day:disabled { cursor: default; }

/* Scheduled clinic days without available appointments.
   Still selectable, so patients can be pointed to the
   WhatsApp waiting list instead of hitting a dead end. 
.calendar-day.is-fully-booked {
  background: #e5e5e5;
  color: #999999;
  cursor: pointer;
  opacity: 1;
}
.calendar-day.is-fully-booked:hover { background: #dcdcdc; }
.calendar-day.is-fully-booked.is-selected {
  background: var(--rust);
  color: var(--cream);
}
*/
/* Hide days without scheduled clinic hours */
.calendar-day.calendar-day-empty {
  visibility: hidden;
  pointer-events: none;
}

/* Loading and error messages */
.calendar-loading {
  grid-column: 1 / -1;
  font-size: .85rem;
  color: var(--gray-soft);
}

.booking-slots {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 320px;
}
.booking-slots h3 { margin-bottom: 16px; }
.slots-list { display: flex; flex-direction: column; gap: 8px; }
.slots-empty, .slots-loading { font-size: .9rem; color: var(--gray-soft); margin: 0; }
.waitlist-link { color: var(--rust-dark); font-weight: 600; text-decoration: underline; }
.waitlist-link:hover { opacity: .8; }
.slot-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.slot-btn:hover { border-color: var(--rust); }
.slot-btn.is-selected { background: var(--rust); border-color: var(--rust); color: var(--cream); }

.booking-form-wrap {
  max-width: 480px;
  margin: 32px auto 0;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transform-origin: top center;
  opacity: 1;
  transition: transform .32s ease, opacity .28s ease;
}
.booking-form-wrap.is-folded {
  transform: perspective(1000px) rotateX(-16deg) scaleY(0.92);
  opacity: 0;
  pointer-events: none;
}
.booking-form-wrap h3 { margin-bottom: 6px; }
.booking-time-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 14px;
  margin-bottom: 20px;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 500;
  color: var(--rust-dark);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.booking-time-chip:hover { background: var(--rust); color: var(--cream); border-color: var(--rust); }
.booking-time-chip-icon { width: 14px; height: 14px; color: currentColor; flex-shrink: 0; }
.booking-form { display: flex; flex-direction: column; gap: 16px; }
.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-soft);
}
.booking-form input {
  font-family: inherit;
  font-size: .95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}
.booking-form select {
  font-family: inherit;
  font-size: .95rem;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242321' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  max-width: 100%;
}
.booking-form select:invalid { color: var(--gray-soft); }
.booking-form select option { color: var(--ink); }
.booking-form input:focus, .booking-form select:focus { outline: none; border-color: var(--rust); }
.booking-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.booking-status { margin: 16px 0 0; font-size: .92rem; text-align: center; }
.booking-status.is-success { color: #4a7c4e; }
.booking-status.is-error { color: #b3432b; }

.booking-confirmation {
  max-width: 480px;
  margin: 32px auto 0;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
}
.booking-confirmation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-confirmation-icon svg { width: 28px; height: 28px; }
.booking-confirmation h3 { margin-bottom: 10px; }
.booking-confirmation-detail { color: var(--rust-dark); font-weight: 500; margin-bottom: 6px; }
.booking-confirmation-note { color: var(--gray-soft); font-size: .9rem; margin-bottom: 24px; }

/* ---------- Generic sub-page hero ---------- */
.page-hero { text-align: center; padding-bottom: 24px; }
.page-hero .wrap { max-width: calc(var(--container) - 32px); margin: 0 auto; }

/* ---------- Treatment detail page ---------- */
.breadcrumb { font-size: .85rem; color: var(--gray-soft); margin-bottom: 16px; }
.breadcrumb a { color: var(--rust-dark); }
.breadcrumb a:hover { opacity: .7; }

.treatment-hero { text-align: center; padding-bottom: 0; }
.treatment-hero .wrap { max-width: calc(var(--container) - 32px); margin: 0 auto; }

.key-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 32px auto 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.key-detail { text-align: center; }
.key-detail span { display: block; font-size: 1.25rem; font-weight: 600; color: var(--rust-dark); }
.key-detail p { margin: 4px 0 0; font-size: .82rem; color: var(--gray-soft); }

.treatment-actions { text-align: center; margin-top: 28px; }

@media (min-width: 981px) {
  body.hide-header-book .header-actions a.btn-sm { visibility: hidden; }
}

.treatment-body { max-width: calc(var(--container) - 32px); margin: 0 auto; }
.treatment-body h2 { margin-top: 0; }

.treatment-hero ~ .faq .wrap { max-width: calc(var(--container) - 32px); }
.treatment-hero ~ .section:has(+ .faq) { padding-bottom: 32px; }
.treatment-hero ~ .faq { padding-top: 32px; }
.treatment-hero ~ .faq .section-head { margin-bottom: 24px; }

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefits-list li {
  position: relative;
  padding-left: 30px;
  font-size: .98rem;
  color: var(--gray);
}
.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 99px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.process-step { text-align: center; }
.process-number {
  display: inline-block;
  font-size: 1rem;
  color: var(--rust-dark);
  border: 1px solid var(--line);
  border-radius: 99px;
  width: 40px; height: 40px;
  line-height: 38px;
  margin-bottom: 14px;
  font-weight: 600;
}
.process-step h3 { margin-bottom: 6px; }
.process-step p { font-size: .9rem; }

.process-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 20px;
}
.process-list { display: flex; flex-direction: column; }
.process-item { border-bottom: 1px solid var(--line); }
.process-item:first-child { border-top: 1px solid var(--line); }
.process-item-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink);
}
.process-item-header .process-num {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-soft);
  width: 24px;
  flex-shrink: 0;
}
.process-item-header .process-title {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .18s ease;
}
.process-item-header .process-arrow {
  color: var(--gray-soft);
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform .25s ease, color .18s ease;
}
.process-item-header .process-arrow svg { width: 18px; height: 18px; display: block; }
.process-item.active .process-item-header .process-title { color: var(--rust-dark); }
.process-item.active .process-arrow { color: var(--rust-dark); transform: rotate(180deg); }
.process-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 0 0 42px;
}
.process-item-body p { margin: 0; font-size: .92rem; }
.process-item.active .process-item-body { max-height: 160px; padding: 0 0 22px 42px; }

.process-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.process-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Social page ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.social-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rust); }
.social-card-icon {
  width: 46px; height: 46px;
  border-radius: 99px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--rust);
}
.social-card-icon svg { width: 22px; height: 22px; }
.social-card h3 { margin-bottom: 4px; }
.social-card p { font-size: .9rem; margin-bottom: 16px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.photo-tile {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
}
a.photo-tile {
  display: block;
  overflow: hidden;
}
.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
a.photo-tile:hover img { transform: scale(1.04); }
.photo-tile.tone-1 { background: linear-gradient(135deg, #e8c9b2, #c98f68); }
.photo-tile.tone-2 { background: linear-gradient(135deg, #d9ab8a, #9f5434); }
.photo-tile.tone-3 { background: linear-gradient(135deg, #f3ddc9, #d9ab8a); }
.photo-tile.tone-4 { background: linear-gradient(135deg, #c98f68, #7c4128); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.contact-details div { display: flex; flex-direction: column; gap: 4px; }
.contact-details strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-soft); font-weight: 500; }
.contact-details span { font-size: .95rem; color: var(--ink); }

.contact-form {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-soft);
}
.contact-form input, .contact-form textarea {
  font-family: inherit;
  font-size: .95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  resize: none;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--rust);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .78rem; color: var(--gray-soft); text-align: center; margin: 4px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-deep); padding: 70px 0 0; margin-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(42,24,16,0.1);
}
.footer-brand p { margin: 16px 0 20px; font-size: .88rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 99px;
  background: var(--cream-card);
  color: var(--rust-dark);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-legal { display: flex; gap: 16px; margin-top: 16px; }
.footer-legal a { font-size: .82rem; color: var(--gray-soft); }
.footer-legal a:hover { color: var(--rust-dark); }

.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-content p { font-size: .92rem; line-height: 1.7; }
.legal-content ul { font-size: .92rem; line-height: 1.7; color: var(--gray); padding-left: 22px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 4px; }
.footer-links { display: grid; grid-template-columns: .8fr 1.6fr; gap: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: .82rem; font-weight: 500; color: var(--gray-soft); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; }
.footer-col a { font-size: .92rem; color: var(--gray); }
.footer-col a:hover { color: var(--rust-dark); }
.footer-locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; margin-bottom: 4px; }
.footer-location { font-size: .88rem; }
.footer-location strong { display: block; color: var(--ink); font-weight: 600; }
.footer-location span { color: var(--gray); font-size: .85rem; }
.footer-location a { color: inherit; text-decoration: none; }
.footer-location a:hover strong { opacity: .7; }
.footer-bottom { padding: 22px 0; }
.footer-bottom p { font-size: .78rem; color: var(--gray-soft); margin: 0; text-align: center; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .doctor-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media, .doctor-media { order: -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-widget { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { grid-template-columns: 1fr; }
  .process-media { order: -1; }
  .footer-locations-grid { grid-template-columns: repeat(2, 1fr); }
  .key-details { gap: 32px; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--cream-card);
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .nav-pill { position: relative; }
}

@media (max-width: 980px) and (orientation: portrait) {
  .hero-bg img { object-position: 50% 85%; }
  .hero-full { height: 100vh; min-height: 100vh; }
}

@media (max-width: 980px) and (orientation: landscape) {
  .hero-bg img { object-position: 80% 35%; }
  .hero-full { height: 100vh; min-height: 420px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .quote-inner { flex-direction: column; gap: 28px; }
  .quote-logo { width: 88px; }
  .service-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .booking-form-actions { flex-direction: column-reverse; align-items: stretch; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .key-details { gap: 24px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-details { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-locations-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-pill { padding: 6px 6px 6px 16px; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: .78rem; }
  .lang-btn { font-size: 1rem; padding: 3px; }
}

@media (max-width: 640px) and (orientation: landscape) {
  .hero-full { height: 100vh; min-height: 380px; }
}

@media (max-width: 640px) and (orientation: portrait) {
  .hero-full { height: 100vh; min-height: 100vh; }
}

@media (max-width: 980px) {
  .header-actions a.btn-sm { display: none; }
}
:root {
  --cream:#f4f2ef;
  --cream-deep:#e9e6e1;
  --cream-card:#f4f2ef;
  --rust:#242321;
  --rust-dark:#242321;
  --ink:#242321;
  --gray:#56544f;
  --gray-soft:#6e6b65;
  --line:rgba(36,35,33,.14);
  --radius-lg:0;
  --radius-md:0;
  --radius-sm:0;
  --shadow:none;
}
h1,h2,h3 {font-family:"EB Garamond","Times New Roman",serif;font-weight:400;letter-spacing:-.015em;}
h1 {font-size:clamp(2.8rem,5vw,4.8rem);line-height:1.08;}
h2 {font-size:clamp(2.1rem,3.5vw,3.4rem);line-height:1.14;}
h3 {font-size:1.5rem;line-height:1.25;}
.nav-pill {background:rgba(244,242,239,.97);border-radius:0;border-bottom:1px solid var(--line);box-shadow:none;padding:18px 22px;gap:20px;}
.logo {color:var(--ink);font-weight:500;}
.logo-word {font-size:.8rem;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap;}
.main-nav {gap:22px;}
.main-nav a {font-size:.65rem;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap;}
.main-nav a:hover {text-decoration:underline;text-underline-offset:6px;}
.btn {border-radius:0;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;padding:15px 25px;}
.btn:hover {transform:none;}
.btn-sm {font-size:.6rem;padding:10px 0;}
.header-actions .btn {background:none;color:var(--ink);border:0;border-bottom:1px solid var(--ink);padding:3px 0;}
.tag {background:none;border-radius:0;padding:0 0 12px;border-bottom:1px solid var(--line);font-size:.66rem;text-transform:uppercase;letter-spacing:.15em;}
.hero-bg picture {display:block;height:100%;}
.hero-bg img {filter:none;object-position:65% 42%;}
.hero-scrim {background:none;}
.hero-overlay h1 {color:var(--ink);text-shadow:none;font-size:clamp(3.5rem,5.5vw,5.2rem);line-height:1.06;margin-bottom:36px;max-width:20ch;}
.hero-overlay .btn {background:none;color:var(--ink);border:0;border-bottom:1px solid var(--ink);padding:0 0 7px;}
.quote-text {font-family:"EB Garamond","Times New Roman",serif;font-weight:400;font-size:clamp(1.9rem,3vw,2.8rem);}
.quote-author {font-size:.65rem;text-transform:uppercase;letter-spacing:.12em;}
.quote-logo,.about-image-frame img,.doctor-image-frame img {filter:grayscale(1);}
.intro-block {background:var(--cream);border-top:1px solid var(--line);}
.intro-block p {font-size:1rem;line-height:1.85;}
.intro-block p+p {margin-top:1.3em;}
.service-card,.testimonial-card,.news-card,.cert-card,.info-card,.social-card {box-shadow:none;border:1px solid var(--line);background:transparent;}
.service-card:hover {box-shadow:none;border-color:var(--ink);transform:none;}
.service-icon,.social-card-icon,.info-icon,.testimonial-avatar,.contact-icon {border-radius:0;background:none;}
.service-card p {font-size:.88rem;line-height:1.8;}
.service-icon {margin-bottom:24px;}
.price-value {font-weight:500;font-size:.85rem;}
.price-row h3 {font-size:1.45rem;}
.cta {background:var(--cream-deep);border-block:1px solid var(--line);}
.cta h2,.cta p {color:var(--ink);}
.cta .btn-light {background:var(--ink);color:var(--cream);}
.faq-item {background:transparent;border-bottom:1px solid var(--line);}
.faq-q {font-weight:400;}
.faq-icon {background:none;}
.credentials span,.key-detail,.process-number,.booking-time-chip {border-radius:0;}
.contact-form,.booking-form-wrap,.calendar-wrap,.slots-wrap {box-shadow:none;}
.contact-form input,.contact-form textarea,.booking-form input {border-radius:0;}
.site-footer {background:var(--cream-deep);}
.footer-inner {border-color:var(--line);}
.footer-title {font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;}
.footer-links a,.footer-bottom p,.footer-bottom a {font-size:.75rem;}
.reveal {opacity:1;transform:none;}
a:focus-visible,button:focus-visible {outline:2px solid var(--ink);outline-offset:5px;}
section[id] {scroll-margin-top:110px;}
@media (min-width:981px) and (max-width:1150px) {
 .main-nav {gap:14px;}.main-nav a {font-size:.6rem;}.nav-pill {gap:14px;padding-inline:16px;}.logo-word {font-size:.73rem;}.header-actions .btn-sm {font-size:.54rem;}
}
@media (max-width:980px) {
 .nav-pill {padding:16px 20px;}.main-nav {border:1px solid var(--line);}.main-nav a {font-size:.76rem;padding:15px 0;}
 /* Anchor the overlay in the screen's last quarter instead of letting
    .hero-full's flex centering place it in the middle. */
 .hero-overlay {position:absolute;left:0;right:0;top:75%;display:block;max-width:100%;width:100%;margin:0;padding:0 24px 52px;}
 .hero-overlay h1 {font-size:clamp(3rem,5.5vw,5.5rem);}
 .hero-bg img {object-position:78% center;}
 /* Scrim as a background on the overlay box itself (not a full-hero
    scrim layer) so it covers only the text, not the whole photo. */
 .hero-overlay {
   background: linear-gradient(90deg, rgb(244 242 239 / 90%) 0%, rgb(244 242 239 / 87%) 48%, rgb(244 242 239 / 65%) 64%, transparent 85%);
   mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 100%);
   padding: 28px 24px 36px;
 }
}
@media (max-width:640px) {
 .hero-overlay h1 {font-size:3rem;}
 .hero-bg img {object-position:78% center;}
 .hero-overlay {padding-bottom:45px;}
 .nav-pill {padding:12px 16px;}.logo-word {font-size:.74rem;}
 .price-row h3 {font-size:1.35rem;}.quote-text {font-size:2rem;}
}
@media (prefers-reduced-motion:reduce) {html {scroll-behavior:auto;}*,*::before,*::after {transition:none!important;animation:none!important;}}
/* Final image framing and compact button spacing. */
.btn-sm {padding:10px 18px;}
.header-actions .btn-sm {padding:3px 0;}
.cert-logo img {filter:grayscale(1);}
@media (max-width:640px) {.hero-bg img {object-position:68% center;}}

/* Full-screen portrait heroes on phones. */
@media (max-width: 640px) and (orientation: portrait) {
  body:has(> main > :is(.hero-full, .services-hero)) #site-header {
    inset: 0 0 auto;
  }

  body:has(> main > :is(.hero-full, .services-hero)) #site-header .nav-pill {
    width: 100%;
    max-width: none;
    height: 56px;
    padding: 0 16px;
    background: #f4f2ef;
  }

  :is(main > .hero-full, .services-page .services-hero) {
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
  }

  main > .hero-full .hero-bg {
    inset: 56px 0 0;
  }

  main > .hero-full .hero-bg img {
    display: block;
    object-fit: cover;
    object-position: 57% center;
  }

  main > .hero-full .hero-scrim,
  .services-page .services-hero::before {
    background: linear-gradient(
      90deg,
      rgb(244 242 239 / 90%) 0%,
      rgb(244 242 239 / 87%) 48%,
      rgb(244 242 239 / 65%) 64%,
      transparent 85%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 57.6%,
      black 70%,
      black 94.4%,
      rgb(0 0 0 / 54%) 100%
    );
  }

  main > .hero-full .hero-overlay {
    position: absolute;
    inset: auto auto calc(40px + env(safe-area-inset-bottom, 0px)) 24px;
    width: fit-content;
    max-width: calc(100% - 48px);
    margin: 0;
    padding: 0;
    background: transparent;
  }

  /* Match the Leistungen page's compact mobile hero copy, so the
     overlay block stays short and more of the photo's face shows
     above it instead of being covered by tag/heading/subhead spacing. */
  main > .hero-full .hero-overlay :is(.tag, h1, .section-sub) {
    margin: 0 0 10px;
  }

  main > .hero-full .hero-overlay .tag {
    padding-bottom: 0;
    border-bottom: none;
  }

  main > .hero-full .hero-overlay h1 {
    font-size: clamp(2.75rem, min(15.1vw, 9svh), 3.7rem);
    line-height: 1.06;
  }

  main > .hero-full .hero-actions {
    margin-top: 10px;
  }
  main:not(:has(> #quote)) > .hero-full .hero-bg img {
    object-position: 78% center;
  }

  main:not(:has(> #quote)) > .hero-full .hero-overlay h1,
  .services-page .services-hero h1 {
    font-size: clamp(2rem, min(10vw, 7svh), 3rem);
    line-height: 1.06;
  }

  .services-page .services-hero-image,
  .services-page .services-hero::before {
    position: absolute;
    inset: 56px 0 0;
  }

  .services-page .services-hero-image {
    width: 100%;
    height: calc(100% - 56px);
    object-position: 75% center;
  }

  .services-page .services-hero::before {
    content: "";
    pointer-events: none;
    z-index: 1;
  }

  .services-page .services-hero-inner {
    position: absolute;
    inset: auto 0 calc(40px + env(safe-area-inset-bottom, 0px));
    z-index: 2;
    display: block;
    height: auto;
    min-height: 0;
  }

  .services-page .services-hero-copy {
    width: fit-content;
    max-width: 100%;
    padding: 0;
  }

  .services-page .services-hero :is(h1, p, .editorial-eyebrow) {
    margin-bottom: 10px;
  }

  .services-page .services-hero p {
    color: var(--ink);
  }

  .services-page .services-hero .editorial-eyebrow::after {
    display: none;
  }
}

/* Clear the fixed mobile header above text-led page heroes. */
@media (max-width: 980px) {
  main > .section.page-hero:first-child {
    padding-top: 104px;
  }
}

/* Content sections: top and bottom padding at half the original values.
   Page heroes are excluded so their heading still clears the fixed header. */
.section:not(.page-hero) { padding-block: 48px; }                  /* was 96px */
.section.quote-section { padding-block: 36px; }                    /* was 72px */
.section.intro-block { padding-block: 44px; }                      /* was 88px */
.section.booking-panel { padding-top: 4px; }                       /* was 8px */
.cta { padding-block: 50px; }                                      /* was 100px */
.treatment-hero ~ .section.faq { padding-top: 16px; }              /* was 32px */
.treatment-hero ~ .section:has(+ .faq) { padding-bottom: 16px; }   /* was 32px */

@media (max-width: 640px) {
  .section:not(.page-hero) { padding-block: 32px; }                /* was 64px */
}

/* ---------- Beauty Blog: cards and article pages ---------- */
.news-grid:has(> .news-link:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
.news-grid:has(> .news-link:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.news-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: border-color .2s ease; }
.news-link:hover { border-color: var(--ink); }
.news-link h3 { transition: opacity .2s ease; }
.news-link:hover h3 { opacity: .7; }
img.news-thumb { display: block; width: 100%; height: 240px; object-fit: cover; }

.blog-back { display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.blog-post-hero .wrap { max-width: 860px; }
.blog-post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 22px 0 14px; }
.blog-post { max-width: 720px; margin: 0 auto; }
.blog-post-image { margin: 0 0 44px; }
.blog-post-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.blog-post h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 1.9em 0 .55em; }
.blog-post p { font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.1em; }
.blog-post strong { font-weight: 600; }
.blog-post-back { margin-top: 2.4em !important; }

@media (max-width: 980px) {
  .news-grid:has(> .news-link:nth-child(3)) { grid-template-columns: 1fr; }
}

/* ---------- Südafrika story ---------- */
.story-cta { margin-top: 2.4em !important; text-align: center; }

/* ---------- Südafrika houses ---------- */
.houses .wrap { max-width: 1160px; }
.house { padding-block: 36px; border-top: 1px solid var(--line); }
.house:first-of-type { border-top: 0; padding-top: 0; }
.house-head { max-width: 720px; margin-bottom: 22px; }
.house-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 4px; }
.house-place { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-soft); margin: 0 0 12px; }
.house-text { margin: 0; line-height: 1.7; }
.house-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.house-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.house-link { display: inline-block; margin-top: 18px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.house-link:hover { opacity: .7; }
@media (max-width: 760px) {
  .house-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ---------- CV page ---------- */
.cv h2 { margin-top: 2em; }
.cv a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Standort pages (we-are-beautiful-in-*.html) ---------- */
.location-hero .wrap { max-width: 860px; }
.location-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 22px 0 14px; }
.location-hero-address { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--gray); margin: 0 0 28px; }
.location-hero-address svg { width: 18px; height: 18px; flex: none; }
.location-text .location-lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.location-text .about-points { margin: 0 0 1.4em; gap: 14px; }
.location-text .about-points li { font-size: 1rem; line-height: 1.75; }
.location-team-inner { display: flex; flex-direction: column; gap: 72px; max-width: 980px; margin: 0 auto; }
.location-person .about-image-frame { aspect-ratio: 1; }
.location-person:nth-child(even) .about-media { order: 2; }
.location-person:nth-child(even) { grid-template-columns: 7fr 3fr; }
@media (max-width: 760px) {
  .location-team-inner { gap: 48px; }
  .location-person, .location-person:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .location-person:nth-child(even) .about-media { order: 0; }
  .location-person .about-media { max-width: 280px; }
}

/* ---------- 404 page ---------- */
.notfound-hero { padding-bottom: 96px; }
.notfound-hero .wrap { max-width: 760px; }
.notfound-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 22px 0 14px; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Südafrika hero on wide screens ----------
   The photo fills the full width, so the couple sits at the same fraction of the screen at every size, and the
   light wall is only the left ~quarter. The centred content column moves right as screens get wider and put the
   heading on the dark T-shirt. From 1300px the heading is placed on the wall instead (left edge at 3.5% of the width),
   and slightly smaller up to ~1800px so it ends before the shirt on laptop screens too. */
@media (min-width: 1300px) {
  .suedafrika-page .hero-overlay { max-width: none; margin: 0; padding-left: 3.5vw; padding-right: 0; }
  .suedafrika-page .hero-overlay h1 { font-size: clamp(3.5rem, 4.6vw, 5.2rem); }
}
