/* ==========================================================================
   EESIER EXPORTS — /china (PT)
   Sourcing desk: Chinese factories → Brazil. Hero + product categories.
   Page prefix: ex-. Uses shared design-system tokens + classes only.
   ========================================================================== */


/* ============================ HERO ============================ */

.ex-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    text-align: left;
    background-image: linear-gradient(to right, rgba(246, 247, 252, 0.96) 0%, rgba(246, 247, 252, 0.75) 30%, rgba(246, 247, 252, 0.2) 55%, rgba(246, 247, 252, 0) 75%), url("/_content/Eesier.Web.Site.Shared/img/eesier-exports-hero.png");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center, center right;
}

.ex-hero .ex-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.ex-hero .ex-hero__inner .ex-hero__logo {
    height: 25px;
    width: auto;
}

.ex-hero .ex-hero__inner .ex-hero__headline {
    color: var(--color-ink);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.15;
    margin: 0;
    max-width: 800px;
}

.ex-hero .ex-hero__inner .ex-hero__subheadline {
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    max-width: 650px;
}

.ex-hero .ex-hero__inner .ex-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
}


/* ============================ CATEGORIES ============================ */

.ex-categories {
    background: #dbeafe;
    position: relative;
    z-index: 1;
}

.ex-categories::before {
    content: "";
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,70 1440,60 L1440,80 L0,80 Z' fill='%23dbeafe'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

.ex-categories .content-inner .section-header .ex-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ex-categories .content-inner .ex-cat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.ex-categories .content-inner .ex-cat-grid .ex-cat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 25px;
    border-radius: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.ex-categories .content-inner .ex-cat-grid .ex-cat-card .ex-cat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #dbeafe;
    color: var(--color-primary);
    font-size: 25px;
}

.ex-categories .content-inner .ex-cat-grid .ex-cat-card .ex-cat-card__name {
    margin: 0;
    color: var(--color-ink);
    font-size: 18px;
    font-weight: 600;
}

.ex-categories .content-inner .ex-cat-grid .ex-cat-card .ex-cat-card__desc {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}


/* ============================ RESPONSIVE ============================ */

/* MOBILE — PORTRAIT HERO IMAGE. SUBJECTS SIT CENTER/LOWER AND THE TOP IS
   BRIGHTEST, SO TEXT TOP-ANCHORS INTO THE LIGHT UPPER AREA WITH A
   TOP-WEIGHTED LIGHT WASH FOR LEGIBILITY. */

@media (max-width: 767px) {

    .ex-hero {
        justify-content: flex-start;
        padding-top: 100px;
        background-image: linear-gradient(to bottom, rgba(246, 247, 252, 0.9) 0%, rgba(246, 247, 252, 0.45) 40%, rgba(246, 247, 252, 0) 72%), url("/_content/Eesier.Web.Site.Shared/img/eesier-exports-hero-mobile.png");
        background-position: center top, center top;
        background-origin: content-box, content-box;
    }

}

@media (min-width: 768px) {

    .ex-hero .ex-hero__inner .ex-hero__headline {
        font-size: 44px;
    }

    .ex-categories .content-inner .ex-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 1024px) {

    .ex-hero .ex-hero__inner .ex-hero__headline {
        font-size: 52px;
    }

    .ex-categories .content-inner .ex-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}
