/* Product/Service components */

/* Process Grid */
.process_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    row-gap: var(--space-3);
    column-gap: var(--space-5);
    margin-top: var(--space-5);
    margin-left: calc(var(--space-4) * -3);
    margin-right: calc(var(--space-4) * -3);
    align-items: start;
}

.process_card {
    display: contents;
}

.process_icon {
    width: 240px;
    height: 240px;
    border-radius: 28px;
    border: 1px solid rgba(15, 28, 46, 0.12);
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(15, 28, 46, 0.08);
    transition: transform 0.16s ease, box-shadow 0.2s ease;
    justify-self: center;
    margin: 0 auto;
    grid-row: 1;
}

.process_icon svg {
    width: 90%;
    height: 90%;
    display: block;
}

.process_card:hover .process_icon {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 28, 46, 0.14);
}

.process_title {
    margin: 0;
    padding-top: var(--space-2);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    grid-row: 2;
    text-align: center;
}

.process_body {
    grid-row: 3;
    text-align: left;
    width: 100%;
    display: grid;
    gap: var(--space-2);
}

.process_body p {
    color: var(--color-text);
    margin: 0;
}

.process_body h4 {
    margin: var(--space-3) 0 0;
}

.process_body>h4:first-child {
    margin-top: 0;
}

.process_list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: var(--space-2);
}

.process_list li {
    color: var(--color-text);
}

.product-hero-text {
    max-width: 75ch;
}

.product-selector-button.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.product-selector-select {
    margin-bottom: var(--space-3);
}

.process_card:nth-child(1) {
    --process-col: 1;
}

.process_card:nth-child(2) {
    --process-col: 2;
}

.process_card:nth-child(3) {
    --process-col: 3;
}

.process_icon,
.process_title,
.process_body {
    grid-column: var(--process-col);
}

.process_icon {
    justify-self: center;
}

.process_title,
.process_body {
    justify-self: stretch;
}


@media (max-width: 720px) {
    .process_grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-left: 0;
        margin-right: 0;
    }

    .process_icon,
    .process_title,
    .process_body {
        grid-column: auto;
        grid-row: auto;
        justify-self: stretch;
    }

    .process_icon {
        justify-self: center;
    }

    .process_icon {
        width: 280px;
        height: 280px;
    }
}

/* Product image-flex: default (web) should preserve natural ratio */
.image-flex-component_media {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

@media (max-width: 980px) {
    .image-flex-component_media {
        aspect-ratio: 3 / 4;
        object-fit: cover;
    }
}