@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-item {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.catalogue-hero {
    min-height: 460px;
    overflow: hidden;
}

.catalogue-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(98,168,255,.08), transparent 52%);
}

.hero-content {
    padding-top: 110px;
}

.hero-content h1 {
    animation: fadeUp .9s ease both;
}

.hero-content p {
    animation: fadeUp .9s .12s ease both;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(7,19,38,.08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(20,35,60,.06);
    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 42px rgba(20,35,60,.12);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-content p {
        max-width: 100%;
    }
}
