:root {
  --green: #0f723f;
  --green-mid: #1a8a4e;
  --green-dark: #113934;
  --ink: #15241e;
  --muted: #5b6b64;
  --paper: #eef3ee;
  --sheet: #f7faf7;
  --white: #fff;
  --line: rgba(17, 57, 52, 0.12);
  --gold: #c4a056;
  --orange: #e8944a;
  --shadow: 0 20px 50px rgba(17, 57, 52, 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 var(--sans);
  background-image:
    radial-gradient(circle at 8% 0%, rgba(15, 114, 63, 0.08), transparent 32%),
    radial-gradient(circle at 100% 12%, rgba(196, 160, 86, 0.1), transparent 26%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }

.wrap {
  width: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker:before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.section { padding: 84px 0; scroll-margin-top: 88px; }
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.96;
  margin: 10px 0 0;
}
.section-head p { margin: 0; color: var(--muted); max-width: 440px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}
.btn.solid { background: var(--green-dark); color: #f4faf5; }
.btn.solid:hover { background: var(--green); }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: var(--green-mid); }
.btn.ghost { border-color: var(--line); background: transparent; }
.btn.ghost:hover { background: #fff; }
.btn.full { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(238, 243, 238, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { width: 148px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a { opacity: 0.78; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 10px 16px;
  background: var(--green-dark);
  color: #f4faf5;
  border-radius: 999px;
  opacity: 1 !important;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 28px 0 20px;
  align-items: stretch;
}
.hero > * { min-width: 0; }
.hero-photo {
  position: relative;
  width: 100%;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  background: #d7e4da;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.stamp, .ticket {
  position: absolute;
  z-index: 2;
  background: rgba(247, 250, 247, 0.94);
  backdrop-filter: blur(8px);
}
.stamp {
  top: 18px;
  right: 18px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-dark);
  border: 1px dashed var(--green);
}
.ticket {
  left: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
}
.ticket strong { display: block; font-size: 22px; font-family: var(--serif); }
.ticket span { color: var(--muted); font-size: 13px; }
.hero-copy { padding: 18px 8px 8px; }
.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.92;
  margin: 12px 0 16px;
}
.hero h1 em { font-style: italic; color: var(--green); }
.lede { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 8px;
}
.facts div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.facts b { display: block; font-size: 22px; font-family: var(--serif); font-weight: 600; }
.facts span { color: var(--muted); font-size: 13px; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 14px 0;
  margin: 10px 0 0;
}
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pitch {
  background: var(--green-dark);
  color: #edf6ef;
  border-radius: 28px;
  padding: 36px 36px 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.pitch .kicker { color: #b7d8c2; }
.pitch h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 0.96;
  margin: 10px 0 12px;
}
.pitch p { color: rgba(237, 246, 239, 0.74); margin: 0; }
.steps { display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(237, 246, 239, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.step b {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  font-size: 14px;
}
.step h3 { margin: 0 0 4px; font-size: 24px; }
.step p { font-size: 14px; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.service {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 210px;
  display: flex;
  flex-direction: column;
}
.service:nth-child(3n) { border-right: 0; }
.service img { width: 42px; height: 42px; margin-bottom: 18px; }
.service h3 { font-size: 26px; margin: 0 0 8px; }
.service p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.service button {
  margin-top: auto;
  background: none;
  border: 0;
  color: var(--green);
  font-weight: 700;
  padding: 0;
  text-align: left;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.doc.hidden { display: none; }
.doc-photo {
  height: 260px;
  background: linear-gradient(180deg, #24564c, #113934);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.doc-photo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
}
.doc-body { padding: 16px 16px 18px; }
.doc-body small { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.doc-body h3 { margin: 6px 0 6px; font-size: 24px; line-height: 1.1; }
.doc-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.more-docs {
  display: block;
  margin: 18px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 700;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-photos figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
}
.about-photos figure:first-child { grid-column: span 2; min-height: 280px; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 {
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 0.96;
  margin: 10px 0 16px;
}
.about-copy p { color: var(--muted); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.stat b { display: block; font-family: var(--serif); font-size: 32px; }
.stat span { color: var(--muted); font-size: 13px; }
.quote {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.quote img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
}
.quote q { font-family: var(--serif); font-size: 20px; font-style: italic; display: block; margin: 0 0 8px; }
.quote span { color: var(--muted); font-size: 13px; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  cursor: zoom-in;
}
.shot:first-child { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.links-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}
.reviews-grid > div { display: grid; gap: 12px; }
.review, .review-lead {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.review-lead { min-height: 100%; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review q, .review-lead q {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  font-style: italic;
  display: block;
  margin: 0 0 16px;
}
.review-meta { color: var(--muted); font-size: 13px; }
.review-stack { display: grid; gap: 12px; }
.visit .hero-actions { margin-top: 22px; }
.video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #113934;
  text-align: left;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.video-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
}
.play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.visit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.map {
  width: 100%;
  min-height: 460px;
  border: 0;
  border-radius: 22px;
  filter: saturate(0.9);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 18px;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.status.closed i { background: var(--orange); }
.hours {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  margin: 0 0 18px;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 110px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 35;
  background: var(--green-dark);
  color: #f4faf5;
  border-radius: 18px;
  padding: 8px;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.dock a, .dock button {
  text-align: center;
  padding: 12px 4px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  background: transparent;
  border: 0;
  color: inherit;
  white-space: nowrap;
}
.dock .wa { background: var(--green); }
body.book-open { overflow: hidden; }
body.book-open .dock { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(17, 57, 52, 0.52);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.sheet {
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  overflow: hidden;
  background: var(--sheet);
  border-radius: 24px;
  padding: 24px 0 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.sheet-top,
.progress {
  padding-left: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}
.sheet-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 24px 8px;
  -webkit-overflow-scrolling: touch;
}
.sheet-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.sheet-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
  background: var(--sheet);
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}
.sheet h3 {
  font-size: 32px;
  margin: 0 0 6px;
}
.sheet-lead { color: var(--muted); margin: 0 0 16px; }
.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.progress span {
  height: 4px;
  border-radius: 99px;
  background: var(--line);
}
.progress span.on { background: var(--green); }
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice, .doc-pick, .slot, .pay-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  text-align: left;
  padding: 12px 14px;
}
.choice.active, .doc-pick.active, .slot.active, .pay-card.active {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.choice small, .doc-pick small { color: var(--muted); display: block; }
.choice b, .doc-pick b { display: block; line-height: 1.25; }
.doc-pick span { min-width: 0; }
.doc-pick {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
}
.doc-pick img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  background: var(--green-dark);
}
.days {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.day {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
}
.day b { display: block; font-size: 16px; }
.day span { color: var(--muted); font-size: 11px; }
.day.active { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.day.active span { color: rgba(255,255,255,.7); }
.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.slot:disabled { opacity: 0.35; text-decoration: line-through; }
.field { display: block; margin: 10px 0; }
.field span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 16px;
}
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kaspi-box {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed var(--line);
  text-align: center;
}
.kaspi-box svg { margin: 8px auto; }
.summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14px;
}
.summary b { display: block; margin-bottom: 4px; }
.success { text-align: center; padding: 18px 8px 8px; }
.success h3 { font-size: 36px; }
.icon-ok {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 20, 16, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
}
.lightbox iframe,
.video-frame iframe {
  width: min(900px, calc(100% - 24px));
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 16px;
  background: #000;
}
.video-frame {
  width: min(900px, 100%);
  display: flex;
  justify-content: center;
}

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 99px;
  background: #d9efe0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero, .pitch, .about, .section-head, .reviews-grid, .visit {
    grid-template-columns: 1fr;
  }
  .hero-photo { min-height: 420px; }
  .doctors-grid, .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 180px 180px;
  }
  .shot:first-child { grid-column: span 2; grid-row: auto; }
  .days { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  body { padding-top: 76px; }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  .section {
    padding-top: 80px;
    padding-bottom: 56px;
    scroll-margin-top: 96px;
  }
  .section-head { margin-top: 8px; margin-bottom: 28px; }
  .section-head h2 { margin-top: 16px; }
  .wrap { padding: 0 14px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #f7faf7;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    z-index: 20;
  }
  .menu-toggle { display: inline-flex !important; align-items: center; }
  .hero { padding-top: 14px; }
  .hero h1 { font-size: 38px; }
  .hero-copy { padding: 4px 0 108px; }
  .hero-photo { min-height: 210px; border-radius: 20px; }
  .stamp { width: 76px; height: 76px; right: 12px; top: 12px; font-size: 11px; }
  .ticket { left: 12px; bottom: 12px; max-width: calc(100% - 24px); }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .pitch { padding: 22px 18px; }
  .services, .doctors-grid { grid-template-columns: 1fr; }
  .service { border-right: 0 !important; }
  .about-photos figure:first-child { min-height: 200px; }
  .stats { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 64px 1fr; }
  .quote img { width: 64px; height: 64px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 160px 160px; }
  .choice-grid, .pay-row { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .days { grid-template-columns: repeat(4, 1fr); }
  .sheet {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 0;
  }
  .sheet-top {
    padding: 18px 16px 0;
  }
  .progress { padding-left: 16px; padding-right: 16px; }
  .sheet-body { padding: 0 16px 20px; }
  .sheet-actions {
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .sheet h3 { font-size: 26px; }
  .sheet-lead { font-size: 14px; }
  .choice, .doc-pick { padding: 14px; }
  .choice small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .doc-pick { align-items: center; }
  .doc-pick img { width: 52px; height: 52px; }
  .slot { text-align: center; padding: 11px 4px; font-size: 13px; }
  .modal { padding: 0; align-items: stretch; z-index: 80; }
  .dock { display: grid !important; }
  .site-footer { padding-bottom: 110px; }
}
