* {
    box-sizing: border-box
}
@font-face {
  font-family: Gochi Hand Cyrillic;
  src: url("fonts/gochi-hand-cyrillic.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fffdf1;
    color: #222;
    font-family: "Nunito", sans-serif;
    font-size: 16px
}
img {
    border-radius:10px;
}
h2 {
    font-size:40px;
}
.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}
.container-hidden{
    overflow:hidden;
}
.header {
    position: fixed;
    z-index: 20;
    top: 0;
    /*left: 0;*/
    width: 100%;
    padding: 16px 0 0 0;
}

.header__inner {
    display: flex;
    align-items: center;
    background-color: #fffbe7;
    padding: 10px 10px;
    border-radius: 20px;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    width: 260px
}

.logo__name {
    color: #6948c5
}

.logo__sub {
    font-size: 13px;
    color: #222;
    margin-top: 5px
}

.nav {
    display: flex;
    gap: 27px;
    margin-left: auto;
    margin-right: auto;
}

.nav a {
    color: #373737;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px
}

.phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #6846c5;
    color: white;
    border-radius: 12px;
    padding: 12px 30px;
    text-decoration: none;
    /*margin-top: -16px;*/
    box-shadow: 0 4px 0 rgba(0, 0, 0, .08);
}

.phone b {
    font-size: 15px;
    white-space: nowrap;
}

.phone small {
    font-size: 11px;
    color: #ffe44c
}

.burger {
    display: none;
    background: none;
    border: 0
}
.main-wrapper{
    overflow: hidden;
}

.hero {
    position: relative;
    /*overflow: hidden;*/
    min-height: 720px;
    padding: 125px 0 40px;
    background: #fffbe7
}

.blob {
    position: absolute;
    z-index: 0
}

.blob--left {
    left: -270px;
    top: -100px
}

.blob--right {
    right: -220px;
    top: -170px;
    /*transform: rotate(30deg)*/
}
.blob--right-bottom{
    transform: rotate(90deg);
    right: -220px;
    top: -170px;
}
.blob--left-bottom{
    left: -250px;
    top: 90px;
    transform: rotate(-40deg);
}
.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 20px
}

.eyebrow {
    font-weight: 800;
    color: #6a49c4;
    margin-bottom: 10px
}

.hero h1 {
    text-transform: uppercase;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero h1 span {
    color: #6a48c6;
    letter-spacing: 10px;
    -webkit-text-stroke-width: 5px;
    font-size:6.5rem;
    display: inline-block;
    transform: scaleY(1.35);
    line-height: 0.9;
    font-family: 'Gochi Hand Cyrillic', cursive, sans-serif;
}

.hero p {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
    margin: 20px 0
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 720px
}

.chips span {
    background: #7452c9;
    color: white;
    border-radius: 10px;
    padding: 7px 14px;
    font-weight: 700;
    font-size: 14px
}

.hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 28px
}

.btn {
    border: 0;
    border-radius: 13px;
    padding: 15px 23px;
    font: 700 18px "Nunito";
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .08)
}

.btn:hover {
    transform: translateY(-2px)
}

.btn small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px
}

.btn--yellow {
    background: #ffd21a;
    color: #222
}

.btn--purple {
    background: #6d4bc6;
    color: #fff
}

.btn--small {
    padding: 10px 18px;
    font-size: 14px;
    display: block;
    margin: 25px auto 0
}

.btn-hero-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero__visual {
    position: relative;
    height: 590px;
    display: flex;
    align-items: end;
    justify-content: center
}

.hero__copy {
    position: relative;
}

.hero-photo {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0 0 140px 160px;
}

.gift {
    position: absolute;
    right: 0;
    bottom: 95px;
    background: #7150c8;
    color: white;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-7deg);
    box-shadow: 0 8px 0 rgba(90, 60, 160, .2)
}

.gift b {
    font: 600 21px/1.05 "Fredoka"
}

.gift small {
    font-size: 10px;
    margin-top: 8px
}

.doodle {
    position: absolute;
    color: #704dc7;
    transition: transform 0.3s ease-out;
    will-change: transform;
    z-index: -1;
    opacity: 0.35;
    font-size: 56px;
    z-index:1;
}
.doodle--arrow_sale{
    right: 14%;
    bottom: -7%;
    transform: rotate(-30deg);
    z-index:1;
}
.doodle--star {
    right: 28%;
    transform: rotate(-30deg);
    top: -50px;
}

.doodle--plane {
    left: 12%;
    bottom: 22%;
    transform: rotate(-30deg)
}

.doodle--line {
    left: -12%;
    /* top: 68%; */
    bottom: 30px;
}

.doodle--piuu-pure {
    right: -16%;
    bottom: 30px;
}

.doodle--piuu-yellow {
    left: 8%;
    top: 0;
}
.doodle--airplane{
    left: -16%;
    top: 30px;
}
.doodle--star-yellow {
    left: -10%;
    transform: rotate(-50deg);
    bottom: -50px;
    color: #ffd21a;
}
.doodle--star-yellow-fill{
    right: 8%;
    transform: rotate(-28deg);
    top: 20%;
}
.doodle--piuu-pure-left{
    left: -10%;
    transform: rotate(-50deg);
    top: -50px;
}
.doodle--star-yellow-fill-bottom{
    right: 50%;
    transform: rotate(-28deg);
    top: 20%;
}
.blob_slow{
    opacity: 1;
    width: 200px;
    left: -310px;
    bottom: -430px;
    rotate: revert;
    transform-style: preserve-3d;
    position: absolute;
    inset: auto -19% -75% auto;
    transform: rotateX(0) rotateY(-180deg) rotateZ(18deg);
    pointer-events: none;
}


.facts {
    display: flex;
    gap: 35px;
    margin-top: 30px
}

.facts>div {
    display: flex;
    align-items: center;
    gap: 20px
}

.facts strong {
    font-size: 62px;
    color: #7655ca
}

.facts span {
    font-size: 18px;
    line-height: 1.15
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    justify-content: center;
}

.section-title h2 {
    color: #5533b2;
    margin: 0
}

.section-title.centered {
    justify-content: center
}

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px
}

.service-card {
    text-align: center;
}

.btn-card{
    font-size:16px
}

.service-card img {
    width: 100%;
    aspect-ratio: .78;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    display: block
}
.service-card img:hover{
    transform: translateY(-5px);
  }

.service-card h3 {
    font: 700 16px/1.1 "Nunito";
    margin: 9px 0
}

.builder {
    padding-top: 20px
}

.builder__box {
    background: #eee9ff;
    border-radius: 25px;
    padding: 34px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 35px
}

.mini-label {
    display: inline-block;
    background: #6c4ac4;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800
}

.builder h2 {
    font-weight: 600;
    color: #4e2cae;
    margin: 12px 0
}

.builder p {
    font-weight: 600
}

