/* ============================================================
   НЬЮТОШКИ — современный стильный дизайн
   Палитра: тёплый персиковый + мягкий бирюзовый + кремовый фон
   ============================================================ */

:root {
    --orange: #d97b46;
    --orange-dark: #ab4c26;
    --orange-light: #e9b18b;
    --orange-soft: #efe2d5;
    --teal: #328c86;
    --teal-dark: #2a8a83;
    --teal-soft: #dfeae5;
    --ink: #2d3e50;
    --ink-soft: #5a6e7c;
    --cream: #eeeae2;
    --cream-2: #e5e0d6;
    --white: #f7f4ee;
    --line: #d9d2c6;
    --shadow-sm: 0 4px 14px rgba(45,62,80,.06);
    --shadow-md: 0 12px 30px rgba(45,62,80,.10);
    --shadow-lg: 0 24px 50px rgba(45,62,80,.14);
    --radius: 24px;
    --radius-lg: 32px;
    --radius-pill: 50px;
    --t: .3s cubic-bezier(.4,.2,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Фоновые капли ===== */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; animation: floatBlob 18s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: #ffd9b3; top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: #b8ece7; bottom: -100px; left: -100px; animation-delay: -6s; }
.blob-3 { width: 300px; height: 300px; background: #ffe9cf; top: 45%; left: 55%; animation-delay: -11s; }
@keyframes floatBlob {
    0%,100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px,-40px) scale(1.08); }
    66% { transform: translate(-25px,25px) scale(.95); }
}

/* ============================================================
   ШАПКА
   ============================================================ */
header {
    background: rgba(238,234,226,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.04);
    position: sticky; top: 0; z-index: 1000;
    padding: 14px 0;
}
.header-flex {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 18px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge {
    width: 48px; height: 48px; border-radius: 16px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff; display: grid; place-items: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 18px rgba(255,140,66,.35);
    flex-shrink: 0;
}
.logo-text h1 { font-size: 1.6rem; color: var(--ink); letter-spacing: -.5px; line-height: 1; font-weight: 800; }
.logo-text p { font-size: .78rem; color: var(--ink-soft); margin-top: 2px; }

.nav-menu { display: flex; gap: 26px; }
.nav-menu a { font-weight: 700; color: var(--ink); font-size: .98rem; position: relative; padding: 6px 0; transition: var(--t); }
.nav-menu a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 3px; background: var(--orange); border-radius: 3px; transition: var(--t);
}
.nav-menu a:hover { color: var(--orange); }
.nav-menu a:hover::after { width: 100%; }

.contact-header .phone-link {
    display: flex; align-items: center; gap: 8px;
    font-weight: 800; color: var(--ink); font-size: 1.05rem; transition: var(--t);
}
.contact-header .phone-link i { color: var(--orange); }
.contact-header .phone-link:hover { color: var(--orange); }

.btn-call {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff !important;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    font-weight: 800; transition: var(--t);
    box-shadow: 0 8px 20px rgba(255,140,66,.35);
}
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,140,66,.5); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: var(--t); }
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Кнопка переключения темы ===== */
.theme-toggle {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    display: grid; place-items: center;
    font-size: 1.05rem;
    transition: var(--t);
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: rotate(20deg) scale(1.05);
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; padding: 14px 32px; border: none;
    border-radius: var(--radius-pill); font-size: 1rem;
    font-weight: 800; font-family: inherit; cursor: pointer;
    transition: var(--t); display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 24px rgba(255,140,66,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(255,140,66,.55); }
.btn-block { width: 100%; justify-content: center; }

.btn-ghost {
    background: var(--white); color: var(--ink); padding: 14px 30px;
    border-radius: var(--radius-pill); font-weight: 800;
    border: 2px solid var(--line); transition: var(--t);
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }

/* ============================================================
   СЕКЦИИ / ЗАГОЛОВКИ
   ============================================================ */
section { padding: 90px 0; position: relative; }
.section-alt { background: var(--cream-2); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--orange-soft); color: var(--orange-dark);
    font-weight: 800; font-size: .82rem; text-transform: uppercase;
    letter-spacing: 1.2px; padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.eyebrow-light { background: rgba(255,255,255,.15); color: #fff; }

.section-title { font-size: 2.4rem; font-weight: 900; color: var(--ink); line-height: 1.2; }
.section-title-light { color: #fff; }
.section-title::after {
    content: ''; display: block; width: 70px; height: 5px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    margin: 16px auto 0; border-radius: 5px;
}
.section-title-light::after { background: rgba(255,255,255,.7); }
.section-sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }

/* ============================================================
   ГЕРОЙ
   ============================================================ */
.hero { padding: 70px 0 80px; overflow: hidden; }
.hero-flex { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--teal-soft); color: var(--teal-dark);
    font-weight: 800; padding: 8px 18px; border-radius: var(--radius-pill);
    font-size: .9rem; margin-bottom: 22px;
}
.badge i { color: var(--orange); }

.hero-title { font-size: 3.2rem; font-weight: 900; line-height: 1.1; color: var(--ink); margin-bottom: 22px; }
.hero-title .accent {
    background: linear-gradient(120deg, var(--orange), #ff6b3d);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 34px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
    display: flex; gap: 38px; flex-wrap: wrap; padding-top: 30px;
    border-top: 2px dashed var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.hero-stats span { font-size: .9rem; color: var(--ink-soft); margin-top: 4px; }

.hero-visual { position: relative; min-height: 420px; }
.hero-emoji {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 16rem; filter: drop-shadow(0 18px 30px rgba(255,140,66,.25)); z-index: 1;
}
.hero-card, .hero-card-2 {
    position: absolute; background: var(--white); border-radius: var(--radius);
    padding: 18px 22px; display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-md); z-index: 2; max-width: 260px;
}
.hero-card { top: 30px; left: 0; }
.hero-card-2 { bottom: 30px; right: 0; }
.hero-card i, .hero-card-2 i {
    font-size: 1.8rem; color: var(--orange); background: var(--orange-soft);
    width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center; flex-shrink: 0;
}
.hero-card-2 i { color: var(--teal); background: var(--teal-soft); }
.hero-card strong, .hero-card-2 strong { display: block; font-size: 1rem; color: var(--ink); }
.hero-card p, .hero-card-2 p { font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }

.floating { animation: floatY 4s ease-in-out infinite; }
.floating.slow { animation-duration: 6s; animation-delay: -2s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ============================================================
   ДИРЕКТОР
   ============================================================ */
.director-box {
    background: linear-gradient(135deg, var(--orange-soft), var(--white) 60%);
    border-radius: var(--radius-lg); padding: 44px;
    display: grid; grid-template-columns: auto 1fr; gap: 44px;
    align-items: center; box-shadow: var(--shadow-md); border: 1px solid #ffe0c0;
}
.director-photo { position: relative; flex-shrink: 0; }
.director-photo img {
    width: 220px; height: 220px; object-fit: cover;
    border-radius: 50%; border: 6px solid #fff;
    box-shadow: 0 0 0 5px var(--orange), var(--shadow-md);
    position: relative; z-index: 2;
}
.photo-ring {
    position: absolute; inset: -18px;
    border: 3px dashed var(--orange-light); border-radius: 50%;
    animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.quote {
    font-size: 1.35rem; font-style: italic; color: var(--orange-dark);
    margin-bottom: 18px; display: flex; gap: 12px; align-items: flex-start; font-weight: 600;
}
.quote i { font-size: 1.6rem; color: var(--orange-light); margin-top: 4px; }
.director-text h3 { font-size: 1.5rem; color: var(--ink); font-weight: 800; }
.director-role { display: inline-block; color: var(--teal-dark); font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.director-text p { color: var(--ink-soft); font-size: 1.02rem; }

/* ============================================================
   УСЛУГИ
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.service-card {
    background: var(--white); border-radius: var(--radius); padding: 26px 22px;
    box-shadow: var(--shadow-sm); transition: var(--t); cursor: pointer;
    border: 1px solid var(--line); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0); transform-origin: left; transition: var(--t);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px; height: 56px; border-radius: 18px;
    background: linear-gradient(135deg, var(--orange-soft), #ffe6d1);
    color: var(--orange); display: grid; place-items: center;
    font-size: 1.5rem; margin-bottom: 14px; transition: var(--t);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; transform: rotate(-8deg) scale(1.05);
}
.service-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; font-weight: 800; }
.service-card p { color: var(--ink-soft); font-size: .9rem; }

/* ============================================================
   ВРАЧИ И СПЕЦИАЛИСТЫ — ПОЛНЫЕ КАРТОЧКИ
   ============================================================ */
.spec-full-list {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 26px;
}
.spec-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 30px;
    box-shadow: var(--shadow-sm); transition: var(--t);
    border: 1px solid var(--line); display: flex; flex-direction: column;
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.spec-card--doctor { border-left: 5px solid var(--teal); }
.spec-card--spec   { border-left: 5px solid var(--orange); }

.spec-card__header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.spec-card__icon {
    width: 60px; height: 60px; border-radius: 18px;
    display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0;
}
.spec-card--doctor .spec-card__icon { background: var(--teal-soft); color: var(--teal-dark); }
.spec-card--spec .spec-card__icon   { background: var(--orange-soft); color: var(--orange); }
.spec-card__info { flex: 1; min-width: 0; }
.spec-tag {
    display: inline-block; font-size: .72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .8px;
    padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 6px;
}
.spec-tag--doc  { background: var(--teal-soft); color: var(--teal-dark); }
.spec-tag--spec { background: var(--orange-soft); color: var(--orange-dark); }
.spec-card__info h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.spec-card__desc { color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }

.spec-card__meta {
    display: flex; gap: 16px; margin-bottom: 18px; padding: 14px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.spec-card__schedule, .spec-card__price {
    display: flex; align-items: center; gap: 8px;
    font-size: .9rem; flex: 1; min-width: 130px;
}
.spec-card__schedule i { color: var(--teal); }
.spec-card__schedule span { color: var(--ink); font-weight: 600; }
.spec-card__price i { color: var(--orange); }
.spec-card__price span { color: var(--orange-dark); font-weight: 800; font-size: 1.05rem; }

.spec-card__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: var(--radius-pill);
    font-weight: 800; font-size: .95rem; transition: var(--t); margin-top: auto;
}
.spec-card--doctor .spec-card__btn { background: var(--teal-soft); color: var(--teal-dark); }
.spec-card--spec .spec-card__btn   { background: var(--orange-soft); color: var(--orange-dark); }
.spec-card__btn:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

/* ============================================================
   ИНТЕНСИВ
   ============================================================ */
.intensive-block {
    background: linear-gradient(135deg, var(--orange-soft), var(--white) 50%, var(--teal-soft));
    border-radius: var(--radius-lg); padding: 60px 50px;
    text-align: center; position: relative; overflow: hidden; border: 2px solid #ffe0c0;
}
.intensive-block::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 200px; height: 200px; background: rgba(255,140,66,.08); border-radius: 50%;
}
.intensive-block::after {
    content: ''; position: absolute; bottom: -40px; left: -40px;
    width: 160px; height: 160px; background: rgba(58,176,168,.08); border-radius: 50%;
}
.intensive-icon {
    width: 90px; height: 90px; border-radius: 28px;
    background: linear-gradient(135deg, var(--orange), #ff6b3d);
    color: #fff; display: inline-grid; place-items: center;
    font-size: 2.5rem; margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(255,140,66,.35); position: relative; z-index: 1;
}
.intensive-block .eyebrow { position: relative; z-index: 1; }
.intensive-block .section-title { position: relative; z-index: 1; margin-bottom: 40px; }
.intensive-content { position: relative; z-index: 1; }
.intensive-text { text-align: left; max-width: 800px; margin: 0 auto; }
.intensive-text h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin: 30px 0 14px; }
.intensive-text h3:first-child { margin-top: 0; }
.intensive-text p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 16px; line-height: 1.7; }
.intensive-text p strong { color: var(--ink); }

.intensive-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 10px; }
.intensive-step {
    display: flex; gap: 16px; align-items: flex-start;
    background: rgba(255,255,255,.7); padding: 18px 20px; border-radius: var(--radius);
    border: 1px solid var(--line);
}
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; display: grid; place-items: center;
    font-weight: 900; font-size: 1.1rem; flex-shrink: 0;
}
.intensive-step strong { display: block; color: var(--ink); margin-bottom: 2px; }
.intensive-step p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 0 !important; }

