/* ── «Мамино счастье» — лёгкий минимализм: крем, пыльная роза, много воздуха ── */

:root {
  --bg: #faf7f4;
  --bg-soft: #f5efea;
  --ink: #26201e;
  --ink-soft: #77675f;
  --line: #eadfd7;
  --accent: #a4586e;
  --accent-soft: #c98da1;
  --accent-bg: #f6e2e8;
  --dark: #2b2126;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(78, 48, 55, .07);
  --shadow-h: 0 18px 44px rgba(78, 48, 55, .13);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: 15px/1.65 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: .01em; }
h1 { font-size: clamp(42px, 6vw, 66px); }
h2, .sec-h { font-size: clamp(30px, 4vw, 44px); max-width: 640px; margin-bottom: 44px; }
h3 { font-size: 19px; }
em { font-style: italic; color: var(--accent); }

.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent-soft); }
.eyebrow-light { color: var(--accent-soft); }
.sec { padding: 110px 0; }
.sec-alt { background: var(--bg-soft); }
.sec-dark { background: var(--dark); color: #efe4df; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-head .sec-h { margin-bottom: 44px; }
.link-more { font-weight: 600; font-size: 14px; color: var(--accent); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.note { font-size: 13px; color: var(--ink-soft); margin-top: 26px; }
.note a { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 28px; font-size: 14px; font-weight: 600; border: 1.5px solid transparent; cursor: pointer; transition: .18s; }
.btn-main { background: var(--accent); color: #fff; }
.btn-main:hover { background: #8c4a63; transform: translateY(-1px); box-shadow: var(--shadow-h); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

/* ── header ── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 244, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-family: var(--serif); font-size: 19px; }
.brand-txt small { font-size: 10.5px; color: var(--ink-soft); letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav a { opacity: .75; transition: .15s; }
.nav a:hover { opacity: 1; color: var(--accent); }
.hdr-cta { display: flex; align-items: center; gap: 16px; }
.hdr-cta .tel { font-weight: 600; font-size: 14px; white-space: nowrap; }
.hdr-cta .tel:hover { color: var(--accent); }
.burger { display: none; background: none; border: 0; width: 30px; height: 24px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── hero: текст по центру, без фото ── */
.hero { padding: 110px 0 100px; }
.hero-in { max-width: 780px; text-align: center; }
.hero .eyebrow { justify-content: center; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ''; width: 26px; height: 1px; background: var(--accent-soft); }
.lead { color: var(--ink-soft); font-size: 17px; margin: 26px auto 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; justify-content: center; }
.hero-facts li { font-size: 12.5px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }

/* ── about ── */
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.about-card h3 { color: var(--accent); margin-bottom: 8px; font-size: 21px; }
.about-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ── преимущества ── */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.adv { background: #fff; border-radius: 16px; padding: 20px 24px; transition: .18s; }
.adv:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.adv h3 { font-size: 17.5px; margin-bottom: 2px; }
.adv p { font-size: 13.5px; color: var(--ink-soft); }

/* ── предложения: текстовые карточки ── */
.off-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.off { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: .18s; border-top: 3px solid var(--accent-soft); }
.off:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.off-body { padding: 24px 22px 26px; }
.off-body h3 { margin-bottom: 4px; }
.off-body p { font-size: 13.5px; color: var(--ink-soft); }

/* ── услуги ── */
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.srv { background: #fff; border-radius: 16px; padding: 24px 26px; transition: .18s; }
.srv:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.srv h3 { margin-bottom: 2px; }
.srv p { font-size: 13.5px; color: var(--ink-soft); }

/* ── видео ── */
.video-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.video-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.video-wrap video { width: 100%; display: block; aspect-ratio: 16/9; background: #000; }
.btn-sound { position: absolute; left: 14px; bottom: 14px; background: rgba(20,14,16,.55); color: #fff; border: 1px solid rgba(255,255,255,.35); font-size: 13px; padding: 8px 16px; backdrop-filter: blur(4px); cursor: pointer; }
.btn-sound:hover { background: var(--accent); border-color: var(--accent); }
.video-txt blockquote { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.25; color: #fff; margin-bottom: 18px; }
.video-txt p { color: #b9a49d; font-size: 14.5px; }

/* ── врачи: текстовые карточки ── */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; text-align: center; transition: .18s; }
.doc:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.doc h3 { font-size: 21px; margin-bottom: 4px; }
.doc p { font-size: 13px; color: var(--ink-soft); }

/* ── цены ── */
.price-block { margin-bottom: 30px; }
.price-block h3 { font-size: 23px; color: var(--accent); margin-bottom: 12px; }
.price-rows { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.prow { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 13px 22px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.prow:last-child { border-bottom: 0; }
.prow p { color: var(--ink-soft); flex: 1; }
.prow b { font-family: var(--serif); font-size: 19px; white-space: nowrap; }
.price-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }

/* ── контакты ── */
.map-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: stretch; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 400px; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.contacts-side { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.c-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.c-card h3 { color: var(--accent); margin-bottom: 6px; }
.c-tel { font-family: var(--serif); font-size: 30px; font-weight: 600; display: inline-block; }
.c-tel:hover { color: var(--accent); }
.c-sub { font-size: 13px; color: var(--ink-soft); margin: 2px 0 14px; }
.c-links { display: flex; gap: 10px; }
.c-b { font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); transition: .15s; }
.c-b:hover { background: var(--accent); color: #fff; }
.c-card p { font-size: 14.5px; }

/* ── footer ── */
.ftr { background: var(--dark); color: #bdaaa4; padding: 42px 0; font-size: 12.5px; }
.ftr-in { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.ftr-brand { display: flex; gap: 14px; align-items: center; }
.ftr-logo { width: 54px; height: 54px; border-radius: 12px; background: var(--accent-bg); color: var(--accent); font-family: var(--serif); font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ftr-brand b { font-family: var(--serif); font-size: 19px; color: #fff; display: block; }
.ftr-brand small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.ftr-legal p { margin-bottom: 3px; }

/* ── плавающие кнопки ── */
.fab { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.fab-b { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-h); color: #fff; transition: .15s; }
.fab-b svg { width: 25px; height: 25px; }
.fab-wa { background: #25d366; }
.fab-tg { background: #229ed9; }
.fab-b:hover { transform: translateY(-3px) scale(1.05); }

/* ── адаптив ── */
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .sec { padding: 80px 0; }
  .hero { padding: 60px 0 70px; }
  .about-cards, .adv-grid, .srv-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .off-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid, .map-grid { grid-template-columns: 1fr; }
  .price-cols { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  .sec { padding: 56px 0; }
  .hdr-cta .tel { display: none; }
  .about-cards, .adv-grid, .srv-grid, .doc-grid, .off-grid { grid-template-columns: 1fr; }
  .prow { flex-direction: column; gap: 2px; }
  .hero { padding: 36px 0 60px; }
  .fab { right: 14px; bottom: 14px; }
  .c-tel { font-size: 24px; }
}
