
/**
 * EULAI Service Support Page
 *
 * Section 02 — Service Content
 * Six service cards based on the official EULAI brochure.
 *
 * Dependencies:
 * - tokens.css
 * - global.css
 * - components/section.css
 */


/* ==========================================================
   Service Content — Section
   ========================================================== */

.service-content {
    background: var(--eulai-color-surface);

    --service-card-surface: #e6e7e9;
    --service-icon-neutral: #606264;
}

/* ==========================================================
   Service Content — Header Spacing
   ========================================================== */

.service-content__header {
    margin-bottom: 5.5rem;
}


.service-content__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    column-gap: clamp(2rem, 4vw, 4.5rem);
    row-gap: 5rem;

    justify-items: center;
    align-items: start;
}



/* ==========================================================
   Service Card — Geometry
   ========================================================== */

.service-card {
    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: 190px;
    height: 285px;

    margin: 0;
    padding: 0;

    background: var(--service-card-surface);

    border-radius: 95px 95px 30px 30px;

    box-shadow:
        8px 12px 17px rgba(20, 24, 28, 0.18),
        2px 4px 7px rgba(20, 24, 28, 0.06);
}



/* ==========================================================
   Service Card — White Circular Head
   ========================================================== */


.service-card__circle {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    aspect-ratio: 1 / 1;

    padding: 29px 14px 17px;

    background: var(--eulai-color-surface);
    border-radius: 50%;

    box-shadow:
        0 0 0 1px rgba(23, 25, 28, 0.035);
}



/* ==========================================================
   Service Card — Icon
   ========================================================== */


.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    flex: 0 0 auto;
}


.service-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}


/* ==========================================================
   Service Card — H3
   ========================================================== */


.service-card__title {
    margin: auto 0 0;

    font-size: 1.3125rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;

    text-align: center;

    color: var(--eulai-color-text);
}


.service-card--brand .service-card__title {
    background: var(--eulai-gradient-brand);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* ==========================================================
   Service Card — Description
   ========================================================== */


.service-card__body {
    position: relative;
    z-index: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 95px;

    padding: 10px 12px 15px;
}



.service-card__description {
    margin: 0;

    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;

    text-align: center;

    color: var(--eulai-color-text);
}


.service-card--brand .service-card__description {
    background: var(--eulai-gradient-brand);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* ==========================================================
   Service Content — Tablet
   768px–999px
   ========================================================== */

@media (min-width: 768px) and (max-width: 999px) {

    .service-content__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 2.5rem;
        row-gap: 5rem;
    }

}


/* ==========================================================
   Service Content — Mobile
   ≤767px
   ========================================================== */

@media (max-width: 767px) {

    .service-content__grid {
        grid-template-columns: minmax(0, 1fr);

        row-gap: 4rem;
        column-gap: 0;
    }

    .service-card {
        max-width: 190px;
    }

}


/* ==========================================================
   Service Content — Entrance Motion
   ========================================================== */

.service-content__header,
.service-card {
    opacity: 0;

    transition:
        opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* H2: top to bottom */

.service-content__header {
    transform: translate3d(0, -2rem, 0);
}

/* Cards: bottom to top */

.service-card {
    transform: translate3d(0, 3rem, 0);
}

/* Revealed state */

.service-content__header.is-visible,
.service-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .service-content__header,
    .service-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

