@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-400.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
}

:root {
  --paper: #fbfaf7;
  --paper-soft: #f4f2ee;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #fffdf9;
  --ink: #25262a;
  --text: #4b4d51;
  --muted: #777a7a;
  --line: rgba(91, 96, 91, 0.18);
  --accent: #7f967f;
  --accent-deep: #687a65;
  --accent-soft: #e9ede7;
  --gold: #efb257;
  --shadow: 0 26px 70px rgba(48, 55, 45, 0.1);
  --shadow-strong: 0 38px 95px rgba(48, 55, 45, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1440px, calc(100% - clamp(32px, 7vw, 96px)));
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(140deg, rgba(238, 241, 235, 0.64) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(24deg, rgba(236, 230, 220, 0.35) 0%, rgba(255, 255, 255, 0) 34%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: white;
  background: var(--accent-deep);
}

.ambient {
  position: fixed;
  z-index: -3;
  pointer-events: none;
  opacity: 0.58;
}

.ambient-one {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(229, 233, 226, 0.36), rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 242, 235, 0.42));
}

.ambient-two {
  right: 0;
  top: 12vh;
  width: min(62vw, 980px);
  height: 75vh;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(230, 235, 226, 0.42));
  clip-path: ellipse(78% 48% at 78% 50%);
}

.leaf {
  position: fixed;
  z-index: -1;
  width: 210px;
  height: 260px;
  pointer-events: none;
  opacity: 0.13;
  color: var(--accent);
  filter: blur(0.1px);
}

.leaf::before,
.leaf::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 40% 35%, transparent 0 28%, currentColor 29% 30%, transparent 31%),
    radial-gradient(ellipse at 55% 50%, transparent 0 28%, currentColor 29% 30%, transparent 31%),
    radial-gradient(ellipse at 34% 68%, transparent 0 28%, currentColor 29% 30%, transparent 31%);
  mask-image: linear-gradient(135deg, transparent 12%, #000 13% 70%, transparent 72%);
}

.leaf-left {
  left: -56px;
  bottom: -42px;
  transform: rotate(-18deg);
}

.leaf-right {
  right: 30px;
  top: 84px;
  transform: rotate(24deg) scale(1.22);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: var(--container);
  margin: 26px auto 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: clamp(18px, 2.2vw, 40px);
  padding: 12px 16px 12px 18px;
  background: rgba(251, 250, 247, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(50, 56, 48, 0.08);
  backdrop-filter: blur(18px);
  transition:
    transform 650ms var(--ease),
    box-shadow 450ms var(--ease),
    background 450ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 20px 62px rgba(50, 56, 48, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--accent-deep);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text strong {
  display: block;
  color: #242529;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 0.85;
}

.brand-text small {
  display: block;
  margin-top: 7px;
  color: #737871;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 44px);
  color: #3e4142;
  font-size: 15px;
  white-space: nowrap;
}

.desktop-nav a,
.site-footer nav a,
.mobile-panel a {
  position: relative;
  transition: color 300ms var(--ease);
}

.desktop-nav a::after,
.site-footer nav a::after,
.mobile-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 360ms var(--ease);
}

.desktop-nav a:hover,
.site-footer nav a:hover,
.mobile-panel a:hover {
  color: var(--accent-deep);
}

.desktop-nav a:hover::after,
.site-footer nav a:hover::after,
.mobile-panel a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: grid;
  gap: 2px;
  color: #313338;
  white-space: nowrap;
}

.header-contact a {
  font-size: 17px;
  font-weight: 600;
}

.header-contact span {
  color: var(--muted);
  font-size: 12px;
}

.btn {
  --btn-bg: white;
  --btn-color: var(--accent-deep);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid rgba(104, 122, 101, 0.32);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 36px rgba(96, 115, 90, 0.08);
  transition:
    transform 380ms var(--ease),
    box-shadow 380ms var(--ease),
    border-color 380ms var(--ease),
    background 380ms var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translateX(-112%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transition: transform 900ms var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(96, 115, 90, 0.18);
}

.btn:hover::before {
  transform: translateX(112%) skewX(-18deg);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, #8aa184, #687d66);
  --btn-color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.66);
  --btn-color: #53634f;
  backdrop-filter: blur(12px);
}