.intensive-list {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px; margin: 14px 0 30px;
}
.intensive-list li {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: .95rem; color: var(--ink);
}
.intensive-list li i { color: var(--teal); font-size: .9rem; }
.intensive-text .btn-primary { margin-top: 10px; }

/* ============================================================
   АДМИНИСТРАТОР
   ============================================================ */
.admin-block {
    background: linear-gradient(135deg, #fff0e2, #ffe7d4);
    border-radius: var(--radius-lg); text-align: center;
    padding: 56px 30px; position: relative; overflow: hidden;
}
.admin-block::before {
    content: '\f075'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: -20px; left: 30px;
    font-size: 9rem; color: rgba(255,140,66,.08);
}
.admin-icon {
    width: 84px; height: 84px; border-radius: 24px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; display: inline-grid; place-items: center;
    font-size: 2.2rem; margin-bottom: 22px;
    box-shadow: 0 12px 26px rgba(255,140,66,.4);
}
.admin-block h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 12px; font-weight: 800; max-width: 620px; margin-left: auto; margin-right: auto; }
.admin-block > p { color: var(--ink-soft); margin-bottom: 26px; }
.admin-contacts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill-btn {
    padding: 13px 26px; border-radius: var(--radius-pill);
    font-weight: 800; display: inline-flex; align-items: center; gap: 10px; transition: var(--t);
}
.pill-phone { background: var(--ink); color: #fff; }
.pill-phone:hover { background: var(--orange); transform: translateY(-2px); }
.pill-email {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
}
.pill-email:hover {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    transform: translateY(-2px);
}

/* ============================================================
   SWIPER — ГАЛЕРЕЯ
   ============================================================ */
.swiper { width: 100%; padding-bottom: 50px; }
.gallerySwiper .swiper-slide { background: transparent; padding: 0; box-shadow: none; }
.gallery-img { width: 100%; height: 480px; object-fit: contain; object-position: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 767px) {
    .gallery-img { height: auto; max-height: 75svh; min-height: 240px; }
}

.videos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-card { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.video-card video { display: block; width: 100%; height: 480px; object-fit: contain; background: #18222c; color-scheme: dark; }
.video-card figcaption { display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 800; color: var(--ink); }
.video-card__number { font-size: .8rem; color: var(--teal-dark); background: var(--teal-soft); padding: 4px 9px; border-radius: 8px; }
[data-theme="dark"] .video-card__number { color: #70d0c7; }
@media (min-width: 768px) and (max-width: 1023px) { .videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .videos-grid { display: flex; position: relative; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 12px; }
    .videos-grid::-webkit-scrollbar { display: none; }
    .videos-grid > .video-card { flex: 0 0 100%; scroll-snap-align: start; }
    .video-card video { height: auto; aspect-ratio: 3 / 4; max-height: 75svh; min-height: 240px; }
}
.video-pagination { display: none; }
.video-carousel { position: relative; min-width: 0; }
.video-arrow { display: none; }
@media (max-width: 767px) {
    .video-arrow { position: absolute; top: calc((100% - 76px) / 2); transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; color: var(--orange); box-shadow: var(--shadow-sm); font-size: 1.1rem; cursor: pointer; }
    .video-arrow--prev { left: 10px; }
    .video-arrow--next { right: 10px; }
    .video-arrow:hover:not(:disabled) { background: var(--orange); color: #fff; }
    .video-arrow:disabled { opacity: .4; cursor: default; }
    .video-arrow:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
    .video-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
    .video-pagination button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; background: transparent; border: 0; cursor: pointer; }
    .video-pagination button::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); opacity: .4; }
    .video-pagination button[aria-current="true"]::before { opacity: 1; transform: scale(1.2); }
    .video-pagination button:focus-visible, .videos-grid:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
}

.swiper-pagination-bullet { background: var(--orange); opacity: .4; width: 11px; height: 11px; }
.swiper-pagination-bullet-active { opacity: 1; transform: scale(1.2); }
.swiper-button-next, .swiper-button-prev {
    color: var(--orange) !important; background: #fff;
    width: 50px; height: 50px; border-radius: 50%;
    box-shadow: var(--shadow-sm); transition: var(--t);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.1rem; font-weight: 800; }
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--orange); color: #fff !important; transform: scale(1.08); }

/* ============================================================
   ВИДЖЕТ ОТЗЫВОВ 2GIS
   ============================================================ */
.reviews-widget {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--white);
}
.dg-widget-link { display: none; }
.dg-widget iframe { border-radius: var(--radius-lg); }
.reviews-2gis-link { text-align: center; margin-top: 24px; }
.reviews-2gis-link a {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.05rem; color: var(--orange-dark);
    padding: 14px 30px; border-radius: var(--radius-pill);
    border: 2px solid var(--orange-light); transition: var(--t); background: var(--orange-soft);
}
.reviews-2gis-link a:hover {
    background: var(--orange); color: #fff; border-color: var(--orange);
    transform: translateY(-3px); box-shadow: 0 10px 24px rgba(255,140,66,.35);
}

