
.animations-page {
    padding: clamp(48px, 6vh, 90px) 24px 110px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.02) 100%);
    min-height: 100vh;
}

.animations-page__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: clamp(48px, 5.5vh, 72px);
}

.animations-page__hero {
    display: grid;
    justify-items: center;
    gap: 2px;
}

.animations-page__title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-color);
    text-align: center;
    margin: 0;
    line-height: 1.15;
    position: relative;
    padding-bottom: 20px;
}

.animations-page__hero .site-brand-title--animations {
    font-size: clamp(40px, 4.6vw, 52px);
    margin-bottom: 0;
}

.animations-page__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--border-color));
    border-radius: 2px;
}


.anim-section {
    background: var(--white);
    border-radius: 20px;
    padding: clamp(32px, 4.5vw, 48px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anim-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-left-color: var(--primary-color);
}

.anim-section__title {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin: 0 0 24px;
    line-height: 1.2;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.anim-section__title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--border-color));
    border-radius: 2px;
}

.anim-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
}

.anim-section--reverse .anim-section__grid {
    direction: rtl;
}

.anim-section--reverse .anim-section__grid > * {
    direction: ltr;
}

.anim-media {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--border-color) 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.anim-media__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anim-section:hover .anim-media {
    transform: scale(1.03);
}

.anim-section:hover .anim-media__image {
    transform: scale(1.05);
}

.anim-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}


.animations-page__cta {
    margin-top: clamp(24px, 3.5vh, 48px);
    display: flex;
    justify-content: center;
}

.animations-page__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 48px;
    border-radius: 16px;
    background: #D06C31;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.animations-page__cta a:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.animations-page__cta a:active {
    transform: scale(0.98);
}

@media (max-width: 900px) {
    .anim-section__grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 3.5vw, 32px);
    }

    .anim-section--reverse .anim-section__grid {
        direction: ltr;
    }

    .anim-media {
        order: -1;
    }

    .animations-page__title {
        font-size: clamp(28px, 3.5vw, 36px);
    }
}

@media (max-width: 640px) {
    .animations-page {
        padding: clamp(32px, 4vh, 50px) 16px 70px;
    }

    .animations-page__inner {
        gap: clamp(32px, 4vh, 48px);
    }

    .anim-section {
        padding: clamp(24px, 3.5vw, 32px);
        border-radius: 16px;
    }

    .anim-section__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .anim-media {
        border-radius: 12px;
        aspect-ratio: 16 / 9;
    }

    .anim-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .animations-page__cta a {
        padding: 18px 32px;
        font-size: 14px;
        border-radius: 12px;
    }

    .animations-page__title::after {
        width: 50px;
        height: 3px;
    }

    .anim-section__title::before {
        width: 30px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .animations-page {
        padding: 24px 12px 50px;
    }

    .anim-section {
        padding: 20px 16px;
    }

    .anim-section__grid {
        gap: 16px;
    }

    .animations-page__title {
        font-size: clamp(24px, 6vw, 28px);
        padding-bottom: 16px;
    }

    .anim-text {
        font-size: 13px;
    }

    .animations-page__cta a {
        padding: 16px 24px;
        font-size: 13px;
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .anim-section,
    .animations-page__cta a,
    .anim-media {
        transition: none;
    }
}