.btn-light {
  --btn-bg: rgba(255, 255, 255, 0.92);
  --btn-color: #71866f;
  min-width: 230px;
}

.btn-large {
  min-height: 66px;
  padding-inline: 34px;
  font-size: 16px;
}

.button-icon,
.feature-icon,
.service-icon,
.round-icon,
.contact-list span,
.booking-benefits span,
.step i {
  display: inline-grid;
  place-items: center;
  color: var(--accent-deep);
}

.icon-svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--accent-deep);
  transition: transform 280ms var(--ease), opacity 280ms var(--ease);
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  z-index: 45;
  top: 106px;
  left: 50%;
  width: min(420px, calc(100% - 28px));
  padding: 22px;
  transform: translate(-50%, -18px) scale(0.96);
  pointer-events: none;
  opacity: 0;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease);
}

.menu-open .mobile-panel {
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
  opacity: 1;
}

.mobile-panel nav {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  color: #34373a;
  font-size: 18px;
}

.section-pad {
  width: var(--container);
  margin-inline: auto;
  padding-block: clamp(64px, 8vw, 128px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(500px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 5vw, 88px);
  min-height: calc(100vh - 98px);
  padding-top: clamp(46px, 5vw, 78px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  margin: 0 0 34px;
  padding: 0 22px;
  color: var(--accent-deep);
  background: rgba(226, 231, 224, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pill.compact {
  min-height: 34px;
  margin-bottom: 22px;
  padding-inline: 18px;
  font-size: 12px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(127, 150, 127, 0.14);
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(58px, 7.2vw, 116px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(46px, 5.1vw, 82px);
}

h3 {
  font-size: clamp(28px, 2.3vw, 38px);
}

.lead {
  max-width: 650px;
  margin-bottom: 38px;
  color: #5e6262;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.hero-features,
.installment-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 650px;
  margin-bottom: 44px;
}

.hero-features div,
.installment-icons div {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #515758;
  font-size: 15px;
}

.feature-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(232, 237, 230, 0.72);
  font-size: 28px;
}

.hero-features p,
.installment-icons p {
  margin: 0;
}

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

.play-dot {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.play-dot::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--accent-deep);
}

.hero-media {
  position: relative;
  min-height: clamp(540px, 58vw, 780px);
  overflow: hidden;
  border-radius: 47% 0 0 47%;
  box-shadow: 0 40px 100px rgba(76, 76, 66, 0.15);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 253, 249, 0.24), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: imageBreath 12s var(--ease) infinite alternate;
}

.hero-logo {
  position: absolute;
  z-index: 2;
  left: 46%;
  top: 33%;
  color: rgba(119, 102, 73, 0.72);
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 42px);
  line-height: 0.9;
  text-align: center;
  text-shadow: 0 1px 22px rgba(255, 255, 255, 0.8);
}

.hero-logo small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.section-top,
.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(34px, 4.5vw, 66px);
}

.section-lead {
  max-width: 650px;
  margin: 0;
  color: #707273;
  font-size: 18px;
}

.link-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
  transition: gap 320ms var(--ease), color 320ms var(--ease);
}

.link-button span {
  font-size: 28px;
  line-height: 1;
}

.link-button:hover {
  gap: 22px;
  color: #4e5c4d;
}

.doctors {
  position: relative;
}

.doctor-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px);
}

.doctor-card,
.service-card,
.review-card,
.work-card,
.panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 58px rgba(55, 57, 50, 0.06);
  backdrop-filter: blur(14px);
}

.tilt-card {
  transform-style: preserve-3d;
  transition:
    transform 520ms var(--ease),
    box-shadow 520ms var(--ease),
    border-color 520ms var(--ease);
}

.tilt-card:hover {
  transform: translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  border-color: rgba(104, 122, 101, 0.34);
  box-shadow: var(--shadow-strong);
}

.doctor-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.doctor-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.92) contrast(0.98);
  transition:
    transform 850ms var(--ease),
    filter 850ms var(--ease);
}

.doctor-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.02) contrast(1.02);
}