.builder__items {
    background: white;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center
}

.builder__items div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 31px
}

.builder__items b {
    font-size: 14px
}

.builder__items i {
    font-style: normal;
    color: #7553c6;
    font-size: 23px
}

.ages {
    /*padding-top: 10px*/
    background: #f0edff;
}

.ages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.15fr;
    gap: 12px
}

.age-card {
    background: #f0edff;
    border-radius: 16px;
    padding: 18px 18px 0 18px;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 8px
}

.age-img {
    margin-left: auto;
    width: 120px;
    position: absolute;
    left: auto;
    right: 0px;
    top: auto;
    bottom: 0;
}

.age-card b {
    font-weight: 600;
    color: #4c2bad
}

.age-card span {
    font-size: 14px
}

.quiz-teaser {
    background: #6745bf;
    color: white;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.quiz-teaser b {
    /*font: 600 20px "Fredoka"*/
        font-weight: 800;
        font-size:20px;
}

.quiz-teaser span {
    font-size: 13px;
    margin: 6px 0 12px
}

.quiz-teaser button {
    align-self: start;
    border: 0;
    background: #ffd21a;
    border-radius: 9px;
    padding: 9px 14px;
    font-weight: 800;
    cursor: pointer
}

.process {
    background: #fffdf1;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom:20px;
}

.process-grid>div {
    background: white;
    border-radius: 16px;
    padding: 18px;
    /*text-align: center;*/
    position: relative
}
.process-icon {
    display: flex;
    justify-content: flex-start;
    margin: 20px 0;
    gap:32px;
    align-items: center;
}
.process-grid em {
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #6d4bc6;
    color: white;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 800;
    /*margin: 0 10px*/
}

.process-grid b {
    font-size: 14px
}

.process-grid p {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}

.advantages {
    background: #fff
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-radius: 20px;
    background: #fff9df;
    padding: 15px
}

.advantages-grid>div {
    text-align: center;
    padding: 14px;
    border-right: 1px solid #ddd
}

.advantages-grid>div:last-child {
    border: 0
}

.advantages-grid strong {
    display: block;
    color: #7351c9;
    font-size: 30px
}

.advantages-grid b {
    font-size: 14px
}

.counter {
    max-width: 850px;
    margin: 30px auto 0;
    background: #fff3a5;
    border-radius: 18px;
    padding: 17px;
    text-align: center;
    font-size: 14px
}

.gallery {
    background: #f0edff
}

.gallery .section-title {
    position: relative
}

.link-btn {
    margin-left: auto;
    border: 0;
    background: #6d4bc6;
    color: white;
    border-radius: 10px;
    padding: 9px 14px;
    font-weight: 800;
    cursor: pointer
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer
}

.gallery-grid img:first-child {
    grid-row: span 2;
    height: 100%;
}

.reviews {
    background: #f0edff
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.reviews-grid article {
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(60, 40, 100, .05)
}

.review-head {
    display: flex;
    align-items: center;
    gap: 10px
}

.review-head>span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffd21a;
    display: grid;
    place-items: center;
    font-weight: 800
}

.review-head b {
    font-size: 14px
}

.review-head small {
    font-weight: 500;
    color: #777
}

.reviews article p {
    font-size: 13px;
    line-height: 1.45
}

.link-reviews {
    font-size: 12px;
    color: #b8b8b8;
}

.stars {
    color: #ffbe00;
    letter-spacing: 2px
}

.characters {
    background: white
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 1fr;
    gap: 20px
}

.characters-grid>div {
    text-align: center
}

.characters-grid img {
    width: 100%;
    aspect-ratio: .85;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.3s ease;
}
.characters-grid img:hover{
    transform: translateY(-5px);
}

.characters-grid b {
    display: block;
    font-size: 16px;
    /*margin-top: 7px*/
}

.character-more {
    border: 0;
    border-radius: 18px;
    background: #704dc7;
    color: white;
    font-weight: 700;
    cursor: pointer
}

.faq {
    /*background: #f0edff;*/
    padding-bottom:170px;
}
.faq-bg {
    background: #f0edff;
    /*padding-bottom:0px;*/
    background-image: url(img/footer-vawe.svg);
    background-repeat:no-repeat;
    background-position:bottom;
    background-size:contain;
    position: relative;
    bottom: -1px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
    background: white;
    border-radius: 20px;
    padding: 8px 25px
}

.faq-item {
    border-bottom: 1px solid #ddd
}

.faq-item button {
    width: 100%;
    background: none;
    border: 0;
    padding: 17px 0;
    text-align: left;
    font: 700 16px "Nunito";
    cursor: pointer;
    color: #5936b4;
    display: flex;
    justify-content: space-between
}

.faq-item p {
    display: none;
    font-size: 16px;
    margin: 0 20 16px;
    color: #555
}

.faq-item.open p {
    display: block
}

.cta {
    background: #6C57B6;
    color: white;
    padding: 65px 0;
    position: relative;
    overflow: hidden
}

.cta:before {
    content: "";
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -110px;
    width: 420px;
    height: 300px;
    background: #7b59d0;
    border-radius: 50%
}

.cta__grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
    position: relative
}

.cta h2 {
    font-weight: 600;
    margin: 0 0 16px
}

.cta p {
    font-size: 17px
}

.contact-row {
    display: flex;
    gap: 25px;
    margin-top: 35px
}

.contact-row a,
.contact-row span {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    font-size: 13px
}

.contact-row small {
    font-size: 10px;
    margin-top: 3px
}

