.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.products-section {
    padding: 0 0 40px;
    background: #fff;
}

.products-section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 32px 12px;
}

.products-section-title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.products-section.is-visible .product-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.products-section.is-visible .product-card:nth-child(2) {
    transition-delay: 0.08s;
}

.products-section.is-visible .product-card:nth-child(3) {
    transition-delay: 0.16s;
}

.products-section .product-grid {
    gap: 0;
    margin-top: 0;
}

.products-section .product-card {
    position: relative;
    display: flex;
    opacity: 0;
    padding: 0;
    transform: translateY(36px) scale(0.985);
    transition:
        opacity 0.72s ease,
        transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 0;
    background:
        linear-gradient(140deg, rgba(0, 108, 172, 0.92), rgba(9, 46, 78, 0.88)),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0)
        );
    box-shadow: none;
    isolation: isolate;
    will-change: opacity, transform;
}

.products-section .product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--product-card-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.01);
    transition: transform 0.45s ease;
    z-index: -3;
}

.products-section .product-card:nth-child(2) {
    background:
        linear-gradient(
            160deg,
            rgba(181, 111, 15, 0.9),
            rgba(120, 73, 10, 0.86)
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0)
        );
}

.products-section .product-card:nth-child(3) {
    background:
        linear-gradient(150deg, rgba(12, 73, 101, 0.9), rgba(11, 37, 56, 0.88)),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0)
        );
}

.products-section .product-card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(6, 17, 25, 0.22),
            rgba(6, 17, 25, 0.34) 42%,
            rgba(6, 17, 25, 0.58)
        ),
        linear-gradient(90deg, rgba(6, 17, 25, 0.18), rgba(6, 17, 25, 0.06));
    z-index: -2;
}

.products-section .product-card-inner {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 42px 48px 36px;
    color: #fff;
    z-index: 1;
}

.products-section .product-card-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.products-section .product-card h3 {
    width: 100%;
    min-height: 2.1em;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: clamp(1.8rem, 2.35vw, 3rem);
    line-height: 1.04;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.products-section .product-card-copy {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1rem, 1.18vw, 1.18rem);
    line-height: 1.55;
}

.products-section .product-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 48px;
    margin-top: auto;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        background-color 0.28s ease,
        border-color 0.28s ease;
}

.products-section .product-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.products-section .product-card:hover::before,
.products-section .product-card:focus-within::before {
    transform: scale(1.06);
}

.products-section .product-card:hover .product-card-button,
.products-section .product-card:focus-within .product-card-button {
    opacity: 1;
    transform: translateY(0);
}

.products-section .product-card:hover .product-card-button {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    .products-section .product-card {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-section .product-grid {
        gap: 14px;
    }

    .products-section .product-card {
        border-radius: 18px;
    }
}

@media (max-width: 860px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .products-section .product-grid {
        gap: 16px;
    }

    .products-section .product-card-inner {
        padding: 30px 24px 26px;
    }

    .products-section .product-card-copy {
        max-width: none;
        text-wrap: pretty;
    }

    .products-section .product-card-button {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .products-section {
        padding-bottom: 24px;
    }

    .products-section .product-card {
        min-height: 245px;
    }

    .products-section .product-card h3 {
        font-size: clamp(1.7rem, 9vw, 2.5rem);
    }

    .products-section .product-card-copy {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .products-section .product-card-button {
        min-width: 132px;
        min-height: 44px;
        padding: 0 18px;
        font-size: 0.86rem;
    }
}
