:root {
  --bg: #fbf8f3;
  --bg-soft: #f5efe7;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #302b27;
  --ink-soft: #5f5851;
  --muted: #766e66;
  --sage: #6d7b68;
  --sage-dark: #4c5c49;
  --sage-soft: #e5ebe1;
  --terracotta: #ad6f57;
  --terracotta-dark: #8e5743;
  --terracotta-soft: #f1dfd6;
  --sand: #d9c7b0;
  --line: rgba(78, 69, 61, .13);
  --line-strong: rgba(78, 69, 61, .22);
  --shadow-sm: 0 14px 38px rgba(72, 58, 47, .08);
  --shadow-md: 0 24px 70px rgba(67, 52, 41, .13);
  --shadow-lg: 0 36px 90px rgba(54, 43, 35, .18);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --container: 1240px;
  --header-height: 86px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  border-radius: 10px;
  background: var(--sage-dark);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-kicker.light {
  color: rgba(255,255,255,.72);
}

.section-heading {
  max-width: 790px;
}

.section-heading h2,
.trust-intro h2,
.science-profile h2,
.final-cta-card h2 {
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.section-heading p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .section-kicker {
  justify-content: center;
}

.section-heading-centered p {
  margin-inline: auto;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.15;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.header-book:focus-visible,
.language-switcher button:focus-visible,
.menu-toggle:focus-visible,
.modal-close:focus-visible,
.mobile-book:focus-visible,
.article-card summary:focus-visible {
  outline: 3px solid rgba(173, 111, 87, .28);
  outline-offset: 3px;
}

.button svg {
  width: 20px;
  height: 20px;
}

.button-primary {
  color: #fff;
  background: var(--terracotta);
  box-shadow: 0 15px 32px rgba(173, 111, 87, .24);
}

.button-primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 19px 38px rgba(142, 87, 67, .28);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.58);
}

.button-secondary:hover {
  border-color: rgba(109, 123, 104, .4);
  background: #fff;
}

.button-light {
  color: var(--sage-dark);
  background: #fffdf9;
  box-shadow: 0 16px 36px rgba(31, 38, 28, .18);
}

.button-light:hover {
  background: #fff;
  box-shadow: 0 20px 44px rgba(31, 38, 28, .24);
}

.button-full {
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(251, 248, 243, .92);
  box-shadow: 0 10px 30px rgba(70, 56, 46, .06);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  min-width: 250px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(173, 111, 87, .18);
  border-radius: 17px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 28px rgba(79, 60, 49, .09);
}

.brand-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: -.015em;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  padding: 10px 0;
  color: #4f4842;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--terracotta);
  transition: right .25s var(--ease);
}

.primary-nav a:hover {
  color: var(--terracotta-dark);
}

.primary-nav a:hover::after {
  right: 0;
}

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

.language-switcher {
  --active-index: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 38px);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
}

.language-slider {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 4px;
  width: 38px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--sage-dark);
  transform: translateX(calc(var(--active-index) * 38px));
  transition: transform .28s var(--ease);
}

.language-switcher button {
  position: relative;
  z-index: 1;
  height: 32px;
  padding: 0;
  color: var(--muted);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
  transition: color .2s ease;
}

.language-switcher button.active {
  color: #fff;
}

.header-book {
  height: 42px;
  padding: 0 16px;
  color: #fff;
  border-radius: 13px;
  background: var(--terracotta);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: transform .2s var(--ease), background .2s ease;
}

.header-book:hover {
  transform: translateY(-1px);
  background: var(--terracotta-dark);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  min-height: 840px;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 74px);
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 6% 14%, rgba(233, 208, 192, .55), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(218, 227, 211, .7), transparent 28%),
    linear-gradient(180deg, #fcfaf6, #f8f3ec);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(rgba(89, 74, 63, .12) .8px, transparent .8px);
  background-size: 23px 23px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
}

.hero-glow-one {
  left: -180px;
  bottom: 4%;
  background: #d9aa91;
}

.hero-glow-two {
  right: -160px;
  top: 22%;
  background: #aebda9;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(54px, 7vw, 104px);
  align-items: center;
}

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