.doctor-info {
  position: relative;
  min-height: 204px;
  margin-top: -5px;
  padding: 30px 24px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(250, 248, 243, 0.92));
}

.doctor-info h3 {
  margin-bottom: 18px;
  font-size: clamp(26px, 2.1vw, 34px);
}

.doctor-info p {
  min-height: 38px;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.doctor-info span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #4d5252;
  font-size: 14px;
  font-weight: 600;
}

.mini-medal,
.mini-shield {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 1px solid rgba(104, 122, 101, 0.48);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, var(--accent) 46% 54%, transparent 55%) center 15px / 12px 7px no-repeat,
    radial-gradient(circle at center 42%, transparent 0 30%, var(--accent) 32% 38%, transparent 40%);
}

.quote-line {
  width: fit-content;
  margin: 58px auto 0;
  color: #8d908b;
  font-size: 15px;
}

.quote-line span {
  margin-right: 22px;
  color: rgba(104, 122, 101, 0.42);
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0;
  vertical-align: -22px;
}

.service-card {
  position: relative;
  min-height: 646px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 30px 26px;
  border-radius: var(--radius-lg);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 34px;
  font-size: 42px;
}

.service-card h3 {
  min-height: 86px;
  margin-bottom: 24px;
  font-size: clamp(28px, 2.25vw, 38px);
}

.service-card p {
  min-height: 88px;
  color: #767879;
  font-size: 17px;
  line-height: 1.58;
}

.service-card img {
  width: calc(100% + 60px);
  max-width: none;
  height: 260px;
  margin: auto -30px 24px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  filter: saturate(0.78) brightness(1.05);
  transition: transform 850ms var(--ease), filter 850ms var(--ease);
}

.service-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.95) brightness(1.04);
}

.service-card strong {
  margin-top: auto;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 700;
}

.works {
  position: relative;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 36px);
}

.work-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition:
    transform 500ms var(--ease),
    box-shadow 500ms var(--ease),
    border-color 500ms var(--ease);
}

.work-card:hover {
  transform: translateY(-10px);
  border-color: rgba(104, 122, 101, 0.34);
  box-shadow: var(--shadow-strong);
}

.compare {
  --pos: 50%;
  position: relative;
  height: clamp(320px, 28vw, 455px);
  overflow: hidden;
  background: var(--paper-soft);
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compare-img.base {
  filter: saturate(1.05) brightness(1.08) contrast(1.02);
}

.compare-img.before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  filter: saturate(0.62) sepia(0.24) brightness(0.96) contrast(0.94);
  transform: scale(1.016);
}

.divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.14);
}

.handle {
  position: absolute;
  left: var(--pos);
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 7px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: rgba(249, 250, 246, 0.94);
  box-shadow: 0 10px 26px rgba(58, 65, 56, 0.16);
  transition: transform 260ms var(--ease);
}

.handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.handle span::before,
.handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--accent-deep);
  border-left: 2px solid var(--accent-deep);
}

.handle span::before {
  left: 16px;
  transform: translateY(-50%) rotate(-45deg);
}

.handle span::after {
  right: 16px;
  transform: translateY(-50%) rotate(135deg);
}

.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.work-info {
  min-height: 172px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  background: rgba(255, 253, 249, 0.88);
}

.work-info h3 {
  margin-bottom: 16px;
  font-size: clamp(28px, 2.35vw, 40px);
}

.work-info p {
  margin: 0;
  color: #7b7e7f;
  font-size: 17px;
}

.round-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper-soft);
  font-size: 35px;
}

.booking-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 42px);
}

.panel {
  min-height: 640px;
  border-radius: var(--radius-xl);
}

.installment {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4vw, 58px);
  background:
    linear-gradient(90deg, rgba(248, 249, 245, 0.92), rgba(255, 255, 255, 0.52)),
    url("assets/img/team-reception.jpg") right bottom / 58% auto no-repeat,
    rgba(255, 255, 255, 0.74);
}

.installment::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -22px;
  width: 140px;
  height: 280px;
  border-radius: 70px 70px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(216, 203, 185, 0.32)),
    rgba(223, 216, 204, 0.26);
  box-shadow: inset 0 0 0 1px rgba(165, 150, 127, 0.15);
  backdrop-filter: blur(4px);
}