/* ============================================================
   ЛИЦЕНЗИИ И ДОКУМЕНТЫ
   ============================================================ */
.licenses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.license-card {
    background: var(--white); border-radius: var(--radius); padding: 30px 24px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: var(--t); text-align: center;
}
.license-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.license-icon {
    width: 64px; height: 64px; border-radius: 20px;
    background: linear-gradient(135deg, var(--teal-soft), #d4f0ed);
    color: var(--teal-dark); display: inline-grid; place-items: center;
    font-size: 1.6rem; margin-bottom: 16px;
}
.license-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.license-card p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; }
.license-img {
    width: 100%; height: 200px; object-fit: contain;
    border-radius: var(--radius); background: var(--cream);
    border: 1px solid var(--line); padding: 8px;
}
.license-placeholder {
    width: 100%; height: 200px; background: var(--cream);
    border: 2px dashed var(--line); border-radius: var(--radius);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; color: var(--ink-soft); font-size: .9rem;
}
.license-placeholder i { font-size: 2rem; color: var(--line); }

/* ============================================================
   ЗАПИСЬ / ФОРМА
   ============================================================ */
#booking {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; position: relative; overflow: hidden;
}
#booking::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 500px; height: 500px; background: rgba(255,255,255,.07); border-radius: 50%;
}
#booking::after {
    content: ''; position: absolute; bottom: -40%; left: -10%;
    width: 400px; height: 400px; background: rgba(255,255,255,.05); border-radius: 50%;
}
.booking-wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
    align-items: center; position: relative; z-index: 1;
}
.booking-info > .eyebrow { margin-bottom: 18px; }
.booking-info .section-title { text-align: left; }
.booking-info .section-title::after { margin-left: 0; }
.booking-info > p { font-size: 1.1rem; margin: 18px 0 30px; opacity: .95; }
.booking-list { display: flex; flex-direction: column; gap: 16px; }
.booking-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; font-weight: 600; }
.booking-list i {
    width: 44px; height: 44px; border-radius: 14px;
    background: rgba(255,255,255,.18); display: grid; place-items: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.booking-list a:hover { text-decoration: underline; }

.form-container {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow-lg); color: var(--ink);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink-soft); margin-bottom: 7px; padding-left: 4px; }
input, select, textarea {
    width: 100%; padding: 15px 20px;
    border: 2px solid var(--line); border-radius: var(--radius-pill);
    font-size: 1rem; font-family: inherit; color: var(--ink);
    background: var(--cream); transition: var(--t);
}
input::placeholder { color: #b0a890; }
input:focus, select:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(255,140,66,.12); }
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ff8c42' d='M207 381.5L12.7 187.1c-9.4-9.4-9.4-24.6 0-33.9l22.7-22.7c9.4-9.4 24.5-9.4 33.9 0L224 284.5l154.7-154c9.4-9.3 24.5-9.3 33.9 0l22.7 22.7c9.4 9.4 9.4 24.6 0 33.9L241 381.5c-9.4 9.3-24.6 9.3-34 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 20px center;
    background-size: 14px; padding-right: 50px;
}
optgroup { font-weight: 700; color: var(--ink-soft); }
.form-hint { text-align: center; margin-top: 16px; font-size: .8rem; color: #9a917b; }
.form-hint i { color: var(--teal); }

/* Ссылка на политику в форме */
.privacy-link { color: var(--orange-dark) !important; font-weight: 700 !important; text-decoration: underline !important; }
.privacy-link:hover { color: var(--orange) !important; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
footer { background: var(--ink); color: #cdd5dd; padding: 56px 0 26px; }
.footer-flex {
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 40px; align-items: center; padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo .logo-text h3 { color: #fff; font-size: 1.4rem; font-weight: 800; }
.footer-logo .logo-text p { color: #9aabb6; }
.footer-nav { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: #cdd5dd; font-weight: 700; transition: var(--t); }
.footer-nav a:hover { color: var(--orange); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts a { display: flex; align-items: center; gap: 10px; color: #cdd5dd; font-weight: 600; transition: var(--t); }
.footer-contacts a:hover { color: var(--orange); }
.footer-contacts i { color: var(--orange); }
.footer-bottom { text-align: center; padding-top: 24px; font-size: .9rem; color: #8a99a3; }
.footer-tagline { margin-top: 4px; color: var(--orange-light); font-weight: 600; }
.footer-legal { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .85rem; }
.footer-legal a { color: #8a99a3; transition: var(--t); }
.footer-legal a:hover { color: var(--orange); }
.footer-legal span { color: #5a6e7c; }

/* Плавающая кнопка звонка */
.call-fab {
    position: fixed; bottom: 24px; right: 24px;
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; display: none; place-items: center;
    font-size: 1.4rem; box-shadow: 0 10px 26px rgba(255,140,66,.5);
    z-index: 900; animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,140,66,.5); }
    70% { box-shadow: 0 0 0 18px rgba(255,140,66,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,140,66,0); }
}

/* ============================================================
   МОДАЛКА: ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(45,62,80,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; visibility: hidden; transition: all .3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 44px 40px; max-width: 720px; width: 100%; max-height: 80vh; overflow-y: auto;
    box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.95);
    transition: all .35s cubic-bezier(.4,0,.2,1); position: relative;
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; font-size: 2rem; color: var(--ink-soft);
    cursor: pointer; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; transition: var(--t); z-index: 10;
}
.modal-close:hover { background: var(--cream); color: var(--ink); }
.modal-box h2 { font-size: 1.6rem; font-weight: 900; color: var(--ink); margin-bottom: 24px; padding-right: 40px; }
.modal-content h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 24px 0 10px; }
.modal-content h3:first-of-type { margin-top: 0; }
.modal-content p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 12px; line-height: 1.7; }
.modal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 12px; }
.modal-content ul li { color: var(--ink-soft); font-size: .95rem; margin-bottom: 6px; }
.modal-content a { color: var(--orange-dark); font-weight: 700; text-decoration: underline; }

/* ============================================================
   ЧЕКБОКС СОГЛАСИЯ НА ОБРАБОТКУ ПД
   ============================================================ */
.consent-group {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 20px; padding: 12px 16px;
    background: var(--cream); border-radius: var(--radius);
    border: 2px solid var(--line);
}
.consent-group input[type="checkbox"] {
    width: 20px; height: 20px; flex-shrink: 0;
    margin-top: 2px; border-radius: 6px;
    accent-color: var(--orange); cursor: pointer;
    border: 2px solid var(--line); background: var(--white);
}
.consent-group input[type="checkbox"]:focus {
    outline: 2px solid var(--orange); outline-offset: 2px;
}
.consent-group label {
    font-size: .85rem; color: var(--ink-soft); cursor: pointer; line-height: 1.5;
}
.consent-group label a { color: var(--orange-dark); font-weight: 700; text-decoration: underline; }

/* ============================================================
   ПОМЕТОЧНЫЙ ЗНАК «РЕКЛАМА»
   ============================================================ */
.ad-badge {
    display: inline-block; font-size: .68rem; font-weight: 800;
    color: var(--ink-soft); text-transform: uppercase;
    letter-spacing: .8px; padding: 3px 10px; border-radius: var(--radius-pill);
    background: var(--cream-2); border: 1px solid var(--line);
    margin-left: 12px; vertical-align: middle;
}

/* ============================================================
   ПРАВА ПАЦИЕНТА
   ============================================================ */
.patient-rights-box {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 44px 40px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); text-align: left;
}
.patient-rights-box h3 {
    font-size: 1.15rem; font-weight: 800; color: var(--ink);
    margin: 24px 0 10px;
}
.patient-rights-box h3:first-child { margin-top: 0; }
.patient-rights-box p {
    color: var(--ink-soft); font-size: .98rem; margin-bottom: 12px; line-height: 1.7;
}
.patient-rights-box ul {
    list-style: disc; padding-left: 24px; margin-bottom: 12px;
}
.patient-rights-box ul li {
    color: var(--ink-soft); font-size: .95rem; margin-bottom: 8px; line-height: 1.6;
}
.patient-rights-box strong { color: var(--ink); }

/* ============================================================
   COOKIE-БАННЕР
   ============================================================ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--ink); color: #fff;
    padding: 18px 24px; z-index: 9998;
    display: flex; align-items: center; justify-content: center; gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
    transform: translateY(100%);
    transition: transform .4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: .92rem; max-width: 700px; line-height: 1.5; }
.cookie-banner p a { color: var(--orange-light); text-decoration: underline; font-weight: 700; }
.cookie-btn {
    background: var(--orange); color: #fff; border: none;
    padding: 10px 24px; border-radius: var(--radius-pill);
    font-weight: 800; font-size: .92rem; cursor: pointer;
    font-family: inherit; transition: var(--t); white-space: nowrap; flex-shrink: 0;
}
.cookie-btn:hover { background: var(--orange-dark); transform: scale(1.05); }

/* ============================================================
   РЕКВИЗИТЫ В ПОДВАЛЕ
   ============================================================ */
.footer-requisites {
    margin-top: 14px; font-size: .82rem; color: #6a7a8a; line-height: 1.7; text-align: center;
}
.footer-requisites span { display: block; }

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 992px) {
    .hero-flex { grid-template-columns: 1fr; }
    .hero-visual { min-height: 320px; order: -1; }
    .booking-wrap { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.6rem; }
    .director-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .director-text { text-align: center; }
    .quote { justify-content: center; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .section-title { font-size: 1.9rem; }

    .nav-menu, .contact-header { display: none; }
    .nav-menu.open {
        display: flex; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: #f7f4ee; color: #2d3e50; padding: 12px 20px; gap: 0;
        box-shadow: var(--shadow-md); border-radius: 0 0 20px 20px;
    }
    .btn-call { order: 2; }
    .burger { display: flex; }

    .nav-menu.open a {
        display: block;
        padding: 12px 8px;
        color: #2d3e50;
        border-bottom: 1px solid #d9d2c6;
    }
    .nav-menu.open a:last-child { border-bottom: 0; }
    .nav-menu.open a:hover,
    .nav-menu.open a:focus-visible { background: #efe2d5; color: #873b1d; border-radius: 8px; }
    [data-theme="dark"] .nav-menu.open {
        background: #1c2632;
        color: #f1f5f9;
        border-color: #2c3a4a;
        box-shadow: 0 16px 32px rgba(0,0,0,.35);
    }
    [data-theme="dark"] .nav-menu.open a { color: #f1f5f9; border-color: #2c3a4a; }
    [data-theme="dark"] .nav-menu.open a:hover,
    [data-theme="dark"] .nav-menu.open a:focus-visible { background: #293746; color: #ffb07a; }

    .hero { padding: 40px 0 60px; }
    .hero-title { font-size: 2.1rem; }
    .hero-subtitle { font-size: 1.02rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
    .hero-stats { gap: 24px; }
    .hero-stats strong { font-size: 1.6rem; }
    .hero-emoji { font-size: 11rem; }

    .director-box { padding: 30px 22px; }
    .director-photo img { width: 170px; height: 170px; }

    .spec-full-list { grid-template-columns: 1fr; }
    .intensive-block { padding: 40px 22px; }
    .intensive-steps { gap: 12px; }
    .intensive-list { grid-template-columns: 1fr; }

    .admin-block { padding: 40px 20px; }
    .admin-block h3 { font-size: 1.25rem; }
    .form-container { padding: 28px 22px; }

    .footer-flex { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .footer-logo { justify-content: center; }
    .footer-contacts { align-items: center; }
    .call-fab { display: grid; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.6rem; }
    .hero-title { font-size: 1.8rem; }
    .logo-text h1 { font-size: 1.3rem; }
    .logo-text p { font-size: .72rem; }
    .logo-badge { width: 42px; height: 42px; font-size: 1.1rem; }
    .btn-call { padding: 9px 18px; font-size: .9rem; }
    .hero-card, .hero-card-2 { max-width: 220px; padding: 14px 16px; }
    .hero-card i, .hero-card-2 i { width: 44px; height: 44px; font-size: 1.4rem; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ============================================================
   ТЁМНАЯ ТЕМА
   ============================================================ */
[data-theme="dark"] {
    color-scheme: dark;
    --orange: #ff8c42;
    --orange-dark: #ffab75;
    --orange-light: #ffb07a;
    --teal: #3ab0a8;
    --orange-soft: rgba(255,140,66,.16);
    --teal-soft: rgba(58,176,168,.16);
    --ink: #f1f5f9;
    --ink-soft: #9fb0c0;
    --cream: #131a24;
    --cream-2: #0f151d;
    --white: #1c2632;
    --line: #2c3a4a;
    --shadow-sm: 0 4px 14px rgba(0,0,0,.4);
    --shadow-md: 0 12px 30px rgba(0,0,0,.5);
    --shadow-lg: 0 24px 50px rgba(0,0,0,.6);
}

/* Фон + блобы */
[data-theme="dark"] body { background: var(--cream); }
[data-theme="dark"] .blob-1 { background: rgba(255,140,66,.18); }
[data-theme="dark"] .blob-2 { background: rgba(58,176,168,.18); }
[data-theme="dark"] .blob-3 { background: rgba(255,140,66,.10); opacity: .5; }

/* Шапка */
[data-theme="dark"] header {
    background: rgba(19,26,36,.85);
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

/* Директор / интенс / администратор — тёмные градиенты вместо светлых */
[data-theme="dark"] .director-box {
    background: linear-gradient(135deg, #1f2a36, var(--white) 60%);
    border-color: var(--line);
}
[data-theme="dark"] .director-photo img { border-color: var(--white); }
[data-theme="dark"] .intensive-block {
    background: linear-gradient(135deg, #1f2a36, var(--white) 50%, #18222c);
    border-color: var(--line);
}
[data-theme="dark"] .admin-block { background: linear-gradient(135deg, #1c2632, #161f29); }
[data-theme="dark"] .admin-block::before { color: rgba(255,140,66,.06); }

/* Карточки: фон через --white уже тёмный, правим внутренние белые/кремовые элементы */
[data-theme="dark"] .service-icon {
    background: linear-gradient(135deg, rgba(255,140,66,.18), rgba(255,140,66,.08));
}
[data-theme="dark"] .intensive-step { background: rgba(28,38,50,.6); border-color: var(--line); }
[data-theme="dark"] .license-img { background: var(--cream-2); }
[data-theme="dark"] .license-placeholder { background: var(--cream-2); border-color: var(--line); }

/* Форма */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea { background: var(--cream-2); color: var(--ink); }
[data-theme="dark"] input::placeholder { color: #5e7184; }
[data-theme="dark"] .form-container { background: var(--white); }
[data-theme="dark"] .form-hint { color: #7a8c9c; }

/* Герой-карточки */
[data-theme="dark"] .hero-card,
[data-theme="dark"] .hero-card-2 { background: var(--white); }

/* Виджет отзывов 2GIS */
[data-theme="dark"] .reviews-widget { background: var(--white); }

/* Подвал — ещё темнее */
[data-theme="dark"] footer { background: #0c1118; }

/* Кнопка темы в тёмном режиме */
[data-theme="dark"] .theme-toggle { background: var(--white); border-color: var(--line); color: var(--orange); }

/* Селект и стандартные плейсхолдеры */
[data-theme="dark"] optgroup { color: var(--ink-soft); }

/* Плавный переход цветов для всех элементов при переключении */
body, header, footer, .director-box, .intensive-block, .admin-block,
.service-card, .spec-card, .license-card, .form-container, .reviews-widget,
.hero-card, .hero-card-2, input, select, textarea, .modal-box,
.theme-toggle, .intensive-step, .license-img, .license-placeholder {
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
/* Отзывы: виджет и прямая ссылка доступны на узких экранах. */
.reviews-yandex { margin-top: 40px; }
.reviews-yandex h3 { margin-bottom: 18px; color: var(--ink); font-size: 1.35rem; }
.reviews-yandex iframe { display: block; width: 100%; height: 600px; border: 0; }
.dg-widget-link { display: block; padding: 16px 22px; color: var(--teal-dark); font-weight: 800; }
[data-theme="dark"] .dg-widget-link { color: var(--teal); }
@media (max-width: 768px) {
    .nav-menu.open { max-height: calc(100dvh - 90px); overflow-y: auto; border-top: 1px solid var(--line); }
    .reviews-2gis-link a { max-width: 100%; padding: 12px 20px; font-size: .95rem; }
}
/* Единое оформление независимых площадок с отзывами. */
.reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.review-source { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.review-source__head { display: flex; align-items: center; gap: 14px; padding: 24px; border-bottom: 1px solid var(--line); }
.review-source__mark { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 15px; background: var(--teal-soft); color: var(--teal-dark); font-size: 24px; font-weight: 900; }
.review-source--yandex .review-source__mark { background: var(--orange-soft); color: var(--orange-dark); }
.review-source__head h3 { font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
.review-source__head p { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.review-source__label { margin-left: auto; font-size: .72rem; font-weight: 800; color: var(--ink-soft); padding: 5px 10px; border: 1px solid var(--line); border-radius: 30px; }
.review-source__body { height: 480px; position: relative; background: var(--cream); }
.review-source__body--widget { background: #fff; color-scheme: light; }
.review-source__body iframe, .review-source__embed, .review-source__embed iframe { display: block; width: 100% !important; height: 480px !important; border: 0; }
.review-source__embed[hidden] { display: none; }
.review-source__fallback { height: 100%; padding: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at top, var(--teal-soft), transparent 75%); }
.review-source__fallback[hidden] { display: none; }
.review-source__fallback > i { font-size: 44px; color: var(--teal); margin-bottom: 24px; }
.review-source__fallback h4 { max-width: 300px; font-size: 1.4rem; line-height: 1.4; margin-bottom: 14px; }
.review-source__fallback p { max-width: 310px; color: var(--ink-soft); font-size: .95rem; }
.review-source__fallback a { margin-top: 24px; font-weight: 800; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 5px; }
.review-source__link { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; border-top: 1px solid var(--line); font-weight: 800; color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.review-source__link:hover { background: var(--teal-soft); color: var(--teal-dark); }
.review-source--yandex .review-source__link:hover { background: var(--orange-soft); color: var(--orange-dark); }
.review-source__link:focus-visible, .review-source__fallback a:focus-visible { outline: 3px solid var(--teal); outline-offset: -4px; }
.reviews-note { max-width: 650px; margin: 24px auto 0; text-align: center; font-size: .88rem; color: var(--ink-soft); }
[data-theme="dark"] .review-source__fallback a, [data-theme="dark"] .review-source--2gis .review-source__mark { color: #70d0c7; }
@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .review-source__head { padding: 20px 16px; gap: 10px; }
    .review-source__label { display: none; }
    .review-source__head p { font-size: .78rem; }
    .review-source__link { padding: 18px 16px; font-size: .92rem; }
    .review-source__fallback { padding: 28px 22px; }
}

/* Прайс филиала и абонементы. */
.spec-card__subscription { margin: 0 24px 18px; padding: 12px 16px; border-radius: 12px; background: var(--teal-soft); color: var(--ink); font-size: .88rem; line-height: 1.6; }
.branch-prices { margin-top: 48px; }
.branch-prices h3 { margin-bottom: 20px; font-size: 1.4rem; }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; text-align: left; font-size: .92rem; }
.price-table th, .price-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead { background: var(--teal-soft); color: var(--ink); }
.price-table tbody th { font-weight: 700; width: 28%; }
.price-table td:nth-child(2) { white-space: nowrap; font-weight: 800; }
.price-table tr:last-child > * { border-bottom: 0; }
.intensive-prices { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
/* Телефоны филиалов и время приёма звонков. */
.phone-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 24px; text-align: left; }
.phone-card { padding: 26px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.phone-card--main { border-color: var(--teal); }
.phone-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); font-size: 1.2rem; }
.phone-card h4 { margin-bottom: 8px; font-size: 1rem; color: var(--ink-soft); }
.phone-card__number { display: inline-block; font-size: clamp(1rem, 1.7vw, 1.3rem); font-weight: 900; white-space: nowrap; color: var(--ink); }
.phone-card__number:hover { color: var(--teal); }
.phone-card__number:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; border-radius: 4px; }
.phone-card__hours { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.phone-card__hours strong { color: var(--ink); font-size: .95rem; }
.footer-call-hours { font-size: .8rem; opacity: .8; line-height: 1.6; margin-top: -4px; }
@media (max-width: 900px) {
    .phone-cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
    .phone-card { padding: 22px; }
    .phone-card__number { font-size: 1.3rem; }
}