.hero-doctor-line {
  margin: 0 0 22px;
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.1vw, 84px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.052em;
}

.hero-statement {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.35;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.fact-card {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(8px);
}

.fact-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  border-radius: 12px;
  background: var(--sage-soft);
}

.fact-icon svg {
  width: 20px;
  height: 20px;
}

.fact-card > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.fact-card strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
}

.fact-card small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-shell {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: .92;
}

.portrait-shell::before {
  content: "";
  position: absolute;
  inset: 9% 4% 4% 9%;
  border-radius: 45% 45% 28% 28% / 38% 38% 25% 25%;
  background: linear-gradient(145deg, #dfe7db, #ecd9cc);
  transform: rotate(3deg);
}

.portrait-rings {
  position: absolute;
  inset: 1% -4% -3% 2%;
  border: 1px solid rgba(109, 123, 104, .22);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.portrait-rings::before,
.portrait-rings::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(173, 111, 87, .17);
  border-radius: 50%;
}

.portrait-rings::before {
  inset: 6% 2% -2% 8%;
}

.portrait-rings::after {
  inset: 13% 8% 2% 2%;
}

.portrait-shell picture {
  position: absolute;
  inset: 7% 8% 5% 10%;
  overflow: hidden;
  border: 10px solid rgba(255,255,255,.86);
  border-radius: 44% 44% 28% 28% / 36% 36% 24% 24%;
  background: #ddd;
  box-shadow: var(--shadow-lg);
}

.portrait-shell picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.portrait-note {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  background: rgba(255,253,249,.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.portrait-note-top {
  top: 15%;
  right: -6%;
}

.portrait-note-bottom {
  left: -5%;
  bottom: 13%;
}

.note-dot,
.note-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 900;
}

.note-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

.portrait-note > span:last-child {
  display: grid;
  gap: 2px;
}

.portrait-note strong {
  font-size: 11px;
}

.portrait-note small {
  color: var(--muted);
  font-size: 9px;
}

.philosophy {
  background: #fffdf9;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.philosophy-content {
  padding-top: 32px;
}

.philosophy-content p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

.philosophy-content blockquote {
  position: relative;
  margin: 34px 0 0;
  padding: 28px 30px 28px 42px;
  border: 1px solid rgba(173, 111, 87, .18);
  border-radius: 22px;
  background: var(--terracotta-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.4;
}

.philosophy-content blockquote::before {
  content: "“";
  position: absolute;
  top: 9px;
  left: 14px;
  color: var(--terracotta);
  font-size: 48px;
  line-height: 1;
}

.help {
  background: var(--bg-soft);
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 58px;
}

.question-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,253,249,.78);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}

.question-card:hover {
  transform: translateY(-5px);
  border-color: rgba(173, 111, 87, .3);
  box-shadow: 0 24px 54px rgba(72, 58, 47, .12);
}

.question-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--terracotta-dark);
  border-radius: 14px;
  background: var(--terracotta-soft);
  font-size: 11px;
  font-weight: 900;
}

.question-card h3 {
  margin: 30px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.question-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.expertise {
  background: #fffdf9;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 58px;
}

.expertise-card {
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 123, 104, .32);
  box-shadow: var(--shadow-sm);
}

.expertise-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  border-radius: 15px;
  background: var(--sage-soft);
  font-family: Georgia, serif;
  font-size: 22px;
}

.expertise-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.trust {
  background:
    radial-gradient(circle at 92% 20%, rgba(238, 212, 196, .55), transparent 28%),
    linear-gradient(135deg, #e9eee6, #f6f0e8);
}

.trust-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(60px, 8vw, 110px);
  align-items: start;
}

.trust-intro {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.trust-intro h2 {
  font-size: clamp(42px, 4.8vw, 65px);
}

.trust-intro p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.trust-points {
  display: grid;
  gap: 14px;
}

.trust-point {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(79, 67, 58, .11);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 14px 40px rgba(76, 62, 52, .07);
}

.trust-point > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--terracotta-dark);
  border-radius: 16px;
  background: var(--terracotta-soft);
  font-size: 12px;
  font-weight: 900;
}

