:root {
  --bg: #fff8fb;
  --fg: #2b1a26;
  --muted: #6b5a64;
  --border: #efe3ea;
  --card: #ffffff;
  --primary: #d63384;
  --primary-fg: #ffffff;
  --primary-soft: #fde8f0;
  --primary-strong: #a52468;
  --shadow-elegant: 0 10px 30px -10px rgba(214, 51, 132, 0.25);
  --radius: 16px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: 'Manrope', 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px
}

.ic {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0
}

.ic-sm {
  width: 14px;
  height: 14px
}

.ic-check {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 64px 0 80px;
  background:
    radial-gradient(60% 50% at 95% 0%, rgba(214, 51, 132, 0.14), transparent 60%),
    radial-gradient(45% 40% at 0% 100%, rgba(232, 185, 74, 0.12), transparent 60%), #fff
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #ffffffaa;
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted)
}

.tag .dot,
.svc-title .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-block
}

.h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 20px 0 0
}

.lead {
  margin: 18px 0 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 760px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-elegant)
}

.btn-primary:hover {
  background: #bf2a73
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--fg)
}

.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-color: rgba(214, 51, 132, .3)
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

/* Phones notice */
.phones {
  padding: 40px 0 0
}

.phones-card {
  display: flex;
  gap: 14px;
  border: 1px solid rgba(214, 51, 132, .3);
  background: rgba(253, 232, 240, .55);
  border-radius: 20px;
  padding: 24px;
  justify-content: center;
}

.phones-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.phones h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700
}

.phones p {
  margin: 8px 0 0;
  font-size: 15px
}

.phones ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.phone-card {
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px
}

.phone-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 14px
}

.phone-link:hover {
  color: var(--primary)
}

.phone-link .ic {
  color: var(--primary)
}

.phone-branch {
  margin: 4px 0 0;
  font-size: 12px!important;
  color: var(--muted)
}

/* Advantages */
.advantages {
  padding: 64px 0
}

.adv-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.adv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  transition: box-shadow .25s
}

.adv-card:hover {
  box-shadow: var(--shadow-elegant)
}

.adv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px
}

.adv-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55
}

/* Services */
.services {
  padding: 64px 0;
  background: rgba(253, 232, 240, .35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.svc-list-wrap {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px
}

.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  transition: box-shadow .25s, transform .25s
}

.svc-card:hover {
  box-shadow: var(--shadow-elegant)
}

.svc-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3
}

.svc-title .dot {
  margin-top: 10px
}

.svc-intro {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted)
}

.svc-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.svc-item {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55
}

.svc-item-title {
  font-weight: 600
}

.svc-children {
  margin: 8px 0 0 30px;
  padding: 0;
  list-style: disc;
  color: var(--muted);
  font-size: 14px
}

.svc-children li {
  margin: 0 0 4px
}

.svc-children li::marker {
  color: rgba(214, 51, 132, .6)
}

/* Rich body (Школа) */
.svc-body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.rich-p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6
}

.rich-strong {
  margin: 0;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.55
}

.rich-ul {
  margin: 0 0 0 22px;
  padding: 0;
  font-size: 15px;
  line-height: 1.6
}

.rich-ul li::marker {
  color: rgba(214, 51, 132, .6)
}

/* Lab links */
.lab-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

/* Blood schedule */
.blood-schedule {
  margin-top: 26px
}

.blood-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px
}

.blood-title .ic {
  color: var(--primary)
}

.blood-promo {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px
}

.blood-table {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff
}

.blood-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.2fr;
  border-top: 1px solid var(--border)
}

.blood-row:first-child {
  border-top: 0
}

.blood-row.blood-head {
  background: rgba(253, 232, 240, .5);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted)
}

.blood-row.blood-head>div {
  padding: 12px 18px
}

.blood-row>div {
  padding: 14px 18px;
  font-size: 14px
}

.blood-addr {
  display: flex;
  gap: 8px;
  font-weight: 600
}

.blood-addr .ic {
  color: var(--primary);
  margin-top: 2px
}

.blood-res {
  color: var(--muted)
}

.blood-sched ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.blood-sched li {
  display: flex;
  gap: 6px;
  align-items: flex-start
}

.blood-sched .ic {
  color: rgba(214, 51, 132, .7);
  margin-top: 3px
}

@media(max-width:780px) {
  .blood-row {
    grid-template-columns: 1fr
  }

  .blood-row.blood-head {
    display: none
  }

  .blood-row>div {
    padding: 10px 16px;
    border-top: 1px solid var(--border)
  }

  .blood-row>div:first-child {
    border-top: 0;
    padding-top: 14px
  }
}

