/* Equipment catalog. Shares the service-page palette and type. */

.eq-hero {
    align-items: center;
}

.eq h1 {
    max-width: 12em;
}

.eq-hero__visual {
    position: relative;
    margin: 0;
    aspect-ratio: 1200 / 630;
    height: auto;
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #f4f5f2;
}

.eq-hero__visual picture,
.eq-hero__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
}

.eq-hero__visual img {
    object-fit: contain;
    object-position: center center;
    background: #f4f5f2;
}

.eq-list {
    display: flex;
    flex-direction: column;
    gap: 72px;
    margin-top: 72px;
}

.eq-device {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 28px 48px;
    align-items: center;
    min-width: 0;
}

.eq-device--portrait {
    grid-template-columns: minmax(0, 1.28fr) minmax(220px, 0.72fr);
}

.eq-device--flip {
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
}

.eq-device__copy,
.eq-device figure {
    min-width: 0;
}

.eq-device figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #e7e9e4;
}

.eq-device--flip figure {
    order: -1;
}

.eq-device picture {
    display: block;
    width: 100%;
}

.eq-device img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center center;
    background: #f4f5f2;
}

.eq-device--portrait img {
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #f4f5f2;
}

.eq-device h2 {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.2;
}

.eq-device p {
    margin-top: 12px;
    max-width: 38em;
    color: var(--svc-muted);
    font-size: 17px;
    line-height: 1.55;
}

.eq-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 16px;
    color: var(--svc-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color 200ms ease;
}

.eq-more svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.eq-more:hover {
    color: var(--svc-green);
}

main.eq {
    overflow-x: clip;
}

@media (max-width: 800px) {
    body:has(main.eq) {
        padding-bottom: 0;
    }

    body:has(main.eq) .booking-fab {
        display: inline-flex !important;
    }

    .eq-list {
        gap: 40px;
        margin-top: 40px;
    }

    .eq-device,
    .eq-device--flip,
    .eq-device--portrait {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .eq-device figure,
    .eq-device--flip figure {
        order: -1;
    }

    .eq-device p {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eq-more {
        transition: none;
    }
}