.trust-point h3 {
  margin: 0;
  font-size: 18px;
}

.trust-point p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.science {
  background: #fffdf9;
}

.science-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 24px;
  align-items: stretch;
}

.science-profile {
  position: relative;
  overflow: hidden;
  padding: 46px;
  color: #fff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 12%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(145deg, #687664, #435143);
  box-shadow: var(--shadow-md);
}

.science-profile::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

.science-profile h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(40px, 4vw, 58px);
}

.science-profile p {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 15px;
  line-height: 1.85;
}

.science-badges {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.science-badges span {
  display: grid;
  gap: 3px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.08);
}

.science-badges strong {
  font-size: 15px;
}

.science-badges small {
  color: rgba(255,255,255,.62);
  font-size: 11px;
}

.articles {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.articles-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.articles-heading h3 {
  max-width: 540px;
  margin: 15px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.12;
}

.articles-note {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--sage-dark);
  border-radius: 999px;
  background: var(--sage-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-card {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.article-card:last-child {
  border-bottom: 1px solid var(--line);
}

.article-card summary {
  position: relative;
  padding: 22px 50px 22px 0;
  cursor: pointer;
  list-style: none;
}

.article-card summary::-webkit-details-marker {
  display: none;
}

.article-card summary::after {
  content: "+";
  position: absolute;
  top: 28px;
  right: 4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--terracotta-dark);
  border-radius: 10px;
  background: var(--terracotta-soft);
  font-size: 20px;
  transition: transform .25s ease;
}

.article-card[open] summary::after {
  transform: rotate(45deg);
}

.article-tag {
  display: inline-block;
  color: var(--terracotta-dark);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-card h4 {
  margin: 9px 0 7px;
  font-size: 17px;
  line-height: 1.4;
}

.article-card summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.article-open {
  display: inline-block;
  margin-top: 10px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 800;
}

.article-body {
  padding: 0 42px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.stories {
  background: var(--bg-soft);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.story-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffdf9;
}

.story-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 111, 87, .14), transparent 70%);
}

.story-label {
  display: inline-block;
  padding: 7px 10px;
  color: var(--sage-dark);
  border-radius: 999px;
  background: var(--sage-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 34px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.story-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.consultations {
  background: #fffdf9;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 58px;
}

.consultation-card {
  position: relative;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  padding: 38px;
  overflow: hidden;
  border-radius: 32px;
}

.consultation-inperson {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.consultation-online {
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(145deg, #6b7868, #425142 78%);
  box-shadow: var(--shadow-md);
}

.online-pattern {
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background-image: linear-gradient(30deg, transparent 49%, #fff 50%, transparent 51%), linear-gradient(-30deg, transparent 49%, #fff 50%, transparent 51%);
  background-size: 52px 52px;
}

.consultation-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.consultation-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  color: var(--terracotta-dark);
  border-radius: 19px;
  background: var(--terracotta-soft);
}

.consultation-icon svg {
  width: 29px;
  height: 29px;
}

.consultation-heading div {
  display: grid;
  gap: 4px;
}

.consultation-heading div > span {
  color: var(--terracotta-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.consultation-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.light-icon {
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.1);
}

.light-heading div > span {
  color: rgba(255,255,255,.68);
}

.consultation-intro {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.consultation-online .consultation-intro {
  color: rgba(255,255,255,.73);
}

.clinic-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 26px;
}

.clinic-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 19px;
  border: 1px solid rgba(79, 67, 58, .1);
  border-radius: 19px;
  background: rgba(255,255,255,.72);
}

.clinic-letter {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  border-radius: 12px;
  background: var(--sage-soft);
  font-size: 12px;
  font-weight: 900;
}

.clinic-card h4 {
  margin: 0;
  font-size: 15px;
}

.clinic-card a {
  display: inline-block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.clinic-card a:hover {
  color: var(--terracotta-dark);
}

.clinic-schedule {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 11px;
}

.clinic-schedule strong {
  color: var(--ink);
  text-align: right;
}

.online-list {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 24px;
  margin: 52px 0 48px;
  padding: 0;
  list-style: none;
}

.online-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.online-list li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #f1d4c5;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px;
  background: rgba(255,255,255,.09);
  font-weight: 900;
}

.online-list div {
  display: grid;
  gap: 5px;
}

.online-list strong {
  font-size: 14px;
}

.online-list small {
  color: rgba(255,255,255,.66);
  font-size: 12px;
  line-height: 1.55;
}

.consultation-card .button {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.reviews {
  background: var(--bg-soft);
}

.reviews-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.reviews-intro h2 {
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.reviews-intro p {
  margin: 23px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.reviews-panel {
  min-height: 410px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fffdf9;
  box-shadow: var(--shadow-sm);
}

.reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.reviews-toolbar > div {
  display: grid;
  gap: 3px;
}

.reviews-toolbar strong {
  font-size: 14px;
}

.reviews-toolbar small {
  color: var(--muted);
  font-size: 10px;
}

.moderation-pill {
  padding: 8px 10px;
  color: var(--terracotta-dark);
  border-radius: 999px;
  background: var(--terracotta-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reviews-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.review-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.review-author {
  display: grid;
  gap: 3px;
}

.review-author strong {
  font-size: 13px;
}

.review-author small {
  color: var(--muted);
  font-size: 10px;
}

.review-status {
  height: fit-content;
  padding: 6px 8px;
  color: var(--terracotta-dark);
  border-radius: 999px;
  background: var(--terracotta-soft);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-stars {
  margin-top: 10px;
  color: #b8873d;
  letter-spacing: 2px;
}

.review-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.reviews-empty {
  min-height: 285px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  text-align: center;
}

.reviews-empty > span {
  height: 72px;
  color: var(--sand);
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 1;
}

.reviews-empty p {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.final-cta {
  padding-top: 90px;
  padding-bottom: 90px;
  background: #fffdf9;
}

.final-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  padding: 48px;
  color: #fff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 20%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(145deg, #a96c55, #81513f);
  box-shadow: var(--shadow-md);
}

.final-cta-card h2 {
  max-width: 800px;
  font-size: clamp(38px, 4.5vw, 62px);
}

.final-cta-card p {
  max-width: 780px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.75;
}

.site-footer {
  color: rgba(255,255,255,.78);
  background: #332f2b;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-top: 48px;
  padding-bottom: 38px;
}

.brand-footer .brand-logo {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.94);
  box-shadow: none;
}

.brand-footer .brand-text strong {
  color: #fff;
}

.brand-footer .brand-text small {
  color: rgba(255,255,255,.5);
}

.footer-brand p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.55);
  font-family: Georgia, serif;
  font-size: 17px;
}

.footer-info {
  display: flex;
  gap: 48px;
}

.footer-info > div {
  display: grid;
  gap: 5px;
}

.footer-info span {
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-info strong {
  font-size: 12px;
}

.footer-bottom {
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.38);
  text-align: center;
  font-size: 10px;
}

.mobile-book {
  position: fixed;
  z-index: 35;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 14px;
  min-height: 52px;
  display: none;
  color: #fff;
  border-radius: 16px;
  background: var(--terracotta);
  box-shadow: 0 18px 42px rgba(110, 66, 49, .35);
  cursor: pointer;
  font-weight: 800;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .24s ease, visibility .24s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(39, 33, 29, .58);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 30px;
  background: #fffdf9;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.985);
  transition: transform .28s var(--ease);
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-dialog-small {
  width: min(100%, 620px);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-heading {
  padding-right: 42px;
}

.modal-kicker {
  color: var(--terracotta-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.modal-heading h2 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.1;
}

.modal-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  position: relative;
  display: grid;
  gap: 8px;
}

.field > span:first-child,
.rating-field legend {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  outline: none;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 120px;
  padding: 14px 15px 28px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(173, 111, 87, .62);
  box-shadow: 0 0 0 4px rgba(173, 111, 87, .09);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b6564d;
  background: #fff9f8;
}

.field small,
.rating-field small,
.consent-error {
  display: none;
  color: #a7443e;
  font-size: 10px;
}

.field.has-error small,
.rating-field.has-error small,
.consent-error.show {
  display: block;
}

.char-counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--muted);
  font-size: 9px;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  line-height: 1.55;
}

.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.consent input:checked + .checkmark {
  color: #fff;
  border-color: var(--sage-dark);
  background: var(--sage-dark);
}

.consent input:focus-visible + .checkmark {
  outline: 3px solid rgba(109, 123, 104, .2);
  outline-offset: 2px;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.rating-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 8px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
}

.star-rating label {
  color: #d9d0c5;
  cursor: pointer;
  font-size: 31px;
  line-height: 1;
  transition: color .15s ease, transform .15s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #b8873d;
}

.star-rating label:hover {
  transform: scale(1.08);
}

.success-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--sage-dark);
  font-size: 28px;
  font-weight: 900;
}

.success-state h2 {
  margin: 22px 0 0;
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 500;
}

.success-state p {
  max-width: 480px;
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: .12s;
}

.reveal-delay-small {
  transition-delay: .08s;
}

.reveal-delay-medium {
  transition-delay: .15s;
}

@media (max-width: 1180px) {
  :root {
    --container: 1080px;
  }

  .header-book {
    display: none;
  }

  .primary-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr .82fr;
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(52px, 6vw, 72px);
  }

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

  .fact-card:last-child {
    grid-column: 1 / -1;
  }

  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .consultation-card {
    min-height: auto;
  }

  .consultation-online {
    min-height: 560px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .section {
    padding: 94px 0;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

  .menu-toggle {
    display: flex;
    order: 2;
  }

  .header-actions {
    order: 3;
  }

  .primary-nav {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 2px;
    padding: 14px;
    visibility: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,253,249,.97);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .primary-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .primary-nav a:hover {
    background: var(--bg-soft);
  }

  .primary-nav a::after {
    display: none;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 62px);
  }

  .hero-grid,
  .philosophy-grid,
  .trust-layout,
  .science-grid,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .portrait-shell {
    width: min(100%, 560px);
  }

  .philosophy-content {
    padding-top: 0;
  }

  .question-grid,
  .expertise-grid,
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-intro {
    position: static;
  }

  .science-profile,
  .articles {
    padding: 38px;
  }

  .footer-main {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .site-header {
    background: rgba(251, 248, 243, .9);
    backdrop-filter: blur(16px);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
  }

  .brand-logo img {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .language-switcher {
    grid-template-columns: repeat(3, 32px);
  }

  .language-slider {
    width: 32px;
    transform: translateX(calc(var(--active-index) * 32px));
  }

  .language-switcher button {
    height: 30px;
    font-size: 8px;
  }

  .hero {
    padding-bottom: 74px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 64px);
  }

  .hero-statement {
    font-size: 22px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

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

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

  .fact-card:last-child {
    grid-column: auto;
  }

  .portrait-note {
    min-width: 165px;
    padding: 10px 11px;
  }

  .portrait-note-top {
    right: 0;
  }

  .portrait-note-bottom {
    left: 0;
  }

  .section-heading h2,
  .trust-intro h2,
  .science-profile h2,
  .reviews-intro h2,
  .final-cta-card h2 {
    font-size: clamp(37px, 10vw, 50px);
  }

  .philosophy-content p {
    font-size: 15px;
  }

  .philosophy-content blockquote {
    padding: 24px 22px 24px 35px;
    font-size: 21px;
  }

  .question-grid,
  .expertise-grid,
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .question-card,
  .story-card {
    min-height: auto;
  }

  .expertise-card {
    min-height: 105px;
  }

  .trust-point {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .trust-point > span {
    width: 44px;
    height: 44px;
  }

  .science-profile,
  .articles {
    padding: 27px;
    border-radius: 26px;
  }

  .articles-heading {
    display: grid;
  }

  .articles-note {
    width: fit-content;
  }

  .consultation-card {
    padding: 26px;
    border-radius: 26px;
  }

  .consultation-heading h3 {
    font-size: 29px;
  }

  .consultation-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
  }

  .clinic-card {
    grid-template-columns: 36px 1fr;
    padding: 16px;
  }

  .clinic-letter {
    width: 34px;
    height: 34px;
  }

  .clinic-schedule {
    display: grid;
  }

  .clinic-schedule strong {
    text-align: left;
  }

  .online-list {
    margin-top: 38px;
    margin-bottom: 38px;
  }

  .reviews-panel {
    padding: 22px;
    border-radius: 24px;
  }

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

  .final-cta-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
    border-radius: 27px;
  }

  .final-cta-card .button {
    width: 100%;
  }

  .footer-main {
    display: grid;
    gap: 30px;
  }

  .footer-info {
    display: grid;
    gap: 18px;
  }

  .mobile-book {
    display: block;
  }

  .site-footer {
    padding-bottom: 74px;
  }

  .modal {
    align-items: end;
    padding: 10px;
  }

  .modal-dialog {
    width: 100%;
    max-height: 94vh;
    padding: 28px 20px 22px;
    border-radius: 26px 26px 14px 14px;
  }

  .modal-heading h2 {
    font-size: 31px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

  .header-inner {
    gap: 8px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .language-switcher {
    grid-template-columns: repeat(3, 28px);
    padding: 3px;
  }

  .language-slider {
    top: 3px;
    left: 3px;
    width: 28px;
    height: calc(100% - 6px);
    transform: translateX(calc(var(--active-index) * 28px));
  }

  .language-switcher button {
    height: 28px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .portrait-note {
    min-width: 145px;
  }

  .portrait-note small {
    display: none;
  }

  .question-card,
  .story-card,
  .consultation-card {
    padding: 22px;
  }

  .science-profile,
  .articles {
    padding: 23px;
  }

  .article-card summary {
    padding-right: 42px;
  }

  .reviews-toolbar {
    display: grid;
  }

  .moderation-pill {
    width: fit-content;
  }
}

@media (min-width: 1500px) {
  :root {
    --container: 1400px;
  }

  .hero {
    min-height: 920px;
  }

  .hero h1 {
    font-size: 91px;
  }

  .portrait-shell {
    width: 590px;
  }
}

@media (min-width: 1900px) {
  :root {
    --container: 1580px;
  }

  .hero {
    min-height: 980px;
  }

  .hero h1 {
    font-size: 104px;
  }

  .hero-lead {
    max-width: 790px;
    font-size: 18px;
  }

  .portrait-shell {
    width: 670px;
  }

  .question-card {
    min-height: 290px;
  }

  .consultation-card {
    padding: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Accessible custom checkboxes */
.consent {
  position: relative;
}

.consent input {
  z-index: 2;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  pointer-events: auto;
}

.checkmark {
  pointer-events: none;
}


/* Text update: four professional facts in the hero */
.hero-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fact-card strong {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  line-height: 1.25;
}
@media (max-width: 1180px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-card:last-child { grid-column: auto; }
}
@media (max-width: 620px) {
  .hero-facts { grid-template-columns: 1fr; }
}

/* ===== Secure booking system ===== */
.booking-dialog {
  width: min(100%, 920px);
  max-height: min(94vh, 980px);
}

.booking-dialog form {
  gap: 18px;
}

.booking-step {
  display: grid;
  gap: 10px;
}

.booking-step-label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.booking-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mode-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mode-selector button {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px 16px;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}

.mode-selector button:hover {
  transform: translateY(-1px);
  border-color: rgba(173, 111, 87, .42);
}

.mode-selector button.active {
  color: var(--terracotta-dark);
  border-color: rgba(173, 111, 87, .58);
  background: var(--terracotta-soft);
  box-shadow: 0 0 0 3px rgba(173, 111, 87, .08);
}

.mode-selector button span {
  font-size: 14px;
  font-weight: 850;
}

.mode-selector button small {
  color: var(--muted);
  font-size: 10px;
}

.booking-inline-error {
  display: none;
  color: #a7443e;
  font-size: 10px;
}

.booking-inline-error.show {
  display: block;
}

.booking-calendar {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.calendar-header {
  min-height: 56px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 239, 231, .5);
}

.calendar-header strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.calendar-header button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.calendar-header button:disabled {
  cursor: not-allowed;
  opacity: .3;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  padding: 12px 12px 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  gap: 5px;
  padding: 7px 12px 14px;
}

.calendar-empty,
.calendar-day {
  min-width: 0;
  aspect-ratio: 1;
}

.calendar-day {
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.calendar-day:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(173, 111, 87, .28);
  background: var(--terracotta-soft);
}

.calendar-day.selected {
  color: #fff;
  border-color: var(--terracotta);
  background: var(--terracotta);
  box-shadow: 0 7px 16px rgba(173, 111, 87, .2);
}

.calendar-day:disabled {
  color: rgba(95, 88, 81, .28);
  cursor: not-allowed;
  background: rgba(245, 239, 231, .35);
}

.schedule-message,
.hold-notice,
.booking-error-banner {
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 10px;
  line-height: 1.55;
}

.schedule-message {
  color: var(--sage-dark);
  border: 1px solid rgba(109, 123, 104, .18);
  background: var(--sage-soft);
}

.hold-notice {
  color: #6f5530;
  border: 1px solid rgba(184, 135, 61, .2);
  background: #fbf2df;
}

.booking-error-banner {
  color: #8f3833;
  border: 1px solid rgba(182, 86, 77, .2);
  background: #fff1ef;
}

.availability-state {
  color: var(--muted);
  font-size: 10px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.time-slot {
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 9px;
  color: var(--sage-dark);
  border: 1px solid rgba(109, 123, 104, .22);
  border-radius: 14px;
  background: rgba(229, 235, 225, .56);
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.time-slot:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: var(--sage);
}

.time-slot.selected,
.time-slot.held-by-you {
  color: #fff;
  border-color: var(--sage-dark);
  background: var(--sage-dark);
  box-shadow: 0 8px 20px rgba(76, 92, 73, .18);
}

.time-slot.busy,
.time-slot.held {
  color: rgba(95, 88, 81, .55);
  border-color: var(--line);
  background: var(--bg-soft);
  cursor: not-allowed;
  opacity: .68;
}

.time-slot strong {
  font-size: 13px;
}

.time-slot small {
  font-size: 8px;
}

.time-slots-placeholder {
  grid-column: 1 / -1;
  margin: 0;
  padding: 17px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(245, 239, 231, .35);
  font-size: 10px;
  text-align: center;
}

.error-text {
  color: #9a4740;
}

.verification-box {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(245, 239, 231, .46);
}

.verification-top,
.verification-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.verification-top > div {
  display: grid;
  gap: 3px;
}

.verification-top strong {
  font-size: 11px;
}

.verification-top small,
.verification-status {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.verification-code-row input {
  min-width: 0;
  height: 44px;
  flex: 1;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  background: #fff;
  letter-spacing: .18em;
}

.verification-status {
  margin: 0;
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 10px;
}

.turnstile-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.confirmation-list {
  width: min(100%, 520px);
  display: grid;
  gap: 8px;
  margin: 20px 0 25px;
}

.confirmation-list > div {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
  text-align: left;
}

.confirmation-list dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.confirmation-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.cancel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.submit-button.is-loading,
#submit-booking.is-loading {
  cursor: wait;
  opacity: .68;
}

@media (max-width: 720px) {
  .booking-dialog {
    max-height: 96vh;
  }

  .mode-selector {
    grid-template-columns: 1fr;
  }

  .mode-selector button {
    min-height: 64px;
  }

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

  .calendar-header {
    min-height: 52px;
  }

  .calendar-grid {
    gap: 3px;
    padding-inline: 8px;
  }

  .calendar-weekdays {
    padding-inline: 8px;
  }

  .calendar-day {
    border-radius: 10px;
  }

  .verification-top,
  .verification-code-row,
  .cancel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .verification-top .button,
  .verification-code-row .button,
  .cancel-actions .button {
    width: 100%;
  }

  .confirmation-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 430px) {
  .time-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-header {
    grid-template-columns: 36px 1fr 36px;
  }

  .calendar-header button {
    width: 34px;
    height: 34px;
  }

  .calendar-header strong {
    font-size: 16px;
  }

  .calendar-weekdays {
    font-size: 8px;
  }

  .calendar-day {
    font-size: 10px;
  }
}
