/* MEDICA — стоматологическая клиника. Общие стили сайта medika35.ru */
:root {
  --teal: #1a9aa0;
  --teal-600: #137c82;
  --teal-700: #0e6166;
  --teal-50: #eaf6f6;
  --teal-100: #d3eeee;
  --ink: #12222a;
  --ink-2: #3c4f57;
  --muted: #6b7d84;
  --line: #dde8ea;
  --bg: #f5f9f9;
  --surface: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(18, 34, 42, .04), 0 8px 28px rgba(18, 34, 42, .07);
  --wrap: 1180px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(34px, 5.2vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.teal { color: var(--teal); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { font-size: 20px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); }
.btn-white { background: #fff; color: var(--teal-700); }
.btn-white:hover { background: var(--teal-50); color: var(--teal-700); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn:active { transform: translateY(1px); }

/* Верхняя строка */
.topbar { background: var(--ink); color: #c9d6da; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--teal); font-size: 16px; }
.topbar-left, .topbar-right { display: flex; gap: 24px; align-items: center; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 52px; height: auto; }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: .2em; line-height: 1; }
.brand-sub { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 5px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button {
  font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink-2); background: none; border: 0;
  padding: 10px 14px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a.active, .nav-drop.active > button { color: var(--teal-700); background: var(--teal-50); }
.nav-drop { position: relative; }
.nav-drop > button .icon { font-size: 14px; transition: transform .2s; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-menu a .icon { font-size: 22px; color: var(--teal); }
.nav-menu a:hover, .nav-menu a.active { background: var(--teal-50); color: var(--teal-700); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 800; color: var(--ink); white-space: nowrap; font-size: 17px; }
.header-cta .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.burger .icon { font-size: 24px; }

/* Мобильное меню */
.mnav { position: fixed; inset: 0; z-index: 60; background: #fff; padding: 20px 24px 32px; overflow-y: auto; display: none; }
.mnav.open { display: block; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mnav-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 20px 0 6px; }
.mnav a.mlink { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 17px; }
.mnav a.mlink .icon { color: var(--teal); font-size: 22px; }
.mnav .btn { width: 100%; margin-top: 12px; }

/* Первый экран */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); }
.hero::before { content: ''; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(26,154,160,.16), rgba(26,154,160,0) 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: end; padding-top: 56px; }
.hero-text { padding-bottom: 72px; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--teal-100); color: var(--teal-700); font-weight: 700; font-size: 14px; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 20px; color: var(--ink-2); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-fact b { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.hero-fact span { font-size: 14px; color: var(--muted); }
.hero-media { position: relative; align-self: end; }
.hero-photo { aspect-ratio: 722 / 548;
  /* мягко растворяем только левый край (шов фона) и верх — лица остаются чёткими */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%), linear-gradient(to bottom, transparent 0, #000 7%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%), linear-gradient(to bottom, transparent 0, #000 7%);
  mask-composite: intersect; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; }
.float-card b { display: block; font-size: 16px; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-size: 22px; flex: none; }
.float-card.fc-1 { left: -12px; top: 40%; }
.float-card.fc-2 { right: 0; bottom: 40px; }
.stars { color: #f4b400; letter-spacing: 1px; }

/* Бегущая строка */
.band { background: var(--teal); color: #fff; overflow: hidden; }
.band-track { display: flex; gap: 44px; padding: 16px 0; width: max-content; animation: band 38s linear infinite; font-weight: 700; font-size: 18px; }
.band-track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.band-track .icon { font-size: 22px; opacity: .85; }
@keyframes band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* Секции */
.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 520px; margin: 0; font-size: 18px; }
.kicker { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-weight: 800; margin-bottom: 12px; }

/* Карточки услуг */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; min-height: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.svc-card .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-size: 30px; margin-bottom: 8px; transition: .2s; }
.svc-card:hover .ic { background: var(--teal); color: #fff; }
.svc-card h3 { margin: 0; }
.svc-card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-700); font-weight: 700; font-size: 15px; }
.svc-card.feature { background: var(--teal); border-color: var(--teal); color: #fff; }
.svc-card.feature p { color: rgba(255,255,255,.85); }
.svc-card.feature .ic { background: rgba(255,255,255,.18); color: #fff; }
.svc-card.feature .more { color: #fff; }

/* Специалисты: к кому записаться */
.who { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.who-intro p { color: var(--ink-2); font-size: 18px; }
.who-note { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--teal-50); display: flex; gap: 16px; align-items: flex-start; }
.who-note .icon { font-size: 28px; color: var(--teal); margin-top: 2px; }
.who-note p { margin: 0; font-size: 16px; }
.who-list { display: grid; gap: 12px; }
.who-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: .2s; }
.who-item:hover { border-color: var(--teal); color: var(--ink); }
.who-item .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-size: 26px; }
.who-item h3 { font-size: 18px; margin: 0 0 2px; }
.who-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.who-item > .icon { color: var(--teal); font-size: 22px; }

/* Преимущества */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { padding: 30px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.why-card .ic { font-size: 32px; color: var(--teal); margin-bottom: 18px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); margin: 0; font-size: 16px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-size: 40px; font-weight: 800; color: var(--teal-100); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Отзывы / рейтинг */
.rating { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; background: var(--ink); color: #fff; }
.rating-score { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.rating-score small { display: block; font-size: 22px; letter-spacing: 3px; color: #f4b400; margin-top: 8px; }
.rating h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.rating p { color: #b9c8cd; margin: 0; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 56px; border-radius: 28px; background: var(--teal); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta::after { content: ''; position: absolute; right: -120px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); }
.cta h2 { margin-bottom: 10px; }
.cta p { margin: 0; color: rgba(255,255,255,.88); font-size: 18px; max-width: 560px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.contact-card { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:first-of-type { padding-top: 4px; }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-size: 22px; }
.contact-row small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-row b, .contact-row a { font-size: 18px; font-weight: 700; color: var(--ink); }
.contact-row a:hover { color: var(--teal-700); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; font-weight: 700; font-size: 17px; }
.hours span:nth-child(odd) { color: var(--ink-2); font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--teal-50); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-card .btn { margin-top: 20px; width: 100%; }

/* Шапка внутренних страниц */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); padding: 40px 0 72px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-700); }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 780px; }
.page-hero .lead { font-size: 20px; color: var(--ink-2); max-width: 680px; margin-bottom: 28px; }
.page-hero-icon { width: 180px; height: 180px; border-radius: 44px; background: #fff; border: 1px solid var(--teal-100); color: var(--teal); display: grid; place-items: center; font-size: 96px; box-shadow: var(--shadow); }
.page-hero-icon .icon { stroke-width: 1.3; }

/* Контент услуги */
.content-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 8px; }
.prose p { color: var(--ink-2); }
.prose > * + h2 { margin-top: 56px; }
.list-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.list-cards li { padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.list-cards li b { display: flex; gap: 10px; align-items: center; font-size: 17px; margin-bottom: 6px; }
.list-cards li b .icon { color: var(--teal); font-size: 20px; }
.list-cards li span { color: var(--muted); font-size: 15px; line-height: 1.5; display: block; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li .icon { color: var(--teal); font-size: 22px; margin-top: 2px; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.price-box { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.price-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price-box h3 .icon { color: var(--teal); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px dashed var(--line); }
.price-row .service-name { font-weight: 600; color: var(--ink-2); font-size: 16px; }
.price-row .service-price { font-weight: 800; font-size: 18px; white-space: nowrap; color: var(--teal-700); }
.price-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.aside-cta { padding: 28px; border-radius: var(--radius); background: var(--teal); color: #fff; }
.aside-cta h3 { margin-bottom: 6px; }
.aside-cta p { color: rgba(255,255,255,.88); font-size: 15px; }
.aside-cta .btn { width: 100%; margin-top: 8px; }
.aside-cta a.phone { display: block; text-align: center; color: #fff; font-weight: 800; font-size: 20px; margin-top: 14px; }

/* Команда */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-image {
  aspect-ratio: 4 / 4.2; background: linear-gradient(160deg, var(--teal-50), var(--teal-100));
  display: grid; place-items: center; font-size: 64px; font-weight: 800; color: var(--teal); letter-spacing: .04em;
  background-size: cover; background-position: center top;
}
.team-info { padding: 20px 22px 24px; }
.team-info h3 { font-size: 19px; margin-bottom: 6px; }
.team-info .position { display: inline-block; color: var(--teal-700); background: var(--teal-50); font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 999px; }

/* О клинике */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: 28px; overflow: hidden; background: #eef3f4; }
.quote { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; padding-left: 24px; border-left: 4px solid var(--teal); margin: 28px 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.stat { padding: 20px; border-radius: var(--radius-sm); background: var(--teal-50); }
.stat b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--teal-700); }
.stat span { font-size: 14px; color: var(--ink-2); }

/* Форма */
.form-card { padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; accent-color: var(--teal); margin-top: 1px; flex: none; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-status { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: var(--teal-50); color: var(--teal-700); }
.form-status.err { display: block; background: #fdecec; color: #a3261f; }
.appt-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }

/* Подвал */
.footer { background: var(--ink); color: #b9c8cd; padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand img { filter: invert(1); }
.footer .brand-sub { color: #8aa0a6; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #b9c8cd; }
.footer a:hover { color: #fff; }
.footer .fc { display: flex; gap: 10px; align-items: flex-start; }
.footer .fc .icon { color: var(--teal); font-size: 18px; margin-top: 3px; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff !important; font-weight: 700; }
.social:hover { background: rgba(255,255,255,.12); }
.footer-bottom { margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8aa0a6; }
.disclaimer { background: #0b171c; color: #8aa0a6; text-align: center; padding: 14px 16px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }

/* Плавающая кнопка на мобильных */
.mobile-bar { display: none; }

/* Адаптив */
@media (max-width: 1100px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: inline-flex; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card.fc-1 { left: 8px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; gap: 8px; }
  .hero-photo { margin-right: 0; }
  .hero-text { padding-bottom: 12px; }
  .who, .contact-grid, .content-grid, .about-grid, .appt-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .rating { grid-template-columns: 1fr; gap: 20px; padding: 32px; text-align: left; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-icon { display: none; }
  .aside { position: static; }
  .topbar-left span:nth-child(2) { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .header .wrap { min-height: 64px; gap: 12px; }
  .brand img { width: 42px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 9px; }
  .header-phone { display: none; }
  .hero-lead, .page-hero .lead { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 20px; }
  .hero-fact b { font-size: 24px; }
  .float-card { display: none; }
  .services-grid, .steps, .list-cards, .form-grid, .stats { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-info { padding: 14px; }
  .team-info h3 { font-size: 16px; }
  .team-info .position { font-size: 12.5px; }
  .who-item { grid-template-columns: 44px 1fr; padding: 16px; gap: 14px; }
  .who-item .ic { width: 44px; height: 44px; font-size: 22px; }
  .who-item > .icon { display: none; }
  .form-card, .contact-card { padding: 24px 18px; }
  .rating-score { font-size: 64px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .map, .map iframe { min-height: 320px; }
  body { padding-bottom: 72px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
}

/* Блоки, которыми управляет админка */
.old-price { color: var(--muted); font-weight: 600; font-size: .85em; margin-right: 4px; }
.promo-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fff3e0; color: #b45309; font-size: 12px; font-weight: 800; vertical-align: middle; }
.price-row .service-name small { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 2px; }
.svc-price { font-weight: 800; color: var(--teal-700); font-size: 15px; }
.svc-card.feature .svc-price, .svc-card.feature .old-price { color: #fff; }
.prices-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.promo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.promo-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.promo-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body .promo-tag { margin: 0; align-self: flex-start; }
.promo-until { font-size: 13px; color: var(--muted); }
.promo-body h3 { margin: 4px 0 0; }
.promo-body p { color: var(--muted); font-size: 15px; margin: 0; }
.promo-price { font-size: 26px; font-weight: 800; color: var(--teal-700); margin-top: auto; padding-top: 8px; }
.promo-price s { font-size: 16px; color: var(--muted); font-weight: 600; }
.promo-body .btn { margin-top: 8px; }
.team-grid-4 { grid-template-columns: repeat(4, 1fr); }
.team-exp { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.team-desc { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.team-image { background-size: cover; background-position: center top; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--teal-50); }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-item figcaption { padding: 10px 14px; font-size: 14px; font-weight: 600; background: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.review-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; flex: 1; }
.review-meta { display: flex; flex-direction: column; font-size: 14px; }
.review-meta span { color: var(--muted); }
@media (max-width: 1100px) { .team-grid-4 { grid-template-columns: repeat(2, 1fr); } .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .prices-list, .reviews-grid { grid-template-columns: 1fr; } }
