/* Equipment page refinements.
   Kept separate from app.css so the shared site shell can evolve independently. */

/* HERO ILLUSTRATION */

.equipment-hero {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
    background:
        radial-gradient(circle at 76% 42%, rgba(226, 238, 252, .46) 0%, rgba(241, 246, 252, .24) 28%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(110deg, #ffffff 0%, #ffffff 55%, #f8fafc 100%);
}

.equipment-hero__content {
    padding: 48px 32px 44px 0;
}

.equipment-hero h1 {
    max-width: 620px;
    font-size: clamp(32px, 2.35vw, 46px);
}

.equipment-hero__visual--image {
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: visible;
    border-left: 0;
    background: transparent;
}

.equipment-hero__visual--image::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 0 -18%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(248,250,252,.18) 24%, rgba(241,246,252,.34) 100%);
}

.equipment-hero__visual--image .equipment-hero__grid-lines {
    z-index: 0;
    left: -18%;
    opacity: .30;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 20%, #000 48%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 20%, #000 48%, #000 100%);
}

.equipment-hero__visual--image .equipment-hero__rings {
    z-index: 0;
    opacity: .62;
}

.equipment-hero__art {
    position: relative;
    z-index: 2;
    width: min(94%, 735px);
    height: auto;
    max-height: 95%;
    display: block;
    object-fit: contain;
    object-position: center;
    transform: translateX(-2.5%);
    filter: drop-shadow(0 22px 26px rgba(35, 52, 72, .075));
}

/* CATALOG */

.equipment-catalog {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 72px;
}

.equipment-catalog__header > div:first-child {
    padding-left: 12px;
}

/* CATALOG CARDS */

.equipment-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.equipment-card {
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .025);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.equipment-card:hover {
    transform: translateY(-3px);
    border-color: #cfd9e5;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .065);
}

.equipment-card__media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    padding: 18px;
    overflow: visible;
    border-bottom: 1px solid #edf1f5;
    background:
        radial-gradient(circle at 50% 44%, #ffffff 0%, #f7f9fb 58%, #f1f4f7 100%);
}

.equipment-card__media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    overflow: hidden;
    border-radius: 12px;
    transform: none;
    mix-blend-mode: multiply;
    transition: transform .22s ease;
}

.equipment-card:hover .equipment-card__media img {
    transform: scale(1.018);
}

.equipment-card__body {
    min-height: 280px;
    padding: 21px 22px 20px;
}

.equipment-card__model {
    display: inline-block;
    color: #0864d9;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.025em;
}

.equipment-card h3 {
    margin: 8px 0 10px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.015em;
}

.equipment-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.58;
}

.equipment-card__variants {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 13px;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.equipment-card__variants span {
    font-weight: 600;
}

.equipment-card__variants strong {
    color: #344054;
    font-weight: 600;
}

.equipment-card__tags {
    gap: 6px;
    margin-top: 17px;
}

.equipment-card__tags span {
    padding: 5px 7px;
    border: 1px solid #e3e8ef;
    border-radius: 4px;
    background: #ffffff;
    color: #667085;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .015em;
}

.equipment-card__footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
}

.equipment-card__footer strong {
    color: #111827;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.015em;
}

.equipment-card__footer a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid #0864d9;
    border-radius: 6px;
    background: #0864d9;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(8, 100, 217, .14);
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.equipment-card__footer a:hover {
    border-color: #075abd;
    background: #075abd;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(8, 100, 217, .18);
}

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

    .equipment-hero__art {
        width: 96%;
        transform: translateX(-1.5%);
    }
}

@media (max-width: 1100px) {
    .equipment-hero,
    .equipment-catalog {
        width: min(100% - 40px, 1500px);
    }
}

@media (max-width: 900px) {
    .equipment-hero__content {
        padding: 42px 0 32px;
    }

    .equipment-hero__visual--image {
        overflow: hidden;
        border-top: 0;
    }

    .equipment-hero__visual--image::before {
        inset: -8% 0 0;
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(243,247,252,.28) 38%, rgba(239,245,251,.38) 100%);
    }

    .equipment-hero__visual--image .equipment-hero__grid-lines {
        left: 0;
        top: -16%;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.15) 26%, #000 52%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.15) 26%, #000 52%, #000 100%);
    }

    .equipment-hero__art {
        width: min(86%, 640px);
        max-height: 92%;
        transform: none;
    }
}

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

    .equipment-hero h1 {
        font-size: 32px;
    }

    .equipment-hero__art {
        width: 94%;
        max-height: 90%;
    }

    .equipment-card__media {
        padding: 16px;
    }

    .equipment-card__body {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .equipment-hero,
    .equipment-catalog {
        width: calc(100% - 32px);
    }
}