.lead-form {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.lead-form input,
.lead-form textarea,
.quiz-input {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 13px;
    font: 14px "Nunito";
    outline: none
}

.lead-form textarea {
    grid-column: 1/-1;
    min-height: 90px;
    resize: vertical
}

.lead-form .btn {
    grid-column: 1/-1
}

.lead-form small {
    grid-column: 1/-1;
    color: #888;
    font-size: 9px
}

.modal,
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(35, 20, 70, .72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100
}

.modal.show,
.lightbox.show {
    display: flex
}

.modal__window {
    background: #fffdf1;
    border-radius: 25px;
    padding: 40px;
    width: min(560px, calc(100% - 30px));
    position: relative
}

.modal__close,
.lightbox button {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    background: none;
    font-size: 32px;
    cursor: pointer;
    color: #6846c5
}

.quiz-step {
    display: none
}

.quiz-step.active {
    display: block
}

.quiz-step h2 {
    color: #5432b0
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.quiz-options button {
    border: 2px solid #d8ccfa;
    background: white;
    border-radius: 14px;
    padding: 15px;
    font: 700 15px "Nunito";
    cursor: pointer
}

.quiz-options button:hover {
    background: #eee8ff
}

.quiz-input {
    width: 100%;
    display: block;
    margin: 9px 0
}

.quiz-submit {
    width: 100%;
    margin-top: 8px
}

.quiz-progress {
    height: 6px;
    background: #e5ddfb;
    border-radius: 10px;
    margin-top: 25px
}

.quiz-progress i {
    display: block;
    height: 100%;
    width: 20%;
    background: #ffd21a;
    border-radius: 10px;
    transition: .25s
}

.lightbox {
    z-index: 200
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 18px
}

.lightbox button {
    color: white
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #222;
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    z-index: 300
}

.soc-icon {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    background:#9274D4;
    transition: transform 0.3s ease, color 0.3s ease;
}
.soc-icon:hover {
  background: #6C57B6;
  transform: scale(1.05);
}
.tel{
    width: auto;
    display: flex;
    flex-direction: row!important;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
}
@media(max-width:1050px) {
    .nav {
        display: none
    }

    .burger {
        display: block;
        margin-left: auto
    }

    .phone {
        margin-left: auto
    }

    .hero__grid {
        grid-template-columns: 1fr
    }

    .hero__visual {
        position: absolute;
        right: 0;
        top: 120px;
        width: 48%;
        opacity: .28
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .ages-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .quiz-teaser {
        min-height: 125px
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .advantages-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .characters-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .cta__grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:650px) {
    .container {
        width: min(100% - 24px, 1180px)
    }

    .header {
        padding: 10px 0 0 0;
        backdrop-filter: blur(20px); 
     -webkit-backdrop-filter: blur(20px);

    }

    .logo__name {
        font-size: 21px
    }

    .logo__sub {
        font-size: 10px
    }

    .phone {
        /*display: none*/
    }

    .hero {
        /*padding-top: 105px;*/
        
        min-height: auto
    }

    .hero__grid {
        display: block
    }

    .hero h1 {
        font-size: 49px
    }

    .hero p {
        font-size: 16px
    }

    .hero__visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 310px;
        opacity: 1;
        margin-top: 10px
    }

    .hero-photo {
        clip-path: none;
        border-radius: 28px
    }

    .gift {
        width: 110px;
        height: 110px;
        right: 5px;
        bottom: 15px
    }

    .gift b {
        font-size: 15px
    }

    .hero__actions {
        flex-direction: column
    }

    .facts {
        gap: 15px;
        justify-content: space-between
    }

    .facts span {
        font-size: 10px
    }

    .chips span {
        font-size: 11px;
        padding: 6px 8px
    }

    .section {
        /*padding: 45px 0*/
    }

    .section-title h2 {
        font-size: 27px
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 10px
    }

    .builder__box {
        grid-template-columns: 1fr;
        padding: 22px
    }

    .builder h2 {
        font-size: 29px
    }

    .builder__items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px
    }

    .builder__items i {
        display: none
    }

    .ages-grid {
        grid-template-columns: 1fr 1fr
    }

    .quiz-teaser {
        grid-column: 1/-1
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap:12px;
    }

    .advantages-grid {
        grid-template-columns: 1fr 1fr
    }

    .advantages-grid>div:nth-child(2n) {
        border-right: 0
    }

    .reviews-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        /*grid-template-rows: 140px 140px 140px*/
    }

    .gallery-grid img:first-child {
        grid-row: auto;
        grid-column: span 2
    }

    .characters-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .character-more {
        min-height: 130px
    }

    .faq-grid {
        grid-template-columns: 1fr;
        padding: 8px 18px
    }

    .cta__grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .cta h2 {
        font-size: 35px
    }

    .lead-form {
        grid-template-columns: 1fr
    }

    .lead-form input,
    .lead-form textarea,
    .lead-form .btn,
    .lead-form small {
        grid-column: auto
    }

    .contact-row {
        flex-direction: column;
        align-items: center;
        gap: 14px
    }

    .modal__window {
        padding: 30px 20px
    }

    .quiz-options {
        grid-template-columns: 1fr
    }

    .link-btn {
        font-size: 11px;
        padding: 7px
    }

    .section-title.centered {
        flex-wrap: wrap
    }
}
* {
    box-sizing: border-box;
}

.services {
    position: relative;
    overflow: hidden;
    /*padding: 45px 20px 70px;*/
    background: #faf9ff;
    /*font-family: Arial, sans-serif;*/
    color: #332080;
}

.services__container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    z-index: 2;
}

/* ---------- Заголовок ---------- */

.services__heading {
    text-align: center;
    margin-bottom: 28px;
}

.services__subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-bottom: 3px;

    color: #4930b9;
    font-size: 22px;
    font-weight: 700;
}

.services__subtitle span {
    color: #ffca18;
    font-size: 27px;
    line-height: 1;
}

.services__heading h2 {
    margin: 0;

    color: #4930b9;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 800;
}

.services__heading p {
    margin: 12px 0 0;

    color: #7f7aa2;
    font-size: 14px;
    line-height: 1.35;
}

/* ---------- Сетка ---------- */

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 18px;
}

/* ---------- Карточка ---------- */

.service-card-big {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 168px;
    padding: 40px;

    border: 1px solid #e6e0ff;
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.65);

    box-shadow: 0 2px 12px rgba(75, 50, 180, 0.025);
}

/* ---------- Фото ---------- */

.service-card__photo {
    position: relative;

    flex: 0 0 180px;
    width: 180px;
    height: 122px;

    overflow: hidden;
    border-radius: 13px;
}

.sprite {
    position: absolute;

    width: 1000px;
    height: 896px;

    background-image: url("https://sladki.site/2/2/animacia/0987654322222222222221.png");
    background-repeat: no-repeat;
    background-size: 1000px 896px;
}

/*
    Позиции фотографий берутся
    непосредственно из исходного изображения.
*/

.sprite-1 {
    left: -49px;
    top: -222px;
}

.sprite-2 {
    left: -532px;
    top: -222px;
}

.sprite-3 {
    left: -49px;
    top: -400px;
}

.sprite-4 {
    left: -532px;
    top: -400px;
}

.sprite-5 {
    left: -49px;
    top: -581px;
}

.sprite-6 {
    left: -532px;
    top: -581px;
}

.sprite-7 {
    left: -49px;
    top: -755px;
}

.sprite-8 {
    left: -532px;
    top: -755px;
}

/* ---------- Стрелки ---------- */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;

    width: 24px;
    height: 24px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #6242c4;
    color: #fff;

    font-size: 24px;
    line-height: 20px;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}

.slider-arrow:hover {
    background: #4e2eae;
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow--left {
    left: -2px;
}

.slider-arrow--right {
    right: -2px;
}

/* ---------- Точки ---------- */

.slider-dots {
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;
    gap: 5px;

    z-index: 4;
}

.slider-dots span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #d0c6f2;
}

.slider-dots span.active {
    background: #5a36bd;
}

/* ---------- Контент ---------- */

