/* ══════════════════════════════════════════
   Медцентр «Лимфа Си» — стили
   Палитра: глубокий teal + чистая мята + тёплый коралл
   ══════════════════════════════════════════ */

:root {
  --ink:        #0C2E2B;   /* глубокий тёмный teal — текст/заголовки */
  --teal:       #12977E;   /* основной бренд-цвет */
  --teal-700:   #0E7C68;
  --teal-300:   #6FD4BE;
  --mint:       #EAF6F1;   /* мягкий мятный фон секций */
  --mist:       #F4FAF7;
  --coral:      #FF6B54;   /* тёплый акцент — рейтинг, детали */
  --coral-soft: #FFE7E0;
  --text:       #26403C;
  --muted:      #5F736F;
  --line:       #E1EDE8;
  --white:      #FFFFFF;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; /* заголовки — чисто и профессионально */
  --font-accent: "Unbounded", var(--font-body); /* фирменный акцент: логотип и цифры */

  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 2px 10px rgba(12, 46, 43, .06);
  --shadow-md: 0 12px 30px rgba(12, 46, 43, .09);
  --shadow-lg: 0 24px 60px rgba(12, 46, 43, .14);
  --wrap: 1180px;
}

/* ── база ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-700);
  padding: 6px 14px;
  background: var(--mint);
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow.light { color: #cdefe6; background: rgba(255,255,255,.1); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
}
.section-title.light { color: #fff; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }
.ink-accent { color: var(--teal); }

/* ── кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .96rem;
  border: 1.5px solid transparent; border-radius: 100px;
  padding: 13px 26px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(18,151,126,.28); }
.btn-primary:hover { background: var(--teal-700); box-shadow: 0 12px 26px rgba(18,151,126,.38); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); background: var(--mist); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ══════════ ШАПКА ══════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { color: var(--teal); display: inline-flex; }
.brand-text { font-family: var(--font-accent); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-accent { color: var(--teal); }

.nav { display: flex; gap: 26px; margin-inline: auto; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--text); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--teal); border-radius: 2px; transition: width .22s ease;
}
.nav a:hover { color: var(--teal-700); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header-phone-label { font-size: .72rem; color: var(--muted); }
.header-phone-num { font-weight: 700; font-size: .98rem; color: var(--ink); }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .mobile-phone { color: var(--teal-700); }
.mobile-menu .btn { margin-top: 12px; border-bottom: none; }

/* ══════════ HERO ══════════ */
.hero { position: relative; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--mist) 0%, #fff 78%); overflow: hidden; }
.hero-flow { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.hero-flow svg { width: 100%; height: 100%; }
.flow-line { fill: none; stroke: var(--teal-300); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 20; animation: flow 18s linear infinite; }
.flow-line-2 { stroke: var(--coral); opacity: .35; animation-duration: 26s; animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -680; } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.hero-lead { margin-top: 22px; font-size: 1.14rem; color: var(--muted); max-width: 500px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats { list-style: none; display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-accent); font-weight: 600; font-size: 1.8rem; color: var(--teal-700); line-height: 1; }
.hero-stats span { margin-top: 8px; font-size: .84rem; color: var(--muted); }

/* hero визуал */
.hero-visual { position: relative; height: 440px; display: flex; align-items: center; justify-content: center; }
.blob {
  position: absolute; width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, var(--teal-300), var(--teal) 70%);
  border-radius: 42% 58% 60% 40% / 46% 44% 56% 54%;
  filter: blur(2px); opacity: .95;
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 42% 58% 60% 40% / 46% 44% 56% 54%; }
  50% { border-radius: 58% 42% 44% 56% / 54% 58% 42% 46%; }
}
.hero-photo {
  position: relative; z-index: 2; width: 350px; height: 420px; overflow: hidden;
  border-radius: 46% 54% 52% 48% / 42% 44% 56% 58%;
  border: 6px solid rgba(255,255,255,.85);
  box-shadow: 0 24px 50px rgba(12,46,43,.30);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rating-card {
  position: absolute; top: 24px; right: 0; z-index: 3;
  background: #fff; border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-md); text-align: left;
}
.rating-stars { color: var(--coral); font-size: .9rem; letter-spacing: 2px; }
.rating-num { font-family: var(--font-accent); font-weight: 600; font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.rating-num span { font-size: .9rem; color: var(--muted); }
.rating-text { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.pill-card {
  position: absolute; bottom: 26px; left: 0; z-index: 3;
  background: #fff; border-radius: 100px; padding: 12px 18px 12px 16px;
  box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 10px; line-height: 1.25;
}
.pill-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(18,151,126,.18); flex-shrink: 0; }

.hero-trust { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-trust span { font-size: .9rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: "✓"; color: var(--teal); font-weight: 800; }

/* ══════════ УСЛУГИ ══════════ */
.services {
  position: relative;
  background:
    radial-gradient(560px 380px at 108% -8%, rgba(43,183,158,.14), transparent 70%),
    radial-gradient(480px 340px at -10% 108%, rgba(255,107,84,.09), transparent 70%),
    #fff;
}
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-ico { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 15px; background: var(--mint); color: var(--teal-700); margin-bottom: 18px; }
.service-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: .92rem; color: var(--muted); }
.service-card.is-featured { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-700) 100%); border-color: transparent; color: #fff; }
.service-card.is-featured h3 { color: #fff; }
.service-card.is-featured p { color: rgba(255,255,255,.86); }
.service-card.is-featured .service-ico { background: rgba(255,255,255,.16); color: #fff; }
.card-tag { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--coral); color: #fff; padding: 4px 10px; border-radius: 100px; }

/* ══════════ О ЦЕНТРЕ ══════════ */
.about { background: var(--mint); }
.about-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.about-visual { position: relative; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about-badge {
  position: absolute; right: 18px; bottom: 18px; background: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column;
}
.about-badge b { font-family: var(--font-accent); font-weight: 600; font-size: 1.6rem; color: var(--teal-700); line-height: 1; }
.about-badge span { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.about-copy p { color: var(--text); font-size: 1.05rem; margin-top: 6px; }
.about-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; }

/* ══════════ ВРАЧИ ══════════ */
.doctors {
  background:
    radial-gradient(620px 420px at -8% 0%, rgba(43,183,158,.12), transparent 70%),
    radial-gradient(460px 320px at 110% 100%, rgba(43,183,158,.10), transparent 70%),
    #fff;
}
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.doctor-card { text-align: center; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; transition: transform .2s ease, box-shadow .2s ease; }
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doctor-photo {
  width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 8px 20px rgba(12,46,43,.16), 0 0 0 3px var(--teal-300);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.doctor-card h3 { font-size: 1.1rem; color: var(--ink); }
.doctor-role { color: var(--teal-700); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.doctor-exp { color: var(--muted); font-size: .84rem; margin: 6px 0 16px; }
.doctors-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 24px; font-style: italic; }

/* ══════════ ПОЧЕМУ МЫ ══════════ */
.why {
  background:
    linear-gradient(rgba(12,46,43,.88), rgba(12,46,43,.92)),
    url("img/water.jpg") center 30% / cover no-repeat;
  color: #fff;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-item { padding-top: 20px; border-top: 2px solid rgba(255,255,255,.16); }
.why-num { font-family: var(--font-accent); font-weight: 600; font-size: .95rem; color: var(--teal-300); }
.why-item h3 { font-size: 1.35rem; margin: 14px 0 10px; }
.why-item p { color: rgba(255,255,255,.72); }

/* ══════════ ГАЛЕРЕЯ ══════════ */
.gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.gallery-item {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); min-height: 240px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item figcaption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  color: var(--ink); font-weight: 700; font-size: .86rem;
  padding: 8px 16px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,46,43,.35));
}

/* ══════════ ОТЗЫВЫ ══════════ */
.reviews {
  background:
    radial-gradient(640px 420px at 108% 0%, rgba(43,183,158,.14), transparent 70%),
    radial-gradient(520px 380px at -8% 100%, rgba(255,107,84,.10), transparent 70%),
    var(--mist);
}
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.review-stars { color: var(--coral); letter-spacing: 3px; margin-bottom: 14px; }
.review-card blockquote { font-size: 1.06rem; color: var(--text); line-height: 1.55; }
.review-card figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.review-card figcaption b { color: var(--ink); }
.review-card figcaption span { font-size: .84rem; color: var(--muted); }

/* ══════════ ЗАПИСЬ ══════════ */
.booking {
  background:
    linear-gradient(150deg, rgba(14,124,104,.93) 0%, rgba(12,46,43,.96) 100%),
    url("img/massage.jpg") center / cover no-repeat;
  color: #fff;
}
.booking-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 56px; align-items: start; }
.booking-lead { color: rgba(255,255,255,.8); font-size: 1.06rem; margin-top: 14px; }
.contacts-list { list-style: none; display: grid; gap: 18px; margin: 32px 0 26px; }
.contacts-list li { display: flex; align-items: center; gap: 16px; }
.contact-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.contact-ico svg { width: 22px; height: 22px; }
.contacts-list b { display: block; font-size: 1.06rem; }
.contacts-list span { font-size: .86rem; color: rgba(255,255,255,.66); }
.insta-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #cdefe6; border: 1.5px solid rgba(255,255,255,.24); padding: 10px 18px; border-radius: 100px; transition: .2s; }
.insta-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

.booking-form { background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.form-title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin-bottom: 22px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field > span i { color: var(--muted); font-weight: 400; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text); /* ≥16px — iOS не зумит при фокусе */
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--mist);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { resize: vertical; }
.field-error { display: none; color: var(--coral); font-size: .8rem; margin-top: 6px; font-style: normal; }
.field.invalid input, .field.invalid select { border-color: var(--coral); background: var(--coral-soft); }
.field.invalid .field-error { display: block; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { margin-top: 16px; padding: 14px 16px; background: var(--mint); color: var(--teal-700); border-radius: 14px; font-weight: 600; font-size: .92rem; text-align: center; }

/* ══════════ ПОДВАЛ ══════════ */
.site-footer {
  background:
    linear-gradient(rgba(12,46,43,.95), rgba(12,46,43,.97)),
    url("img/water.jpg") center 70% / cover no-repeat;
  color: #fff; padding-top: 56px;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: .94rem; }
.footer-nav a:hover { color: var(--teal-300); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.footer-contact span { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom span { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ── плавающая кнопка (моб.) ── */
.fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 90; background: var(--coral); color: #fff; font-weight: 700; padding: 14px 24px; border-radius: 100px; box-shadow: 0 12px 26px rgba(255,107,84,.42); }

/* ── появление при скролле ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ══════════ АДАПТИВ ══════════ */
@media (max-width: 1040px) {
  .header-phone { display: none; } /* шапке тесно — сначала убираем телефон */
}
@media (max-width: 820px) {
  .nav { display: none; }
  .header-cta .btn-sm { display: none; }
  .burger { display: flex; }
  .header-inner { justify-content: space-between; }
}
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { height: 360px; order: -1; }
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .booking-inner { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { min-height: 200px; }
  .hero-photo { width: 270px; height: 330px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .fab { display: inline-flex; }
  .blob { width: 320px; height: 320px; }
}
@media (max-width: 480px) {
  .cards-grid, .doctors-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .booking-form { padding: 24px; }
}

/* ── доступность ── */
:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════════
   Дополнения под реальный контент (та же палитра и стилистика)
   ══════════════════════════════════════════ */

/* логотип в шапке/подвале */
.brand-logo { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; }
.site-footer .brand-logo { background: #fff; padding: 2px; }

/* hero: карточки поверх фото */
.hero-stats { gap: 26px; }
.hero-stats b { font-size: 1.6rem; }
.hero-person {
  position: absolute; bottom: 20px; left: 0; z-index: 3; max-width: 250px;
  background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-md); text-align: left;
}
.hero-person b { display: block; font-size: .96rem; color: var(--ink); line-height: 1.25; }
.hero-person span { display: block; font-size: .76rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.hero-badge {
  position: absolute; top: 24px; right: 0; z-index: 3;
  background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.hero-badge svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }

/* ── виды помощи ── */
.care { background: var(--mist); }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.care-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.care-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.care-num { font-family: var(--font-accent); font-weight: 600; font-size: .9rem; color: var(--teal); }
.care-card h3 { font-size: 1.18rem; color: var(--ink); margin: 12px 0 10px; }
.care-card p { color: var(--muted); font-size: .94rem; }
.care-note {
  margin-top: 26px; display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  background: #fff; border: 1.5px dashed var(--teal-300); border-radius: var(--radius);
}
.care-note svg { width: 30px; height: 30px; color: var(--teal); flex-shrink: 0; }
.care-note p { font-size: .96rem; color: var(--text); }
.care-note b { color: var(--teal-700); }

/* ── полный перечень услуг (аккордеон) ── */
.pricelist { margin-top: 52px; }
.pricelist-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.pricelist-head h3 { font-size: 1.4rem; color: var(--ink); font-weight: 800; }
.pricelist-head p { color: var(--muted); font-size: .92rem; }
.pricelist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
.pl { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pl summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; color: var(--ink); font-size: .95rem; user-select: none; }
.pl summary::-webkit-details-marker { display: none; }
.pl-n { font-family: var(--font-accent); font-size: .7rem; font-weight: 600; color: var(--teal-700); background: var(--mint); padding: 4px 9px; border-radius: 100px; flex-shrink: 0; min-width: 36px; text-align: center; }
.pl-cnt { margin-left: auto; font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.pl-arr { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; transition: transform .2s; }
.pl[open] .pl-arr { transform: rotate(180deg); }
.pl[open] summary { border-bottom: 1px solid var(--line); background: var(--mist); }
.pl ul { list-style: none; padding: 12px 18px 16px; display: grid; gap: 6px; }
.pl li { font-size: .9rem; color: var(--text); padding-left: 16px; position: relative; line-height: 1.45; }
.pl li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ── стационар ── */
.hospital { background: #fff; }
.hospital-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hospital-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hospital-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hospital-copy p { font-size: 1.04rem; color: var(--text); margin-top: 8px; }
.hospital-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 26px; }
.hospital-facts li { background: var(--mint); border-radius: 16px; padding: 16px 16px 14px; }
.hospital-facts b { display: block; font-family: var(--font-accent); font-weight: 600; font-size: 1.6rem; color: var(--teal-700); line-height: 1; }
.hospital-facts span { display: block; font-size: .78rem; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); font-size: .96rem; }
.check-list .check { margin-top: 1px; }

/* ── промышленная медицина (тёмная секция, как «почему мы») ── */
.industry {
  background:
    linear-gradient(rgba(12,46,43,.9), rgba(12,46,43,.94)),
    url("img/water.jpg") center 40% / cover no-repeat;
  color: #fff;
}
.industry-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.industry-lead { color: rgba(255,255,255,.76); font-size: 1.06rem; margin-top: 14px; }
.industry-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-stats li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px 18px 16px; }
.industry-stats b { display: block; font-family: var(--font-accent); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--teal-300); }
.industry-stats span { display: block; font-size: .78rem; color: rgba(255,255,255,.66); margin-top: 8px; line-height: 1.3; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 24px; transition: .2s; }
.ind-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); transform: translateY(-4px); }
.ind-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(111,212,190,.16); color: var(--teal-300); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ind-ico svg { width: 24px; height: 24px; }
.ind-card h3 { font-size: 1.08rem; color: #fff; margin-bottom: 8px; }
.ind-card p { font-size: .9rem; color: rgba(255,255,255,.72); }
.industry-points { margin-top: clamp(36px, 5vw, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.industry-points h3 { font-size: 1.35rem; margin-bottom: 14px; }
.industry-points p { color: rgba(255,255,255,.74); font-size: .98rem; }
.industry-points .check-list li { color: #fff; font-weight: 500; font-size: .94rem; }
.industry-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost.light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }

/* ── о центре: факты и лицензия ── */
.about-facts { list-style: none; margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-facts li { background: #fff; border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line); }
.about-facts b { display: block; color: var(--teal-700); font-weight: 800; font-size: 1.02rem; }
.about-facts span { font-size: .84rem; color: var(--muted); }
.about-license {
  position: absolute; left: 18px; right: 18px; bottom: 18px; background: #fff; border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
.about-license svg { width: 28px; height: 28px; color: var(--teal); flex-shrink: 0; }
.about-license b { display: block; font-size: .9rem; color: var(--ink); }
.about-license span { font-size: .76rem; color: var(--muted); }

/* ── врачи: директор, инициалы, «показать всех» ── */
.doctor-photo { display: flex; align-items: center; justify-content: center; font-family: var(--font-accent); font-weight: 600; font-size: 1.4rem; color: #fff; }
.doctor-card:nth-child(6n+1) .doctor-photo:not(:has(img)) { background: linear-gradient(150deg, var(--teal-300), var(--teal)); }
.doctor-card:nth-child(6n+2) .doctor-photo:not(:has(img)) { background: linear-gradient(150deg, var(--teal), var(--teal-700)); }
.doctor-card:nth-child(6n+3) .doctor-photo:not(:has(img)) { background: linear-gradient(150deg, #FF8C78, var(--coral)); }
.doctor-card:nth-child(6n+4) .doctor-photo:not(:has(img)) { background: linear-gradient(150deg, var(--teal-700), var(--ink)); }
.doctor-card:nth-child(6n+5) .doctor-photo:not(:has(img)) { background: linear-gradient(150deg, #5CC7AE, var(--teal-700)); }
.doctor-card:nth-child(6n+6) .doctor-photo:not(:has(img)) { background: linear-gradient(150deg, var(--teal), #1FB08F); }
.doctor-card.is-lead { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-700) 100%); border-color: transparent; }
.doctor-card.is-lead h3 { color: #fff; }
.doctor-card.is-lead .doctor-role { color: #cdefe6; }
.doctor-card.is-lead .doctor-photo { box-shadow: 0 8px 20px rgba(0,0,0,.25), 0 0 0 3px rgba(255,255,255,.3); }
.doctor-card.is-hidden { display: none; }
.doctors-more { text-align: center; margin-top: 28px; }

/* ── отзывы: ссылки на площадки ── */
.reviews-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.reviews-inner h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); }
.reviews-inner p { color: var(--muted); margin-top: 8px; }
.reviews-links { display: flex; gap: 12px; flex-wrap: wrap; }
.review-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 12px 20px 12px 12px; font-weight: 700; color: var(--ink); transition: .2s; box-shadow: var(--shadow-sm); }
.review-btn:hover { border-color: var(--teal); color: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.review-btn .mark { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .78rem; color: #fff; }
.review-btn .mark.gis { background: #19AA1E; }
.review-btn .mark.g { background: #4285F4; }

/* ── контакты: адреса и соцсети ── */
.contacts-list li { align-items: flex-start; }
.contacts-list b a:hover { color: var(--teal-300); }
.contacts-list .addr { display: grid; gap: 4px; margin-top: 4px; }
.contacts-list .addr span { margin: 0; }
.contacts-list .addr em { font-style: normal; color: #fff; font-weight: 600; }
.contacts-social { display: flex; gap: 10px; flex-wrap: wrap; }
.soc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: #cdefe6; border: 1.5px solid rgba(255,255,255,.24); padding: 10px 18px; border-radius: 100px; transition: .2s; }
.soc-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.soc-link svg { width: 18px; height: 18px; }
.form-sub { font-size: .9rem; color: var(--muted); margin: -14px 0 22px; }
.section-sub.light { color: rgba(255,255,255,.72); }

/* ── адаптив для новых блоков ── */
@media (max-width: 1000px) {
  .hospital-inner, .industry-top, .industry-points { grid-template-columns: 1fr; gap: 36px; }
  .care-grid, .industry-grid { grid-template-columns: 1fr 1fr; }
  .pricelist-grid { grid-template-columns: 1fr; }
  .reviews-inner { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .care-grid, .industry-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-person { position: static; max-width: none; margin-top: 12px; }
  .hero-visual { flex-direction: column; height: auto; padding-bottom: 8px; }
  .hero-badge { top: 8px; right: 8px; }
  .hospital-facts, .industry-stats { grid-template-columns: 1fr 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .about-license { position: static; margin-top: 14px; }
}
@media (max-width: 480px) {
  .doctors-grid { grid-template-columns: 1fr; }
  .hospital-facts, .industry-stats { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   Хаб: активный пункт меню, страницы-подразделы
   ══════════════════════════════════════════ */
.nav a.active { color: var(--teal-700); }
.nav a.active::after { width: 100%; }

.page-hero {
  background: linear-gradient(180deg, var(--mint) 0%, #fff 100%);
  padding: clamp(30px, 5vw, 60px) 0 clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumbs a { color: var(--teal-700); font-weight: 600; }
.page-hero .crumbs span { opacity: .45; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 1.06rem; max-width: 700px; }

.services-more { text-align: center; margin-top: 36px; }

.industry-teaser { padding: clamp(56px, 7vw, 92px) 0; }
.industry-teaser .industry-top { align-items: center; margin-bottom: 0; }

.page-cta { background: var(--mint); padding: clamp(40px, 5vw, 64px) 0; }
.page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.page-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--ink); }
.page-cta p { color: var(--muted); margin-top: 8px; max-width: 520px; }
.page-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .page-cta-inner { flex-direction: column; align-items: flex-start; }
  .page-cta-actions { width: 100%; }
  .page-cta-actions .btn { flex: 1; }
}

/* ══════════ КАРТА ══════════ */
.mapsec { background: #fff; padding: clamp(48px, 6vw, 84px) 0; }
.map-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.map-head .section-title { text-align: left; }
.map-addr { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }
.map-links { display: flex; gap: 12px; flex-wrap: wrap; }
.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--mint); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 760px) { .map-frame { aspect-ratio: 3 / 4; } .map-head .section-title { font-size: 1.6rem; } }

/* Leaflet-карта в рамке */
#mapbox { display: block; z-index: 1; }
.map-frame .leaflet-container { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--mint); font-family: var(--font-body); }

/* ══════════ Плотность: меньше воздуха между блоками ══════════ */
.section { padding: clamp(52px, 6.5vw, 84px) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.hero { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 44px); }
.hero-trust { margin-top: 32px; padding-top: 22px; }
.care-card { padding: 26px 24px; }
.care-note { margin-top: 20px; }
.services-more, .doctors-more { margin-top: 28px; }
.industry-teaser { padding: clamp(48px, 6vw, 72px) 0; }
.hospital-facts { margin: 22px 0 20px; }
.about-copy p { font-size: 1rem; }
.about-facts { margin-top: 20px; }
.reviews { padding: clamp(36px, 4vw, 52px) 0; }
.mapsec { padding: clamp(40px, 5vw, 64px) 0; }
.map-head { margin-bottom: 20px; }
.map-frame { aspect-ratio: 3 / 1; }
.site-footer { padding-top: 44px; }
.footer-inner { padding-bottom: 28px; }
.page-hero { padding: clamp(26px, 4vw, 48px) 0 clamp(22px, 3vw, 36px); }
@media (max-width: 760px) { .map-frame { aspect-ratio: 4 / 3; } }

/* О центре: факты полосой под колонками, фото не «плавает» */
.about-inner { align-items: center; }
.about .about-facts { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.hospital-photo img { aspect-ratio: 5 / 4; }
@media (max-width: 1000px) { .about .about-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .about .about-facts { grid-template-columns: 1fr; } }

/* Hero: линии-поток не пересекают текст — мягкое затухание под текстовой колонкой */
.hero-flow { opacity: .42; }
.hero-copy { position: relative; }
.hero-copy::before {
  content: ""; position: absolute; z-index: -1; inset: -32px -80px -24px -60px; pointer-events: none;
  background: radial-gradient(ellipse at 45% 50%, rgba(244,250,247,.98) 45%, rgba(244,250,247,.75) 65%, transparent 82%);
}
html { scroll-padding-top: 90px; } /* якоря не прячутся под липкой шапкой */

/* ══════════ Услуги: нормализованный каталог с поиском ══════════ */
.svc { background: #fff; padding-top: clamp(28px, 4vw, 44px); }
.svc-search { position: relative; display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; background: #fff; border: 1.5px solid var(--line); border-radius: 100px; padding: 6px 8px 6px 18px; box-shadow: var(--shadow-sm); transition: border-color .18s, box-shadow .18s; }
.svc-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18,151,126,.12); }
.svc-search > svg { width: 22px; height: 22px; color: var(--teal-700); flex-shrink: 0; }
.svc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.02rem; color: var(--text); padding: 10px 0; }
.svc-search input::placeholder { color: var(--muted); }
.svc-search input::-webkit-search-cancel-button { display: none; }
.svc-clear { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--mint); color: var(--teal-700); font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.svc-clear[hidden] { display: none; }
.svc-meta { text-align: center; color: var(--muted); font-size: .88rem; margin: 14px 0 26px; }
.svc-groups { display: grid; gap: 12px; }
.svc-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.svc-group[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.svc-group[hidden] { display: none; }
.svc-sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 20px; user-select: none; }
.svc-sum::-webkit-details-marker { display: none; }
.svc-sum .service-ico { margin: 0; flex-shrink: 0; }
.svc-sum-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.svc-sum-text b { font-size: 1.08rem; color: var(--ink); line-height: 1.3; }
.svc-sum-text span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.svc-count { font-family: var(--font-accent); font-size: .74rem; font-weight: 600; color: var(--teal-700); background: var(--mint); padding: 5px 10px; border-radius: 100px; flex-shrink: 0; }
.svc-chev { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; transition: transform .2s; }
.svc-group[open] .svc-chev { transform: rotate(180deg); }
.svc-group[open] .svc-sum { border-bottom: 1px solid var(--line); background: var(--mist); }
.svc-body { padding: 8px 20px 20px; }
.svc-sub h4 { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin: 16px 0 6px; display: flex; align-items: center; gap: 8px; }
.svc-sub h4 em { font-style: normal; font-weight: 600; color: var(--muted); background: var(--mist); padding: 2px 8px; border-radius: 100px; font-size: .72rem; letter-spacing: 0; }
.svc-sub[hidden] { display: none; }
.svc-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px; margin-top: 8px; }
.svc-item a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--text); font-size: .94rem; line-height: 1.4; transition: background .15s, color .15s; }
.svc-item a svg { width: 16px; height: 16px; color: var(--teal-300); flex-shrink: 0; opacity: 0; transition: opacity .15s, transform .15s; }
.svc-item a:hover { background: var(--mist); color: var(--ink); }
.svc-item a:hover svg { opacity: 1; transform: translateX(2px); color: var(--teal); }
.svc-item[hidden] { display: none; }
.svc-item mark { background: rgba(255,107,84,.22); color: inherit; border-radius: 3px; padding: 0 1px; }
.svc-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.svc-empty { text-align: center; color: var(--muted); margin-top: 20px; }
.svc-empty a { color: var(--teal-700); font-weight: 600; }
@media (max-width: 760px) {
  .svc-search { border-radius: 18px; padding-left: 14px; }
  .svc-search input { font-size: 1rem; }
  .svc-sum { padding: 14px; gap: 12px; }
  .svc-sum .service-ico { width: 42px; height: 42px; border-radius: 12px; }
  .svc-sum .service-ico svg { width: 22px; height: 22px; }
  .svc-sum-text b { font-size: 1rem; }
  .svc-sum-text span { font-size: .82rem; }
  .svc-count { display: none; }
  .svc-body { padding: 6px 12px 16px; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-item a { padding: 12px 10px; font-size: .96rem; }
  .svc-item a svg { opacity: 1; }
  .svc-cta .btn { flex: 1; justify-content: center; }
}
.svc-cta .btn { white-space: normal; text-align: center; }

/* Подстраницы: контент сразу под шапкой страницы, без второго заголовка */
.page-hero + .section { padding-top: clamp(28px, 4vw, 44px); }
.industry-h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* Hero: пунктир не лезет под фото и карточку — затухание и под визуалом */
.hero-flow { opacity: .3; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; inset: -20px -40px; pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 55%, rgba(244,250,247,1) 40%, rgba(244,250,247,.7) 62%, transparent 80%);
}
.hero-visual .blob, .hero-visual .hero-photo, .hero-visual .hero-person { position: relative; }
.hero-visual .blob { position: absolute; z-index: 1; }
.hero-visual .hero-photo { z-index: 2; }
.hero-visual .hero-person { position: absolute; z-index: 3; }
.hero-person span { white-space: nowrap; }
@media (max-width: 760px) { .hero-visual .hero-person { position: static; } .hero-person span { white-space: normal; } }

/* Hero: без блоба-полумесяца — чистое фото с мягкой мятной обводкой */
.hero-visual .blob { display: none; }
.hero-photo { box-shadow: 0 22px 46px rgba(12,46,43,.20), 0 0 0 10px var(--mint); border-color: #fff; }

/* ══════════ Hero: большие лёгкие «живые» блобы (только transform, без blur) ══════════ */
.hero-visual .blob {
  display: block; position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 600px; height: 600px; filter: none; opacity: 1;
  background: linear-gradient(155deg, #DDF2EA 0%, #B4E6D6 50%, #86D8C3 100%);
  border-radius: 46% 54% 58% 42% / 44% 40% 60% 56%;
  transform: translate(-40%, -46%) rotate(0deg) scale(1);
  animation: blob-drift 44s linear infinite;
  will-change: transform; backface-visibility: hidden;
}
.hero-visual .blob-2 {
  width: 400px; height: 400px; opacity: .95;
  background: linear-gradient(200deg, #F1FAF6 0%, #D3F0E6 100%);
  border-radius: 58% 42% 44% 56% / 52% 60% 40% 48%;
  transform: translate(-68%, -18%) rotate(0deg) scale(1);
  animation: blob-drift-2 62s linear infinite;
}
@keyframes blob-drift {
  0%   { transform: translate(-40%, -46%) rotate(0deg)   scale(1); }
  50%  { transform: translate(-40%, -46%) rotate(180deg) scale(1.05); }
  100% { transform: translate(-40%, -46%) rotate(360deg) scale(1); }
}
@keyframes blob-drift-2 {
  0%   { transform: translate(-68%, -18%) rotate(0deg)    scale(1); }
  50%  { transform: translate(-68%, -18%) rotate(-180deg) scale(1.06); }
  100% { transform: translate(-68%, -18%) rotate(-360deg) scale(1); }
}
.hero-paused .blob { animation-play-state: paused; }
.hero-photo { box-shadow: 0 22px 46px rgba(12,46,43,.22), 0 0 0 6px rgba(255,255,255,.9); }
@media (max-width: 1000px) { .hero-visual .blob { width: 480px; height: 480px; } .hero-visual .blob-2 { width: 320px; height: 320px; } }
@media (max-width: 760px)  { .hero-visual .blob { width: 360px; height: 360px; transform: translate(-42%, -50%); } .hero-visual .blob-2 { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-visual .blob { animation: none; } }
/* блоб — чуть выше и компактнее, чтобы не заезжать под разделитель перед trust-строкой */
.hero-visual .blob { width: 570px; height: 570px; }
@keyframes blob-drift {
  0%   { transform: translate(-40%, -51%) rotate(0deg)   scale(1); }
  50%  { transform: translate(-40%, -51%) rotate(180deg) scale(1.05); }
  100% { transform: translate(-40%, -51%) rotate(360deg) scale(1); }
}
@media (max-width: 1000px) { .hero-visual .blob { width: 460px; height: 460px; } }

/* ══════════ Hero: мыльные пузыри (только transform/opacity, без blur) ══════════ */
.hero-visual .blob { display: none; }              /* блобы выключены — вместо них пузыри */
.bubbles { position: absolute; inset: -60px -40px; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0, rgba(255,255,255,.55) 9%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 72% 76%, rgba(111,212,190,.38) 0, rgba(111,212,190,0) 48%),
    radial-gradient(circle at 50% 50%, rgba(111,212,190,.08) 0, rgba(255,107,84,.05) 62%, rgba(111,212,190,.18) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(111,212,190,.5), inset -6px -8px 16px rgba(18,151,126,.16), 0 8px 18px rgba(12,46,43,.06);
  opacity: 0; will-change: transform, opacity; backface-visibility: hidden;
  animation: bubble-float var(--d) ease-in-out var(--delay) infinite;
}
.bubble.front { z-index: 3; }
@keyframes bubble-float {
  0%   { transform: translate3d(0, 40px, 0) scale(.9);  opacity: 0; }
  12%  { opacity: 1; }
  50%  { transform: translate3d(var(--sx), -60px, 0) scale(1); }
  88%  { opacity: 1; }
  100% { transform: translate3d(calc(var(--sx) * -.5), -170px, 0) scale(1.05); opacity: 0; }
}
.hero-paused .bubble { animation-play-state: paused; }
@media (max-width: 760px) { .bubbles { inset: -40px -10px; } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; opacity: .9; transform: none; } }
