:root {
    --magenta: #E72681;
    --green: #35B34A;
    --orange: #F7931E;
    --sky: #5EBCEA;
    --deep: #1B447F;
    --teal: #32C6B7;
    --bg: #fff;
    --text: #0b0f1a;
    --muted: #4b5565;
    --border: rgba(11, 15, 26, .12);
    --elev: 0 14px 38px rgba(19, 25, 40, .12);
    --container: 1200px;
    --t: .28s;
    --t-slow: .7s;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --scrollA: #5EBCEA;
    --scrollB: #F7931E;
}

/* ======= Branded Scrollbar ======= */
* {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in oklab, var(--scrollB), #000 10%) color-mix(in oklab, #ffffff, var(--scrollA) 10%);
}

html {
    /*scrollbar-gutter: stable;*/
    overflow-x: hidden;
}

@media screen and (max-width:480px) {
    body {
        overflow-x: hidden;
    }
}

body {
    overflow-x: hidden;
}

@media (hover:hover) {

    *::-webkit-scrollbar {
        width: 10px;
        height: 10px;
        background: transparent;
    }

    *::-webkit-scrollbar-track {
        background: linear-gradient(180deg,
                color-mix(in oklab, #fff, var(--scrollA) 8%),
                color-mix(in oklab, #fff, var(--scrollB) 6%));
        border-radius: 999px;
    }

    *::-webkit-scrollbar-thumb {
        border-radius: 999px;
        border: 2px solid transparent;
        background-clip: padding-box;
        background-image: linear-gradient(180deg, var(--scrollA), var(--scrollB));
        box-shadow:
            inset 0 0 0 1px color-mix(in oklab, #fff, #000 8%),
            0 2px 6px rgba(0, 0, 0, .15);
    }

    *::-webkit-scrollbar-thumb:hover {
        background-image: linear-gradient(180deg,
                color-mix(in oklab, var(--scrollA), #fff 8%),
                color-mix(in oklab, var(--scrollB), #fff 8%));
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 3px 10px rgba(0, 0, 0, .2);
    }

    *::-webkit-scrollbar-thumb:active {
        background-image: linear-gradient(180deg,
                color-mix(in oklab, var(--scrollA), #000 10%),
                color-mix(in oklab, var(--scrollB), #000 10%));
    }

    *::-webkit-scrollbar-corner {
        background: transparent;
    }
}

@media (prefers-color-scheme: dark) {
    * {
        scrollbar-color: color-mix(in oklab, var(--scrollB), #fff 8%) color-mix(in oklab, #0b0f1a, var(--scrollA) 14%);
    }

    @media (hover:hover) {
        *::-webkit-scrollbar-track {
            background: linear-gradient(180deg,
                    color-mix(in oklab, #0b0f1a, var(--scrollA) 10%),
                    color-mix(in oklab, #0b0f1a, var(--scrollB) 8%));
        }

        *::-webkit-scrollbar-thumb {
            box-shadow:
                inset 0 0 0 1px rgba(255, 255, 255, .08),
                0 2px 6px rgba(0, 0, 0, .4);
        }
    }
}

/* ==== Global Blob ==== */
.page-blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

.gblob {
    position: absolute;
    width: 44vmax;
    height: 44vmax;
    left: var(--sx, 0);
    top: var(--sy, 0);
    --x: 0px;
    --y: 0px;
    transform: translate3d(var(--x), var(--y), 0) scale(1);
    will-change: transform;
    filter: blur(26px) saturate(120%);
    opacity: .34;
    mix-blend-mode: soft-light;
    border-radius: 40% 60% 55% 45%/48% 42% 58% 52%;
}

.g1 {
    background:
        radial-gradient(closest-side, var(--sky), transparent 70%),
        radial-gradient(closest-side at 70% 70%, color-mix(in oklab, var(--magenta), #fff 15%), transparent 65%)
}

.g2 {
    background:
        radial-gradient(closest-side, var(--orange), transparent 70%),
        radial-gradient(closest-side at 30% 30%, color-mix(in oklab, var(--teal), #fff 15%), transparent 65%)
}

.g3 {
    background:
        radial-gradient(closest-side, var(--green), transparent 70%),
        radial-gradient(closest-side at 65% 35%, color-mix(in oklab, var(--sky), #fff 10%), transparent 60%)
}

.g4 {
    background:
        radial-gradient(closest-side, var(--magenta), transparent 70%),
        radial-gradient(closest-side at 35% 65%, color-mix(in oklab, var(--orange), #fff 15%), transparent 60%)
}

.g5 {
    background:
        radial-gradient(closest-side, var(--teal), transparent 70%),
        radial-gradient(closest-side at 70% 30%, color-mix(in oklab, var(--deep), #fff 20%), transparent 60%)
}

.g6 {
    background:
        radial-gradient(closest-side, var(--sky), transparent 70%),
        radial-gradient(closest-side at 40% 60%, color-mix(in oklab, var(--green), #fff 12%), transparent 60%)
}

.section,
.site-header,
.site-footer {
    position: relative;
    z-index: 1
}

@media (max-width:768px) {
    .gblob {
        opacity: .22;
        filter: blur(32px)
    }
}

@media (prefers-color-scheme:dark) {
    .gblob {
        opacity: .38
    }
}

.blob-sec,
.why-blob {
    display: none !important
}

/* ===== UI ===== */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 20px
}

.section {
    padding: 88px 0;
    position: relative
}

:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 2px;
    border-radius: 10px
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px) saturate(120%);
    border-bottom: 1px solid var(--border)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px
}

.logo-img {
    height: 40px
}

.nav-desktop {
    display: flex;
    gap: 12px;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0
}

.nav-desktop a {
    padding: 10px 12px;
    border-radius: 12px
}

.nav-desktop a:hover {
    color: var(--muted);
    background: transparent;
    border: 2px solid var(--magenta);
}

.burger {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff
}

.burger-box {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%
}

.burger-line,
.burger-line::before,
.burger-line::after {
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: transform var(--t)
}

.burger-line::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 0
}

.burger-line::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0
}

.burger.is-open .burger-line {
    background: transparent
}

.burger.is-open .burger-line::before {
    transform: translateY(7px) rotate(45deg)
}

.burger.is-open .burger-line::after {
    transform: translateY(-7px) rotate(-45deg)
}

@media (max-width:1200px) {
    .nav-desktop {
        display: none
    }

    .burger {
        display: inline-grid
    }
}

.nav-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(90vw, 420px);
    background: #fff;
    border-right: 1px solid var(--border);
    transform: translateX(-105%);
    transition: transform var(--t-slow) var(--ease);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--elev);
    height: 100dvh
}

.nav-drawer.is-open {
    transform: translateX(0)
}

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 16, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-slow), visibility var(--t-slow);
    z-index: 90
}

.backdrop.is-open {
    opacity: 1;
    visibility: visible
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px
}

.logo-mini {
    height: 28px
}

.drawer-close {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px
}

.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 8px;
    overflow: auto;
    flex: 1
}

.drawer-menu .nav-link {
    display: block;
    padding: 14px;
    border-radius: 12px
}

.drawer-menu .nav-link:hover {
    background: rgba(0, 0, 0, .06)
}

.drawer-cta {
    padding: 8px 16px
}

/* ===== Hero ===== */
.hero {
    --bg-blue: color-mix(in oklab, rgba(94, 188, 234, .6), white calc(var(--light-boost)*100%));
    --bg-orange: color-mix(in oklab, rgba(247, 147, 30, .6), white calc(var(--light-boost)*100%));
    --halo: 0 0 40px rgba(255, 255, 255, .5), 0 0 120px rgba(54, 43, 216, .33);
    --hero-animal-size: clamp(220px, 52vw, 320px);
    filter: saturate(var(--sat)) brightness(.97);
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(1600px 920px at -14% -14%, var(--bg-blue), transparent 60%),
        radial-gradient(1500px 860px at 114% -12%, var(--bg-orange), transparent 60%),
        radial-gradient(1200px 680px at 8% 120%, rgba(255, 122, 182, .40), transparent 60%);
}


@media (min-width: 1440px) {
    .hero {
        --hero-animal-size: clamp(380px, 32vw, 520px);
    }
}

.blob {
    position: absolute;
    filter: blur(12px) saturate(165%);
    opacity: .98;
    will-change: transform, border-radius
}

.blob-1 {
    width: 64vmax;
    height: 64vmax;
    left: -12vmax;
    top: -22vmax;
    background:
        radial-gradient(circle at 30% 30%, #8ee3ff, transparent 60%),
        radial-gradient(circle at 70% 70%, #ff5bb3b3, transparent 60%);
    animation: morph 18s ease-in-out infinite alternate
}

.blob-2 {
    width: 56vmax;
    height: 56vmax;
    right: -12vmax;
    top: -18vmax;
    background:
        radial-gradient(circle at 30% 30%, #49fb6e, transparent 60%),
        radial-gradient(circle at 70% 70%, #ffc067, transparent 60%);
    animation: morph 22s ease-in-out infinite alternate-reverse
}

/* ===== ДЕСКТОПНЫЕ ПЕРСОНАЖИ (по бокам) ===== */
.hero-char-desktop {
    position: absolute;
    z-index: 2;
    width: var(--hero-animal-size);
    pointer-events: none;
    filter:
        drop-shadow(0 26px 40px rgba(0, 0, 0, .45)) brightness(0.9) saturate(0.9) contrast(0.97);
    display: none;
}

.hero-char-desktop--left {
    left: max(-40px, -4vw);
    bottom: 8%;
}

.hero-char-desktop--right {
    right: max(-40px, -4vw);
    bottom: 8%;
}

@media (min-width: 1440px) {
    .hero-char-desktop {
        display: block;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {

    .hero-char-desktop--left,
    .hero-char-desktop--right {
        bottom: 4%;
    }
}

/* ===== МОБИЛЬНЫЕ ПЕРСОНАЖИ (в потоке) ===== */

.hero-char-mobile {
    display: block;
    width: var(--hero-animal-size);
    margin-inline: auto;
    pointer-events: none;
    filter:
        drop-shadow(0 18px 26px rgba(0, 0, 0, .38)) brightness(0.9) saturate(0.9) contrast(0.97);
}

.hero-char-mobile--top {
    margin-bottom: 24px;
}

.hero-char-mobile--bottom {
    margin-top: 28px;
}

@media (min-width: 1440px) {
    .hero-char-mobile {
        display: none;
    }
}

/* ===== ПЕРЕКЛЮЧЕНИЕ НА МОБИЛКУ ===== */

@media (max-width: 768px) {
    .hero-content {
        padding: 96px 0 90px;
    }
}

@media (max-width: 485px) {
    .hero {
        --hero-animal-size: clamp(300px, 100vw, 420px);
    }
}

/* ===== Контент ===== */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 108px 0 124px;
    max-width: 980px;
    font-family: "Playpen Sans", cursive;
    filter: saturate(125%);
}

.hero-content::after {
    inset: -26% -18%;
    filter: blur(18px);
    opacity: .92
}

@keyframes pulse {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.06)
    }
}

.hero-content>.text-bg {
    position: absolute;
    inset: -6% -4%;
    z-index: -1;
    border-radius: 32px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, .34) 60%, transparent 100%);
    filter: blur(12px)
}

.hero-title {
    font-size: clamp(44px, 8vw, 106px);
    line-height: 1.02;
    letter-spacing: -.5px;
    color: #E72681;
    position: relative;
    text-wrap: balance;
}

.title-accent {
    color: #352bd8;
}

.hero-subtitle {
    color: var(--text);
    max-width: 880px;
    margin: 16px auto 32px;
    font-size: clamp(18px, 2.4vw, 22px);
    text-shadow: 0 1px 2px rgba(255, 255, 255, .34)
}

@media screen and (max-width: 480px) {
    .hero-subtitle {
        padding: 0 15px;
    }
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.sparkle-ring {
    position: absolute;
    inset: -22px -26px auto -26px;
    height: 0;
    pointer-events: none;
    background:
        radial-gradient(4px 4px at 8% 40%, #fff 98%, transparent),
        radial-gradient(4px 4px at 26% 10%, #FAD24D 98%, transparent),
        radial-gradient(5px 5px at 54% 26%, #ff8af0 98%, transparent),
        radial-gradient(4px 4px at 74% 12%, #9EE6FF 98%, transparent),
        radial-gradient(4px 4px at 92% 42%, #fff 98%, transparent);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
    animation: twinkle 1.9s ease-in-out infinite
}

@keyframes twinkle {

    0%,
    100% {
        opacity: .85;
        transform: translateY(0)
    }

    50% {
        opacity: 1;
        transform: translateY(-2px)
    }
}

.ribbons-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -28px;
    width: min(820px, 98vw);
    height: 24px;
    background: linear-gradient(90deg, #ff9bd4, #7bbcff, #7bffcf, #ffd27b);
    opacity: .85;
    filter: blur(6px) saturate(185%);
    border-radius: 999px
}

/* Mobile */
@media (max-width:768px) {
    .blob {
        filter: blur(10px) saturate(160%)
    }

    .sparkle-ring {
        inset: -18px -18px auto -18px
    }

    .ribbons-line {
        width: 97vw;
        bottom: -20px
    }
}

@media (max-width:485px) {
    .title-accent {
        font-size: 2.5rem
    }

    .hero-content {
        padding: 96px 0 110px
    }

    .confetti.l5,
    .confetti.l6,
    .confetti.l7,
    .confetti.l8,
    .confetti.l9,
    .confetti.l10,
    .confetti.l11,
    .confetti.l12,
    .confetti.l13,
    .confetti.l14,
    .confetti.l15 {
        opacity: .74
    }
}

/* Reduce motion */
@media (prefers-reduced-motion:reduce) {

    .blob,
    .confetti,
    .hero-content::before,
    .hero-content::after,
    .sparkle-ring,
    .shape,
    .f {
        animation: none !important
    }
}

/* ===== Buttons ===== */
.btn {
    --b: #E72681;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 14px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    border: none;
    background: linear-gradient(180deg, color-mix(in oklab, var(--b), #fff 10%), var(--b));
    box-shadow: 0 12px 26px color-mix(in oklab, var(--b), #000 70% / 28%);
    transition: transform var(--t), box-shadow var(--t)
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    --b: #E72681
}

.btn-secondary {
    --b: #362bd8
}

.btn-outline {
    --b: #5EBCEA;
    background: #fff;
    color: var(--text);
    border-style: dashed
}

.btn-sm {
    padding: 10px 14px
}

.btn.w-100 {
    width: 100%
}

/* ===== REASONS/WHY ===== */
.reasons-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 28px;
    align-items: start
}

@media(max-width:1100px) {
    .reasons-grid {
        grid-template-columns: 1fr
    }
}

.script {
    color: #362bd8;
    font-weight: 900;
    font-size: clamp(20px, 3vw, 28px);
    text-align: center;
    font-family: "Playpen Sans", cursive;
}

.script .age {
    display: block;
    font-size: clamp(18px, 2.6vw, 24px)
}

.lead {
    font-weight: 700;
    text-align: center;
    margin: 8px 0 22px
}

.checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    font-family: "Playpen Sans", cursive;
}

@media(max-width:800px) {
    .checks {
        grid-template-columns: 1fr
    }
}

.checkBar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    font-size: clamp(18px, 2.2vw, 28px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    border: 2px solid rgba(255, 255, 255, .35)
}

.checkBar .tick {
    font-size: 1.1em;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .1))
}

.c-orange {
    background: #F7931E
}

.c-teal {
    background: #352bd8
}

.c-green {
    background: #35B34A
}

.c-magenta {
    background: #E72681
}

.c-sky {
    background: #352bd8
}

.reasons-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .08);
    padding: 22px;
    border: 1px solid var(--border)
}

.reason-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px
}

.reason-number {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffd467, #ffb232);
    color: #0b0f1a;
    font-weight: 900;
    font-size: 42px
}

.reason-title .t1 {
    font-weight: 800;
    color: #1B447F
}

.reason-title .t2 {
    font-weight: 900;
    color: #35B34A
}

.reason-list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #444;
    list-style: none
}

.reason-list li {
    margin: .5em 0
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center
}

@media(max-width:1024px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }
}

.why-title {
    color: #e72681;
    font-size: clamp(26px, 3.2vw, 36px);
    margin: 0;
    font-family: "Playpen Sans", cursive;
}

.wavy {
    display: block;
    width: 84px;
    height: 6px;
    background: repeating-linear-gradient(90deg, #332ad7 0 10px, transparent 10px 20px);
    border-radius: 6px;
    margin: 12px 0 18px
}

.wavy.small {
    width: 64px;
    height: 5px
}

.why-text p {
    color: #2b3750;
    line-height: 1.6;
    margin: 12px 0
}

.why-media {
    position: relative;
    display: grid;
    place-items: center
}

.blob-blue {
    position: absolute;
    width: min(520px, 70vw);
    height: min(220px, 38vw);
    background: #5EBCEA;
    border-radius: 54% 46% 60% 40%/38% 52% 48% 62%;
    transform: translateY(40px);
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .12))
}

.why-img {
    position: relative;
    width: min(520px, 80vw);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .14)
}

.dots {
    position: absolute;
    bottom: -18px;
    display: flex;
    gap: 10px
}

.dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8dbe2;
    box-shadow: 0 0 0 3px #fff
}

.dots .dot.active {
    background: #E72681
}

.doodle-rainbow {
    position: absolute;
    right: -10px;
    top: -28px;
    width: 84px;
    height: 60px;
    background:
        radial-gradient(circle at 50% 80%, #fff 30%, transparent 32%),
        conic-gradient(from 180deg at 50% 40%, #F7931E 0 25%, #E72681 0 50%, #5EBCEA 0 75%, #35B34A 0 100%);
    -webkit-mask: radial-gradient(50px 50px at 50% 100%, transparent 65%, #000 66%),
        radial-gradient(40px 40px at 50% 100%, transparent 70%, #000 71%),
        radial-gradient(30px 30px at 50% 100%, transparent 75%, #000 76%);
    mask: -webkit-mask;
    opacity: .9
}

/* ===== Programs ===== */

.section-head {
    text-align: center
}

.section-head.left {
    text-align: left
}

.section-head>h2 {
    font-size: clamp(28px, 3.4vw, 38px);
    margin: 0;
    color: #E72681;
    font-family: "Playpen Sans", cursive;
}

.section-head .h-ru {
    color: #35b34a
}

.title-pink {
    color: #E72681
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px
}

.divider span {
    display: block;
    width: 130px;
    height: 4px;
    background: #A9D08F;
    border-radius: 999px
}

.divider i {
    color: #7BB241
}

.programs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 26px
}

@media(max-width:1100px) {
    .programs {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:760px) {
    .programs {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:520px) {
    .programs {
        grid-template-columns: 1fr
    }
}

.prog {
    display: grid;
    justify-items: center;
    gap: 14px
}

.prog-figure {
    position: relative;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.prog-figure::before {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 42% 58% 60% 40%/45% 40% 60% 55%;
    background: #d4f1fb;
    z-index: 0;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .06))
}

.prog-figure::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 3px dotted rgba(0, 0, 0, .25)
}

.prog img {
    position: relative;
    z-index: 1;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff
}

.dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    z-index: 2
}

.d1 {
    background: #F7931E;
    right: 12px;
    top: 22px
}

.d2 {
    background: #35B34A;
    left: 16px;
    bottom: 18px
}

.d3 {
    background: #5EBCEA;
    right: 36px;
    bottom: 40px
}

.prog h3 {
    text-align: center;
    color: #001c81;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .3px
}

.btn-blob {
    --b: #E72681;
    padding: 12px 22px;
    border-radius: 999px
}

/* ===== Calculator ===== */
#calculator .calc-grid,
.calc .calc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px;
    align-items: start;
}

#calculator .calc-grid>*,
.calc .calc-grid>* {
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
}

@media (max-width:1100px) {
    .calc .calc-grid {
        grid-template-columns: 1fr;
    }
}

.calc-card,
.calc-summary {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
    padding: 18px;
}

.calc-sub {
    margin: 0 0 10px;
    color: #1B447F;
    font-weight: 900;
    font-size: 18px;
}

.calc-field {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.calc-field label {
    font-weight: 700;
    color: #202A44;
}

.calc-input {
    height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .15);
    background: #fff;
    font: 600 14px/1 Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

.calc-input:focus {
    outline: 2px solid #5EBCEA;
    outline-offset: 2px;
}

.calc-help {
    color: #556079;
    font-size: 12px;
    opacity: .9;
}

.calc-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width:520px) {
    .calc-row {
        grid-template-columns: 1fr;
    }
}

.calc-addons {
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
}

.addon {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px dashed rgba(0, 0, 0, .15);
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
}

.addon input {
    transform: translateY(3px);
}

.addon span {
    font-weight: 700;
    color: #2a3353;
}

.calc-summary .sum-list {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    display: grid;
    gap: 6px;
}

.sum-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px dashed rgba(0, 0, 0, .12);
}

.sum-row:first-child {
    border-top: 0;
}

.sum-total {
    font-size: 18px;
    font-weight: 900;
    color: #E72681;
}

.calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .calc-actions .btn {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

.calc-note {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 12px;
}

.calc .btn {
    padding: 12px 16px;
}

/* ===== Order Modal ===== */
.order-modal[hidden] {
    display: none !important;
}

.order-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}

.order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 20, .55);
    backdrop-filter: blur(6px) saturate(120%);
}

.order-modal__dialog {
    position: relative;
    width: min(680px, calc(100% - 32px));
    border-radius: 20px;
    background: #fff;
    color: #111;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
    overflow: hidden;
    animation: om-in .22s cubic-bezier(.22, .8, .24, 1);
}

@keyframes om-in {
    from {
        transform: translateY(8px);
        opacity: 0
    }

    to {
        transform: none;
        opacity: 1
    }
}

.order-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    border: 1px solid rgba(255, 255, 255, .25);
    cursor: pointer;
    font-size: 20px;
}

.order-title {
    margin: 16px 18px 4px;
    color: #E72681;
    font-weight: 900
}

.order-note {
    margin: 0 18px 10px;
    color: #3b4662
}

.order-form {
    padding: 0 18px 18px
}

.order-form label {
    display: grid;
    gap: 6px;
    margin: 8px 0
}

.order-form input,
.order-form textarea {
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 12px;
    padding: 10px 12px;
    font: 600 14px/1 Inter, system-ui;
}

.order-form .hp {
    position: absolute;
    left: -9999px;
    opacity: 0
}

.of-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr
}

@media(max-width:660px) {
    .of-row {
        grid-template-columns: 1fr
    }
}

.of-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px
}

.of-hint {
    margin: 8px 0 0;
    color: #000000;
    font-size: 12px
}

@media (prefers-color-scheme:dark) {
    .order-modal__dialog {
        background: #7497ff;
        color: #ffffff
    }

    .order-modal__close {
        background: rgba(255, 255, 255, .08)
    }

    .order-note {
        color: #ffffff
    }
}

#calculator .calc-grid,
.calc .calc-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
        "col1 col2"
        "sum  sum";
    align-items: stretch;
    justify-content: center;
}

#calculator .calc-grid>.calc-card:first-of-type,
.calc .calc-grid>.calc-card:first-of-type {
    grid-area: col1;
}

#calculator .calc-grid>.calc-card:nth-of-type(2),
.calc .calc-grid>.calc-card:nth-of-type(2) {
    grid-area: col2;
}

#calculator .calc-grid>.calc-summary,
.calc .calc-grid>.calc-summary {
    grid-area: sum;
    width: auto !important;
    max-width: 820px;
    justify-self: center;
}

@media (max-width: 1100px) {

    #calculator .calc-grid,
    .calc .calc-grid {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "col1"
            "col2"
            "sum";
    }

    #calculator .calc-grid>.calc-summary,
    .calc .calc-grid>.calc-summary {
        max-width: none;
        justify-self: stretch;
    }
}

/* ===== Modal for programs ===== */
.prog-modal[hidden] {
    display: none !important
}

.prog-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center
}

.prog-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 800px at 20% -10%, rgba(231, 38, 129, .08), transparent 60%),
        radial-gradient(1000px 600px at 80% 110%, rgba(94, 188, 234, .08), transparent 60%),
        rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%)
}

.prog-modal__dialog {
    position: relative;
    width: min(920px, calc(100% - 32px));
    max-height: calc(100vh - 64px);
    overflow: hidden;
    padding: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .10));
    color: #111;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .22);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    animation: prog-modal-in .24s cubic-bezier(.2, .7, .2, 1)
}

.prog-modal__dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(231, 38, 129, .55), rgba(94, 188, 234, .55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .45;
    z-index: 0
}

.prog-modal__figure {
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
    z-index: 1
}

.prog-modal__figure img {
    display: block;
    margin: 0;
    width: 100%;
    max-height: 55vh;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px
}

.prog-modal__body {
    position: relative;
    z-index: 1;
    padding: 18px 20px 22px;
    background: #fff;
    border-top: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px)
}

.prog-modal__body h3 {
    margin: 0 0 10px;
    color: #1B447F;
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 24px);
    letter-spacing: .2px
}

.prog-modal__meta {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    color: #2a2a2a;
    display: grid;
    gap: 6px
}

.prog-modal__desc {
    margin: 0;
    color: #2a2a2a;
    line-height: 1.6
}

.prog-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 1000;
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .12));
    color: #111;
    cursor: pointer;
    font-size: 22px;
    line-height: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px)
}