.service-card__content {
    flex: 1;

    min-width: 0;
    padding-left: 16px;
}

.service-card__title-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-bottom: 5px;
}

.service-icon {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #5030bd;

    font-size: 27px;
    line-height: 1;
}

.service-card-big h3 {
    margin: 0;

    color: #4727ad;

    font-size: 17px;
    line-height: 1.05;
    font-weight: 800;
}

.service-card p {
    margin: 0 0 7px;

    color: #5d5980;

    font-size: 10.5px;
    line-height: 1.35;
}

/* ---------- Кнопка ---------- */

.service-card__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;

    border-radius: 11px;

    background: #ffd12e;

    color: #503400;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}

.service-card__button span {
    font-size: 15px;
    line-height: 8px;
}

.service-card__button:hover {
    background: #ffca16;
    transform: translateY(-2px);
}

/* ---------- Декор ---------- */

.services__decor {
    position: absolute;
    pointer-events: none;
}

.decor-1 {
    width: 150px;
    height: 150px;

    top: -75px;
    left: -55px;

    border-radius: 50%;

    background: #e6e0ff;
}

.decor-2 {
    width: 120px;
    height: 120px;

    top: -60px;
    right: -50px;

    border-radius: 50%;

    background: #ffe78b;
}

/* ---------- Планшет ---------- */

@media (max-width: 850px) {

    .services__grid {
        grid-template-columns: 1fr;
    }

    .services__container {
        max-width: 600px;
    }

}

/* ---------- Телефон ---------- */

@media (max-width: 560px) {

    .services {
        padding: 105px 0px 105px 0;
    }

    .services__heading h2 {
        font-size: 29px;
    }

    .services__heading p {
        font-size: 12px;
    }

    .services__grid {
        gap: 12px;
    }

    .service-card {
        min-height: 145px;
        /*padding: 11px;*/
    }

    .service-card__photo {
        flex-basis: 125px;
        width: 125px;
        height: 105px;
    }

    .service-card__content {
        padding-left: 10px;
    }

    .service-card-big h3 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 9px;
    }

    .service-icon {
        width: 22px;
        font-size: 21px;
    }

    .service-card__button {
        padding: 7px 10px;
        font-size: 9px;
    }

    .slider-arrow {
        width: 20px;
        height: 20px;
        font-size: 19px;
    }
}

/*Слайдер*/
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.wrapper-slider {
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}
.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide-block_otziv.swiper-slide {
    width: 300px;
}
.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}
.otz-fon {
    background-color: #fff;
    border-radius: 20px;
    height: 100%;
    padding: 20px;
}
.grid-otz {
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
    border-bottom: .0625rem solid #e4e5e5;
    grid-template-rows: auto;
    grid-template-columns: .25fr 2fr;
    padding-bottom: 1.25rem;
}

.w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 0fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}
.otz-ava {
    border-radius: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    margin-top: auto;
    display: flex;
    overflow: hidden;
    box-shadow: 0 11px 1.25rem -.625rem #0973c457;
}
.image-24 {
    border-radius: 50%;
}
.image-24 img {
    vertical-align: middle;
    max-width: 100%;
    display: inline-block; 
    border: 0;
}
.stars-block {
    margin-bottom: .625rem;
}
.star-icon {
    height: 1.25rem;
    margin-right: .3125rem;
}

.star-icon img {
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
    border: 0;
}
.text-block-6 {
    color: #505050;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: 600;
    display: flex;
}
.text-block-4-copy {
    color: #afafaf;
    justify-content: space-between;
    align-items: flex-start;
    font-size: .75rem;
    font-weight: 400;
    display: flex;
}

.text_block {
    overflow: hidden;
    height: 12.5rem;
}
.text-block-5 {
    margin-top: 1.25rem;
    font-size: .875rem;
}
.text_btn_open {
    opacity: .9;
    cursor: pointer;
    margin-top: .3125rem;
    font-size: .8rem;
    font-weight: 600;
}
.text_btn_close {
    opacity: .9;
    cursor: pointer;
    margin-top: .3125rem;
    font-size: .8rem;
    font-weight: 600;
}
.text_btn_close link {
    color: #bdbbbb;
    margin-top: 1.25rem;
    font-size: .625rem;
}
/*.section-pattern {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    isolation: isolate;*/
/*}*/

/*.section-pattern::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: -50px;*/

/*    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23e95c78' stroke-width='4'%3E%3Crect x='70' y='90' width='55' height='48' rx='5'/%3E%3Cpath d='M70 108h55M97 90v48M97 90c-14-20-31-5-22 6 7 8 22 2 22-6zm0 0c14-20 31-5 22 6-7 8-22 2-22-6z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23f6d35c' stroke-width='4'%3E%3Cpath d='M310 280l4 10 10 4-10 4-4 10-4-10-10-4 10-4z'/%3E%3C/g%3E%3C/svg%3E");*/

/*    background-size: 420px 420px;*/
/*    background-repeat: repeat;*/

/*    opacity: 0.30;*/
/*    filter: blur(3px);*/

