/*
Theme Name: Novella Clinic
Description: Кастомная тема сайта центра здоровья «Новелла».
Version: 0.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: novella-clinic
*/
:root {
  color-scheme: light;
  --ink: #352c30;
  --muted: #756a6f;
  --rose: #b44770;
  --rose-dark: #96365d;
  --rose-soft: #f8edf1;
  --rose-pale: #fcf7f8;
  --paper: #fffdfc;
  --white: #ffffff;
  --line: #ecdee3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --container: 1180px;
  --shadow: 0 18px 50px rgba(78, 39, 54, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
}

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

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

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

button {
  font: inherit;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(180, 71, 112, 0.45);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

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

.utility-bar {
  border-bottom: 1px solid rgba(236, 222, 227, 0.75);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.025em;
}

.utility-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.utility-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pin-icon {
  position: relative;
  width: 9px;
  height: 9px;
  border: 1px solid var(--rose);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0.85);
}

.pin-icon::after {
  position: absolute;
  inset: 2px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  content: "";
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(236, 222, 227, 0.72);
  background: rgba(255, 253, 252, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
}

.brand-logo {
  display: block;
  width: 170px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 28px);
  color: #665c60;
  font-size: 13px;
}

.primary-nav > a {
  position: relative;
  padding-block: 8px;
  transition: color 180ms ease;
}

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

.primary-nav .nav-review {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1px solid #e5c6d2;
  border-radius: 999px;
  color: var(--rose-dark);
  font-weight: 600;
}

.primary-nav .nav-review:hover {
  border-color: var(--rose);
  background: var(--rose-soft);
}

.nav-review span {
  font-size: 13px;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.header-phone {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 12px;
}

.button-primary {
  background: var(--rose);
  box-shadow: 0 9px 22px rgba(180, 71, 112, 0.2);
  color: white;
}

.button-primary:hover {
  background: var(--rose-dark);
  box-shadow: 0 12px 24px rgba(150, 54, 93, 0.25);
}

.button-outline {
  border-color: #e3c8d2;
  background: rgba(255, 255, 255, 0.72);
  color: var(--rose-dark);
}

.button-outline:hover {
  border-color: var(--rose);
  background: var(--rose-soft);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button-star {
  color: var(--rose);
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
}

.button-star svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 44px;
  background:
    radial-gradient(circle at 88% 44%, rgba(248, 237, 241, 0.68), transparent 27%),
    var(--paper);
}

.hero-grid {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: clamp(35px, 6vw, 90px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 28px 43px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 19px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(180, 71, 112, 0.1);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 650px;
  margin-bottom: 21px;
  font-size: clamp(50px, 6.25vw, 78px);
  line-height: 0.99;
}

h1 em,
h2 em {
  color: var(--rose);
  font-weight: 400;
}

.hero-description {
  max-width: 515px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: #887d82;
  font-size: 11px;
  letter-spacing: 0.025em;
}

.footnote-line {
  width: 35px;
  height: 1px;
  background: #c87895;
}

.hero-art-wrap {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.hero-art-ring {
  position: absolute;
  width: min(95%, 455px);
  aspect-ratio: 0.84;
  border: 1px solid #e6cbd5;
  border-radius: 47% 47% 45% 45%;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, 0.92), transparent 60%),
    linear-gradient(145deg, #f7e9ef, #fbf6f7 76%);
  transform: rotate(5deg);
}

.hero-art {
  position: relative;
  z-index: 1;
  width: min(100%, 405px);
  height: 556px;
  overflow: hidden;
  border-radius: 48% 48% 21px 21px;
  background: white;
  box-shadow: 0 24px 55px rgba(99, 47, 68, 0.1);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.art-note {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 43px;
  width: 48px;
  height: 48px;
  color: rgba(180, 71, 112, 0.72);
  pointer-events: none;
}

.art-note svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facts-band {
  border-top: 1px solid #f2e7eb;
  border-bottom: 1px solid #f2e7eb;
  background: #fff;
}

.facts-grid {
  display: grid;
  min-height: 112px;
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 17px 22px;
}

.fact + .fact {
  border-left: 1px solid #f0e5e9;
}

.fact-number {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
}

.fact-number span {
  font-size: 25px;
}

.fact-words {
  font-size: 23px;
  line-height: 0.98;
}

.fact-label {
  max-width: 142px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.section {
  padding: 105px 0;
  scroll-margin-top: 100px;
}

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

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

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
}

.section-intro {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.service-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px 28px 25px;
  border: 1px solid #f0e4e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(77, 47, 57, 0.035);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #e6c7d2;
  box-shadow: var(--shadow);
}

.service-card-rose {
  border-color: #efd7e0;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 196, 208, 0.25), transparent 43%),
    #fcf7f8;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.service-number {
  color: #b58a99;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.service-icon {
  width: 49px;
  color: var(--rose);
}

.service-card h3,
.doctor-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.service-card > p {
  min-height: 72px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 21px;
}

.service-tags span {
  padding: 5px 9px;
  border: 1px solid #ecdce2;
  border-radius: 999px;
  color: #78666d;
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  font-size: 15px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.about-section {
  overflow: hidden;
  padding: 85px 0;
  background: #faf3f5;
  scroll-margin-top: 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(50px, 9vw, 130px);
}

.about-art {
  position: relative;
  display: grid;
  min-height: 425px;
  place-items: center;
}

.about-art-circle {
  position: absolute;
  width: 345px;
  height: 345px;
  border: 1px solid #e6c8d3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.12) 72%);
}

.tree-illustration {
  position: relative;
  z-index: 1;
  width: min(100%, 385px);
  color: #aa456c;
  filter: drop-shadow(0 10px 12px rgba(167, 83, 113, 0.08));
}

.about-art-label {
  position: absolute;
  right: 3px;
  bottom: 50px;
  color: #ba7b92;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-align: right;
}

.about-copy {
  max-width: 570px;
}

.about-copy .eyebrow {
  margin-bottom: 15px;
}

.about-copy h2 {
  max-width: 500px;
  margin-bottom: 25px;
}

.about-lead {
  margin-bottom: 15px;
  color: #574b50;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
}

.about-text {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.specialists-section {
  padding-bottom: 87px;
}

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

.doctor-card {
  padding: 15px 15px 24px;
  border: 1px solid #efe3e7;
  border-radius: 18px;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.doctor-avatar {
  position: relative;
  display: grid;
  height: 202px;
  overflow: hidden;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 12px;
  background: #f7edf1;
}

.doctor-avatar::before,
.doctor-avatar::after,
.doctor-avatar i {
  position: absolute;
  display: block;
  border: 1px solid rgba(180, 71, 112, 0.2);
  border-radius: 50%;
  content: "";
}

.doctor-avatar::before {
  width: 205px;
  height: 205px;
}

.doctor-avatar::after {
  width: 163px;
  height: 163px;
}

.doctor-avatar i {
  width: 126px;
  height: 126px;
  border-color: rgba(180, 71, 112, 0.29);
}

.doctor-avatar span {
  position: relative;
  z-index: 1;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  letter-spacing: -0.08em;
}

.avatar-two {
  background: #f8f4f1;
}

.avatar-two::before {
  width: 222px;
  height: 160px;
  transform: rotate(-22deg);
}

.avatar-three {
  background: #f3eff1;
}

.avatar-three::before {
  width: 174px;
  height: 220px;
  transform: rotate(18deg);
}

.doctor-specialty {
  margin-bottom: 9px;
  color: var(--rose);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.doctor-card h3 {
  min-height: 62px;
  margin-bottom: 19px;
  font-size: 24px;
}

.reviews-section {
  padding: 90px 0 95px;
  background: #f8f2f4;
  scroll-margin-top: 100px;
}

.reviews-heading {
  align-items: center;
  margin-bottom: 32px;
}

.reviews-heading .eyebrow {
  margin-bottom: 13px;
}

.review-all {
  flex: 0 0 auto;
}

.review-carousel {
  overflow: hidden;
}

.review-track {
  display: flex;
  overflow-x: auto;
  gap: 18px;
  padding: 3px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  min-height: 226px;
  flex: 0 0 calc((100% - 36px) / 3);
  flex-direction: column;
  padding: 25px 25px 20px;
  border: 1px solid #efe2e7;
  border-radius: 15px;
  background: #fff;
  scroll-snap-align: start;
}

.review-mark {
  height: 25px;
  margin-bottom: 10px;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.review-card blockquote {
  margin: 0 0 23px;
  color: #4e4247;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.48;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: auto;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
}

.review-meta a {
  color: #97898f;
  font-size: 9px;
  font-weight: 400;
  transition: color 180ms ease;
}

.review-meta a:hover {
  color: var(--rose-dark);
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 2px 0;
}

.review-source {
  margin: 0;
  color: #887d82;
  font-size: 10px;
}

.review-arrows {
  display: flex;
  gap: 8px;
}

.slider-button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #dfc4cf;
  border-radius: 50%;
  background: transparent;
  color: var(--rose-dark);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.slider-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-button:hover {
  border-color: var(--rose);
  background: var(--rose);
  color: #fff;
}

.contact-section {
  padding: 90px 0;
  background: #fff;
  scroll-margin-top: 100px;
}

.contact-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(224, 174, 191, 0.22), transparent 37%),
    linear-gradient(120deg, #a83d66, #8f3458);
  color: #fff;
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact-copy .eyebrow {
  color: #f2cbd7;
}

.contact-copy .eyebrow-dot {
  background: #f4ceda;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.contact-copy h2 {
  margin-bottom: 16px;
  color: #fff;
}

.contact-copy h2 em {
  color: #f6dce4;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 19px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 13px;
}

.contact-phone {
  display: inline-block;
  margin-bottom: 21px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.025em;
}

.contact-phone span {
  display: inline-block;
  margin-left: 5px;
  color: #f3c6d5;
  font-family: var(--sans);
  font-size: 17px;
  vertical-align: 5px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-card .button-primary {
  background: #fff;
  box-shadow: none;
  color: var(--rose-dark);
}

.contact-card .button-primary:hover {
  background: #f8e9ef;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #f7dce5;
  font-size: 17px;
}

.detail-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.detail-label {
  color: #f1c9d6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-detail p {
  margin: 4px 0 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
}

.contact-detail a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-ornament {
  position: absolute;
  right: -24px;
  bottom: -113px;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--serif);
  font-size: 360px;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.site-footer {
  padding: 24px 0 22px;
  background: #fff;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 19px;
  border-bottom: 1px solid #f0e5e9;
}

.footer-brand .brand-logo {
  width: 154px;
}

.footer-tagline {
  margin: 0;
  color: #8a7e83;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.footer-top {
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 17px;
  color: #8a7f83;
  font-size: 9px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--rose-dark);
  white-space: nowrap;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1120px) {
  .primary-nav {
    gap: 13px;
    font-size: 12px;
  }

  .header-inner {
    gap: 17px;
  }

  .header-actions {
    gap: 11px;
  }

  .header-phone {
    font-size: 12px;
  }
}

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

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
    border: 1px solid #e9d7de;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: var(--rose-dark);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 32px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 28px rgba(53, 44, 48, 0.08);
    font-size: 14px;
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav > a {
    padding: 13px 0;
    border-bottom: 1px solid #f2e8ec;
  }

  .primary-nav .nav-review {
    align-self: flex-start;
    margin-top: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid #e5c6d2;
  }

  .header-phone {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    gap: 26px;
  }

  h1 {
    font-size: clamp(48px, 7vw, 68px);
  }

  .hero-art-wrap {
    min-height: 520px;
  }

  .hero-art {
    height: 510px;
  }

  .art-note {
    right: 0;
  }

  .service-card {
    padding-inline: 22px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .contact-card {
    gap: 35px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .container {
    width: min(100% - 40px, 560px);
  }

  .utility-inner {
    min-height: 31px;
    font-size: 10px;
  }

  .utility-hours {
    display: none;
  }

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

  .brand-logo {
    width: 146px;
  }

  .header-actions .button-small {
    min-height: 38px;
    padding-inline: 15px;
  }

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

  .primary-nav {
    padding-inline: 20px;
  }

  .hero {
    padding: 38px 0 28px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-copy {
    padding: 13px 0 0;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
  }

  h1 {
    max-width: 540px;
    margin-bottom: 16px;
    font-size: clamp(43px, 11vw, 62px);
  }

  .hero-description {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.68;
  }

  .hero-actions {
    gap: 9px;
  }

  .button {
    min-height: 47px;
    padding-inline: 17px;
    font-size: 12px;
  }

  .hero-footnote {
    margin-top: 23px;
    font-size: 10px;
  }

  .hero-art-wrap {
    min-height: 420px;
    margin-top: 8px;
  }

  .hero-art-ring {
    width: min(87%, 340px);
  }

  .hero-art {
    width: min(100%, 300px);
    height: 410px;
    border-radius: 47% 47% 18px 18px;
  }

  .art-note {
    right: 0;
    bottom: 27px;
    width: 38px;
    height: 38px;
  }

  .facts-grid {
    min-height: 90px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fact {
    flex-direction: column;
    gap: 4px;
    padding: 12px 5px;
    text-align: center;
  }

  .fact-number {
    font-size: 27px;
  }

  .fact-number span {
    font-size: 19px;
  }

  .fact-words {
    font-size: 16px;
    line-height: 1;
  }

  .fact-label {
    max-width: unset;
    font-size: 8px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

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

  h2 {
    font-size: clamp(37px, 9vw, 48px);
  }

  .section-intro {
    max-width: 460px;
    margin-top: 15px;
    font-size: 12px;
  }

  .service-grid,
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .service-card-top {
    margin-bottom: 21px;
  }

  .service-card h3 {
    font-size: 25px;
  }

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

  .about-section {
    padding: 55px 0 62px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-art {
    min-height: 315px;
    order: 2;
  }

  .about-art-circle {
    width: 275px;
    height: 275px;
  }

  .tree-illustration {
    width: min(100%, 315px);
  }

  .about-art-label {
    right: 10px;
    bottom: 22px;
    font-size: 10px;
  }

  .about-copy {
    order: 1;
  }

  .about-copy h2 {
    margin-bottom: 18px;
  }

  .about-lead {
    font-size: 17px;
  }

  .about-text {
    font-size: 12px;
  }

  .specialists-section {
    padding-bottom: 60px;
  }

  .doctor-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    column-gap: 16px;
    padding: 12px;
  }

  .doctor-avatar {
    height: 100px;
    grid-row: span 3;
    margin: 0;
  }

  .doctor-avatar::before {
    width: 85px;
    height: 85px;
  }

  .doctor-avatar::after {
    width: 68px;
    height: 68px;
  }

  .doctor-avatar i {
    width: 50px;
    height: 50px;
  }

  .doctor-avatar span {
    font-size: 25px;
  }

  .doctor-specialty {
    align-self: end;
    margin: 2px 0 5px;
    font-size: 8px;
  }

  .doctor-card h3 {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 19px;
  }

  .doctor-card .text-link {
    align-self: start;
    font-size: 10px;
  }

  .reviews-section {
    padding: 62px 0;
  }

  .reviews-heading {
    display: block;
  }

  .reviews-heading .button {
    min-height: 40px;
    margin-top: 16px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .review-card {
    min-height: 228px;
    flex-basis: 86%;
    padding: 21px;
  }

  .review-card blockquote {
    font-size: 18px;
  }

  .review-controls {
    align-items: flex-start;
  }

  .review-source {
    max-width: 180px;
    font-size: 9px;
    line-height: 1.5;
  }

  .contact-section {
    padding: 58px 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 30px 23px;
    border-radius: 18px;
  }

  .contact-copy h2 {
    font-size: 43px;
  }

  .contact-copy > p:not(.eyebrow) {
    font-size: 12px;
  }

  .contact-phone {
    font-size: 26px;
  }

  .contact-details {
    gap: 16px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .detail-label {
    font-size: 8px;
  }

  .contact-detail p {
    font-size: 12px;
  }

  .contact-ornament {
    right: -17px;
    bottom: -82px;
    font-size: 250px;
  }

  .footer-main {
    flex-wrap: wrap;
    padding-bottom: 14px;
  }

  .footer-tagline {
    order: 3;
    width: 100%;
    font-size: 15px;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 8px;
    font-size: 8px;
  }

  .footer-bottom p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    line-height: 1.5;
  }

}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 0;
  }

  .brand-logo {
    width: 128px;
  }

  .header-actions .button-small {
    padding-inline: 11px;
    font-size: 10px;
  }

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

  .hero-actions .button {
    padding-inline: 12px;
    font-size: 10px;
  }

}

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

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

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

.primary-nav > a[aria-current="page"] {
  color: var(--rose-dark);
}

.review-form-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 42px;
  margin-top: 42px;
  padding: 34px 38px;
  border: 1px solid #efe2e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(78, 39, 54, 0.045);
}

.review-form-intro .eyebrow {
  margin-bottom: 13px;
}

.review-form-intro h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.18;
}

.review-form-intro h3 em {
  color: var(--rose);
  font-weight: 400;
}

.review-form-intro > p:not(.eyebrow) {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.review-form-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 17px 20px;
}

.review-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.review-field small {
  color: #97898f;
  font-size: 10px;
  font-weight: 400;
}

.review-field input,
.review-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #e7d8de;
  border-radius: 9px;
  background: #fffdfc;
  color: var(--ink);
  font: 400 13px/1.5 var(--sans);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.review-field input::placeholder,
.review-field textarea::placeholder {
  color: #a99ba0;
}

.review-field input:focus,
.review-field textarea:focus {
  border-color: var(--rose);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(180, 71, 112, 0.11);
}

.review-field textarea {
  min-height: 112px;
  resize: vertical;
}

.review-rating {
  min-width: 170px;
  margin: 0;
  padding: 0;
  border: 0;
}

.review-rating legend {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.review-rating legend span {
  color: var(--rose);
}

.rating-options {
  display: flex;
  gap: 3px;
}

.rating-options label {
  position: relative;
  display: grid;
  width: 31px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  color: #d8c1ca;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: color 150ms ease, background 150ms ease;
}

.rating-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.rating-options label:has(input:focus-visible) {
  outline: 3px solid rgba(180, 71, 112, 0.45);
  outline-offset: 2px;
}

.rating-options label:hover,
.rating-options label:has(input:checked) {
  color: var(--rose);
}

.rating-options:has(input[value="2"]:checked) label:nth-child(-n + 2) span[aria-hidden="true"],
.rating-options:has(input[value="3"]:checked) label:nth-child(-n + 3) span[aria-hidden="true"],
.rating-options:has(input[value="4"]:checked) label:nth-child(-n + 4) span[aria-hidden="true"],
.rating-options:has(input[value="5"]:checked) label span[aria-hidden="true"] {
  color: var(--rose);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.review-message {
  grid-column: 1 / -1;
}

.review-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 15px;
  color: #756a6f;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.5;
}

.review-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--rose);
}

.review-submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 18px;
}

.review-submit-row .button {
  min-height: 46px;
  flex: 0 0 auto;
  border: 0;
}

.review-submit-row .button span {
  margin-left: 7px;
}

.review-form-note {
  max-width: 310px;
  margin: 0;
  color: #887d82;
  font-size: 10px;
  line-height: 1.55;
}

.review-form-fallback {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.review-form-fallback[hidden] {
  display: none;
}

.review-form-fallback a {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  .review-form-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 31px;
    padding: 25px 21px;
  }

  .review-form-intro h3 {
    font-size: 29px;
  }

  .review-form-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .review-message {
    grid-column: auto;
  }

  .review-submit-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .review-form-note {
    max-width: none;
  }
}

@media (max-width: 390px) {
  .review-form-panel {
    padding: 23px 17px;
  }
}

.primary-nav > a[aria-current="page"]::after {
  display: block;
  height: 1px;
  margin-top: 4px;
  background: currentColor;
  content: "";
}

.specialists-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-hero {
  overflow: hidden;
  padding: 52px 0 64px;
  background:
    radial-gradient(circle at 78% 42%, rgba(249, 232, 238, 0.8), transparent 31%),
    linear-gradient(110deg, #fffdfc 0%, #fffdfc 52%, #fbf4f6 100%);
}

.page-hero-grid {
  display: grid;
  min-height: 510px;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 54px;
}

.page-hero-copy {
  padding: 12px 0 20px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 33px;
  color: #8f8388;
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--rose-dark);
}

.breadcrumbs span {
  color: #c5afb8;
}

.page-hero h1 {
  max-width: 680px;
  margin: 0 0 19px;
  font-size: clamp(54px, 6.1vw, 82px);
  line-height: 0.99;
}

.page-hero-text {
  max-width: 540px;
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.page-hero-art {
  position: relative;
  min-height: 500px;
}

.page-hero-portrait {
  display: grid;
  min-height: 530px;
  align-items: end;
  justify-items: center;
}

.page-hero-portrait img {
  position: relative;
  z-index: 1;
  width: min(82%, 390px);
  height: 475px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 48% 48% 15px 15px;
  mix-blend-mode: multiply;
}

.page-art-ring {
  position: absolute;
  top: 40px;
  left: 50%;
  width: min(84%, 410px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(180, 71, 112, 0.24);
  border-radius: 50%;
}

.page-art-ring::before,
.page-art-ring::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(180, 71, 112, 0.17);
  border-radius: inherit;
  content: "";
}

.page-art-ring::after {
  inset: 36px;
}

.page-jump {
  border-block: 1px solid var(--line);
  background: #fff;
}

.page-jump-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 28px;
}

.page-jump-inner > span {
  margin-right: auto;
  color: #9a8e92;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-jump-inner > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  transition: color 180ms ease;
}

.page-jump-inner > a:hover {
  color: var(--rose-dark);
}

.page-jump-inner > a span {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 11px;
}

.direction-detail-section {
  padding-bottom: 100px;
}

.direction-detail-section .section-heading {
  margin-bottom: 42px;
}

.direction-detail {
  display: grid;
  grid-template-columns: minmax(110px, 0.37fr) minmax(250px, 1fr) minmax(260px, 0.86fr);
  align-items: start;
  gap: 42px;
  margin-top: 18px;
  padding: 39px 42px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  scroll-margin-top: 110px;
}

.direction-detail-rose {
  border-color: #efdce3;
  background: linear-gradient(120deg, #fff 34%, #fcf5f7 100%);
}

.direction-number {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
}

.direction-number span {
  display: block;
  margin-top: 10px;
  color: #95888d;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.direction-detail-copy .eyebrow {
  margin-bottom: 12px;
}

.direction-detail-copy h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.direction-detail-copy h3 em,
.page-cta h2 em,
.about-story-heading h2 em,
.facilities-copy h2 em,
.team-area-copy h2 em {
  color: var(--rose);
  font-weight: 400;
}

.direction-detail-copy > p:not(.eyebrow) {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.direction-topics {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 9px;
  padding: 19px;
  border-radius: 16px;
  background: #f9eef2;
}

.direction-topics-soft {
  background: #f7f5f3;
}

.direction-topics > span,
.specialty-chips > span {
  padding: 8px 11px;
  border: 1px solid rgba(180, 71, 112, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #6f5c63;
  font-size: 10px;
  line-height: 1.2;
}

.direction-topics small {
  flex-basis: 100%;
  margin: 7px 0 4px;
  color: #817278;
  font-size: 10px;
  line-height: 1.6;
}

.direction-topics .button {
  margin-top: 5px;
}

.page-cta-section {
  padding: 0 0 88px;
}

.page-cta {
  position: relative;
  display: flex;
  min-height: 225px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  padding: 42px 52px;
  border-radius: 22px;
  background: #f8edf1;
}

.page-cta > div {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.page-cta .eyebrow {
  margin-bottom: 10px;
}

.page-cta h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.page-cta p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.page-cta > .button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.page-cta-flower {
  position: absolute;
  right: 22%;
  bottom: -112px;
  color: rgba(180, 71, 112, 0.08);
  width: 290px;
  height: 290px;
  pointer-events: none;
}

.page-cta-flower svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-stats-band {
  border-block: 1px solid #eadde2;
  background: #fff;
}

.page-stats-grid {
  display: grid;
  min-height: 128px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-stats-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 18px;
}

.page-stats-grid > div + div {
  border-left: 1px solid var(--line);
}

.page-stats-grid span {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 43px;
  line-height: 1;
}

.page-stats-grid sup {
  font-family: var(--sans);
  font-size: 20px;
}

.page-stats-grid > div:last-child > span {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 0.95;
}

.page-stats-grid p {
  max-width: 190px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.about-hero-art {
  position: relative;
  display: grid;
  min-height: 500px;
  align-items: center;
  justify-items: center;
}

.about-hero-art .about-art-circle {
  width: min(85%, 420px);
  height: auto;
  aspect-ratio: 1;
}

.about-tree-large {
  position: relative;
  z-index: 1;
  width: min(91%, 440px);
  color: var(--rose);
}

.about-hero-art .about-art-label {
  right: 3%;
  bottom: 56px;
}

.about-art-stamp {
  position: absolute;
  top: 58px;
  left: 11%;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #e8cbd6;
  border-radius: 50%;
  color: var(--rose-dark);
  font-family: var(--serif);
  font-size: 24px;
}

.about-story-section {
  padding-block: 104px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
}

.about-story-heading {
  position: relative;
  min-height: 320px;
}

.about-story-heading h2,
.facilities-copy h2,
.team-area-copy h2 {
  max-width: 500px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.story-year {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #f2e1e7;
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 130px);
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.about-story-copy {
  padding-top: 36px;
}

.about-story-copy .about-lead {
  margin-top: 0;
}

.about-story-copy > p:not(.about-lead) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.about-story-copy .text-link {
  display: inline-flex;
  margin-top: 8px;
}

.about-principles-section {
  padding: 84px 0 95px;
  background: #fcf7f8;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.principle-card {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid #eddee4;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.84);
}

.principle-card > span {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 14px;
}

.principle-card h3 {
  max-width: 220px;
  margin: 36px 0 11px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.13;
}

.principle-card p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.principle-line {
  position: absolute;
  right: -25px;
  bottom: -45px;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(180, 71, 112, 0.18);
  border-radius: 50%;
}

.principle-line::before,
.principle-line::after {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(180, 71, 112, 0.15);
  border-radius: inherit;
  content: "";
}

.principle-line::after {
  inset: 26px;
}

.about-facilities-section {
  padding: 94px 0;
}

.facilities-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 86px;
}

.facilities-art {
  position: relative;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  place-items: center;
  border-radius: 20px;
  background: #f8edf1;
}

.facilities-orbit {
  position: absolute;
  width: 310px;
  aspect-ratio: 1;
  border: 1px solid rgba(180, 71, 112, 0.25);
  border-radius: 50%;
}

.orbit-two {
  width: 235px;
}

.facilities-cross {
  position: absolute;
  top: 48px;
  right: 62px;
  color: rgba(180, 71, 112, 0.65);
  width: 38px;
  height: 38px;
}

.facilities-cross svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facilities-word {
  position: relative;
  color: rgba(150, 54, 93, 0.18);
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 73px);
  letter-spacing: 0.06em;
}

.facilities-copy h2 {
  margin-bottom: 22px;
}

.facilities-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.facilities-copy .small-note {
  margin-block: 0 20px;
  color: #9a8b91;
  font-size: 10px;
}

.specialists-hero-art {
  position: relative;
  display: grid;
  min-height: 475px;
  overflow: hidden;
  place-items: center;
  border-radius: 220px 220px 22px 22px;
  background: #f9eff3;
}

.specialists-art-orbit {
  position: absolute;
  width: min(78%, 350px);
  aspect-ratio: 1;
  border: 1px solid rgba(180, 71, 112, 0.25);
  border-radius: 50%;
}

.specialists-art-orbit.orbit-two {
  width: min(62%, 280px);
  border-color: rgba(180, 71, 112, 0.15);
}

.specialists-art-core {
  position: relative;
  z-index: 1;
  display: grid;
  width: 150px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(180, 71, 112, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  color: var(--rose-dark);
  font-family: var(--serif);
  font-size: 88px;
}

.specialists-art-leaf {
  position: absolute;
  width: 74px;
  height: 134px;
  border: 1px solid rgba(180, 71, 112, 0.55);
  border-radius: 100% 0 100% 0;
  transform: rotate(-34deg);
}

.leaf-one {
  top: 65px;
  right: 90px;
}

.leaf-two {
  bottom: 82px;
  left: 70px;
  transform: rotate(146deg) scale(0.8);
}

.specialists-art-caption {
  position: absolute;
  right: 24px;
  bottom: 32px;
  color: var(--rose-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.specialist-directory-section {
  padding-bottom: 86px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-card {
  padding: 20px 21px 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.profile-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.profile-index {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 22px;
}

.profile-card .doctor-avatar {
  width: 128px;
  height: 138px;
  margin: 0;
}

.profile-card .doctor-avatar::before {
  width: 118px;
  height: 118px;
}

.profile-card .doctor-avatar::after {
  width: 96px;
  height: 96px;
}

.profile-card .doctor-avatar i {
  width: 72px;
  height: 72px;
}

.profile-card .doctor-avatar span {
  font-size: 32px;
}

.profile-card .doctor-specialty {
  min-height: 28px;
  margin-bottom: 10px;
  font-size: 9px;
  line-height: 1.45;
}

.profile-card h3 {
  min-height: 60px;
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.profile-description {
  min-height: 48px;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.team-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 19px;
  padding: 18px 21px;
  border-radius: 14px;
  background: #faf5f6;
}

.team-note-mark {
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: var(--rose);
}

.team-note-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-note p {
  margin: 0 auto 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.team-note a {
  flex: 0 0 auto;
  color: var(--rose-dark);
  font-size: 10px;
  font-weight: 650;
}

.team-note a span {
  margin-left: 4px;
}

.team-area-section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.team-area-soft {
  background: #fcf7f8;
}

.team-area-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 72px;
}

.team-area-number {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.9;
}

.team-area-number span {
  display: block;
  margin-top: 12px;
  color: #97888e;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.team-area-copy h2 {
  margin: 0 0 18px;
}

.team-area-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.beauty-profile {
  display: flex;
  max-width: 650px;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
  padding: 17px 21px;
  border: 1px solid #eadce1;
  border-radius: 16px;
  background: #fff;
}

.beauty-profile .doctor-avatar {
  flex: 0 0 92px;
  width: 92px;
  height: 96px;
  margin: 0;
}

.beauty-profile .doctor-avatar::before {
  width: 86px;
  height: 86px;
}

.beauty-profile .doctor-avatar::after {
  width: 69px;
  height: 69px;
}

.beauty-profile .doctor-avatar i {
  width: 50px;
  height: 50px;
}

.beauty-profile .doctor-avatar span {
  font-size: 24px;
}

.beauty-profile h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.beauty-profile p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.avatar-beauty::before {
  background: linear-gradient(150deg, #e8c9d4, #f6e8ed 58%, #dca7ba) !important;
}

@media (max-width: 980px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 28px;
  }

  .page-hero h1 {
    font-size: clamp(49px, 7vw, 68px);
  }

  .direction-detail {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 20px 30px;
    padding: 32px;
  }

  .direction-topics {
    grid-column: 2;
  }

  .about-story-grid,
  .facilities-grid {
    gap: 45px;
  }

  .team-area-grid {
    gap: 42px;
  }
}

@media (max-width: 760px) {
  .primary-nav > a[aria-current="page"]::after {
    display: none;
  }

  .page-hero {
    padding: 27px 0 40px;
  }

  .page-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .page-hero-copy {
    padding: 0;
  }

  .breadcrumbs {
    margin-bottom: 25px;
  }

  .page-hero h1 {
    max-width: 560px;
    font-size: clamp(46px, 11vw, 64px);
  }

  .page-hero-text {
    font-size: 13px;
  }

  .page-hero-art {
    width: min(100%, 420px);
    min-height: 365px;
    align-self: center;
  }

  .page-hero-portrait {
    min-height: 370px;
  }

  .page-hero-portrait img {
    height: 340px;
  }

  .page-art-ring {
    top: 25px;
  }

  .page-jump-inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-block: 17px;
  }

  .page-jump-inner > span {
    flex-basis: 100%;
    margin: 0;
  }

  .page-jump-inner > a {
    font-size: 10px;
  }

  .direction-detail-section {
    padding-bottom: 64px;
  }

  .direction-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .direction-number {
    font-size: 42px;
  }

  .direction-topics {
    grid-column: auto;
    padding: 15px;
  }

  .page-cta-section {
    padding-bottom: 60px;
  }

  .page-cta {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 24px;
  }

  .page-cta-flower {
    right: -6px;
    bottom: -75px;
    width: 210px;
    height: 210px;
  }

  .page-stats-grid {
    min-height: 0;
  }

  .page-stats-grid > div {
    flex-direction: column;
    gap: 5px;
    padding: 19px 7px;
    text-align: center;
  }

  .page-stats-grid span {
    font-size: 34px;
  }

  .page-stats-grid p {
    font-size: 9px;
  }

  .about-hero-art {
    min-height: 370px;
  }

  .about-art-stamp {
    top: 24px;
    left: 5%;
  }

  .about-hero-art .about-art-label {
    right: 2%;
    bottom: 24px;
  }

  .about-story-section,
  .about-facilities-section {
    padding-block: 65px;
  }

  .about-story-grid,
  .facilities-grid,
  .team-area-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-story-heading {
    min-height: 215px;
  }

  .about-story-copy {
    padding-top: 0;
  }

  .about-principles-section {
    padding: 63px 0;
  }

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

  .principle-card {
    min-height: 215px;
  }

  .principle-card h3 {
    margin-top: 25px;
  }

  .facilities-art {
    min-height: 290px;
  }

  .specialists-hero-art {
    min-height: 340px;
    width: min(100%, 370px);
  }

  .specialist-directory-section {
    padding-bottom: 60px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 18px;
    padding: 14px;
  }

  .profile-card-top {
    grid-column: 1;
    grid-row: 1 / span 4;
    flex-direction: column;
    justify-content: start;
    gap: 8px;
    margin: 0;
  }

  .profile-card .doctor-avatar {
    width: 98px;
    height: 105px;
  }

  .profile-card .doctor-avatar::before {
    width: 92px;
    height: 92px;
  }

  .profile-card .doctor-avatar::after {
    width: 75px;
    height: 75px;
  }

  .profile-card .doctor-avatar i {
    width: 56px;
    height: 56px;
  }

  .profile-card .doctor-specialty,
  .profile-card h3,
  .profile-card .profile-description,
  .profile-card .text-link {
    grid-column: 2;
  }

  .profile-card .doctor-specialty {
    align-self: end;
    min-height: 0;
    margin: 2px 0 5px;
    font-size: 8px;
  }

  .profile-card h3 {
    min-height: 0;
    margin-bottom: 6px;
    font-size: 21px;
  }

  .profile-description {
    min-height: 0;
    margin-bottom: 7px;
    font-size: 10px;
  }

  .profile-card .text-link {
    align-self: start;
    font-size: 10px;
  }

  .team-note {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .team-note p {
    flex-basis: calc(100% - 42px);
  }

  .team-note a {
    margin-left: 38px;
  }

  .team-area-section {
    padding: 60px 0;
  }

  .team-area-number {
    font-size: 54px;
  }

  .beauty-profile {
    align-items: flex-start;
    padding: 14px;
  }

  .beauty-profile .doctor-avatar {
    flex-basis: 74px;
    width: 74px;
    height: 80px;
  }

  .beauty-profile .doctor-avatar::before {
    width: 70px;
    height: 70px;
  }

  .beauty-profile .doctor-avatar::after {
    width: 55px;
    height: 55px;
  }

  .beauty-profile .doctor-avatar i {
    width: 40px;
    height: 40px;
  }

  .beauty-profile h3 {
    font-size: 19px;
  }
}

@media (max-width: 760px) {
  .page-cta-flower,
  .facilities-cross {
    display: none;
  }

  .service-icon {
    width: 39px;
    color: #c77a93;
    opacity: 0.82;
  }

  .service-icon svg {
    width: 100%;
  }

  .service-icon svg path,
  .service-icon svg circle {
    stroke-width: 1.15px;
  }

  .detail-icon {
    width: 29px;
    height: 29px;
    border-color: rgba(255, 255, 255, 0.24);
    color: #f1d4de;
  }

  .detail-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.35;
  }

}