.prog-modal__close:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18)
}

.prog-modal__close:active {
    transform: scale(.96)
}

.prog-modal__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 38, 129, .35)
}

@keyframes prog-modal-in {
    from {
        transform: translateY(8px) scale(.98);
        opacity: 0
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1
    }
}

@media(prefers-color-scheme:dark) {
    .prog-modal__dialog {
        background: linear-gradient(180deg, rgba(18, 20, 26, .55), rgba(18, 20, 26, .45));
        color: #000;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06)
    }

    .prog-modal__body {
        background: #fff
    }
}

/* === CTA === */
.strip-cta {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 44px 0;
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(231, 38, 129, .18), transparent 60%),
        radial-gradient(900px 420px at 90% 100%, rgba(94, 188, 234, .18), transparent 60%),
        linear-gradient(135deg, #6B2BD9 0%, #7C3AED 35%, #3B82F6 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .25);
    isolation: isolate;
}

.strip-cta .container {
    position: relative;
}

.strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .10));
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, .30);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .12);
}

.strip-text p {
    margin: 0;
    opacity: .92
}

.strip-text h3 {
    margin: 4px 0 0;
    font-weight: 900
}

.strip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 999px;
    color: #1b0f5a;
    background: #fff;
    border: 2px dashed rgba(27, 15, 90, .5);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.strip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
    background: #F8F7FF;
    border-color: rgba(27, 15, 90, .6);
}