/*    pointer-events: none;*/
/*    z-index: -1;*/
/*}*/

  /* Основной контейнер */
  .stats-section {
    background-color: #FDFBF7; /* Очень светлый кремовый, почти как фон сайта */
    /*padding: 60px 20px;*/
    /*z-index: 5;*/
    font-family: 'Nunito', sans-serif; /* Или ваш шрифт */
    
  }

  .stats-wrapper {
    margin: 0 0 100px auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  /* Общий стиль карточки */
  .stat-item {
    border-radius: 20px;
    padding: 30px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    /* Убрали жесткую тень, сделали очень мягкую */
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.08); 
  }
  .stat-bg-white img{
    width: 100%;
    border-radius: 20px;
  }

  .stat-item:hover {
    transform: translateY(-5px);
  }

  /* Светлая карточка (Желтая пастель) */
  .stat-bg-light {
    background-color: #FFF4D6; /* Мягкий желтый, не режет глаз */
    color: #4A4A4A;
  }
  
  .stat-bg-light .stat-num {
    color: #6A5ACD; /* Цифры фиолетовые для контраста, но не черные */
  }

  /* Фиолетовая карточка (Приглушенный фиолетовый) */
  .stat-bg-purple {
    background-color: #9B94E6; /* Более мягкий фиолетовый, чем #7B68EE */
    color: #FFFFFF;
  }
  
  .stat-bg-white {
    background-color: #FFFFFF; /* Более мягкий фиолетовый, чем #7B68EE */
    color: #000000;
        padding: 0;
  }

  /* Иконки */
  .stat-icon-wrap {
    margin-bottom: 15px;
    opacity: 0.9;
  }

  /* Цифры */
  .stat-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
  }

  /* Текст */
  .stat-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.9;
  }

  /* Адаптивность */
  @media (max-width: 900px) {
    .stats-wrapper {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 500px) {
    .stats-wrapper {
      grid-template-columns: 1fr 1fr;
      gap:12px
    }
        /* Меняем порядок во второй строке (3-й и 4-й элементы) */
    .stats-wrapper > *:nth-child(3) {
        order: 2; /* Станет четвертым (сместится вправо) */
    }
    .stats-wrapper > *:nth-child(4) {
        order: 1; /* Станет третьим (сместится влево) */
    }
    .stat-num {
      font-size: 36px;
    }
  }
    .hero-wrapper {
    justify-content: space-between;
    align-items: center;
    display: flex;
}
.hero-split.coment {
    /*padding-left: 40px;*/
    display: flex;
    align-items: stretch;
    flex-direction: row;
}

.hero-split {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 48%;
    display: flex;
}
.centered-heading.margin-bottom-32px {
    text-align: left;
    margin-bottom: 32px;
}

.centered-heading {
    text-align: center;
    margin-bottom: 16px;
}
/*h3 {*/
/*    margin-top: 20px;*/
/*    font-size: 24px;*/
/*    line-height: 30px;*/
/*}*/
.margin-bottom-24px {
    margin-top: 24px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 150%;
}
.text-span-2 {
    color: #704dc7;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
}
/*.shadow-two {*/
    /*box-shadow: 0 4px 24px #96a3b514;*/
/*}*/
.hero-split img {
    vertical-align: middle;
    /*max-width: 100%;*/
    /*aspect-ratio: 9 / 16;*/
    display: inline-block;
    max-width: 550px;
}

/* ===========================
   БАЗОВЫЕ СТИЛИ (не трогаем)
   =========================== */
/**,*::before,*::after{box-sizing:border-box}*/
/*html{scroll-behavior:smooth}*/
/*body{margin:0;background:#fffdf1;color:#222;font-family:"Nunito",sans-serif;font-size:16px}*/
/*.container{width:min(1180px,calc(100% - 40px));margin:auto}*/
/*a{text-decoration:none}*/

/* ============================================
   БЛОК "ЯРКИЕ РАЗВЛЕЧЕНИЯ ДЛЯ ВАШЕГО ПРАЗДНИКА"
   Полностью переделан под современный вид
   ============================================ */
.entertainment{
  position:relative;
  overflow:hidden;
  padding:70px 0 90px;
  background:linear-gradient(180deg,#faf9ff 0%,#f3efff 100%);
  font-family:"Nunito",sans-serif;
  color:#332080;
}

/* Декоративные круги */
.entertainment__decor{
  position:absolute;
  pointer-events:none;
  border-radius:50%;
  filter:blur(2px);
  opacity:.55;
}
.entertainment__decor--1{
  width:500px;height:500px;
  top:-90px;left:-80px;
  background:radial-gradient(circle,#e6e0ff 0%,transparent 70%);
}
.entertainment__decor--2{
  width:550px;height:550px;
  top:-60px;right:-60px;
  background:radial-gradient(circle,#ffe78b 0%,transparent 70%);
}
.entertainment__decor--3{
  width:560px;height:560px;
  bottom:-120px;left:40%;
  background:radial-gradient(circle,#ffd9ec 0%,transparent 70%);
}

.entertainment__container{
  position:relative;
  max-width:1180px;
  margin:0 auto;
  /*padding:0 20px;*/
  z-index:2;
}

/* Заголовок */
.entertainment__heading{
  text-align:center;
  margin-bottom:50px;
}
.entertainment__subtitle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:10px;
  color:#4930b9;
  font-size:16px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}
.entertainment__subtitle span{
  color:#ffca18;
  font-size:22px;
  line-height:1;
}
.entertainment__heading h2{
  margin:0;
  color:#4930b9;
  font-size:44px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.5px;
}
.entertainment__heading h2 em{
  font-style:normal;
  color:#ffca18;
  position:relative;
  display:inline-block;
}
.entertainment__heading p{
  margin:16px auto 0;
  max-width:560px;
  color:#6b6590;
  font-size:16px;
  line-height:1.5;
}

/* Список карточек */
.entertainment__list{
  
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* Карточка */
.entertainment-card{
  display:flex;
  align-items:stretch;
  min-height:320px;
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  position: relative;
  box-shadow:0 10px 40px rgba(75,50,180,.08);
  border:1px solid rgba(108,74,196,.08);
  transition:transform .3s ease,box-shadow .3s ease;

}


.entertainment-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 50px rgba(75,50,180,.15);
}

/* Чередование: чётные — фото справа */
.entertainment-card:nth-child(even){
  flex-direction:row-reverse;
}

/* Фото-блок (Swiper) */
.entertainment-card__photo{
  position:relative;
  flex:0 0 48%;
  width:48%;
  min-height:320px;
  /*background:#f0edff;*/
  overflow:hidden;
}
.entertainment-card__photo .swiper{
  width:100%;
  height:100%;
}
.entertainment-card__photo .swiper-slide{
  overflow:hidden;
}

/* Заглушка слайда */
.slide-ph{
  width:100%;
  padding:40px;
  height:100%;
  min-height:320px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:#fff;
  font-size:72px;
  position:relative;
  overflow:hidden;
}
/*.slide-ph::before{*/
/*  content:"";*/
/*  position:absolute;*/
/*  inset:0;*/
/*  background:*/
/*    radial-gradient(circle at 20% 30%,rgba(255,255,255,.25) 0%,transparent 50%),*/
/*    radial-gradient(circle at 80% 70%,rgba(255,255,255,.18) 0%,transparent 50%);*/
/*}*/
.slide-ph .emoji{
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 450px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .15));
    animation: floaty 3s ease-in-out infinite;
}
.slide-ph .label{
    position: absolute;
    bottom: 40px;
    z-index: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .2);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}
@keyframes floaty{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

/* Контент */
.entertainment-card__content{
  flex:1;
  padding:36px 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.entertainment-card__icon{
  width:54px;
  height:54px;
  border-radius:14px;
  background:linear-gradient(135deg,#fff3a5,#ffd21a);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  box-shadow:0 6px 16px rgba(255,210,26,.35);
}
.entertainment-card h3{
  margin:0;
  color:#4727ad;
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.3px;
}
.entertainment-card__desc{
  margin:0;
  color:#5d5980;
  font-size:15px;
  line-height:1.55;
}
.entertainment-card__features{
  display:flex;
  flex-wrap:wrap;
  padding-left: 0px;
  gap:8px;
  margin-top:4px;
}
.entertainment-card__features li{
  list-style:none;
  background:#f0edff;
  color:#5a36bd;
  font-size:12px;
  font-weight:700;
  padding:6px 12px;
  border-radius:20px;
}

/* Кнопка */
.entertainment-card__btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 22px;
  border-radius:14px;
  background:linear-gradient(135deg,#ffd21a 0%,#ffca16 100%);
  color:#503400;
  font-size:14px;
  font-weight:800;
  width:fit-content;
  margin-top:8px;
  box-shadow:0 6px 0 rgba(0,0,0,.08);
  transition:transform .2s ease,box-shadow .2s ease;
}
.entertainment-card__btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 0 rgba(0,0,0,.08);
}
.entertainment-card__btn span{
  font-size:18px;
  line-height:1;
  transition:transform .2s ease;
}
.entertainment-card__btn:hover span{
  transform:translateX(4px);
}

/* Стрелки Swiper */
.entertainment-card__photo .swiper-button-prev,
.entertainment-card__photo .swiper-button-next{
  width:42px;
  height:42px;
  background:rgba(255,255,255,.95);
  border-radius:50%;
  box-shadow:0 4px 14px rgba(75,50,180,.25);
  transition:transform .2s ease,background .2s ease;
}
.entertainment-card__photo .swiper-button-prev:hover,
.entertainment-card__photo .swiper-button-next:hover{
  background:#fff;
  transform:scale(1.08);
}
.entertainment-card__photo .swiper-button-prev::after,
.entertainment-card__photo .swiper-button-next::after{
  font-size:16px;
  font-weight:900;
  color:#5a36bd;
}
.entertainment-card__photo .swiper-button-prev{left:14px}
.entertainment-card__photo .swiper-button-next{right:14px}

/* Точки Swiper */
.entertainment-card__photo .swiper-pagination{
  bottom:14px !important;
}
.entertainment-card__photo .swiper-pagination-bullet{
  width:8px;
  height:8px;
  background:rgba(255,255,255,.6);
  opacity:1;
  transition:all .25s ease;
}
.entertainment-card__photo .swiper-pagination-bullet-active{
  background:#fff;
  width:24px;
  border-radius:4px;
}

/* ============================================
   АДАПТИВ: ПЛАНШЕТ (до 1024px)
   ============================================ */
@media (max-width:1024px){
  .entertainment{padding:55px 0 70px}
  .entertainment__heading h2{font-size:36px}
  .entertainment__heading p{font-size:15px}

  .entertainment-card{min-height:280px}
  .entertainment-card__photo{flex:0 0 45%;width:45%;min-height:280px}
  .entertainment-card__content{padding:28px 30px}
  .entertainment-card h3{font-size:24px}
  .entertainment-card__desc{font-size:14px}
  .slide-ph{font-size:60px;min-height:280px}
}

/* ============================================
   АДАПТИВ: МАЛЕНЬКИЙ ПЛАНШЕТ (до 768px)
   Фото сверху, контент снизу
   ============================================ */
@media (max-width:768px){
  .entertainment{padding:45px 0 55px}
  .entertainment__heading{margin-bottom:32px}
  .entertainment__heading h2{font-size:30px}
  .entertainment__heading p{font-size:14px;margin-top:12px}
  .entertainment__subtitle{font-size:14px}

  .entertainment__list{gap:20px}

  .entertainment-card,
  .entertainment-card:nth-child(even){
    flex-direction:column;
    min-height:auto;
  }
  .entertainment-card__photo,
  .entertainment-card:nth-child(even) .entertainment-card__photo{
    flex:none;
    width:100%;
    min-height:260px;
    order:-1;
  }
  .entertainment-card__content{
    padding:24px;
  }
  .entertainment-card h3{font-size:22px}
  .entertainment-card__icon{width:48px;height:48px;font-size:24px}
  .slide-ph{font-size:56px;min-height:260px}

  .entertainment-card__photo .swiper-button-prev,
  .entertainment-card__photo .swiper-button-next{
    width:36px;height:36px;
  }
  .entertainment-card__photo .swiper-button-prev::after,
  .entertainment-card__photo .swiper-button-next::after{font-size:14px}
}

/* ============================================
   АДАПТИВ: ТЕЛЕФОН (до 480px)
   ============================================ */
@media (max-width:480px){
  .entertainment{padding:35px 0 45px}
  .entertainment__container{padding:0 16px}
  .entertainment__heading{margin-bottom:24px}
  .entertainment__heading h2{font-size:24px;line-height:1.2}
  .entertainment__heading p{font-size:13px}
  .entertainment__subtitle{font-size:12px;gap:6px}
  .entertainment__subtitle span{font-size:18px}

  .entertainment__list{gap:16px}

  .entertainment-card{border-radius:18px}
  .entertainment-card__photo,
  .entertainment-card:nth-child(even) .entertainment-card__photo{
    min-height:220px;
  }
  .entertainment-card__content{padding:20px 18px;gap:10px}
  .entertainment-card__icon{width:42px;height:42px;font-size:20px;border-radius:12px}
  .entertainment-card h3{font-size:19px}
  .entertainment-card__desc{font-size:13px;line-height:1.5}
  .entertainment-card__features li{font-size:11px;padding:5px 10px}
  .entertainment-card__btn{padding:11px 18px;font-size:13px;width:100%;justify-content:center}

  .slide-ph{font-size:48px;min-height:220px}
  .slide-ph .label{font-size:11px;padding:5px 10px}

  .entertainment-card__photo .swiper-button-prev,
  .entertainment-card__photo .swiper-button-next{
    width:32px;height:32px;
  }
  .entertainment-card__photo .swiper-button-prev{left:8px}
  .entertainment-card__photo .swiper-button-next{right:8px}
  .entertainment-card__photo .swiper-button-prev::after,
  .entertainment-card__photo .swiper-button-next::after{font-size:12px}
  .entertainment-card__photo .swiper-pagination{bottom:10px !important}
  .entertainment-card__photo .swiper-pagination-bullet{width:6px;height:6px}
  .entertainment-card__photo .swiper-pagination-bullet-active{width:18px}

  .entertainment__decor--1{width:140px;height:140px;top:-50px;left:-40px}
  .entertainment__decor--2{width:120px;height:120px;top:-40px;right:-40px}
  .entertainment__decor--3{display:none}
}

/* ========================================
   ЧТО ВХОДИТ В ПРОГРАММУ
======================================== */

.program-section {
    padding: 120px 0;
    background: #fff;
}

.program-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* Заголовок */

.program-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    margin-bottom: 80px;
}

.program-header .section-label {
    grid-column: 1 / -1;
}

.program-header h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 68px);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.program-header p {
    align-self: end;

    max-width: 500px;
    margin: 0;

    font-size: 18px;
    line-height: 1.65;
    opacity: 0.7;
}

/* Шаги */

.program-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px 60px;
}

