/* =========================================================
   OPEN WINCH — TRANSPARENT ENGINEERING RENDERS
   ========================================================= */

.acg-hero--render,
.product-hero--render {
    position: relative;
    min-height: clamp(600px, 72vh, 780px);
    padding:
        clamp(54px, 7vw, 100px)
        clamp(18px, 4vw, 68px);
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(420px, 0.92fr);
    align-items: center;
    overflow: hidden;
    direction: ltr;
    background:
        radial-gradient(
            circle at 21% 52%,
            rgba(0, 141, 210, 0.17),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8fbfd 0%,
            #eef5f9 52%,
            #ffffff 100%
        );
    isolation: isolate;
}

.acg-hero--render::before,
.product-hero--render::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -180px;
    bottom: -260px;
    border-radius: 50%;
    border: 70px solid rgba(0, 76, 140, 0.04);
    pointer-events: none;
}

.acg-hero--render .acg-hero__media,
.product-hero--render .product-hero__media {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: grid;
    place-items: center;
    overflow: visible;
    z-index: 2;
}

.acg-hero--render .acg-hero__media picture,
.product-hero--render .product-hero__media picture {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.acg-hero--render .acg-hero__media img,
.product-hero--render .product-hero__media img {
    position: relative;
    inset: auto;
    width: min(100%, 900px);
    height: auto;
    max-height: 570px;
    object-fit: contain;
    object-position: center;
    filter:
        drop-shadow(
            0 32px 34px
            rgba(15, 23, 42, 0.22)
        );
    transform: translateY(-4px);
    animation:
        ow-render-float
        7s
        ease-in-out
        infinite;
}

.acg-hero--render .acg-hero__overlay,
.product-hero--render .product-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.64),
            transparent 63%
        );
    pointer-events: none;
    z-index: -1;
}

.acg-render-shadow,
.product-render-shadow {
    position: absolute;
    right: 13%;
    bottom: 12%;
    left: 13%;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.18);
    filter: blur(21px);
    transform: scaleX(0.86);
    z-index: -1;
}

.acg-hero--render .acg-hero__content,
.product-hero--render .product-hero__content {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 680px;
    margin: 0;
    padding: clamp(20px, 2.5vw, 38px);
    align-self: center;
    direction: rtl;
    text-align: right;
    z-index: 3;
}

.acg-hero--render h1,
.product-hero--render h1 {
    color: #0f2942;
    text-shadow: none;
}

.acg-hero--render .acg-hero__lead,
.acg-hero--render .acg-hero__text,
.product-hero--render p {
    color: #475569;
    text-shadow: none;
}

.acg-hero--render .acg-eyebrow,
.product-hero--render .product-kicker {
    color: #008dd2;
}

.acg-hero--render .acg-btn--ghost,
.acg-hero--render .acg-btn--outline,
.product-hero--render .product-btn--secondary {
    color: #004c8c;
    border-color: rgba(0, 76, 140, 0.25);
    background: rgba(255, 255, 255, 0.82);
}

.acg-intro__image,
.product-intro__image {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 50%,
            #ffffff 0%,
            #f0f6fa 70%,
            #e8f0f5 100%
        );
}

.acg-intro__image picture,
.product-intro__image picture {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.acg-intro__image img,
.product-intro__image img {
    width: 100%;
    height: 100%;
    max-height: 620px;
    padding: clamp(20px, 4vw, 56px);
    box-sizing: border-box;
    object-fit: contain;
    filter:
        drop-shadow(
            0 25px 30px
            rgba(15, 23, 42, 0.16)
        );
}

.acg-product-card {
    min-height: 420px;
    background:
        linear-gradient(
            150deg,
            #09243b,
            #004c8c
        );
}

.acg-product-card__media {
    background:
        radial-gradient(
            circle at 50% 43%,
            rgba(255, 255, 255, 0.18),
            transparent 64%
        );
}

.acg-product-card__media picture {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.acg-product-card__media img {
    width: 100%;
    height: 100%;
    padding: 34px;
    box-sizing: border-box;
    object-fit: contain;
    filter:
        drop-shadow(
            0 24px 22px
            rgba(0, 0, 0, 0.27)
        );
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.acg-product-card:hover
.acg-product-card__media img {
    transform:
        translateY(-8px)
        scale(1.035);
    filter:
        drop-shadow(
            0 30px 26px
            rgba(0, 0, 0, 0.34)
        );
}

.ow-render-gallery {
    padding:
        clamp(70px, 8vw, 110px)
        0;
    background:
        linear-gradient(
            180deg,
            #f6f9fb,
            #ffffff
        );
}

.ow-render-gallery__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
}

.ow-render-gallery__item {
    position: relative;
    min-height: 360px;
    margin: 0;
    padding: 24px;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    border: 1px solid #e1e9ef;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 50% 42%,
            #ffffff,
            #edf4f8
        );
    box-shadow:
        0 18px 42px
        rgba(15, 23, 42, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.ow-render-gallery__item:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 141, 210, 0.35);
    box-shadow:
        0 28px 54px
        rgba(15, 23, 42, 0.12);
}

.ow-render-gallery__item picture {
    min-height: 260px;
    display: grid;
    place-items: center;
}

.ow-render-gallery__item img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    filter:
        drop-shadow(
            0 22px 20px
            rgba(15, 23, 42, 0.17)
        );
    transition: transform 0.4s ease;
}

.ow-render-gallery__item:hover img {
    transform:
        translateY(-5px)
        scale(1.025);
}

.ow-render-gallery__item figcaption {
    min-height: 58px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #e2e8f0;
}

.ow-render-gallery__item figcaption span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #004c8c;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.ow-render-gallery__item figcaption strong {
    color: #0f2942;
    font-size: 14px;
    font-weight: 900;
}

.about-hero--render .about-hero__media img,
.contact-hero--render .contact-hero__media img {
    object-fit: contain;
    padding:
        clamp(28px, 4vw, 70px);
    box-sizing: border-box;
    filter:
        drop-shadow(
            0 28px 30px
            rgba(0, 0, 0, 0.25)
        );
}

@keyframes ow-render-float {
    0%,
    100% {
        transform: translateY(-4px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 1080px) {
    .acg-hero--render,
    .product-hero--render {
        grid-template-columns:
            minmax(0, 0.92fr)
            minmax(360px, 1.08fr);
    }

    .acg-hero--render
    .acg-hero__media img,
    .product-hero--render
    .product-hero__media img {
        max-height: 480px;
    }

    .ow-render-gallery__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .acg-hero--render,
    .product-hero--render {
        min-height: auto;
        padding:
            36px
            16px
            48px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .acg-hero--render
    .acg-hero__media,
    .product-hero--render
    .product-hero__media {
        grid-column: 1;
        grid-row: 1;
        min-height: 300px;
    }

    .acg-hero--render
    .acg-hero__media img,
    .product-hero--render
    .product-hero__media img {
        max-height: 330px;
        animation: none;
    }

    .acg-hero--render
    .acg-hero__content,
    .product-hero--render
    .product-hero__content {
        grid-column: 1;
        grid-row: 2;
        padding:
            20px
            2px
            0;
        text-align: center;
    }

    .acg-hero--render
    .acg-hero__actions,
    .product-hero--render
    .product-hero__actions {
        justify-content: center;
    }

    .ow-render-gallery__grid {
        grid-template-columns: 1fr;
    }

    .ow-render-gallery__item {
        min-height: 330px;
    }

    .ow-render-gallery__item img {
        height: 245px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acg-hero--render
    .acg-hero__media img,
    .product-hero--render
    .product-hero__media img {
        animation: none;
    }
}