/* Pregnant support */
.support {
  padding: 64px 0;
  background: rgba(253, 232, 240, .35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  display: grid;
  grid-template-columns: 1.1fr 1fr
}

@media(max-width:880px) {
  .support-card {
    grid-template-columns: 1fr
  }
}

.support-text {
  padding: 36px
}

.support-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700
}

.support-text h2 {
  margin: 14px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em
}

.support-text p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px
}

.support-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.support-img {
  background: linear-gradient(135deg, var(--primary-soft), rgba(214, 51, 132, .12));
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center
}

.support-img-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  padding: 20px
}

/* Notice */
.notice {
  padding: 56px 0
}

.notice-card {
  border: 1px solid rgba(217, 177, 93, .55);
  background: rgba(255, 247, 224, .6);
  border-radius: 20px;
  padding: 28px
}

.notice-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700
}

.notice-card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6
}

.notice-card a {
  color: var(--primary);
  font-weight: 600
}

.notice-card a:hover {
  text-decoration: underline
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(43, 26, 38, .55);
  backdrop-filter: blur(4px);
  z-index: 50;
  overflow-y: auto
}

.modal.open {
  display: flex;
  animation: fade .2s ease
}

.modal-card {
  background: #fff;
  border-radius: 22px;
  max-width: 680px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 30px 80px -20px rgba(43, 26, 38, .4);
  animation: rise .25s ease
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px
}

.modal-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800
}

.modal-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px
}

.modal-close {
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 8px
}

.modal-close:hover {
  background: var(--primary-soft);
  color: var(--primary)
}

.prep-list-wrap {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.prep-item {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s
}

.prep-item.open {
  border-color: rgba(214, 51, 132, .5)
}

.prep-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  color: var(--fg)
}

.prep-toggle {
  color: var(--primary);
  font-size: 20px;
  transition: transform .25s
}

.prep-item.open .prep-toggle {
  transform: rotate(45deg)
}

.prep-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1)
}

.prep-item.open .prep-content {
  max-height: 1200px
}

.prep-inner {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6
}

.prep-inner p {
  margin: 0
}

.prep-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.prep-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55
}

.prep-list .bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  margin-top: 8px;
  flex-shrink: 0
}

@keyframes fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* Footer */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 13px
}

/* Anim entrance */
.svc-card,
.adv-card {
  opacity: 0;
  transform: translateY(14px);
  animation: enter .5s ease forwards;
  animation-delay: calc(var(--i, 0) * 30ms)
}

@keyframes enter {
  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:600px) {
  .container {
    padding: 0 18px
  }

  .svc-card {
    padding: 22px
  }

  .phones-card {
    flex-direction: column
  }
}

/* Partners DMS — compact tile grid */
.partners{padding:72px 0;background:rgba(253,232,240,.35);border-top:1px solid var(--border)}
.partners-grid{margin-top:32px;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.partner-tile{position:relative;display:flex;align-items:center;gap:14px;padding:18px 18px;background:#fff;border:1px solid var(--border);border-radius:16px;transition:transform .25s,box-shadow .25s,border-color .25s;opacity:0;transform:translateY(10px);animation:enter .45s ease forwards;animation-delay:calc(var(--i,0) * 25ms)}
.partner-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-elegant);border-color:rgba(214,51,132,.35)}
.partner-mark{flex-shrink:0;width:48px;height:48px;border-radius:12px;background:#fff;display:grid;place-items:center;font-weight:800;font-size:13px;letter-spacing:.02em;border:1px solid var(--border);overflow:hidden;padding:6px}.partner-mark.is-text{background:linear-gradient(135deg,var(--primary-soft),#fff5d6);color:var(--primary-strong);border-color:rgba(214,51,132,.18);padding:0}.partner-mark img{width:100%;height:100%;object-fit:contain;display:block}
.partner-name{font-size:14px;font-weight:600;line-height:1.4;color:var(--fg);margin:0}
.partners-note{margin-top:24px;display:inline-flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px 16px;font-size:13px;color:var(--muted);max-width:680px}
.partners-note .ic{color:var(--primary);margin-top:2px}
@media(max-width:520px){.partners-grid{grid-template-columns:1fr 1fr;gap:10px}.partner-tile{padding:14px;gap:10px}.partner-mark{width:36px;height:36px;font-size:12px;border-radius:10px}.partner-name{font-size:13px}}