.program-step {
    position: relative;
}

.program-step__top {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 28px;
}

.program-step__number {
    flex: 0 0 auto;

    font-size: 15px;
    font-weight: 600;
    opacity: 0.45;
}

.program-step__line {
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0.15;
}

.program-step h3 {
    margin: 0 0 16px;

    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.program-step p {
    max-width: 500px;
    margin: 0 0 22px;

    font-size: 16px;
    line-height: 1.65;
    opacity: 0.7;
}

.program-step ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.program-step li {
    padding: 8px 12px;

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 100px;

    font-size: 13px;
    line-height: 1;
}

/* Нижний информационный блок */

.program-note {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    margin-top: 40px;
    padding: 30px;

    background: #f0edff;
    border-radius: 24px;
}

.program-note__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 24px;
}

.program-note strong {
    display: block;
    margin-bottom: 8px;

    font-size: 20px;
}

.program-note p {
    max-width: 750px;
    margin: 0;

    font-size: 15px;
    line-height: 1.6;
    opacity: 0.7;
}

/* Планшет */

@media (max-width: 800px) {

    .program-section {
        padding: 80px 0;
    }

    .program-header {
        display: block;
        margin-bottom: 55px;
    }

    .program-header h2 {
        margin: 16px 0 25px;
    }

    .program-header p {
        max-width: 650px;
    }

    .program-steps {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .program-note {
        margin-top: 60px;
    }
}

/* Телефон */

@media (max-width: 480px) {

    .program-container {
        width: min(100% - 28px, 1200px);
    }

    .program-section {
        padding: 64px 0;
    }

    .program-header h2 {
        font-size: 40px;
    }

    .program-header p {
        font-size: 16px;
    }

    .program-step h3 {
        font-size: 26px;
    }

    .program-step p {
        font-size: 15px;
    }

    .program-note {
        gap: 14px;
        margin-top: 50px;
        padding: 22px;
        border-radius: 20px;
    }

    .program-note__icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}

/* =========================================
   ФОНОВЫЕ ДУДЛЫ (С БЛЮРОМ И ПРАВИЛЬНЫМ Z-INDEX)
   ========================================= */

/* 1. Контейнер фона: строго позади всего содержимого секции */
.doodles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Самый нижний слой внутри секции */
    pointer-events: none; /* Полностью игнорирует клики мыши */
    overflow: hidden;
}