.installment h2,
.booking-form h2 {
  margin-bottom: 26px;
  font-size: clamp(42px, 4.2vw, 70px);
}

.installment > div:first-child p,
.booking-form > p {
  max-width: 600px;
  margin-bottom: 70px;
  color: #3d4143;
  font-size: clamp(18px, 1.5vw, 22px);
}

.installment-icons {
  max-width: 580px;
  margin-bottom: 70px;
}

.installment .btn {
  min-width: 300px;
}

.installment small {
  position: absolute;
  left: clamp(34px, 4vw, 58px);
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  color: #8a8d8a;
}

.booking-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-content: start;
  column-gap: 44px;
  padding: clamp(34px, 4vw, 58px);
}

.booking-form h2,
.booking-form > p,
.booking-form .inline-form {
  grid-column: 1;
}

.inline-form,
.modal-form {
  display: grid;
  gap: 16px;
}

.inline-form label,
.modal-form label {
  position: relative;
}

.inline-form label span,
.modal-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.inline-form input,
.inline-form select,
.modal-form input,
.modal-form select {
  width: 100%;
  height: 66px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(65, 62, 55, 0.035);
  transition:
    border-color 300ms var(--ease),
    box-shadow 300ms var(--ease),
    background 300ms var(--ease);
}

.inline-form input:focus,
.inline-form select:focus,
.modal-form input:focus,
.modal-form select:focus {
  border-color: rgba(104, 122, 101, 0.58);
  background: white;
  box-shadow: 0 0 0 4px rgba(127, 150, 127, 0.12);
}

.inline-form small {
  color: #8d908c;
  font-size: 12px;
}

.inline-form small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-benefits {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: grid;
  align-content: start;
  gap: 38px;
  margin-top: 8px;
}

.booking-benefits div {
  display: grid;
  gap: 12px;
  color: #4f5554;
  font-weight: 600;
}

.booking-benefits span {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--paper-soft);
  font-size: 36px;
}

.reviews-flow .section-top {
  align-items: center;
}

.reviews-flow .section-top img {
  width: min(420px, 30vw);
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 28px);
  margin-bottom: clamp(60px, 8vw, 108px);
  padding-bottom: clamp(44px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
}

.review-card {
  position: relative;
  min-height: 328px;
  padding: 38px 32px 28px;
  border-radius: var(--radius-lg);
  transition:
    transform 500ms var(--ease),
    box-shadow 500ms var(--ease),
    border-color 500ms var(--ease);
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(104, 122, 101, 0.34);
  box-shadow: var(--shadow);
}

.stars {
  position: absolute;
  top: 42px;
  right: 32px;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.quote-mark {
  color: rgba(104, 122, 101, 0.65);
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.45;
}

.review-card p {
  min-height: 112px;
  margin: 18px 0 28px;
  color: #34383a;
  font-size: 16px;
  line-height: 1.78;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.review-person img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.review-person strong,
.review-person span {
  display: block;
}

.review-person strong {
  margin-bottom: 4px;
}

.review-person span {
  color: #898c8d;
}

.visit-flow h2 {
  margin-bottom: 46px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 54px);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 14px;
}

.step:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -34px;
  top: 18px;
  color: rgba(114, 105, 88, 0.5);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.step > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-soft);
  color: #2d2f32;
  font-family: var(--serif);
  font-size: 36px;
  box-shadow: inset 0 0 0 1px rgba(50, 50, 50, 0.04);
}

.step i {
  width: 42px;
  height: 42px;
  font-size: 36px;
}

.step strong {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: #303235;
  font-size: 18px;
}

.step p {
  grid-column: 1 / -1;
  margin: 0;
  color: #555a5b;
  font-size: 15px;
  line-height: 1.55;
}

.contacts {
  padding-bottom: 42px;
}

.contacts-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(270px, 0.72fr) minmax(390px, 1.25fr);
  gap: clamp(28px, 3.2vw, 56px);
  align-items: start;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 38px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.faq-column {
  padding-right: clamp(12px, 2vw, 44px);
  border-right: 1px solid var(--line);
}