.strip-btn:active {
    transform: translateY(0);
}

@media (max-width: 760px) {
    .strip-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 16px
    }
}

/* ======= FAQ ======= */
.faq-list {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 10px
}

.faq {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbfbfd
}

.faq>summary {
    cursor: pointer;
    padding: 16px 18px 16px 18px;
    font-weight: 700;
    list-style: none;
    position: relative
}

.faq>summary::after {
    content: "›";
    position: absolute;
    right: 14px;
    top: 50%;
    translate: 0 -50%;
    rotate: 90deg;
    opacity: .65;
    transition: transform var(--t);
}

.faq[open]>summary::after {
    transform: rotate(-90deg);
}

.faq-cnt {
    padding: 0 18px 16px;
    color: #46526a;
}

/* ======= Gallery ======= */
#gallery {
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .12);
    --accent: #E72681;
    --panel: #12141a;
    --text: #e7eaf0;
    --muted: #9aa3b2;
    --pad-x: 20px;
    --viewport-maxw: 1040px;
}

#gallery .gallery__head {
    text-align: center;
    margin: 0 0 18px;
    padding: 0 var(--pad-x);
}

#gallery .gallery__title {
    margin: 0 0 6px;
    color: black;
    font-weight: 800;
    font-size: clamp(24px, 3vw, 34px);
}