/* 2. Каждый отдельный дудл: добавляем размытие */
.floating-doodle {
    position: absolute;
    opacity: 0.15; /* Полупрозрачность */
    filter: blur(3.5px); /* <-- ДОБАВЛЯЕМ БЛЮР (можно увеличить до 3px или 4px) */
    will-change: transform;
    animation: float-doodle 7s ease-in-out infinite;
    animation-delay: var(--delay);
    transform: translate(-50%, -50%) rotate(var(--rot)) scale(var(--scale));
    z-index: 0;
}

.floating-doodle svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 3. Гарантируем, что контент ВСЕГДА выше фона */
/* (Этот код усиливает уже существующие правила в вашем CSS) */
.services .services__container,
.services .container {
    position: relative;
    z-index: 2; /* Контент (текст, карточки) всегда поверх фона (z-index: 0) */
}

/* 4. Защита от конфликтов со старым классом .doodle */
.doodles-bg .doodle,
.doodles-bg .floating-doodle {
    z-index: 0 !important;
}

/* Анимация парения (без изменений) */
@keyframes float-doodle {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(var(--rot)) scale(var(--scale)); 
    }
    50% { 
        transform: translate(-50%, calc(-50% - 15px)) rotate(var(--rot)) scale(var(--scale)); 
    }
}


/* =========================================================
   MOBILE FIX — 20.09.2026
   Подгонка страницы анимации под телефоны.
   Добавлено в конец файла, чтобы не ломать desktop-версию.
   ========================================================= */

/* Не допускаем горизонтального скролла страницы */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Изображения и flex/grid-элементы не должны раздвигать viewport */
img {
    max-width: 100%;
}

.container,
.entertainment__container,
.program-container,
.services__container {
    /*max-width: 100%;*/
}

/* ---------- HERO ---------- */

