/*
 * SETTAR Services
 * WHAT WE DO / 4 Service Cards
 * v6 - Unified Section Spacing
 */


/* =========================
   SECTION
========================= */

.settar-services {
    position: relative;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;

    padding:
        96px
        clamp(20px, 4vw, 48px)
        52px;
}


/* =========================
   SECTION LABEL
========================= */

.settar-services > p:first-child {
    margin: 0 0 14px !important;

    color: #3179c8;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .16em;
    text-transform: uppercase;
}


/* =========================
   SECTION TITLE
========================= */

.settar-services > h2 {
    max-width: 820px;

    margin: 0 0 20px !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;

    color: #07172f;

    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.18;

    letter-spacing: -.035em;

    font-weight: 800;
}

.settar-services > h2::before,
.settar-services > h2::after {
    content: none !important;
    display: none !important;
}


/* =========================
   INTRO
========================= */

.settar-services > h2 + p {
    max-width: 800px;

    margin: 0 0 42px !important;

    color: #5b6575;

    font-size: 17px;
    line-height: 1.9;
}


/* =========================
   CARD ROWS
========================= */

.settar-services > .wp-block-columns {
    gap: 22px !important;

    margin:
        0
        0
        22px !important;

    align-items: stretch !important;
}

.settar-services > .wp-block-columns:last-child {
    margin-bottom: 0 !important;
}

.settar-services
> .wp-block-columns
> .wp-block-column {
    display: flex;
}


/* =========================
   CARD BASE
========================= */

.settar-service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    min-height: 320px;

    padding:
        clamp(30px, 3.4vw, 44px);

    border: 1px solid #e1e7ef;
    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 12px 40px rgba(7, 23, 47, .055);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}


/* =========================
   TOP ACCENT
========================= */

.settar-service-growth {
    border-top: 4px solid #3179c8;
}

.settar-service-field {
    border-top: 4px solid #4f8d72;
}

.settar-service-japan {
    border-top: 4px solid #7257b5;
}

.settar-service-ai {
    border-top: 4px solid #2d98a8;
}


/* =========================
   CARD HOVER
========================= */

.settar-service-card:hover {
    transform: translateY(-5px);
}


/* Growth */

.settar-service-growth:hover {
    border-color: rgba(49, 121, 200, .24);
    border-top-color: #3179c8;

    box-shadow:
        0 22px 50px rgba(7, 23, 47, .095),
        0 0 22px rgba(49, 121, 200, .10);
}


/* Field */

.settar-service-field:hover {
    border-color: rgba(79, 141, 114, .24);
    border-top-color: #4f8d72;

    box-shadow:
        0 22px 50px rgba(7, 23, 47, .095),
        0 0 22px rgba(79, 141, 114, .10);
}


/* Japan */

.settar-service-japan:hover {
    border-color: rgba(114, 87, 181, .24);
    border-top-color: #7257b5;

    box-shadow:
        0 22px 50px rgba(7, 23, 47, .095),
        0 0 22px rgba(114, 87, 181, .10);
}


/* AI / DX */

.settar-service-ai:hover {
    border-color: rgba(45, 152, 168, .24);
    border-top-color: #2d98a8;

    box-shadow:
        0 22px 50px rgba(7, 23, 47, .095),
        0 0 22px rgba(45, 152, 168, .10);
}


/* =========================
   CARD NUMBER
========================= */

.settar-service-card::after {
    position: absolute;

    top: 28px;
    right: 30px;

    color: rgba(7, 23, 47, .10);

    font-size: 46px;
    line-height: 1;
    font-weight: 800;

    pointer-events: none;
}

.settar-service-growth::after {
    content: "01";
}

.settar-service-field::after {
    content: "02";
}

.settar-service-japan::after {
    content: "03";
}

.settar-service-ai::after {
    content: "04";
}


/* =========================
   CARD TITLE
========================= */

.settar-service-card h3 {
    margin: 0 0 20px !important;
    padding: 0 !important;

    background: none !important;

    border: 0 !important;
    box-shadow: none !important;

    color: #07172f;

    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.15;

    font-weight: 800;
    letter-spacing: -.025em;
}

.settar-service-card h3::before,
.settar-service-card h3::after {
    content: none !important;
    display: none !important;
}


/* =========================
   CARD TEXT
========================= */

.settar-service-card p {
    margin: 0 0 18px !important;

    color: #5b6575;

    font-size: 15px;
    line-height: 1.9;
}


/* service list */

