@font-face {
    font-family: 'RedRing';
    src: url(../fonts/RedRing.ttf);
}

:root {
    --navy: #123d69;
    --blue: #2576a8;
    --teal: #35b7ad;
    --mint: #e8f8f4;
    --lavender: #f0edff;
    --peach: #fff0e5;
    --rose: #ffecef;
    --cream: #fffaf5;
    --white: #fff;
    --text: #173b5c;
    --muted: #6c7f90;
    --line: #dce7ec;
    --shadow: 0 18px 50px rgba(23, 59, 92, .10);
    --radius: 24px;
    --container: 1400px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: "Manrope", Arial, sans-serif;
    color: var(--text);
    line-height: 1.55;
    background-color: #E9FFF8;
    overflow-x: hidden;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: auto;
}

.section { padding: 88px 0; }

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #45a7a0;
    margin-bottom: 10px;
}

h1, h2, h3, h4 {
    font-family: "Nunito", sans-serif;
    line-height: 1.08;
    margin: 0 0 16px;
}
h1 {
    font-size: clamp(42px, 5vw, 70px);
    letter-spacing: -.04em;
    color: var(--navy);
}
h1 span { color: #279b9a; }
h2 {
    font-size: clamp(34px, 4vw, 48px);
    color: var(--navy);
    letter-spacing: -.03em;
}
p { margin: 0; color: var(--muted); }

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .2s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(18, 61, 105, .12);
}
.btn-primary { background: #ff6f6a; color: #fff; }
.btn-primary2 { background: #0E3E86; color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--navy); color: var(--navy); }
.btn-light   { background: #fff; border: 1px solid #a8c8d7; color: #23618a; }
.btn-large   { padding: 15px 25px; }
.text-link {
    color: #22739a;
    font-weight: 800;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 8px 0;
}

/* ============================================================
   ФОН: страница-обёртка с паттерном
   ============================================================ */
.page-wrap {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #E9FFF8;
    background-image: url('../img/bg-spring.webp');
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: center top;
}

/* ============================================================
   ПРЕЛОАДЕР
   ============================================================ */
.site-loader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: .45s;
}
.site-loader.hide { opacity: 0; visibility: hidden; }
.site-loader img { width: 190px; }
.loader-line {
    width: 180px;
    height: 4px;
    background: #e9e3dc;
    border-radius: 99px;
    overflow: hidden;
}
.loader-line span {
    display: block;
    height: 100%;
    width: 35%;
    background: #ff6f6a;
    animation: load 1s infinite;
}
@keyframes load { to { transform: translateX(520%); } }

/* ============================================================
   ХЕДЕР
   ============================================================ */
.site-header {
    position: sticky;
    top: 8px;
    z-index: 1000;
    padding: 0 20px;
    pointer-events: none;
}

.header-wrap {
    pointer-events: auto;
    width: min(calc(100% - 40px), 1440px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 16px 8px 20px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(49, 61, 134, 0.35);
    border-radius: 999px;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled .header-wrap {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 12px 32px rgba(23, 59, 92, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.brand img {
    width: 140px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    flex-wrap: nowrap;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 10px;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #36566e;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(216, 30, 62, 0.05);
    color: #232D67;
}

.nav-link:hover::before,
.nav-link.active::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 0.5px;
    background: #313D86;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.nav-link.active {
    background: rgba(216, 30, 62, 0.05);
    color: #D81E3E;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;
    border-left: 1px solid rgba(49, 61, 134, 0.15);
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-link {
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    white-space: nowrap;
}
.phone-link:hover { color: #ff6f6a; }

.header-socials {
    display: inline-flex;
    gap: 6px;
}
.header-socials img {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 0.2s;
}
.header-socials a:hover img { transform: scale(1.15); }

.header-addresses {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.header-addresses a {
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    color: #000;
    text-decoration: none;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    line-height: 1.45;
}
.header-addresses a:hover { color: #ff6f6a; }

.header-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
    text-align: center;
    min-width: 110px;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.header-actions .btn-primary {
    background: #313D86;
    color: #fff;
    box-shadow: 0 6px 14px rgba(49, 61, 134, 0.28);
}
.header-actions .btn-primary:hover {
    background: #232D67;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(49, 61, 134, 0.36);
}

.header-actions .btn-accent {
    background: #D81E3E;
    color: #fff;
    box-shadow: 0 6px 14px rgba(216, 30, 62, 0.28);
}
.header-actions .btn-accent:hover {
    background: #b81834;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(216, 30, 62, 0.36);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 2100;
    position: relative;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--navy);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ
   ============================================================ */

.mobile-panel,
.mobile-panel-overlay {
    display: none;
}

@media (max-width: 1000px) {

    .mobile-panel-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(9, 31, 48, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
        z-index: 1998;
    }
    .mobile-panel-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-panel {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        background: #FDF3EA;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1999;
        visibility: hidden;
    }
    .mobile-panel.open {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(220, 231, 236, 0.6);
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 2;
    }
    .mobile-panel-logo img {
        width: 130px;
        height: auto;
        display: block;
    }
    .mobile-panel-close {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 0;
        background: #f1f5f9;
        color: #313D86;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .2s, transform .2s;
        flex-shrink: 0;
    }
    .mobile-panel-close:hover {
        background: #e2e8f0;
        transform: rotate(90deg);
    }
    .mobile-panel-close svg {
        width: 22px;
        height: 22px;
    }

    .mobile-panel-nav {
        display: flex;
        flex-direction: column;
        padding: 8px 0;
        background: #fff;
        border-bottom: 1px solid rgba(220, 231, 236, 0.6);
    }
    .mobile-panel-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 20px;
        font-size: 16px;
        font-weight: 700;
        font-family: "Manrope", Arial, sans-serif;
        color: var(--navy);
        text-decoration: none;
        border-bottom: 1px solid rgba(220, 231, 236, 0.4);
        transition: color .2s, background .2s, padding-left .2s;
    }
    .mobile-panel-nav a:last-child {
        border-bottom: 0;
    }
    .mobile-panel-nav a:hover,
    .mobile-panel-nav a:active {
        color: #ff6f6a;
        background: rgba(216, 30, 62, 0.04);
        padding-left: 26px;
    }
    .mobile-panel-nav .arr {
        color: #cbd5e1;
        font-weight: 400;
        transition: color .2s, transform .2s;
    }
    .mobile-panel-nav a:hover .arr {
        color: #ff6f6a;
        transform: translateX(3px);
    }

    .mobile-panel-contacts {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        flex: 1;
    }
    .mobile-panel-phone {
        display: block;
        font-family: "Manrope", Arial, sans-serif;
        font-size: 20px;
        font-weight: 800;
        color: var(--navy);
        text-decoration: none;
        text-align: center;
    }

    .mobile-panel-socials {
        display: flex;
        justify-content: center;
        gap: 12px;
    }
    .mobile-panel-socials img {
        width: 44px;
        height: 44px;
        display: block;
        transition: transform .2s;
    }
    .mobile-panel-socials a:hover img {
        transform: scale(1.1);
    }

    .mobile-panel-addresses {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .mobile-panel-addresses-title {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #8a9aa5;
        font-weight: 700;
        margin-bottom: 4px;
    }
    .mobile-panel-addresses a {
        font-size: 13.5px;
        color: #23618a;
        text-decoration: none;
        padding: 3px 0;
        border-bottom: 1px dashed rgba(220, 231, 236, 0.7);
        transition: color .15s;
    }
    .mobile-panel-addresses a:hover { color: #ff6f6a; }

    .mobile-panel-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: auto;
        padding-top: 8px;
    }
    .mobile-panel-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 999px;
    }
    .mobile-panel-buttons .btn-primary {
        background: #313D86;
        color: #fff;
        box-shadow: 0 8px 20px rgba(49, 61, 134, 0.28);
    }
    .mobile-panel-buttons .btn-accent {
        background: #D81E3E;
        color: #fff;
        box-shadow: 0 6px 14px rgba(216, 30, 62, 0.28);
    }
}

@media (max-width: 900px) {
    .site-header,
    .header-wrap {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

.mob-btns {
    display: flex;
    gap: 5px;
}

.top-space { height: 30px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: transparent; }

.hero-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 0;
}

.hero-image {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    position: relative;
    border-radius: 0 28px 28px 0;
    overflow: hidden;
    z-index: 0;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0, 0.35) 4%,
        rgba(0,0,0, 1) 12%,
        rgba(0,0,0, 1) 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0, 0.35) 4%,
        rgba(0,0,0, 1) 12%,
        rgba(0,0,0, 1) 100%
    );
}

.hero-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: auto;
}

.hero-copy {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    padding: 0;
    margin-right: -60px;
    max-width: 100%;
}

.hero-copy .eyebrow {
    color: #7a8f9e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 14px;
}

.hero-copy h1 {
    font-family: 'RedRing';
    font-size: clamp(40px, 4.6vw, 62px);
    line-height: 1.03;
    letter-spacing: -0.035em;
    color: var(--navy);
    margin: 0 0 22px;
}

.hero-copy h1 span {
    color: #279b9a;
    display: block;
}

.hero-lead {
    font-size: 17px;
    line-height: 1.55;
    color: #4a6478;
    max-width: 440px;
    margin: 0 0 30px;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}

.hero-buttons .btn-primary {
    background: #ff6f6a;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 111, 106, 0.28);
}
.hero-buttons .btn-primary:hover {
    background: #f95e58;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 111, 106, 0.4);
}

.hero-buttons .btn-outline {
    background: #fff;
    border: 1.5px solid #a8c8d7;
    color: #23618a;
}
.hero-buttons .btn-outline:hover {
    background: #f4fafb;
    border-color: #7bb8c9;
}

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.stats {
    width: min(100%, 1400px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(234, 248, 245, 0.72);
    border: 0;
    border-radius: 22px;
    margin: 0 auto;
    padding: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    z-index: 5;
    overflow: visible;
}

.stats-owl {
    position: absolute;
    top: -50px;
    right: -20px;
    width: 110px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 8px 16px rgba(23, 59, 92, 0.12));
    animation: owlFloat 4s ease-in-out infinite;
}

@keyframes owlFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-4px) rotate(2deg); }
}

.stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    min-height: 90px;
    border-right: 1px solid rgba(140, 200, 195, 0.55);
}
.stat:last-child { border-right: 0; }

.stat-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(23, 59, 92, 0.06));
}

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.stat strong {
    font-family: "Nunito", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #147f85;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.stat span {
    font-size: 12px;
    color: #52717e;
    line-height: 1.35;
}