@media (max-width: 650px) {
.blob--right {
display: none;
}
.blob_slow {
/*display: none;*/
      inset: auto -53% -147% auto;
}
.age-card{
    min-height: 205px;
}
.blob--left-bottom{
    display: none;
}
.blob--left{
    display: none;
}
.phone b {
    font-size: 12px;
}
.phone small {
    font-size: 10px;
}
.header__inner {
    gap: 15px;
    width: min(100% - 0px, 1180px);
}
.gallery-grid {
    gap:12px
}
.characters-grid{
    gap:12px
}
 .stat-bg-white{
    display:none;
  }
    .hero {
        width: 100%;
        /*overflow: hidden;*/
        /*padding: 92px 0 35px;*/
    }

    .hero__copy {
        width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(36px, 11vw, 49px);
        line-height: 1.05;
        margin: 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    /* Главное исправление: на мобильном span больше не остаётся 6.5rem */
    .hero h1 span {
        font-size: clamp(50px, 17vw, 76px);
        letter-spacing: 3px;
        -webkit-text-stroke-width: 2px;
        line-height: .9;
        transform: scaleY(1.12);
        max-width: 100%;
    }

    .hero p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.35;
    }

    .chips {
        max-width: 100%;
        gap: 6px;
    }

    .chips span {
        max-width: 100%;
        font-size: 11px;
        line-height: 1.15;
        padding: 6px 8px;
    }

    .hero__actions {
        width: 100%;
        gap: 10px;
    }

    .hero__actions .btn {
        width: 100%;
        min-width: 0;
    }

    .hero__visual {
        width: 100%;
        max-width: 100%;
        height: min(310px, 82vw);
        min-height: 230px;
    }

    .hero-photo {
        width: 100%;
        max-width: 100%;
    }

    .hero-photo img {
        max-width: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .gift {
        width: 96px;
        height: 96px;
        right: 2px;
        bottom: 8px;
    }

    .gift b {
        font-size: 14px;
    }

    .facts {
        width: 100%;
        gap: 8px;
    }

    .facts > div {
        gap: 7px;
        min-width: 0;
    }

    .facts strong {
        font-size: clamp(38px, 12vw, 52px);
    }

    .facts span {
        font-size: 9px;
        line-height: 1.15;
    }

    /* Декор не должен создавать горизонтальный overflow */
    .blob,
    .doodle,
    .blob_slow {
        max-width: none;
        pointer-events: none;
    }

    .doodle {
        font-size: 38px;
    }

    .doodle--airplane,
    .doodle--piuu-pure,
    .doodle--piuu-pure-left {
        display: none;
    }
}

/* ---------- SERVICES: карточки слайдера ---------- */

@media (max-width: 850px) {

    .services__grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .service-card-big {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 560px) {

    .services {
        padding-left: 12px;
        padding-right: 12px;
    }

    .services__container {
        width: 100%;
        max-width: 100%;
    }

    .services__heading h2 {
        font-size: clamp(25px, 7.5vw, 29px);
    }

    .service-card-big {
        min-height: 0;
        padding: 12px;
        align-items: center;
    }

    .service-card__photo {
        flex: 0 0 112px;
        width: 112px;
        height: 100px;
        min-width: 112px;
    }

    .service-card__content {
        min-width: 0;
        padding-left: 9px;
        overflow: hidden;
    }

    .service-card-big h3 {
        font-size: 14px;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .service-card p {
        font-size: 9px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .service-card__button {
        max-width: 100%;
        padding: 7px 9px;
        font-size: 9px;
    }

    .service-card__photo .swiper-button-prev {
        left: 5px;
    }

    .service-card__photo .swiper-button-next {
        right: 5px;
    }
}

/* ---------- ENTERTAINMENT ---------- */

@media (max-width: 768px) {

    .entertainment {
        width: 100%;
        overflow: hidden;
    }

    .entertainment__container {
        width: min(100% - 24px, 1180px);
        padding: 0;
    }

    .entertainment-card {
        width: 100%;
        min-width: 0;
    }

    .entertainment-card__photo {
        width: 100%;
        min-width: 0;
    }

    .slide-ph .emoji {
        width: min(320px, 75vw);
        max-width: 75vw;
        height: auto;
    }

    .entertainment-card__content {
        min-width: 0;
    }

    .entertainment-card h3,
    .entertainment-card__desc {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {

    .entertainment__container {
        width: calc(100% - 24px);
    }

    .entertainment-card__photo {
        min-height: 210px;
        /*height: 210px;*/
    }

    .entertainment-card__photo .swiper,
    .entertainment-card__photo .swiper-wrapper,
    .entertainment-card__photo .swiper-slide {
        min-width: 0;
        max-width: 100%;
    }

    .slide-ph {
        min-height: 210px;
        padding: 20px;
    }

    .slide-ph .emoji {
        /*width: min(230px, 65vw);*/
        /*max-width: 65vw;*/
    }

    .entertainment-card__content {
        padding: 18px 16px;
    }

    .entertainment-card__features {
        max-width: 100%;
    }

    .entertainment-card__features li {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

/* ---------- PROGRAM ---------- */

@media (max-width: 800px) {

    .program-header,
    .program-steps,
    .program-note {
        min-width: 0;
        max-width: 100%;
    }

    .program-step {
        min-width: 0;
    }

    .program-step h3,
    .program-step p {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {

    .program-header h2 {
        font-size: clamp(34px, 10vw, 40px);
        line-height: .98;
    }

    .program-step h3 {
        font-size: 24px;
    }

    .program-step__top {
        gap: 12px;
        margin-bottom: 20px;
    }

    .program-note {
        display: block;
    }

    .program-note__icon {
        margin-bottom: 12px;
    }
}

/* ---------- CTA / FORM ---------- */

@media (max-width: 650px) {

    .cta {
        width: 100%;
        overflow: hidden;
    }

    .cta__grid {
        /*width: 100%;*/
        min-width: 0;
    }

    .lead-form {
        width: 100%;
        min-width: 0;
        padding: 18px;
    }

    .lead-form input,
    .lead-form textarea,
    .lead-form button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .contact-row a,
    .contact-row span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .modal__window {
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        max-width: calc(100% - 24px);
    }

    .quiz-options button {
        min-width: 0;
        width: 100%;
    }
}

/* ---------- HERO-SPLIT / БЛОКИ ИЗ WEBFLOW ---------- */

@media (max-width: 650px) {

    .hero-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: block;
    }

    .hero-split {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    .hero-split img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .hero-split.coment {
        width: 100%;
        min-width: 0;
    }

    .margin-bottom-24px {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

/* ---------- ОБЩАЯ ЗАЩИТА GRID/FLEX ОТ ВЫХОДА ЗА ЭКРАН ---------- */

@media (max-width: 650px) {

    .services-grid,
    .services__grid,
    .ages-grid,
    .process-grid,
    .advantages-grid,
    .reviews-grid,
    .characters-grid,
    .gallery-grid,
    .faq-grid,
    .stats-wrapper,
    .program-steps {
        width: 100%;
        max-width: 100%;
    }

    .services-grid > *,
    .services__grid > *,
    .ages-grid > *,
    .process-grid > *,
    .advantages-grid > *,
    .reviews-grid > *,
    .characters-grid > *,
    .gallery-grid > *,
    .faq-grid > *,
    .stats-wrapper > *,
    .program-steps > * {
        min-width: 0;
        max-width: 100%;
    }

    .section-title {
        max-width: 100%;
    }

    .section-title h2 {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    button,
    input,
    textarea {
        max-width: 100%;
    }
}
/*навигация на мобе*/
/* =========================================
   MOBILE BOTTOM NAVIGATION
   ========================================= */

.mobile-bottom-nav {
    display: none;
}


/* Только мобильные устройства */
@media (max-width: 650px) {

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 9999;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: space-around;

        height: 62px;

        padding: 6px 8px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom));

        background: rgba(255, 255, 255, 0.80);

        border-top: 1px solid rgba(0, 0, 0, 0.08);

        box-shadow:
            0 -4px 20px rgba(0, 0, 0, 0.08);

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }


    .mobile-bottom-nav__item {
        position: relative;

        width: 25%;
        height: 50px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: #6846c5;;

        text-decoration: none;

        -webkit-tap-highlight-color: transparent;

        transition:
            color 0.2s ease,
            transform 0.2s ease;
    }


    .mobile-bottom-nav__item svg {
        width: 24px;
        height: 24px;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;

        transition:
            transform 0.2s ease,
            stroke-width 0.2s ease;
    }


    /* Нажатие */
    .mobile-bottom-nav__item:active {
        transform: scale(0.9);
    }


    .mobile-bottom-nav__item:active svg {
        transform: scale(0.92);
    }


    /* Активная кнопка */
    .mobile-bottom-nav__item.is-active {
        color: #e85d75;
    }


    .mobile-bottom-nav__item.is-active svg {
        stroke-width: 2;
    }


    /* Небольшая точка под активной иконкой */
    .mobile-bottom-nav__item.is-active::after {
        content: "";

        position: absolute;
        bottom: 2px;
        left: 50%;

        width: 5px;
        height: 5px;

        border-radius: 50%;

        background: currentColor;

        transform: translateX(-50%);
    }


    /* Чтобы меню не закрывало последний блок страницы */
    body {
        padding-bottom: calc(
            62px + env(safe-area-inset-bottom)
        );
    }
}


/* На очень маленьких экранах */
@media (max-width: 360px) {

    .mobile-bottom-nav {
        height: 58px;
    }

    .mobile-bottom-nav__item {
        height: 46px;
    }

    .mobile-bottom-nav__item svg {
        width: 22px;
        height: 22px;
    }

    body {
        padding-bottom: calc(
            58px + env(safe-area-inset-bottom)
        );
    }
}