.faq-column h2,
.contact-column h2 {
  margin-bottom: 30px;
  font-size: clamp(36px, 3.3vw, 54px);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.76);
  transition:
    border-color 320ms var(--ease),
    box-shadow 320ms var(--ease),
    background 320ms var(--ease);
}

.faq-item.is-open {
  border-color: rgba(104, 122, 101, 0.34);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(72, 75, 68, 0.06);
}

.faq-item button {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: #3f4344;
  text-align: left;
  font-weight: 600;
}

.faq-item button span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--accent-deep);
  transform: translate(-50%, -50%);
  transition: transform 260ms var(--ease);
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: #666a6b;
  padding: 0 22px;
  transition:
    max-height 360ms var(--ease),
    padding 360ms var(--ease);
}

.faq-item.is-open p {
  max-height: 160px;
  padding: 0 22px 22px;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  color: #454a4a;
}

.contact-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 16px;
}

.contact-list span {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(104, 122, 101, 0.35);
  border-radius: 50%;
  font-size: 25px;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--accent-deep);
  font-weight: 800;
  transition:
    transform 300ms var(--ease),
    background 300ms var(--ease),
    color 300ms var(--ease);
}

.socials a:hover {
  transform: translateY(-4px);
  background: var(--accent-deep);
  color: white;
}

.contact-promo {
  position: relative;
  min-height: 508px;
  overflow: hidden;
  border-radius: 30px;
  background: #9cab98;
  box-shadow: var(--shadow);
}

.contact-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) brightness(0.88);
}

.contact-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(107, 130, 105, 0.88), rgba(107, 130, 105, 0.1));
}

.promo-copy {
  position: relative;
  z-index: 1;
  width: min(380px, 72%);
  padding: 62px 48px;
  color: white;
}

.promo-copy h2 {
  color: white;
  font-size: clamp(40px, 4vw, 62px);
}

.promo-copy p {
  margin-bottom: 42px;
  font-size: 17px;
}

.site-footer {
  width: var(--container);
  min-height: 118px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  margin: 0 auto 42px;
  padding: 20px 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.76);
  box-shadow: var(--shadow);
}

.site-footer nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  color: #4e5254;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  color: #8b8e8e;
  white-space: nowrap;
}

[data-reveal] {
  --delay: 0ms;
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 860ms var(--ease) var(--delay),
    transform 860ms var(--ease) var(--delay);
}

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

.modal-root {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}

.modal-root.is-open {
  pointer-events: auto;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 34, 32, 0.42);
  backdrop-filter: blur(14px);
}

.modal-card {
  position: relative;
  width: min(860px, calc(100vw - 40px));
  max-height: min(86vh, 920px);
  overflow: auto;
  transform: translateY(28px) scale(0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 36px 110px rgba(28, 31, 28, 0.28);
  transition: transform 360ms var(--ease);
}

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

.modal-card.gallery {
  width: min(1180px, calc(100vw - 40px));
}

.modal-close {
  position: sticky;
  z-index: 2;
  top: 16px;
  float: right;
  width: 46px;
  height: 46px;
  margin: 16px 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-deep);
  font-size: 30px;
  line-height: 1;
  transition: transform 280ms var(--ease), background 280ms var(--ease);
}

.modal-close:hover {
  transform: rotate(90deg);
  background: white;
}

.modal-content {
  padding: 56px;
}

.modal-booking {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 44px;
  align-items: start;
}

.modal-booking h2,
.modal-simple h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 66px);
}

.modal-booking p,
.modal-simple p {
  color: #5d6262;
  font-size: 17px;
}

.modal-booking ul {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: #4d5352;
}

.modal-booking li {
  position: relative;
  padding-left: 28px;
}

.modal-booking li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.modal-gallery {
  display: grid;
  gap: 28px;
}

.modal-gallery h2,
.modal-price h2,
.modal-team h2,
.modal-simple h2 {
  margin-bottom: 10px;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 34px rgba(45, 48, 43, 0.07);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figcaption {
  padding: 14px 16px 16px;
  color: #535858;
  font-weight: 600;
}

.price-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  color: #383c3d;
  border-bottom: 1px solid rgba(104, 122, 101, 0.18);
}