#gallery {
    position: relative;
    border-radius: var(--radius);
    padding: clamp(8px, 1.2vw, 12px);
}

#gallery .gallery__viewport {
    position: relative;
    overflow: hidden;
    width: min(100% - 2*var(--pad-x), var(--viewport-maxw));
    margin: 0 auto;
    border-radius: calc(var(--radius) - 8px);
    outline: none;
}

#gallery .gallery__viewport::before {
    content: "";
    display: block;
    aspect-ratio: 16/9;
    width: 100%;
}

#gallery .gallery__track {
    position: absolute;
    inset: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    will-change: transform;
    transform: translateX(0);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

#gallery .gallery__slide {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    user-select: none;
}

#gallery .gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0) scale(1.001);
    border-radius: calc(var(--radius) - 8px);
    pointer-events: none;
}

#gallery .gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    z-index: 5;
    border: 1px solid rgb(231, 38, 128);
    background: linear-gradient(268deg, rgba(231, 38, 129, .12), rgb(231, 38, 128));
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

#gallery .gallery__nav--prev {
    left: 10px;
}

#gallery .gallery__nav--next {
    right: 10px;
}

#gallery .gallery__nav:hover {
    transform: translateY(-50%) scale(1.05);
}

#gallery .gallery__nav:active {
    transform: translateY(-50%) scale(.98);
}