/* ============================================================
   АКЦЕНТНЫЕ ПЛАШКИ
   ============================================================ */
.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.highlight {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
    border: 3px solid transparent;
}

.highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(23, 59, 92, 0.07);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 2px 6px rgba(23, 59, 92, 0.06);
}

.highlight-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.highlight-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.highlight-text strong {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.highlight-text span {
    font-size: 12.5px;
    line-height: 1.45;
    color: #5a7284;
}

.highlight-sale {
    background: #FFEDF2;
    border-color: #fde3dc;
}
.highlight-sale .highlight-icon { color: #ef6e67; }
.highlight-sale .highlight-text strong { color: #b94540; }

.highlight-capital {
    background: #f6f4fd;
    border-color: #e6e1f5;
}
.highlight-capital .highlight-icon { color: #8a78d4; }
.highlight-capital .highlight-text strong { color: #5d4dad; }

/* ============================================================
   ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ
   ============================================================ */
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 32px;
}
.section-heading p { font-size: 15px; }

.heading-with-owl {
    display: flex;
    align-items: center;
    gap: 18px;
}

.heading-owl {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(23, 59, 92, 0.08));
}

/* ============================================================
   СЕКЦИЯ «С чего начать?»
   ============================================================ */
.start-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.start-left {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
}

.start-head { margin-bottom: 4px; }
.start-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--navy);
    margin: 6px 0 8px;
    letter-spacing: -0.03em;
}
.start-head p {
    font-size: 15px;
    color: var(--muted);
    max-width: 520px;
}

.steps {
    display: grid;
    grid-template-columns: 1fr 26px 1fr 26px 1fr;
    gap: 10px;
    align-items: stretch;
}

.step-card {
    position: relative;
    border-radius: 20px;
    padding: 20px 22px 24px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: .2s ease;
}
.step-card:hover { transform: translateY(-3px); }

.step-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #5fc3b5;
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 17px;
    flex-shrink: 0;
}

.step-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    opacity: 0.9;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 8px;
    line-height: 1.2;
}
.step-card p {
    font-size: 13px;
    color: #5a7284;
    line-height: 1.5;
    margin: 0;
}

.step-mint { background: rgba(163, 204, 197, 0.78); }
.step-mint .step-number { background: #5fc3b5; }

.step-lavender { background: rgba(217, 203, 242, 0.78); }
.step-lavender .step-number { background: #a998e8; }

.step-peach { background: rgba(249, 218, 179, 0.78); }
.step-peach .step-number { background: #f4a16b; }

.step-arrow {
    display: grid;
    place-items: center;
    color: #8ba7b5;
    opacity: 0.9;
}
.step-arrow svg { width: 22px; height: 22px; }

.quiz-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 32px;
    border-radius: 22px;
    background: rgba(233, 246, 247, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
    height: 100%;
    min-height: 100%;
}

.quiz-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    z-index: 2;
}

.quiz-card h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.01em;
}

.quiz-card p {
    font-size: 13px;
    color: #5a7284;
    line-height: 1.5;
    margin: 0 0 4px;
}

.quiz-card .btn {
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    align-self: flex-start;
    white-space: nowrap;
    background: #ff6f6a;
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 111, 106, 0.28);
}
.quiz-card .btn:hover {
    background: #f95e58;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(255, 111, 106, 0.4);
}
.quiz-card .btn span {
    display: inline-block;
    transition: transform 0.2s;
}
.quiz-card .btn:hover span { transform: translateX(3px); }

.quiz-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    min-width: 140px;
}

.quiz-image img {
    width: 140px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto 0;
    filter: drop-shadow(0 6px 12px rgba(23, 59, 92, 0.12));
    pointer-events: none;
}

/* ============================================================
   НАШИ УСЛУГИ
   ============================================================ */
.services-section {
    padding: 70px 0;
    background: transparent;
}

.services-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.services-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.services-all {
    font-weight: 800;
    color: #22739a;
    white-space: nowrap;
    padding: 0;
}

.service-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.service-tab {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    color: #557084;
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
}

.service-tab:hover {
    border-color: #43b4ae;
    color: #43b4ae;
}

.service-tab.active {
    background: #43b4ae;
    color: #fff;
    border-color: #43b4ae;
    box-shadow: 0 6px 16px rgba(67, 180, 174, 0.3);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: .25s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(23, 59, 92, 0.08);
}