.settar-service-card p:nth-of-type(2) {
    color: #7b8492;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================
   CTA WRAPPER
========================= */

.settar-service-link {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}


/* =========================
   CTA BASE
========================= */

.settar-service-link
.wp-block-button__link {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 44px;

    padding: 10px 18px !important;

    border: 0 !important;
    border-radius: 999px !important;

    box-shadow: none !important;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none !important;

    transition:
        transform .20s ease,
        background-color .20s ease,
        color .20s ease,
        box-shadow .20s ease;
}


/* =========================
   CTA ARROW
========================= */

.settar-service-link
.wp-block-button__link::after {
    content: "→";

    display: inline-block;

    margin-left: 2px;

    font-size: 18px;
    font-weight: 800;
    line-height: 1;

    transform: translateX(0);

    transition:
        transform .20s ease;
}


/* =========================
   GROWTH CTA
========================= */

.settar-service-growth
.settar-service-link
.wp-block-button__link {
    background: rgba(49, 121, 200, .14) !important;
    color: #245f9f !important;
}

.settar-service-growth
.settar-service-link
.wp-block-button__link:hover {
    background: rgba(49, 121, 200, .23) !important;
    color: #1c4e86 !important;

    box-shadow:
        0 7px 18px rgba(49, 121, 200, .13) !important;
}

.settar-service-growth
.settar-service-link
.wp-block-button__link:active {
    background: rgba(49, 121, 200, .31) !important;
    color: #153e6e !important;
}


/* =========================
   FIELD CTA
========================= */

.settar-service-field
.settar-service-link
.wp-block-button__link {
    background: rgba(79, 141, 114, .14) !important;
    color: #3e715b !important;
}

.settar-service-field
.settar-service-link
.wp-block-button__link:hover {
    background: rgba(79, 141, 114, .23) !important;
    color: #315b49 !important;

    box-shadow:
        0 7px 18px rgba(79, 141, 114, .13) !important;
}

.settar-service-field
.settar-service-link
.wp-block-button__link:active {
    background: rgba(79, 141, 114, .31) !important;
    color: #27483b !important;
}


/* =========================
   JAPAN CTA
========================= */

.settar-service-japan
.settar-service-link
.wp-block-button__link {
    background: rgba(114, 87, 181, .14) !important;
    color: #5b4596 !important;
}

.settar-service-japan
.settar-service-link
.wp-block-button__link:hover {
    background: rgba(114, 87, 181, .23) !important;
    color: #493879 !important;

    box-shadow:
        0 7px 18px rgba(114, 87, 181, .13) !important;
}

.settar-service-japan
.settar-service-link
.wp-block-button__link:active {
    background: rgba(114, 87, 181, .31) !important;
    color: #3b2e64 !important;
}


/* =========================
   AI / DX CTA
========================= */

.settar-service-ai
.settar-service-link
.wp-block-button__link {
    background: rgba(45, 152, 168, .14) !important;
    color: #207887 !important;
}

.settar-service-ai
.settar-service-link
.wp-block-button__link:hover {
    background: rgba(45, 152, 168, .23) !important;
    color: #195f6b !important;

    box-shadow:
        0 7px 18px rgba(45, 152, 168, .13) !important;
}

.settar-service-ai
.settar-service-link
.wp-block-button__link:active {
    background: rgba(45, 152, 168, .31) !important;
    color: #124b55 !important;
}


/* =========================
   CTA MOTION
========================= */

.settar-service-link
.wp-block-button__link:hover {
    transform: translateY(-1px);
}

.settar-service-link
.wp-block-button__link:hover::after {
    transform: translateX(4px);
}

.settar-service-link
.wp-block-button__link:active {
    transform: translateY(0);
}


/* =========================
   FOCUS
========================= */

.settar-service-link
.wp-block-button__link:focus-visible {
    outline: 3px solid rgba(49, 121, 200, .20);
    outline-offset: 3px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .settar-services {
        padding:
            72px
            18px
            40px;
    }

    .settar-services > p:first-child {
        margin-bottom: 12px !important;
    }

    .settar-services > h2 {
        margin-bottom: 18px !important;
    }

    .settar-services > h2 + p {
        margin-bottom: 32px !important;

        font-size: 16px;
    }

    .settar-services
    > .wp-block-columns {
        flex-direction: column !important;

        gap: 18px !important;

        margin-bottom: 18px !important;
    }

    .settar-services
    .wp-block-column {
        width: 100% !important;

        flex-basis: 100% !important;
    }

    .settar-service-card {
        min-height: auto;

        padding:
            30px
            24px;

        border-radius: 20px;
    }

    .settar-service-card::after {
        top: 24px;
        right: 24px;

        font-size: 36px;
    }

    .settar-service-link
    .wp-block-button__link {
        min-height: 44px;

        padding:
            10px
            17px !important;
    }
}