#gallery .gallery__nav:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 38, 129, .35);
}

#gallery .gallery__dots {
    display: inline-flex;
    gap: 8px;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .35);
    padding: 6px 8px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

#gallery .gallery__dots>button {
    all: unset;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font: 700 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .12s ease;
}

#gallery .gallery__dots>button[aria-selected="true"] {
    background: var(--accent);
}

#gallery .gallery__dots>button:hover {
    transform: translateY(-1px);
}

#gallery .gallery__counter {
    position: absolute;
    right: 14px;
    bottom: 12px;
    color: #fff;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
}

#gallery .gallery__viewport.grabbing {
    cursor: grabbing;
}

#gallery .gallery__viewport:not(.grabbing) {
    cursor: grab;
}

@media (prefers-reduced-motion: reduce) {
    #gallery .gallery__track {
        transition: none;
    }
}

#gallery .gallery__track,
#gallery .gallery__track * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* === Gallery: mobile === */
@media (max-width: 760px) {

    #gallery .gallery__dots,
    #gallery .gallery__counter {
        display: none !important;
    }

    #gallery .gallery__nav {
        width: 52px;
        height: 52px;
        border-width: 1px;
        background: rgba(0, 0, 0, .45);
        border-color: rgba(255, 255, 255, .35);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    }

    #gallery .gallery__nav--prev {
        left: 8px;
    }

    #gallery .gallery__nav--next {
        right: 8px;
    }

    #gallery .gallery__viewport::before {
        aspect-ratio: 4 / 3;
    }
}

