﻿.page-container {
    width: min(100% - 2rem, 80rem);
    margin-inline: auto;
}

/* HERO */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(8.5rem, 14vw, 12rem) 0 clamp(4.5rem, 8vw, 7rem);
}

    .page-hero h1 {
        max-width: 64rem;
        margin: 1.7rem 0 0;
        font-family: Sora, Inter, sans-serif;
        font-size: clamp(3rem, 4.8vw, 5.8rem);
        line-height: 0.95;
        letter-spacing: -0.03em;
        color: #11252c;
    }

    .page-hero .lead {
        margin-top: 1.5rem;
    }

/* TEXT */

.lead {
    max-width: 46rem;
    color: rgba(16, 38, 45, 0.66);
    font-size: 1.08rem;
    line-height: 1.85;
}

/* SECTION */

.section {
    position: relative;
    padding: clamp(4.75rem, 9vw, 8.25rem) 0;
}

    .section.tight {
        padding-top: 2.5rem;
    }

/* GRID */

.grid {
    display: grid;
    gap: 1rem;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* CARD */

.card {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    padding: 1.6rem;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        background: radial-gradient( circle at 50% 0%, rgba(24, 186, 197, 0.16), transparent 44% );
        transition: opacity 220ms ease;
    }

    .card:hover::before {
        opacity: 1;
    }

    .card:hover {
        transform: translateY(-4px);
        border-color: rgba(24, 186, 197, 0.22);
        box-shadow: 0 24px 76px rgba(24, 186, 197, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.98);
    }

    .card > * {
        position: relative;
    }

/* ICON */

.icon-box {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgba(17, 154, 164, 0.22);
    border-radius: 1rem;
    color: var(--teal);
    background: linear-gradient( 135deg, rgba(24, 186, 197, 0.13), rgba(255, 255, 255, 0.8) );
}

/* CARD TYPOGRAPHY */

.card h2 {
    margin: 1.35rem 0 0;
    font-family: Sora, Inter, sans-serif;
    font-size: 1.35rem;
    line-height: 1.2;
    color: #11252c;
}

.card p {
    color: rgba(16, 38, 45, 0.66);
    line-height: 1.75;
}

/* BREADCRUMB */

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    color: rgba(16, 38, 45, 0.48);
    font-size: 0.9rem;
    font-weight: 800;
}

    .breadcrumb a {
        color: var(--teal);
    }

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms ease, transform 700ms ease;
}

    .reveal.in-view {
        opacity: 1;
        transform: none;
    }

/* RESPONSIVE */

@media (max-width: 980px) {

    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .page-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4.1rem);
    }
}
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.2rem;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 500ms ease;
    }

.card:hover .product-image img {
    transform: scale(1.06);
}

.product-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 1.8rem;
/*    min-height: 22rem;*/
    background: linear-gradient( 135deg, rgba(24, 186, 197, 0.08), rgba(255,255,255,0.6) );
    margin-bottom: 1.5rem;
}

    .product-showcase img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 700ms ease;
    }

    .product-showcase:hover img {
        transform: scale(1.03);
    }

    .product-showcase::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at top, rgba(24,186,197,0.18), transparent 55% );
        pointer-events: none;
    }

