/* Google Sans Regular */
@font-face {
    font-family: 'Google Sans';
    src: url('/assets/font/GoogleSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Google Sans Medium */
@font-face {
    font-family: 'Google Sans';
    src: url('/assets/font/GoogleSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Google Sans Bold */
@font-face {
    font-family: 'Google Sans';
    src: url('/assets/font/GoogleSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Google Sans Bold Italic */
@font-face {
    font-family: 'Google Sans';
    src: url('/assets/font/GoogleSans-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}
:root {
    --text-color: #222222;
    --text-gray: #7A7A7A;
    --gray-light: #F6F6F6;
    --gray: #EDEEF4;
    --primary-color: #FF9E3B;
    --radius: max(15px, 3.2rem)
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a {
    color: inherit;
    transition: all 0.2s ease-in-out;
}
img {
    max-width: 100%;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}
body {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.4;
    background: #fff url("/assets/img/main_bg.jpg") no-repeat fixed center 0;
    background-size: 100% auto;
    min-height: 100vh;
    overflow-x: hidden;
}

.radius {
    border-radius: var(--radius);
}
h1, .h1 {
    font-size: max(30px, 6rem);
    font-weight: 500;
}
h2, .h2 {
    font-size: max(24px, 3.6rem);
    font-weight: 500;
}
h3, .h3 {
    font-size: max(20px, 2.6rem);
    font-weight: 500;
}

.container {
    width: 100%;
    max-width: 1500px;
    padding: 0 20px;
    margin: 0 auto;
}
.bg-white {
    background: #fff;
}
.bg-gray {
    background: var(--gray-light);
}
.bg-blue {
    background: #EDEEF4;
}
.primary-color {
    color: var(--primary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: max(5px, 1rem);
    border-radius: var(--radius);
    color: var(--text-color);
    font-size: max(14px, 1.6rem);
    height: 3.4375em;
    padding: 3px 1em;
    line-height: 1;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-decoration: none;
    border: none;
    outline: none;
    appearance: none;
    transition: all 0.2s ease-in-out;
}
.btn:hover {
    transform: translateY(-2px);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255, .5) !important;
    color: var(--text-color);
}
.btn:active {
    transform: translateY(0);
}
.btn--small {}
.btn--gray {
    background: var(--gray-light);
}
.btn--primary {
    background: var(--primary-color);
    color: #fff;
}
.btn--primary:hover {
    background: #ff8a00;
}
.btn--primary:active {
    background: #ff7a00;
    color: #fff;
}
.btn--white {
    background: #fff;
    color: var(--text-color);
}
.btn--black {
    background: #141414;
    color: #fff;
}
.btn--small {
    font-size: max(12px, 1.4rem);
    border-radius: 10px;
    height: 40px;
}
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: var(--radius);
    z-index: 1001;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
}
.modal__content {
    position: relative;
    border-radius: var(--radius);
    padding: max(20px, 4rem);
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all .2s;

    &:hover {
        color: var(--primary-color);
    }

    & svg {
        width: 100%;
        height: 100%;
    }
}
.modal-form {
    margin-top: 30px;

    & .btn {
        width: 100%;
        border-radius: 16px;
        margin-top: 5rem;
    }
}
.input-wrapper {
    margin-bottom: 15px;
    & input,
    & textarea{
        width: 100%;
        height: 55px;
        border-radius: 16px;
        border: 1px solid transparent;
        padding: 0 20px;
        outline: none;
        font-size: 16px;
        font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        color: var(--text-color);
        background: #F4F4F4;
        transition: all .2s;

        &::placeholder {
            color: rgba(0,0,0, .5);
        }

        &:focus {
            border-color: var(--primary-color);
        }
    }
    & textarea {
        height: 250px;
        padding-top: 20px;
        resize: none;

        &::placeholder {
            color: rgba(0,0,0, .9);
        }
    }
}
section {
    padding: max(25px, 5rem) 0 max(35px, 8rem);
    border-radius: var(--radius) var(--radius) 0 0;
}
section + section {
    margin-top: -3rem;
    padding-bottom: max(35px, 10rem);
}

.header {
    margin: 3.5rem 0 5rem ;
    & .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    & .cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}
.burger,
.close{
    display: none;
}
.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 100%;
}
.logo {
    display: flex;
    width: 100%;
    max-width: max(150px, 22rem);
    margin-left: 2rem;
}
.nav {
    flex: 1;
    & ul {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 4rem;
        list-style: none;
        width: 100%;
        padding:0 2rem 0 8rem;

        & li {
            list-style: none;
        }

        & a {
            text-decoration: none;
        }
        & a:hover {
            color: var(--primary-color);
        }
    }
}
/*end header*/

/*first-screen*/
.first-screen {
    padding: max(30px, 10rem) 0 max(30px, 7rem);
}
.first-screen__title {
    display: inline;
    background: #fff;
    padding: max(5px, 0.8rem) max(15px, 2rem);
    border-radius: var(--radius);
    line-height: 1.4;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-size: max(34px, 5.2rem);
    font-weight: 700;
}
.first-screen__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 35rem));
    gap: max(15px, 2rem);
    margin-top: clamp(80px, 26dvh, 280px);
}
.first-screen__item {
    border-radius: var(--radius);
    background: #fff;
    padding: max(10px, 2rem);

    & .h3 {
        line-height: 1.1;
        font-size: max(18px, 2rem);
        margin-bottom: 15px;
    }

    & p {
        line-height: 1.5;
    }
}
/*end first-screen*/
/*tutorial__content*/
.tutorial__content {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: max(15px, 4rem);
    overflow: visible;
}
.tutorial__left {
    display: flex;
    align-items: center;

    & video,
    & img{
        border-radius: var(--radius);
        width: 100%;
        display: block;
    }

    /* Убираем любые ::after или ::before если они есть */
    &::after,
    &::before {
        display: none !important;
    }
}

.video-preview-container {
    position: relative;

    &:hover .video-play-button svg {
        transform: scale(1.1);
    }

    /* Скрываем встроенные контролы video */
    video {
        pointer-events: none;

        /* WebKit (Chrome, Safari, Edge) */
        &::-webkit-media-controls {
            display: none !important;
            opacity: 0 !important;
        }

        &::-webkit-media-controls-enclosure {
            display: none !important;
        }

        &::-webkit-media-controls-panel {
            display: none !important;
        }

        &::-webkit-media-controls-play-button {
            display: none !important;
        }

        &::-webkit-media-controls-start-playback-button {
            display: none !important;
        }

        /* Firefox */
        &::-moz-media-controls {
            display: none !important;
        }

        /* Microsoft Edge */
        &::-ms-media-controls {
            display: none !important;
        }
    }
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;

    svg {
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
        transition: transform 0.3s ease;
    }
}
.tutorial__right {
    max-width: 500px;
    padding: 3rem 3rem 3rem 3rem;
    overflow: visible;
    & ul {
        list-style: none;
        font-size: max(20px, 2.6rem);
        font-weight: 500;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: max(20px, 3rem);
        min-height: 100%;

        & li {
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        & span {
            display: inline;
            white-space: normal;
        }
        & li {
            list-style: none;
        }
    }
}

/*end tutorial__content*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: max(20px, 4rem);
}

.service-item:nth-child(1),
.service-item:nth-child(2) {
    grid-column: span 2;
    display: flex;
    flex-direction: row-reverse;
    gap: 2rem;
    background: var(--gray-light);
    border-radius: var(--radius);

    & .service-item__content,
    & .service-item__image{
        flex: 1;
        margin-bottom: 0;
    }

    & .service-item__content {
        padding: max(20px, 4rem);
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    & .h3 {
        font-size: max(20px, 3.4rem);
    }

    & .service-item__description {
        margin-top: max(20px, 3.5rem);
    }

    & .btn {
        margin-top: auto;
    }
}
.service-item__image {
    line-height: 0;
    margin-bottom: max(15px, 3rem);
    overflow: hidden;
    height: 45rem;
    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius);
    }
}
.service-item {
    position: relative;

    & .link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    & .link:hover {
        background: rgba(255,255,255, .2) !important;
    }
}
/* end services-grid */
.download-document {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10rem;
    padding: max(10px, 2rem);
}
.download-document__description {
    font-size: max(16px, 2rem);
    font-weight: 500;
    padding-left: 2em;
}
/*end download-document*/
.block-title {
    margin-bottom: max(30px, 7rem);
}
.catalog {
    background: #FDFDFD;
}
.catalog__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 840px;
}
.catalog__list__item {
    background: var(--gray-light);
    border-radius: max(10px, 1.8em);
    padding: max(20px, 3.5rem);
    & .h3 {
        margin-bottom: .5em;
    }
}
.catalog__list__item:last-child:nth-child(odd) {
    grid-column: span 2;
}
.catalog {
    background-image: url('/assets/img/service_bg.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100% 100%;
    padding: max(40px, 7rem) 0 max(40px, 10rem);
}
/* end catalog */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: max(30px, 5rem);
}
.features__item {
    & .h2 {
        line-height: 1;
        margin-bottom: .5em;
    }
}
/*end features__grid*/
.clients {
    overflow: hidden;
}
.clients__list {
    display: flex;
    gap: max(15px, 2rem);
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.clients__list__item {
    border-radius: 10px;
    width: 25rem;
    flex: none;
    aspect-ratio: 1;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    & img {
        width: 100%;
        max-width: 75%;
        height: auto;
        max-height: 100px;
        object-fit: contain;
    }
}
/*end clients__list*/
.portfolio {
    overflow: hidden;
}
.portfolio__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.portfolio__nav {
    display: flex;
    gap: max(8px, 1rem);
}
.portfolio__arrow {
    display: flex;
    width: max(32px, 4.2rem);
    height: max(32px, 4.2rem);
    padding: 0;
    border: none;
    background: none;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
    & svg {
        width: 100%;
        height: 100%;
    }
    &:hover {
        color: var(--primary-color);
    }
    &:disabled {
        opacity: .3;
        cursor: default;
        color: var(--text-color);
    }
}
/* Лента на всю ширину экрана, но карточки выровнены по контейнеру через padding */
.portfolio__track {
    --bleed: calc(50vw - 50%);
    display: flex;
    gap: max(12px, 2rem);
    margin: 0 calc(-1 * var(--bleed));
    padding: 0 var(--bleed);
    /* Точное значение выставляет portfolio.js: здесь % считался бы от ширины самой ленты */
    scroll-padding: 0 calc((100vw - min(100vw, 1500px)) / 2 + 20px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    &::-webkit-scrollbar {
        display: none;
    }
}
.portfolio__item {
    flex: 0 0 max(220px, 28rem);
    aspect-ratio: 833 / 1085;
    border-radius: max(12px, 2rem);
    overflow: hidden;
    background: var(--gray);
    scroll-snap-align: start;
    cursor: zoom-in;
    & picture {
        display: block;
        height: 100%;
    }
    & img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    &:hover img {
        transform: scale(1.04);
    }
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
    user-select: none;
    &.active {
        display: flex;
    }
}
.lightbox__img {
    max-width: calc(100vw - 160px);
    max-height: calc(100dvh - 100px);
    object-fit: contain;
    border-radius: 10px;
}
.lightbox__close,
.lightbox__arrow {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
    &:hover {
        background: rgba(255, 255, 255, 0.25);
    }
}
.lightbox__close {
    top: 20px;
    right: 20px;
}
.lightbox__arrow {
    top: 50%;
    transform: translateY(-50%);
}
.lightbox__arrow--prev {
    left: 20px;
}
.lightbox__arrow--next {
    right: 20px;
}
.lightbox__counter {
    position: absolute;
    top: 32px;
    left: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
/*end portfolio*/
.contact {
    padding-bottom: 0;
}
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: max(30px, 8rem);
    margin-bottom: max(30px, 5rem);
}
.contact__item__title {
    font-size: max(12px, 1.6rem);
    color: var(--text-gray);
    margin-bottom: 1em;
    font-weight: 500;
}
.contact__item__value {
    font-size: max(16px, 2.2rem);
    & a {
        text-decoration: none;
        color: var(--text-color);

        &:hover {
            color: var(--primary-color);
        }
    }
}
.contact__item__notice {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: max(12px, 1.4rem);
    color: var(--text-gray);
    margin-top: .3em;

    & svg {
        width: 1.2em;
        height: 1.2em;
    }
}
a.contact__item__notice {
    text-decoration: none;
    &:hover {
        color: var(--primary-color);
    }
}
.map {
    height: 400px;
    line-height: 0;
    & img,
    & iframe,
    & #yandex-map {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius);
    }
}
/*end contact */

.footer {
    background: #fff;
    padding: max(20px, 4rem) 0;

    & .description {
        font-size: 14px;
        color: var(--text-gray);
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(122, 122, 122, .2);
    }
}
.footer__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: max(15px, 4rem);
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    margin-bottom: 20px;
    img {
        max-width: 200px;
    }

    & .notice {
        font-size: 12px;
        color: var(--text-gray);
    }
}
.copyright {
    font-size: 12px;
    line-height: 1.3;

    & a {
        display: block;
        text-decoration: none;
        margin-top: 1em;

        &:hover {
            color: var(--primary-color);
        }
    }
}
.footer__nav {
    .h3 {
        margin-bottom: 15px;
    }

    & ul {
        list-style: none;
        font-size: 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        & li {
            list-style: none;

            & a {
                text-decoration: none;
                color: var(--text-gray);
                &:hover {
                    color: var(--primary-color);
                }
            }
        }
    }
}
.footer__contact {
    .h3 {
        margin-bottom: 15px;
    }
}
.footer__contact__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;

    & .icon {
        width: 1em;
        height: 1em;
        position: relative;
        top: 3px;
         & svg {
             width: 100%;
             height: 100%;
         }
    }
}
.footer__contact__item__text {
    display: flex;
    flex-direction: column;
    & a {
        text-decoration: none;
        font-size: 16px;
        &:hover {
            color: var(--primary-color);
        }
    }

    & .description {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }
}
.show-on-phone {
    display: none;
}

/*MEDIA*/
@media(width <=1760px) {
    .first-screen {
        padding: max(30px, 5rem) 0;
    }
    body {
        background-size: cover;
        background-position: center bottom;
    }
}
@media (width <=1600px) {
    html {
        font-size: .5vw;
    }
    .nav {
        & ul {
            font-size: max(14px, 1.6rem);
            justify-content: flex-start;
            gap: 5dvw
        }
    }
    .tutorial__right {
        ul {
            justify-content: space-evenly;
            font-size: max(23px, 2.8rem);
        }
    }
    p {
        font-size: max(16px, 2rem);
    }
    .service-item {
        display: flex;
        flex-direction: column;
    }
    .service-item__content {
        min-height: 3em;
    }
}
/*1600*/

@media (width <=1200px) {
    html {
        font-size: .65vw;
    }
    .nav {
        & ul {
            gap: 2dvw
        }
    }
}
/*1200*/
@media(width <=1024px) {
    section + section {
        padding-bottom: 50px;
    }
    .service-item__image {
        height: 300px;
    }
    /* Гамбургер временно отключен - будет использоваться позже */
    /* .burger {
        display: block;
        margin-left: 20px;
    } */
    .nav {
        position: fixed;
        top: 0;
        width: 100%;
        right: -100%;
        height: 100vh;
        background: #fff;
        z-index: 100;
        transition: right 0.3s ease;

        & ul {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 20px;
            height: 100%;
            padding: 0 20px;
            font-size: 24px;
            & li {
                list-style: none;
            }
            & a {
                text-decoration: none;
            }
        }

        .close {
            display: block;
            position: absolute;
            top: 20px;
            right: 20px;
            width: 34px;
            height: 34px;
            z-index: 101;
            & svg {
                width: 100%;
                height: 100%;
            }
        }
    }
    .nav--open {
        right: 0;
    }

    .header {
        margin-top: 0;
        & .container {
            padding: 0;
        }

        & .cta__text {
            display: none;
        }

        .btn {
            width: 30px;
            height: 30px;
            padding: 5px;
            border-radius: 50%;
            line-height: 1;
            & .icon {

                & svg {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }

    .first-screen__title {
        font-size: 24px;
    }
    .first-screen__features {
        margin-top: 60px;
    }
    .first-screen__features {
        grid-template-columns: 1fr;

        & br {
            display: none;
        }

        & .h3 {
            margin-bottom: .5em;
        }
    }
    p {
        font-size: 14px;
    }

    .tutorial__content,
    .catalog__list,
    .features__grid,
    .footer__content{
        grid-template-columns: 1fr;
    }

    .tutorial__right {
        & ul {
            font-size: 20px;
        }
    }
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;

        .btn {
            margin-top: 40px !important;
        }
    }
    section + section {
        margin-top: -20px;
    }
    .download-document {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
        align-items: flex-start;
        padding: 20px;
    }
    .download-document__description {
        padding-left: 0;
    }
    .catalog__list__item:last-child:nth-child(odd) {
        grid-column: unset;
    }
    .clients__list__item {
        width: 100px;
    }
    .footer {
        .h3 {
            font-size: 16px;
        }

        & ul {
            font-size: 12px;
            gap: 5px
        }
    }
    .footer__contact__item {
        .icon {
            flex: none;
            width: 15px;
            height: 15px;
        }
    }
    .footer__contact__item__text {
        font-size: 14px;
    }
    .hide-on-phone {
        display: none !important;
    }
    .show-on-phone {
        display: block;
    }
    .footer__logo {
        flex-direction: column;
        align-items: flex-start;
    }
}
/*1024*/
@media (width <= 767px) {
    .service-item__image {
        height: 320px;
    }

    .modal {
        width: 95%;
        max-height: 95vh;
        top: 50%;
    }

    .modal__content {
        padding: max(15px, 2rem);
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
    }

    /* Один слайд + край следующего */
    .portfolio__item {
        flex-basis: 50vw;
    }
    .lightbox__img {
        max-width: 100vw;
        border-radius: 0;
    }
    .lightbox__arrow {
        top: auto;
        bottom: 20px;
        transform: none;
    }
    .lightbox__close {
        top: 12px;
        right: 12px;
    }
    .lightbox__counter {
        top: 26px;
    }
}

/* Scroll Animations */
.animate {
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.animate.show {
    opacity: 1;
}

/* Fade in from bottom */
.animate-fade-up {
    transform: translateY(30px);
}

.animate-fade-up.show {
    transform: translateY(0);
}

/* Fade in from left */
.animate-fade-left {
    transform: translateX(-30px);
}

.animate-fade-left.show {
    transform: translateX(0);
}

/* Fade in from right */
.animate-fade-right {
    transform: translateX(30px);
}

.animate-fade-right.show {
    transform: translateX(0);
}

/* Scale in */
.animate-scale {
    transform: scale(0.95);
}

.animate-scale.show {
    transform: scale(1);
}

/* Blur to clear */
.animate-blur {
    filter: blur(5px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out, filter 1.2s ease-out;
}

.animate-blur.show {
    filter: blur(0);
}

/* Stagger animations - для дочерних элементов */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.show {
    opacity: 1;
    transform: translateY(0);
}

/* Задержки для разных элементов */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}