.form {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 14px
}

.form-row {
    display: grid;
    gap: 6px
}

label {
    font-weight: 700
}

input,
textarea {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    padding: 12px 14px;
    transition: border-color var(--t), box-shadow var(--t)
}

input:focus,
textarea:focus {
    border-color: #5EBCEA;
    box-shadow: 0 0 0 4px rgba(94, 188, 234, .25)
}

.error {
    min-height: 18px;
    color: #c23e3e;
    font-size: .92rem
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap
}

.form-note {
    color: var(--muted);
    margin: 0
}

/* ===== CTA ===== */

.section-cta {
    position: relative;
    overflow: visible;
}

.section-cta::before,
.section-cta::after {
    content: "";
    position: absolute;
    inset: auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(24px);
    opacity: .85;
    pointer-events: none;
    z-index: 0;
}

.section-cta::before {
    left: 0;
    bottom: -260px;
    background:
        radial-gradient(circle at 30% 20%, #5EBCEA, transparent 65%),
        radial-gradient(circle at 70% 80%, #ff9bd4, transparent 70%);
}

.section-cta::after {
    right: 0;
    bottom: -260px;
    background:
        radial-gradient(circle at 70% 20%, #35B34A, transparent 65%),
        radial-gradient(circle at 30% 80%, #ffd27b, transparent 70%);
}

.section-cta .container {
    position: relative;
    z-index: 2;
}

.cta-char {
    position: absolute;
    bottom: 0;
    width: clamp(260px, 23vw, 360px);
    pointer-events: none;
    display: none;
    z-index: 1;
    filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .45));
}

.cta-char--left {
    left: 0;
    transform: translate(-22%, 4%);
}

.cta-char--right {
    right: 0;
    transform: translate(22%, 4%);
}

@media (min-width: 1200px) {
    .cta-char {
        display: block;
    }
}

/* ======= Footer ======= */
.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--border);
    background: #f3f7fb
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    padding: 30px 0
}

.footer-nav,
.contact-list,
.social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px
}

.footer-base {
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--muted)
}

.to-top {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    align-items: center;
    justify-content: center
}

.to-top:hover {
    background: rgba(0, 0, 0, .06)
}

@media (max-width:900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }
}

@media (max-width:560px) {
    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-base {
        flex-direction: column;
        gap: 8px
    }

    .footer-nav,
    .contact-list,
    .social {
        margin: 0 auto;
        display: grid;
        justify-items: center;
        align-items: center;
        justify-content: center;
    }

    .contact-list li{
        text-align: center;
    }

    .foot-col h3 {
        text-align: center
    }
}

#calculator { overflow-x: clip; } /* или hidden, если clip не нравится */