.service-card:nth-child(1) { background: rgba(255, 224, 205, 0.95); }
.service-card:nth-child(1) .service-icon { background: #ff9a7a; }
.service-card:nth-child(1) .service-list li::before { color: #ff7a52; }
.service-card:nth-child(1) .btn-more { background: #ff8b6b; }

.service-card:nth-child(2) { background: rgba(212, 242, 234, 0.95); }
.service-card:nth-child(2) .service-icon { background: #4fbfad; }
.service-card:nth-child(2) .service-list li::before { color: #38a894; }
.service-card:nth-child(2) .btn-more { background: #4fbfad; }

.service-card:nth-child(3) { background: rgba(228, 222, 252, 0.95); }
.service-card:nth-child(3) .service-icon { background: #9382d8; }
.service-card:nth-child(3) .service-list li::before { color: #7b68c8; }
.service-card:nth-child(3) .btn-more { background: #9382d8; }

.service-card:nth-child(4) { background: rgba(213, 235, 250, 0.95); }
.service-card:nth-child(4) .service-icon { background: #5f9edb; }
.service-card:nth-child(4) .service-list li::before { color: #4a86c4; }
.service-card:nth-child(4) .btn-more { background: #5f9edb; }

.service-card:nth-child(5) { background: rgba(255, 236, 200, 0.95); }
.service-card:nth-child(5) .service-icon { background: #f0aa4d; }
.service-card:nth-child(5) .service-list li::before { color: #d88f2e; }
.service-card:nth-child(5) .btn-more { background: #f0aa4d; }

.service-card:nth-child(6) { background: rgba(255, 214, 219, 0.95); }
.service-card:nth-child(6) .service-icon { background: #ff8a9c; }
.service-card:nth-child(6) .service-list li::before { color: #ee6d80; }
.service-card:nth-child(6) .btn-more { background: #ff8a9c; }

.service-card:nth-child(7) { background: rgba(255, 228, 205, 0.95); }
.service-card:nth-child(7) .service-icon { background: #f2935a; }
.service-card:nth-child(7) .service-list li::before { color: #d67a3f; }
.service-card:nth-child(7) .btn-more { background: #f2935a; }

.service-card:nth-child(8) { background: rgba(232, 224, 252, 0.95); }
.service-card:nth-child(8) .service-icon { background: #a48fe0; }
.service-card:nth-child(8) .service-list li::before { color: #8a73d0; }
.service-card:nth-child(8) .btn-more { background: #a48fe0; }

.service-card:nth-child(9) { background: rgba(213, 240, 224, 0.95); }
.service-card:nth-child(9) .service-icon { background: #6cbc8f; }
.service-card:nth-child(9) .service-list li::before { color: #4da175; }
.service-card:nth-child(9) .btn-more { background: #6cbc8f; }

.service-media {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
    min-height: 120px;
    margin: -22px -22px 22px;
    padding: 22px 22px 0;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(23, 59, 92, 0.08);
    position: relative;
    z-index: 2;
    margin-left: 28px;
    margin-top: 6px;
}

.service-speech .service-icon { background: #ffb1a8; color: #fff; }
.service-groups .service-icon { background: #5fc3b5; color: #fff; }
.service-school .service-icon { background: #a998e8; color: #fff; }
.service-adult  .service-icon { background: #f4a16b; color: #fff; }

.service-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 140px;
    object-fit: cover;
    border-radius: 0 22px 0 22px;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 15%, rgba(0,0,0,1) 35%, #000 100%),
        linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 15%, rgba(0,0,0,1) 35%, #000 100%),
        linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
    mask-composite: intersect;
    pointer-events: none;
    z-index: 1;
}

.service-card h3 {
    font-family: "Nunito", sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 6px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.service-age {
    font-size: 12px;
    color: #6c7f90;
    margin-bottom: 14px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.service-list li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    color: #4a6478;
    line-height: 1.5;
    margin-bottom: 6px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    align-self: flex-start;
    color: #fff;
    transition: .2s;
    white-space: nowrap;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-more span {
    display: inline-block;
    transition: transform 0.2s;
}

.btn-more:hover span { transform: translateX(3px); }

/* ============================================================
   КОГДА СТОИТ ОБРАТИТЬСЯ
   ============================================================ */
.problems-section {
    padding: 70px 0;
    background: transparent;
}

.problems-heading { margin-bottom: 26px; }

.problems-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.problems-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #e2e8ee;
    background: rgba(255, 255, 255, 0.75);
    color: #557084;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
}

.problems-tab:hover {
    border-color: #a8c8d7;
    color: #23618a;
}

.problems-tab.active {
    background: #43b4ae;
    color: #fff;
    border-color: #43b4ae;
    box-shadow: 0 6px 16px rgba(67, 180, 174, 0.28);
}

.problems-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 11px;
    font-weight: 800;
}

.problems-tab.active .problems-count {
    background: rgba(255, 255, 255, 0.25);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.problem-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px 18px 18px;
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 16px;
    transition: .18s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    min-height: 100px;
}

.problem-card:hover {
    transform: translateY(-2px);
    border-color: #a8c8d7;
    box-shadow: 0 10px 22px rgba(23, 59, 92, 0.07);
}

.problem-card.hidden { display: none; }

.problem-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #e6f7f4;
    color: #43b4ae;
}

.problem-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.problem-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #3b5871;
    margin: 4px 0 0;
}

.problem-card[data-group="speech"] .problem-icon { background: #e6f7f4; color: #43b4ae; }
.problem-card[data-group="development"] .problem-icon { background: #f0edff; color: #8a76e0; }
.problem-card[data-group="hearing"] .problem-icon { background: #e6f2fc; color: #5f9edb; }
.problem-card[data-group="recovery"] .problem-icon { background: #ffece5; color: #f2935a; }

.problems-cta {
    margin-top: 26px;
    padding: 22px 28px;
    background: linear-gradient(135deg, #fdf6ef 0%, #f4fbfa 100%);
    border: 1px solid #ece3d8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.problems-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.problems-cta-text strong {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.problems-cta-text span {
    font-size: 13px;
    color: #6c7f90;
}

.problems-cta .btn {
    flex-shrink: 0;
    padding: 13px 24px;
    border-radius: 999px;
    background: #ff6f6a;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(255, 111, 106, 0.28);
}
.problems-cta .btn:hover {
    background: #f95e58;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 111, 106, 0.4);
}
.problems-cta .btn span {
    display: inline-block;
    transition: transform .2s;
}
.problems-cta .btn:hover span { transform: translateX(4px); }

/* ============================================================
   ГРУППОВЫЕ НАПРАВЛЕНИЯ
   ============================================================ */
.groups-section {
    padding: 70px 0;
    background: transparent;
}

.groups-heading { margin-bottom: 28px; }

.groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.group-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 18px;
    transition: .2s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    min-height: 240px;
}

.group-card:hover {
    transform: translateY(-3px);
    border-color: #a8c8d7;
    box-shadow: 0 14px 30px rgba(23, 59, 92, 0.08);
}

.group-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.group-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.group-card-badge {
    padding: 4px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #557084;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.group-card-title {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 6px;
}

.group-card-meta {
    font-size: 12px;
    color: #6c7f90;
    line-height: 1.4;
    margin-bottom: 10px;
}

.group-card-lead {
    font-size: 13px;
    color: #4a6478;
    line-height: 1.5;
    flex: 1;
    margin: 0 0 14px;
}

.group-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    color: #22739a;
    font-size: 13px;
    font-weight: 800;
    padding: 0;
    cursor: pointer;
    align-self: flex-start;
    transition: .15s;
}

.group-card-more span {
    display: inline-block;
    transition: transform .2s;
}

.group-card:hover .group-card-more { color: #ff6f6a; }
.group-card:hover .group-card-more span { transform: translateX(4px); }

.group-card-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

/* ============================================================
   МОДАЛКА ГРУППЫ
   ============================================================ */
.group-modal .modal-dialog {
    max-width: 720px;
    padding: 32px 34px 28px;
}

.group-dialog-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef3f6;
}

.group-dialog-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 28px;
    flex-shrink: 0;
}

.group-dialog-header h2 {
    font-size: 26px;
    color: var(--navy);
    margin: 4px 0 6px;
    line-height: 1.15;
}

.group-dialog-header .eyebrow {
    margin: 0;
    color: #7a8f9e;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.group-dialog-header p {
    font-size: 13px;
    color: #6c7f90;
    margin: 0;
    line-height: 1.5;
}

.group-dialog-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.group-dialog-col h4 {
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 10px;
}

.group-dialog-col ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.group-dialog-col ul li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    color: #4a6478;
    line-height: 1.5;
    margin-bottom: 8px;
}

.group-dialog-col ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #43b4ae;
}

.group-dialog-footer {
    padding-top: 20px;
    border-top: 1px solid #eef3f6;
    display: flex;
    justify-content: flex-end;
}

.group-dialog-footer .btn {
    padding: 13px 28px;
    font-size: 14px;
    border-radius: 999px;
    background: #ff6f6a;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 111, 106, 0.28);
    border: 0;
    cursor: pointer;
    font-weight: 700;
}
.group-dialog-footer .btn:hover {
    background: #f95e58;
    transform: translateY(-2px);
}

/* ============================================================
   СПЕЦИАЛИСТЫ
   ============================================================ */
.team-section {
    padding: 70px 0;
    background: transparent;
}

.team-heading { margin-bottom: 28px; }

.team-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    align-items: stretch;
}

.team-intro {
    display: flex;
    flex-direction: column;
    background: rgba(243, 251, 249, 0.72);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    min-height: 100%;
}

.team-intro img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    flex-shrink: 0;
}

.team-intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 32px 26px;
    flex: 1;
}

.team-intro-copy h3 {
    font-family: "Nunito", sans-serif;
    font-size: 22px;
    line-height: 1.2;
    color: var(--navy);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.team-intro-copy p {
    font-size: 13px;
    line-height: 1.5;
    color: #5a7284;
    margin: 0 0 16px;
}

.team-intro-copy .btn {
    align-self: flex-start;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #a8c8d7;
    color: #23618a;
    text-decoration: none;
    transition: .2s;
}

.team-intro-copy .btn:hover {
    background: #f4fafb;
    border-color: #7bb8c9;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(23, 59, 92, 0.08);
}

.specialty-list {
    border: 0;
    border-radius: 28px;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.specialty {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4px;
    border-bottom: 1px solid rgba(231, 237, 240, 0.7);
    font-weight: 800;
}
.specialty:last-child { border: 0; }
.specialty span { font-size: 11px; color: #a0aeb7; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px;
    align-items: stretch;
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 22px 18px 20px;
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: .18s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
}

.team-card:hover {
    transform: translateY(-3px);
    border-color: #a8c8d7;
    box-shadow: 0 12px 26px rgba(23, 59, 92, 0.08);
}

.team-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 3px solid #f4f8fa;
    box-shadow: 0 4px 12px rgba(23, 59, 92, 0.06);
    margin: 0 auto;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 34px;
    color: #cbd5e1;
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.team-name {
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.team-role {
    font-size: 12px;
    color: #5a7284;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.team-exp {
    font-size: 12px;
    color: #6c7f90;
    margin-top: 2px;
    text-align: center;
}

.team-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    width: 100%;
    min-width: 0;
}

.team-tag {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef4f8;
    color: #557084;
    white-space: nowrap;
    line-height: 1.5;
    flex-shrink: 0;
}

.team-card:nth-child(2n) .team-tag { background: #f0edff; color: #6b5fb8; }
.team-card:nth-child(3n) .team-tag { background: #fff0e5; color: #c88452; }

.team-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #b8c6cf;
    font-size: 16px;
    transition: .18s;
    pointer-events: none;
}

.team-card:hover .team-arrow {
    color: #22739a;
    transform: translateX(3px);
}

/* ============================================================
   НАШИ ПРЕИМУЩЕСТВА
   ============================================================ */
.advantages-section {
    padding: 70px 0;
    background: transparent;
}

.advantages-head { margin-bottom: 28px; }
.advantages-head .eyebrow { margin-bottom: 6px; }

.advantages-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.03em;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 16px;
    transition: .18s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    min-height: 140px;
}

.advantage-card:hover {
    transform: translateY(-3px);
    border-color: #a8c8d7;
    box-shadow: 0 12px 26px rgba(23, 59, 92, 0.08);
}

.advantage-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.advantage-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.advantage-icon.icon-green  { background: #7dc6a4; }
.advantage-icon.icon-violet { background: #a998e8; }
.advantage-icon.icon-coral  { background: #ff8577; }
.advantage-icon.icon-blue   { background: #6fa9e8; }
.advantage-icon.icon-teal   { background: #5fc3b5; }
.advantage-icon.icon-yellow { background: #f4a16b; }
.advantage-icon.icon-mint   { background: #8ad0b3; }

.advantage-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.advantage-card h3 {
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin: 0;
}

.advantage-card p {
    font-size: 12px;
    color: #6c7f90;
    line-height: 1.5;
    margin: 0;
}

.advantage-cta {
    background: linear-gradient(135deg, #e6f7f4, #f1edff);
    border-color: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.advantage-cta .advantage-text { gap: 10px; }
.advantage-cta .btn {
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: #ff6f6a;
    color: #fff;
    align-self: flex-start;
    margin-top: 4px;
    box-shadow: 0 8px 18px rgba(255, 111, 106, 0.28);
}
.advantage-cta .btn:hover {
    background: #f95e58;
    transform: translateY(-2px);
}
.advantage-cta .btn span {
    display: inline-block;
    transition: transform 0.2s;
}
.advantage-cta .btn:hover span { transform: translateX(3px); }

/* ============================================================
   ГАЛЕРЕЯ / МОМЕНТЫ
   ============================================================ */
.moments-section {
    padding: 70px 0;
    background: transparent;
}

.photo-strip {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    grid-auto-rows: 170px;
    gap: 12px;
}
.photo-card {
    border: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ddd;
    cursor: pointer;
}
.photo-card:first-child { grid-row: span 2; }
.photo-card:nth-child(5) { grid-column: span 2; }
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}
.photo-card:hover img { transform: scale(1.05); }

/* ============================================================
   ОТЗЫВЫ КЛИЕНТОВ
   ============================================================ */
.reviews-section {
    padding: 70px 0;
    background: transparent;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.review-card {
    display: block;
    padding: 0;
    border: 1px solid #e8eff4;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: .18s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    aspect-ratio: 4 / 3;
    position: relative;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: #a8c8d7;
    box-shadow: 0 12px 26px rgba(23, 59, 92, 0.08);
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .35s ease;
}

.review-card:hover img { transform: scale(1.03); }

/* ============================================================
   НОВОСТИ ЦЕНТРА
   ============================================================ */
.news-section {
    padding: 70px 0;
    background: transparent;
}

.news-heading { margin-bottom: 28px; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.news-card {
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 18px;
    overflow: hidden;
    transition: .18s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: #a8c8d7;
    box-shadow: 0 12px 26px rgba(23, 59, 92, 0.08);
}

.news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #eef4f8;
}

.news-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.news-card:hover .news-photo img { transform: scale(1.04); }

.news-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.news-date {
    font-size: 12px;
    color: #8a9aa5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-date::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #43b4ae;
    display: inline-block;
}

.news-title {
    font-family: "Nunito", sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 13px;
    color: #5a7284;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6f6a;
    font-size: 13px;
    font-weight: 800;
    margin-top: auto;
    padding-top: 8px;
    transition: .15s;
}

.news-more span {
    display: inline-block;
    transition: transform .2s;
}

.news-card:hover .news-more { color: #f95e58; }
.news-card:hover .news-more span { transform: translateX(4px); }

/* ============================================================
   НАШИ ФИЛИАЛЫ
   ============================================================ */
.contacts-section {
    padding: 70px 0;
    background: transparent;
}

.contacts-head { margin-bottom: 28px; }

.contacts-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--navy);
    margin: 6px 0 6px;
    letter-spacing: -0.03em;
}

.contacts-head p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.branch-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    transition: .2s ease;
}

.branch-card:hover {
    transform: translateY(-3px);
    border-color: #a8c8d7;
    box-shadow: 0 14px 30px rgba(23, 59, 92, 0.08);
}

.branch-photo {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #eef4f8;
}

.branch-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.branch-card:hover .branch-photo img { transform: scale(1.04); }

.branch-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(23, 59, 92, 0.12);
}

.branch-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px 20px;
    flex: 1;
}

.branch-head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.branch-pin {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e6f7f4;
    color: #35b7ad;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.branch-pin svg {
    width: 14px;
    height: 14px;
}

.branch-card h3 {
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin: 0;
}

.branch-card h3 span {
    font-size: 12px;
    color: #6c7f90;
    font-weight: 500;
}

.branch-schedule {
    font-size: 12px;
    color: #6c7f90;
    line-height: 1.5;
    padding-left: 34px;
}

.branch-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 34px;
    margin-top: auto;
    flex-wrap: wrap;
}

.branch-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: color .15s;
}

.branch-phone:hover { color: #ff6f6a; }

.branch-phone svg {
    width: 13px;
    height: 13px;
    color: #35b7ad;
    flex-shrink: 0;
}

.btn-branch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #8ed0cb;
    color: #22837c;
    text-decoration: none;
    transition: .2s;
    margin-left: auto;
}

.btn-branch:hover {
    background: #e6f7f4;
    border-color: #43b4ae;
    color: #1b6b65;
}

.contacts-bottom {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
    align-items: stretch;
}

.contacts-info {
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
}

.contacts-info h3 {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.contacts-info-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a9aa5;
    font-weight: 700;
    margin-bottom: 2px;
}

.contacts-info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: color .15s;
}

.contacts-info-link:hover { color: #ff6f6a; }

.contacts-info-link svg {
    color: #35b7ad;
    flex-shrink: 0;
}

.contacts-socials {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.contacts-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: .2s;
    border: 1px solid transparent;
}

.contacts-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contacts-social:hover {
    background: #e6f7f4;
    border-color: #8ed0cb;
    transform: translateY(-2px);
}

.contacts-info-btn {
    margin-top: auto;
    width: 100%;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    background: #ff6f6a;
    color: #fff;
    border: 0;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 111, 106, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s;
}

.contacts-info-btn:hover {
    background: #f95e58;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 111, 106, 0.36);
}

.contacts-info-btn span {
    display: inline-block;
    transition: transform .2s;
}

.contacts-info-btn:hover span { transform: translateX(3px); }

.branch-map {
    position: relative;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: #eef4f8;
    border: 1px solid #e8eff4;
}

.branch-map iframe,
.branch-map > ymaps {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.branch-map-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(23, 59, 92, 0.14);
    z-index: 2;
    pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: transparent;
    color: #d9e8f1;
    padding: 56px 0 0;
    margin-top: 40px;
    position: relative;
    width: 100%;
    isolation: isolate;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    background: linear-gradient(180deg, #123d69 0%, #0d3157 100%);
    z-index: -1;
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand img {
    width: 190px;
    height: auto;
    background: #fff;
    border-radius: 14px;
    padding: 8px 12px;
    display: block;
    margin-bottom: 14px;
}

.footer-brand p {
    color: #a9c2d0;
    font-size: 13px;
    line-height: 1.5;
    max-width: 260px;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    height: max-content;
    align-content: start;
}

.footer-links a {
    font-size: 14px;
    color: #d9e8f1;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-legal-requisites {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: #8aa5b8;
}

.footer-legal-requisites div:first-child {
    font-weight: 800;
    color: #d9e8f1;
    font-size: 13px;
    margin-bottom: 2px;
}

.footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-legal-links a {
    font-size: 12px;
    color: #8aa5b8;
    text-decoration: underline;
    text-underline-offset: 3px;
    line-height: 1.4;
    transition: color .15s;
}

.footer-legal-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 20px 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #8aa5b8;
}

.footer-copy { white-space: nowrap; }

.footer-top {
    color: #8aa5b8;
    text-decoration: none;
    font-weight: 700;
    transition: color .15s;
    white-space: nowrap;
}

.footer-top:hover { color: #fff; }

.footer-socials {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: .2s;
    border: 1px solid rgba(255, 255, 255, .1);
}

.footer-socials a:hover {
    background: #ff6f6a;
    border-color: #ff6f6a;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 111, 106, 0.35);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================================
   МОДАЛКИ / ЛАЙТБОКС (общие)
   ============================================================ */
.modal, .lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.modal.open, .lightbox.open { display: flex; }
.modal {
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: scroll;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 31, 48, .55);
    backdrop-filter: blur(6px);
}
.modal-dialog {
    position: relative;
    width: min(560px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    z-index: 1;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
}
.modal-close, .lightbox-close {
    position: absolute;
    right: 16px;
    top: 12px;
    border: 0;
    background: none;
    font-size: 34px;
    color: #66808f;
    cursor: pointer;
    z-index: 2;
}
.modal-heading { padding-right: 25px; margin-bottom: 22px; }
.modal-heading h2 { font-size: 38px; }

.quiz-dialog { max-width: 640px; }
.quiz-progress {
    height: 5px;
    background: #edf1f2;
    border-radius: 99px;
    margin-bottom: 24px;
    overflow: hidden;
}
.quiz-progress span {
    display: block;
    width: 33%;
    height: 100%;
    background: #48b2ad;
    transition: .3s;
}
.quiz-options {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}
.quiz-option {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    font-weight: 800;
    color: #36586d;
    cursor: pointer;
}
.quiz-option:hover {
    border-color: #48b2ad;
    background: #effaf8;
}
.quiz-result {
    background: #eef8f6;
    border-radius: 18px;
    padding: 20px;
    margin-top: 20px;
}
.quiz-result h3 { font-size: 23px; }

.lightbox {
    align-items: center;
    justify-content: center;
    background: rgba(4, 19, 29, .92);
    padding: 40px;
}
.lightbox img {
    max-width: min(1100px, 90vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
}
.lightbox-close { color: #fff; right: 25px; top: 15px; }
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 6px;
    transition: background .2s, transform .2s;
    z-index: 3010;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.mobile-cta { display: none; }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   МОДАЛЬНОЕ ОКНО ЗАЯВКИ
   ============================================================ */

.modal-form {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 24px 16px;
}
.modal-form.active {
    display: flex;
    opacity: 1;
}

.modal-overlay-form {
    position: fixed;
    inset: 0;
    background: rgba(18, 61, 105, 0.55);
    cursor: pointer;
    z-index: 0;
}
@media (min-width: 901px) {
    .modal-overlay-form {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.modal-container-form {
    position: relative;
    width: auto;
    max-width: 640px;
    flex: 0 0 auto;
    margin: auto;
    z-index: 1;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content-form {
    position: relative;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow:
        0 30px 80px -20px rgba(18, 61, 105, 0.35),
        0 10px 30px -10px rgba(18, 61, 105, 0.15);
    width: fit-content;
    overflow: hidden;
    margin: auto;
}

.modal-close-form {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #557084;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    box-shadow: 0 4px 12px rgba(18, 61, 105, 0.15);
}
.modal-close-form:hover {
    background: #ff6f6a;
    color: #fff;
    transform: rotate(90deg);
}
.modal-close-form svg {
    width: 18px;
    height: 18px;
}

.order {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-title {
    background: linear-gradient(135deg, #123d69 0%, #2576a8 60%, #35b7ad 130%);
    padding: 24px 28px 22px;
    position: relative;
    overflow: hidden;
}

.order-title::before,
.order-title::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.order-title::before {
    width: 180px;
    height: 180px;
    top: -80px;
    right: -60px;
}
.order-title::after {
    width: 120px;
    height: 120px;
    bottom: -60px;
    left: -30px;
    background: rgba(255, 255, 255, 0.05);
}

.modal-header {
    text-align: left;
    margin: 0;
    position: relative;
    z-index: 1;
    padding-right: 56px;
}

.modal-header .eyebrow {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.modal-header h2 {
    font-family: "Nunito", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.modal-header p {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    margin: 0;
}

.order-form,
.order > div:not(.order-title) {
    padding: 24px 28px 26px;
    background: #fff;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 0;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.form-title {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 2px;
}

.form-data {
    display: flex;
    gap: 12px;
}
.form-data .form-group {
    flex: 1;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    min-width: 0;
}

.form-group label {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #496477;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 0 14px;
    border: 1.5px solid #dce7ec;
    border-radius: 10px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    color: #2d4356;
    background: #f8fbfc;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s, background .2s;
    overflow: hidden;
}

.form-group input {
    height: 44px;
    line-height: 41px;
}

.form-group textarea {
    padding: 12px 14px;
    min-height: 72px;
    resize: vertical;
    line-height: 1.45;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #35b7ad;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(53, 183, 173, 0.12);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #e74c3c;
    display: none;
}
.error-message.active { display: block; }

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #6c7f90;
    line-height: 1.4;
}
.checkbox-label input { display: none; }

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid #dce7ec;
    border-radius: 5px;
    position: relative;
    flex-shrink: 0;
    background: #f8fbfc;
    transition: background .2s, border-color .2s;
    margin-top: 1px;
}
.checkbox-label input:checked + .checkbox-custom {
    background: #35b7ad;
    border-color: #35b7ad;
}
.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-text {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 11.5px;
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 13px 24px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    background: #ff6f6a;
    color: #fff;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(255, 111, 106, 0.28);
    transition: background .2s, transform .2s, box-shadow .2s;
    margin-top: 4px;
}
.submit-btn:hover {
    background: #f95e58;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 111, 106, 0.4);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn.loading { opacity: 0.7; cursor: not-allowed; }

.btn-loader { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-result {
    font-size: 13px;
    color: #35a67e;
    text-align: center;
    min-height: 18px;
}

.success-message {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3100;
    background: rgba(18, 61, 105, 0.75);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.success-message.active { display: flex; }

.success-content {
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    animation: successSlideIn .3s ease;
}
@keyframes successSlideIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
.success-content svg { margin-bottom: 16px; }
.success-content h3 {
    font-family: "Nunito", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #10b981;
    margin: 0 0 10px;
}
.success-content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.55;
}
.success-close {
    padding: 11px 26px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    background: #123d69;
    color: #fff;
    border: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.success-close:hover {
    background: #ff6f6a;
    transform: translateY(-2px);
}

/* Адаптив модалки заявки */
@media (max-width: 650px) {
    .modal-form {
        padding: 12px 8px;
    }

    .modal-container-form {
        max-width: 100%;
    }

    .modal-content-form {
        border-radius: 18px;
    }

    .order-title {
        padding: 18px 18px 16px;
    }

    .modal-header {
        padding-right: 44px;
    }

    .modal-header h2 {
        font-size: 19px;
    }

    .modal-header p {
        font-size: 12px;
    }

    .order-form,
    .order > div:not(.order-title) {
        padding: 18px 16px 20px;
    }

    .form-data {
        flex-direction: column;
        gap: 12px;
    }

    .form-group input {
        height: 42px;
        line-height: 39px;
    }

    .form-group textarea {
        min-height: 68px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .modal-close-form {
        width: 34px;
        height: 34px;
        top: 10px;
        right: 10px;
    }
    .modal-close-form svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================================
   АДАПТИВ 1200 → 380
   ============================================================ */

@media (max-width: 1440px) {
    .site-header { padding: 0; }
}

@media (max-width: 1400px) {
    .header-contacts { display: none; }
    .main-nav { margin: auto; }
    .stats-owl { display: none; }
    .stats { margin-top: 10px; }
}

@media (max-width: 1200px) {
    .header-wrap { padding: 8px 12px 8px 16px; gap: 14px; }
    .nav-link { padding: 5px 8px; font-size: 11px; }
    .brand img { width: 110px; }
    .header-actions .btn { min-width: 100px; padding: 6px 14px; font-size: 11px; }

    .advantage-grid { grid-template-columns: repeat(3, 1fr); }
    .advantage-card { min-height: 130px; padding: 16px; }

    .team-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .team-photo { width: 86px; height: 86px; }
}

@media (max-width: 1080px) {
    .header-contacts { display: none; }
    .header-actions .btn-accent { display: none; }

    .stats { grid-template-columns: repeat(3, 1fr); border-radius: 0px 0px 22px 0px; }
    .stat, .stat:last-child { border: 1px solid rgba(140,200,195,0.55); }

    .start-layout { grid-template-columns: 1fr; gap: 20px; }
    .quiz-card { min-height: 200px; padding: 26px; }

    .service-grid { grid-template-columns: repeat(2, 1fr); }

    .problems-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

    .groups-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .branches-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .contacts-bottom { grid-template-columns: 1fr; gap: 16px; }
    .branch-map { min-height: 280px; }
}

@media (max-width: 1000px) {
    .main-nav,
    .header-contacts { display: none; }
    .header-wrap { border-radius: 999px; padding: 8px 14px 8px 16px; }
    .brand img { width: 120px; }

    .menu-toggle {
        display: flex;
        margin: auto;
    }

    .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-legal {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }
    .footer-legal-requisites,
    .footer-legal-links { flex: 1; min-width: 220px; }

    .footer-links { display: none; }

    .footer-brand {
        margin: auto;
        grid-column: 1 / span 2;
    }
    .footer-brand img { margin: 0 auto 10px; }

    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .news-photo { height: 160px; }

    .review-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .team-photo { width: 80px; height: 80px; }

    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-banner { grid-template-columns: 1fr; gap: 22px; }
    .hero-image {
        grid-column: 1;
        grid-row: 2;
        border-radius: 24px;
        -webkit-mask-image: none;
        mask-image: none;
        height: 340px;
    }
    .hero-image img { height: 100%; object-fit: cover; }
    .hero-copy {
        grid-column: 1;
        grid-row: 1;
        margin-right: 0;
    }
    .hero-copy h1 { font-size: clamp(32px, 5vw, 44px); }
    .hero-lead { font-size: 15px; margin-bottom: 24px; }
    .hero-buttons .btn { padding: 12px 22px; font-size: 13px; }

    .stats { grid-template-columns: repeat(2, 1fr); }
    .highlights { grid-template-columns: 1fr; gap: 12px; }

    .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .heading-owl { width: 72px; height: 72px; }

    .steps { grid-template-columns: 1fr 22px 1fr 22px 1fr; gap: 8px; }
    .step-card { min-height: 180px; padding: 18px; }
    .step-card h3 { font-size: 16px; }

    .services-head {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: flex-start;
    }
    .service-tabs { display: flex; }
    .service-tabs::-webkit-scrollbar { display: none; }
    .service-tab { flex-shrink: 0; }

    .problems-grid { grid-template-columns: repeat(2, 1fr); }

    .team-layout { grid-template-columns: 1fr; gap: 16px; }
    .team-intro { min-height: auto; }
    .team-intro img { height: 280px; }

    .photo-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
    .photo-card:first-child { grid-row: span 1; }
    .photo-card:nth-child(5) { grid-column: span 1; }

    .branch-photo { height: 250px; }
}

@media (max-width: 760px) {
    html { scroll-padding-top: 80px; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 60px 0; }
    .hero { padding: 15px 0 30px; }
    .top-space { height: 20px; }

    h1 { font-size: 34px; }
    h2 { font-size: 28px; }
    .eyebrow { font-size: 11px; }

    .stats { grid-template-columns: 1fr 1fr; margin-top: 16px; }
    .stat { padding: 16px 14px; min-height: auto; gap: 10px; }
    .stat-icon { width: 36px; height: 36px; }
    .stat strong { font-size: 18px; white-space: normal; }
    .stat span { font-size: 11px; }
    .stats-owl { width: 80px; top: -40px; right: 0; }

    .highlight { padding: 16px 18px; gap: 12px; }
    .highlight-icon { width: 40px; height: 40px; }
    .highlight-text strong { font-size: 15px; }
    .highlight-text span { font-size: 12px; }

    .heading-owl { width: 56px; height: 56px; }

    .steps { grid-template-columns: 1fr; gap: 12px; }
    .step-arrow { display: none; }
    .step-card { min-height: auto; padding: 20px; }
    .step-card h3 { font-size: 16px; }
    .step-top { margin-bottom: 16px; }

    .quiz-card { grid-template-columns: 1fr; padding: 24px 22px; gap: 14px; }
    .quiz-image { min-width: 0; align-self: center; justify-content: center; }
    .quiz-image img { width: 100px; margin: 0; }

    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .service-card p, .service-card ul { min-height: 0; }
    .service-photo { width: 55%; height: 130px; }
    .service-icon { width: 42px; height: 42px; margin-left: 0; }

    .problems-tabs {
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .problems-tabs::-webkit-scrollbar { display: none; }
    .problems-tab { flex-shrink: 0; font-size: 12px; padding: 9px 14px; }
    .problems-grid { grid-template-columns: 1fr; gap: 10px; }
    .problem-card { padding: 16px 18px; min-height: auto; }

    .problems-cta { padding: 20px; flex-direction: column; align-items: stretch; text-align: center; }
    .problems-cta .btn { width: 100%; justify-content: center; }

    .groups-grid { grid-template-columns: 1fr; gap: 12px; }
    .group-card { min-height: auto; padding: 18px; }
    .group-dialog-header { flex-direction: column; gap: 12px; }
    .group-dialog-body { grid-template-columns: 1fr; gap: 18px; }

    .team-intro img { height: 240px; }
    .team-grid { grid-template-columns: 1fr; gap: 12px; }

    .advantage-grid { grid-template-columns: 1fr; }
    .advantage-card { min-height: auto; padding: 16px; }

    .photo-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 8px; }

    .review-grid { grid-template-columns: 1fr; gap: 12px; }
    .review-card { aspect-ratio: auto; }

    .news-grid { grid-template-columns: 1fr; gap: 14px; }
    .news-photo { height: 180px; }

    .branches-grid { grid-template-columns: 1fr; gap: 12px; }
    .branch-actions { padding-left: 0; }
    .btn-branch { margin-left: 0; width: 100%; justify-content: center; }
    .branch-map { min-height: 260px; }

    .contacts-info { padding: 20px; }
    .contacts-info-btn { width: 100%; }

    .footer-main { gap: 26px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-legal { flex-direction: column; gap: 16px; margin: auto; text-align: center; }
    .footer-bottom { flex-direction: column-reverse; gap: 12px; text-align: center; }
    .footer-socials { order: -1; }

    .modal-dialog { padding: 24px 20px; border-radius: 22px; }
    .modal-heading h2 { font-size: 26px; }
}

@media (max-width: 500px) {
    .header-actions { display: none; }
    .stats { grid-template-columns: 1fr; }

    .menu-toggle { margin-right: 30px; }

    .hero-image { height: 240px; }
    .hero-copy h1 { font-size: 30px; }

    .photo-strip { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .photo-card:first-child { grid-row: span 1; }
    .photo-card:nth-child(5) { grid-column: span 1; }

    .footer-links { grid-template-columns: 1fr; }
    .footer-brand img { width: 150px; }

    .contacts-info-btn, .contacts-social { justify-content: center; }
    .contacts-socials { flex-wrap: wrap; }
}

@media (max-width: 380px) {
    .menu-toggle { margin-right: 10px; }
    h1 { font-size: 26px; }
    h2 { font-size: 24px; }
    .hero-copy h1 { font-size: 26px; }
    .stat strong { font-size: 16px; }
    .step-number { width: 34px; height: 34px; font-size: 15px; }
    .heading-owl { width: 44px; height: 44px; }
    .service-photo { height: 110px; width: 60%; }
}

/* ============================================================
   СТРАНИЦА «ВСЕ НОВОСТИ»
   ============================================================ */

.news-page-section {
    padding: 30px 0 70px;
    background: transparent;
}

.news-page-heading { margin-bottom: 32px; }

.news-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 22px;
    border: 1px solid #e8eff4;
}
.news-empty-icon { font-size: 56px; margin-bottom: 12px; opacity: 0.6; }
.news-empty-state p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.news-page-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8ee;
    color: #36566e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .18s ease;
}

.news-page-btn:hover {
    border-color: #43b4ae;
    color: #43b4ae;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(67, 180, 174, 0.15);
}

.news-page-btn.active {
    background: #43b4ae;
    color: #fff;
    border-color: #43b4ae;
    box-shadow: 0 8px 18px rgba(67, 180, 174, 0.28);
    cursor: default;
}
.news-page-btn.active:hover { transform: none; color: #fff; }

.news-page-arrow { padding: 0 18px; font-size: 13px; }

@media (max-width: 640px) {
    .news-pagination { gap: 10px; margin-top: 28px; }
    .news-page-btn {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
        border-radius: 10px;
    }
    .news-page-arrow { padding: 0 14px; font-size: 12px; }
}

@media (max-width: 430px) {
    .news-page-numbers .news-page-btn:not(.active):nth-child(n+8):not(:last-child) {
        display: none;
    }
}

/* ============================================================
   СТРАНИЦА «ОСНОВНЫЕ СВЕДЕНИЯ» / АККОРДЕОН
   ============================================================ */

.data-section {
    padding: 30px 0 70px;
    background: transparent;
}

.data-heading { margin-bottom: 32px; }

.accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 16px;
    overflow: hidden;
    transition: .2s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
}

.accordion-item:hover {
    border-color: #a8c8d7;
    box-shadow: 0 10px 22px rgba(23, 59, 92, 0.06);
}

.accordion-item.active {
    border-color: #43b4ae;
    box-shadow: 0 12px 26px rgba(67, 180, 174, 0.12);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    transition: color .2s;
}

.accordion-header:hover { color: #43b4ae; }
.accordion-item.active .accordion-header { color: #43b4ae; }

.accordion-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6f7f4;
    color: #43b4ae;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform .3s ease, background .2s, color .2s;
}

.accordion-header:hover .accordion-icon { background: #43b4ae; color: #fff; }
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: #ff6f6a;
    color: #fff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content { max-height: 1500px; }

.accordion-content-inner {
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a6478;
    font-family: "Manrope", Arial, sans-serif;
}

.accordion-content-inner p { margin: 0 0 10px; }
.accordion-content-inner p:last-child { margin-bottom: 0; }
.accordion-content-inner strong { color: var(--navy); font-weight: 700; }
.accordion-content-inner a {
    color: #22739a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}
.accordion-content-inner a:hover { color: #ff6f6a; }

.accordion-schedule,
.accordion-docs { list-style: none; padding: 0; margin: 0; }

.accordion-schedule li {
    position: relative;
    padding: 6px 0 6px 18px;
    border-bottom: 1px dashed rgba(220, 231, 236, 0.7);
}
.accordion-schedule li:last-child { border-bottom: 0; }
.accordion-schedule li::before {
    content: '';
    position: absolute;
    left: 0; top: 13px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #43b4ae;
}

.accordion-docs li {
    position: relative;
    padding: 8px 0 8px 20px;
    border-bottom: 1px dashed rgba(220, 231, 236, 0.7);
    line-height: 1.55;
}
.accordion-docs li:last-child { border-bottom: 0; }
.accordion-docs li::before {
    content: '';
    position: absolute;
    left: 0; top: 15px;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: #43b4ae;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .data-section { padding: 20px 0 50px; }
    .accordion-header { padding: 16px 18px; font-size: 14px; }
    .accordion-icon { width: 28px; height: 28px; font-size: 18px; }
    .accordion-content-inner { padding: 0 18px 18px; font-size: 13px; }
    .accordion-docs li { padding-left: 16px; }
}

/* ============================================================
   СТРАНИЦА «МОМЕНТЫ»
   ============================================================ */

.gallery-page-section {
    padding: 30px 0 70px;
    background: transparent;
}

.gallery-page-heading { margin-bottom: 32px; }

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-full-card {
    position: relative;
    border: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #eef4f8;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.04);
}

.gallery-full-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(23, 59, 92, 0.12);
}

.gallery-full-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gallery-full-card:hover img { transform: scale(1.05); }

.gallery-empty {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 22px;
    border: 1px solid #e8eff4;
}
.gallery-empty-icon { font-size: 56px; margin-bottom: 12px; opacity: 0.5; }
.gallery-empty p { font-size: 16px; color: var(--muted); }

@media (max-width: 1100px) {
    .gallery-full-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 760px) {
    .gallery-page-section { padding: 20px 0 50px; }
    .gallery-full-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-full-card { border-radius: 12px; }
}

@media (max-width: 430px) {
    .gallery-full-grid { gap: 8px; }
}

/* ============================================================
   СТРАНИЦА ОДНОЙ НОВОСТИ
   ============================================================ */

.news-single-section {
    padding: 30px 0 70px;
    background: transparent;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #8a9aa5;
    margin-bottom: 24px;
}
.breadcrumbs a { color: #22739a; text-decoration: none; transition: color .15s; }
.breadcrumbs a:hover { color: #ff6f6a; text-decoration: underline; }
.breadcrumbs-sep { color: #cbd5e1; }
.breadcrumbs-current {
    color: var(--navy);
    font-weight: 600;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-article {
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 22px;
    padding: 40px 48px 44px;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    max-width: 900px;
    margin: 0 auto;
}

.news-article-head { margin-bottom: 28px; }

.news-article-date,
.news-article-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c7f90;
    margin-right: 16px;
    margin-bottom: 12px;
}
.news-article-date svg,
.news-article-author svg { color: #43b4ae; flex-shrink: 0; }

.news-article-title {
    font-family: "Nunito", sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 8px 0 0;
}

.news-article-image { margin: 0 -48px 28px; overflow: hidden; border-radius: 0; }

.news-article-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.news-article-content {
    font-size: 16px;
    line-height: 1.7;
    color: #2d4356;
    font-family: "Manrope", Arial, sans-serif;
}

.news-article-content p { margin: 0 0 16px; }
.news-article-content p:last-child { margin-bottom: 0; }

.news-article-footer {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #eef3f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.news-article-footer .btn {
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
}

.news-related { margin-top: 70px; }
.news-related .section-heading { margin-bottom: 28px; }

@media (max-width: 900px) {
    .news-article { padding: 32px 32px 36px; }
    .news-article-image { margin: 0 -32px 24px; }
    .news-article-title { font-size: 26px; }
    .news-related { margin-top: 50px; }
}

@media (max-width: 640px) {
    .news-single-section { padding: 20px 0 50px; }
    .news-article { padding: 24px 20px 28px; border-radius: 16px; }
    .news-article-image { margin: 0 -20px 20px; }
    .news-article-title { font-size: 22px; }
    .news-article-content { font-size: 15px; line-height: 1.65; }
    .news-article-footer {
        flex-direction: column;
        align-items: stretch;
        margin-top: 28px;
        padding-top: 22px;
    }
    .news-article-footer .btn { width: 100%; justify-content: center; }
    .breadcrumbs { font-size: 12px; margin-bottom: 18px; }
    .breadcrumbs-current { max-width: 100%; width: 100%; }
}

/* ============================================================
   СТРАНИЦА «НАШИ СПЕЦИАЛИСТЫ»
   ============================================================ */

.personal-page-section {
    padding: 30px 0 70px;
    background: transparent;
}

.personal-page-section .section-heading { margin-bottom: 24px; }

.personal-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 4px;
}

.personal-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #e2e8ee;
    background: rgba(255, 255, 255, 0.8);
    color: #557084;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
    font-family: "Manrope", Arial, sans-serif;
}

.personal-filter-btn:hover {
    border-color: #43b4ae;
    color: #43b4ae;
    transform: translateY(-1px);
}

.personal-filter-btn.active {
    background: #43b4ae;
    color: #fff;
    border-color: #43b4ae;
    box-shadow: 0 6px 16px rgba(67, 180, 174, 0.3);
}

.personal-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 11px;
    font-weight: 800;
}

.personal-filter-btn.active .personal-filter-count {
    background: rgba(255, 255, 255, 0.25);
}

.personal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}

.personal-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 20px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
}

.personal-card:hover {
    transform: translateY(-3px);
    border-color: #a8c8d7;
    box-shadow: 0 14px 30px rgba(23, 59, 92, 0.08);
}

.personal-card.hidden { display: none; }

.personal-card-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eef4f8;
}

.personal-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .4s ease;
}

.personal-card:hover .personal-card-photo img { transform: scale(1.04); }

.personal-photo-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 64px;
    color: #cbd5e1;
}

.personal-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    text-align: center;
}

.personal-card-name {
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin: 0;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}

.personal-card-role {
    font-size: 12px;
    color: #5a7284;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.personal-card-exp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11.5px;
    color: #6c7f90;
    margin-top: 4px;
    font-weight: 600;
}
.personal-card-exp svg { color: #43b4ae; flex-shrink: 0; }

.personal-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 10px;
    min-height: 24px;
}

.personal-tag {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef4f8;
    color: #557084;
    white-space: nowrap;
    line-height: 1.5;
}

.personal-card:nth-child(2n) .personal-tag { background: #f0edff; color: #6b5fb8; }
.personal-card:nth-child(3n) .personal-tag { background: #fff0e5; color: #c88452; }
.personal-card:nth-child(4n) .personal-tag { background: #e6f7f4; color: #3ba88f; }
.personal-card:nth-child(5n) .personal-tag { background: #ffe9ec; color: #d94b6e; }

.personal-empty,
.personal-no-results {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    border: 1px solid #e8eff4;
}

.personal-empty-icon { font-size: 56px; opacity: 0.5; margin-bottom: 14px; }
.personal-empty p,
.personal-no-results p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }

@media (max-width: 1200px) {
    .personal-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 900px) {
    .personal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .personal-card-photo { aspect-ratio: 4 / 5; }
    .personal-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .personal-filter::-webkit-scrollbar { display: none; }
    .personal-filter-btn { flex-shrink: 0; }
}

@media (max-width: 560px) {
    .personal-page-section { padding: 20px 0 50px; }
    .personal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .personal-card-photo { aspect-ratio: 3 / 4; }
    .personal-card-body { padding: 12px 10px 14px; gap: 4px; }
    .personal-card-name {
        font-size: 12px;
        line-height: 1.2;
        min-height: 30px;
        -webkit-line-clamp: 2;
    }
    .personal-card-role {
        font-size: 11px;
        line-height: 1.35;
        min-height: 44px;
        -webkit-line-clamp: 3;
    }
    .personal-card-exp { font-size: 10.5px; margin-top: 2px; }
    .personal-card-exp svg { width: 11px; height: 11px; }
    .personal-card-tags { gap: 3px; margin-top: 6px; padding-top: 6px; min-height: 20px; }
    .personal-tag { font-size: 9px; padding: 2px 7px; line-height: 1.4; }
    .personal-filter { gap: 6px; margin-bottom: 18px; }
    .personal-filter-btn { padding: 7px 12px; font-size: 11.5px; }
    .personal-filter-count { min-width: 18px; height: 18px; font-size: 10px; }
}

@media (max-width: 380px) {
    .personal-grid { gap: 8px; }
    .personal-card { border-radius: 14px; }
    .personal-card-body { padding: 10px 8px 12px; }
    .personal-card-name { font-size: 11px; min-height: 28px; }
    .personal-card-role { font-size: 10px; min-height: 40px; }
    .personal-tag { font-size: 8.5px; padding: 2px 6px; }
    .personal-card-exp { font-size: 10px; }
}

/* ============================================================
   СТРАНИЦА «ПРАЙС-ЛИСТ»
   ============================================================ */

.price-page-section {
    padding: 30px 0 70px;
    background: transparent;
}

.price-page-heading { margin-bottom: 24px; }

.price-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 4px;
}

.price-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #e2e8ee;
    background: rgba(255, 255, 255, 0.8);
    color: #557084;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: .18s ease;
}

.price-nav-link:hover {
    border-color: #43b4ae;
    color: #43b4ae;
    transform: translateY(-1px);
}

.price-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.price-block {
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 20px;
    padding: 24px 26px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    scroll-margin-top: 110px;
}

.price-block .price-table {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    margin: 0;
}

.price-block .table-title {
    background: linear-gradient(135deg, #e6f7f4, #d9f0eb);
    color: var(--navy);
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    padding: 18px 20px;
    border: 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.price-block .table-col-title td {
    color: #557084;
    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    font-style: normal;
    padding: 14px 16px;
    border: 0;
    border-bottom: 2px solid #d9e8f0;
    background: #f4f8fa;
}

.price-block .price-table td {
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #eef3f6;
    font-family: "Manrope", Arial, sans-serif;
    color: #2d4356;
    vertical-align: middle;
}

.price-block .price-table tr:last-child td { border-bottom: 0; }

.price-block .table-text,
.price-block .table-text td {
    font-size: 14px;
    line-height: 1.5;
    color: #2d4356;
    text-align: left;
}

.price-block .table-data,
.price-block .table-data-sp {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

.price-block .price-table tbody tr:nth-child(even),
.price-block .price-table tr.table-text:nth-child(even) { background: #fafcfd; }

.price-block .price-table tbody tr:hover,
.price-block .price-table tr.table-text:hover {
    background: #f4fbfa;
    transition: background .15s;
}

.price-notes {
    margin-top: 36px;
    padding: 22px 28px;
    background: #fff7ed;
    border: 1px solid #fde3c4;
    border-left: 4px solid #f4a16b;
    border-radius: 14px;
}

.price-notes h3 {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #9a5a1e;
    margin: 0 0 12px;
}

.price-notes ol {
    padding-left: 20px;
    margin: 0;
    list-style: none;
    counter-reset: note-counter;
}

.price-notes li {
    position: relative;
    padding-left: 24px;
    font-size: 13px;
    line-height: 1.55;
    color: #6b5635;
    margin-bottom: 8px;
    counter-increment: note-counter;
}

.price-notes li::before {
    content: counter(note-counter);
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f4a16b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
}

.price-notes li:last-child { margin-bottom: 0; }

.price-cta {
    margin-top: 28px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #e6f7f4, #f1edff);
    border: 1px solid transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.price-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.price-cta-text strong {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.price-cta-text span { font-size: 13px; color: #5a7284; }

.price-cta .btn {
    flex-shrink: 0;
    padding: 13px 24px;
    border-radius: 999px;
    background: #ff6f6a;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(255, 111, 106, 0.28);
    border: 0;
    cursor: pointer;
}
.price-cta .btn:hover {
    background: #f95e58;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 111, 106, 0.4);
}
.price-cta .btn span { display: inline-block; transition: transform .2s; }
.price-cta .btn:hover span { transform: translateX(4px); }

.price-empty {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 22px;
    border: 1px solid #e8eff4;
}
.price-empty-icon { font-size: 56px; margin-bottom: 12px; opacity: 0.5; }
.price-empty p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }

.price-mobile-cards { display: none; }

@media (max-width: 900px) {
    .price-block {
        padding: 16px 12px;
        border-radius: 16px;
        scroll-margin-top: 90px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .price-block .price-table { min-width: 620px; }
    .price-block .table-title { font-size: 15px; padding: 12px 12px; line-height: 1.3; }
    .price-block .table-col-title td {
        font-size: 10.5px;
        padding: 9px 8px;
        letter-spacing: 0.02em;
    }
    .price-block .price-table td { padding: 10px 10px; font-size: 12.5px; line-height: 1.45; }
    .price-block .table-text,
    .price-block .table-text td { font-size: 12.5px; line-height: 1.45; }
    .price-block .table-data,
    .price-block .table-data-sp { font-size: 12.5px; }
}

@media (max-width: 640px) {
    .price-page-section { padding: 20px 0 50px; }
    .price-list-wrap { gap: 20px; }
    .price-block { padding: 14px 10px; border-radius: 14px; }
    .price-block .price-table { display: none !important; }

    .price-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .price-mobile-table-title {
        background: linear-gradient(135deg, #e6f7f4, #d9f0eb);
        color: var(--navy);
        font-family: "Nunito", sans-serif;
        font-size: 15px;
        font-weight: 800;
        text-align: center;
        line-height: 1.3;
        padding: 14px 16px;
        border-radius: 12px;
        letter-spacing: -0.01em;
    }

    .price-mobile-card {
        background: #fff;
        border: 1px solid #e8eff4;
        border-radius: 14px;
        padding: 14px 16px;
        transition: border-color .2s, box-shadow .2s;
    }

    .price-mobile-card:hover {
        border-color: #a8c8d7;
        box-shadow: 0 8px 20px rgba(23, 59, 92, 0.05);
    }

    .price-mobile-title {
        font-family: "Nunito", sans-serif;
        font-size: 14.5px;
        font-weight: 800;
        color: var(--navy);
        line-height: 1.35;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eef3f6;
    }

    .price-mobile-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        padding: 6px 0;
        font-size: 13px;
        line-height: 1.45;
        color: #2d4356;
    }

    .price-mobile-label {
        flex-shrink: 0;
        max-width: 50%;
        font-family: "Manrope", Arial, sans-serif;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        color: #8a9aa5;
        padding-top: 2px;
    }

    .price-mobile-value {
        flex: 1;
        text-align: right;
        color: #2d4356;
        font-weight: 600;
    }

    .price-nav { display: none; }

    .price-notes { margin-top: 24px; padding: 18px 20px; }
    .price-notes h3 { font-size: 15px; }
    .price-notes li { font-size: 12.5px; }

    .price-cta {
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .price-cta .btn { width: 100%; justify-content: center; }
    .price-cta-text strong { font-size: 16px; }
}

/* ============================================================
   СТРАНИЦА ДОКУМЕНТОВ
   ============================================================ */

.doc-page-section {
    padding: 30px 0 70px;
    background: transparent;
}

.doc-header {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: left;
}

.doc-title {
    font-family: "Nunito", sans-serif;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8a9aa5;
    flex-wrap: wrap;
}
.doc-meta-sep { color: #cbd5e1; }

.doc-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 48px 44px;
    background: #fff;
    border: 1px solid #e8eff4;
    border-radius: 22px;
    box-shadow: 0 2px 8px rgba(23, 59, 92, 0.03);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #2d4356;
}

.doc-content p { margin: 0 0 14px; }
.doc-content p:last-child { margin-bottom: 0; }

.doc-content h2 {
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6f7f4;
    letter-spacing: -0.01em;
}

.doc-content h2:first-child { margin-top: 0; }
.doc-content strong { color: var(--navy); font-weight: 700; }
.doc-content .doc-accent { color: #22739a; font-weight: 700; }

.doc-content a {
    color: #22739a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}
.doc-content a:hover { color: #ff6f6a; }

.doc-content ul {
    padding-left: 22px;
    margin: 12px 0 16px;
    list-style: none;
}

.doc-content ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #2d4356;
}

.doc-content ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #43b4ae;
    opacity: 0.8;
}

.doc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    border: 1px solid #e8eff4;
    border-radius: 14px;
    overflow: hidden;
    font-size: 14px;
    background: #fff;
}

.doc-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eef3f6;
    vertical-align: top;
    line-height: 1.55;
    color: #2d4356;
}

.doc-table tr:last-child td { border-bottom: 0; }

.doc-table td:first-child {
    width: 32%;
    background: #f4f8fa;
    color: var(--navy);
    font-weight: 700;
    border-right: 1px solid #eef3f6;
}

.doc-footer {
    max-width: 900px;
    margin: 32px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.doc-footer .btn {
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .doc-content { padding: 32px 32px 36px; border-radius: 18px; }
    .doc-content h2 { font-size: 18px; margin: 30px 0 14px; }
}

@media (max-width: 640px) {
    .doc-page-section { padding: 20px 0 50px; }
    .doc-content {
        padding: 24px 20px 28px;
        border-radius: 16px;
        font-size: 14px;
        line-height: 1.65;
    }
    .doc-content h2 { font-size: 16px; margin: 26px 0 12px; padding-bottom: 8px; }
    .doc-content p { margin-bottom: 12px; }
    .doc-table td { padding: 12px 14px; font-size: 13px; }
    .doc-table td:first-child { width: 40%; font-size: 12.5px; }
    .doc-footer { flex-direction: column; align-items: stretch; }
    .doc-footer .btn { width: 100%; justify-content: center; }
    .doc-title { font-size: 22px; }
    .doc-meta { font-size: 12px; }
}

@media (max-width: 480px) {
    .doc-table,
    .doc-table tbody,
    .doc-table tr,
    .doc-table td { display: block; width: 100%; }
    .doc-table { border-radius: 12px; }
    .doc-table tr { border-bottom: 1px solid #eef3f6; }
    .doc-table tr:last-child { border-bottom: 0; }
    .doc-table td { border-bottom: 0; padding: 10px 14px; }
    .doc-table td:first-child {
        width: 100%;
        background: #f4f8fa;
        border-right: 0;
        font-size: 12px;
        padding-bottom: 6px;
    }
    .doc-table td:last-child { padding-top: 6px; }
}

.navelworf {
    display: flex;
    font-size: 10px;
    color: #78848c;
    gap: 10px;
}

.navelworf img {
    width: 20px;
}

.navelworf span {
    margin: auto 0;
}

.navelworf:hover {
    color: #19ff3b;
    text-shadow: 1px 1px 1px #ff0000;
    transform: translateY(-2px);
}