.price-row::before {
  content: "";
  order: 2;
  border-bottom: 1px dashed rgba(104, 122, 101, 0.38);
}

.price-row span:first-child {
  order: 1;
}

.price-row strong {
  order: 3;
  font-size: 20px;
}

.team-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.team-mini article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.team-mini img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-mini div {
  padding: 16px;
}

.team-mini h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.success-box {
  display: grid;
  place-items: center;
  min-height: 240px;
  text-align: center;
}

.success-box span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 38px;
}

@keyframes imageBreath {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.075) translate3d(-1.2%, 0.8%, 0);
  }
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-contact,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 560px;
    border-radius: 34px;
  }

  .doctor-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-panel {
    grid-template-columns: 1fr 1fr;
  }

  .contact-promo {
    grid-column: 1 / -1;
  }

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

  .booking-benefits {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .site-header {
    margin-top: 14px;
    border-radius: 24px;
  }

  .section-pad {
    padding-block: 72px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(54px, 13vw, 86px);
  }

  h2 {
    font-size: clamp(42px, 10vw, 68px);
  }

  .hero-features,
  .installment-icons,
  .booking-band,
  .review-grid,
  .works-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-features,
  .installment-icons {
    max-width: none;
  }

  .section-top,
  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .doctors .section-top {
    margin-bottom: 34px;
  }

  .service-card {
    min-height: 600px;
  }

  .reviews-flow .section-top img {
    width: 100%;
    max-height: 360px;
  }

  .step {
    grid-template-columns: 62px 42px 1fr;
  }

  .step:not(:last-child)::after {
    left: 30px;
    right: auto;
    top: 74px;
    transform: rotate(90deg);
  }

  .step strong,
  .step p {
    grid-column: 3;
  }

  .contacts-panel {
    grid-template-columns: 1fr;
    padding: 28px;
    border-radius: 26px;
  }

  .faq-column {
    padding-right: 0;
    padding-bottom: 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    justify-self: start;
  }

  .modal-booking,
  .gallery-grid,
  .team-mini {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 24px);
  }

  body {
    background: var(--paper);
  }

  .leaf,
  .ambient-two {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

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

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

  .site-header {
    min-height: 66px;
    padding: 10px 12px;
  }

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

  .mobile-panel {
    top: 88px;
  }

  .section-pad {
    padding-block: 56px;
  }

  .pill {
    margin-bottom: 22px;
    white-space: normal;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(46px, 14vw, 64px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .hero-media {
    min-height: 390px;
    border-radius: 28px;
  }

  .hero-logo {
    left: 34px;
    top: 32px;
  }

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

  .service-card {
    min-height: 560px;
  }

  .work-info {
    align-items: flex-start;
    padding: 24px;
  }

  .round-icon {
    width: 54px;
    height: 54px;
  }

  .panel {
    min-height: auto;
  }

  .installment,
  .booking-form {
    padding: 28px 22px;
  }

  .installment {
    background:
      linear-gradient(180deg, rgba(248, 249, 245, 0.96), rgba(255, 255, 255, 0.86)),
      url("assets/img/team-reception.jpg") right bottom / 96% auto no-repeat,
      white;
    padding-bottom: 260px;
  }

  .installment::after {
    right: 20px;
    height: 180px;
    width: 92px;
  }

  .installment .btn {
    min-width: 0;
  }

  .installment small {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .booking-benefits {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 34px 24px 24px;
  }

  .stars {
    right: 24px;
  }

  .step {
    grid-template-columns: 58px 38px 1fr;
  }

  .step > span {
    width: 58px;
    height: 58px;
  }

  .contact-promo {
    min-height: 430px;
  }

  .promo-copy {
    width: 100%;
    padding: 40px 26px;
  }

  .site-footer {
    padding: 24px;
  }

  .modal-root {
    padding: 12px;
  }

  .modal-card,
  .modal-card.gallery {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .modal-content {
    padding: 34px 22px;
  }

  .modal-close {
    top: 10px;
    margin: 10px 10px 0 0;
  }

  .modal-booking,
  .gallery-grid,
  .team-mini {
    grid-template-columns: 1fr;
  }

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

  .price-row::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
