/* =========================================================
   Gizmoo Core
   Services Section
   ========================================================= */


/* =========================================================
   Section
   ========================================================= */

.gizmoo-services {
    position: relative;

    overflow: hidden;

    padding: 96px 0;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(16, 185, 129, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(16, 185, 129, 0.045),
            transparent 28%
        ),
        #f7faf9;
}


/* Decorative glow */

.gizmoo-services::before {
    content: "";

    position: absolute;

    top: 18%;
    left: -120px;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background:
        rgba(16, 185, 129, 0.035);

    filter: blur(50px);

    pointer-events: none;
}


/* =========================================================
   Section Header
   ========================================================= */

.gizmoo-services-header {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(260px, 0.8fr);

    align-items: end;

    gap: 60px;

    margin-bottom: 48px;
}


/* Eyebrow */

.gizmoo-section-eyebrow {
    margin: 0 0 14px;

    color: var(--gizmoo-primary);

    font-size: 12px;

    font-weight: 700;

    line-height: 1.5;

    letter-spacing: 0.1em;
}


/* Heading */

.gizmoo-services-heading h2 {
    max-width: 650px;

    margin: 0;

    color: var(--gizmoo-text);

    font-size:
        clamp(34px, 4vw, 48px);

    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -0.035em;
}


/* Intro */

.gizmoo-services-intro {
    max-width: 420px;

    padding-bottom: 4px;
}


.gizmoo-services-intro p {
    margin: 0;

    color: var(--gizmoo-text-muted);

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   Services Grid
   ========================================================= */

.gizmoo-services-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   Service Card
   ========================================================= */

.gizmoo-service-card {
    position: relative;

    min-height: 285px;

    padding: 30px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        rgba(15, 23, 42, 0.08);

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(15, 23, 42, 0.045);

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


/* Card subtle accent */

.gizmoo-service-card::after {
    content: "";

    position: absolute;

    right: -45px;
    bottom: -55px;

    width: 140px;
    height: 140px;

    border-radius: 50%;

    background:
        rgba(16, 185, 129, 0.045);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;

    pointer-events: none;
}


/* Hover */

.gizmoo-service-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(16, 185, 129, 0.32);

    box-shadow:
        0 18px 40px
        rgba(15, 23, 42, 0.08);
}


.gizmoo-service-card:hover::after {
    transform: scale(1.35);

    background:
        rgba(16, 185, 129, 0.075);
}


/* =========================================================
   Card Top
   ========================================================= */

.gizmoo-service-card-top {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* Number */

.gizmoo-service-number {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 34px;
    height: 28px;

    padding: 0 8px;

    box-sizing: border-box;

    border-radius: 7px;

    color:
        var(--gizmoo-primary);

    background:
        rgba(16, 185, 129, 0.09);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.06em;
}


/* Arrow */

.gizmoo-service-arrow {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;
    height: 38px;

    border:
        1px solid
        var(--gizmoo-border);

    border-radius: 50%;

    color:
        var(--gizmoo-text-muted);

    background: #ffffff;

    font-size: 17px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.gizmoo-service-card:hover
.gizmoo-service-arrow {
    color: #ffffff;

    background:
        var(--gizmoo-primary);

    border-color:
        var(--gizmoo-primary);

    transform:
        rotate(3deg);
}


/* =========================================================
   Card Content
   ========================================================= */

.gizmoo-service-card-content {
    position: relative;
    z-index: 2;

    margin-top: auto;
}


.gizmoo-service-card h3 {
    margin: 0 0 12px;

    color:
        var(--gizmoo-text);

    font-size: 21px;

    font-weight: 650;

    line-height: 1.35;

    letter-spacing: -0.015em;
}


.gizmoo-service-card p {
    max-width: 440px;

    margin: 0;

    color:
        var(--gizmoo-text-muted);

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   Card Link
   ========================================================= */

.gizmoo-service-link {
    position: relative;
    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    width: fit-content;

    margin-top: 24px;

    color:
        var(--gizmoo-text);

    font-size: 13px;

    font-weight: 600;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}


.gizmoo-service-link:hover {
    color:
        var(--gizmoo-primary);

    gap: 11px;
}


.gizmoo-service-link span {
    color:
        var(--gizmoo-primary);

    font-size: 15px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 800px) {

    .gizmoo-services {
        padding: 80px 0;
    }


    .gizmoo-services-header {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 38px;
    }


    .gizmoo-services-intro {
        max-width: 600px;
    }


    .gizmoo-services-grid {
        gap: 16px;
    }


    .gizmoo-service-card {
        min-height: 270px;

        padding: 26px;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .gizmoo-services {
        padding: 68px 0;
    }


    .gizmoo-services-heading h2 {
        font-size: 32px;

        line-height: 1.18;
    }


    .gizmoo-services-intro p {
        font-size: 15px;

        line-height: 1.8;
    }


    .gizmoo-services-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .gizmoo-service-card {
        min-height: 245px;

        padding: 24px;

        border-radius: 14px;
    }


    .gizmoo-service-card h3 {
        font-size: 19px;
    }


    .gizmoo-service-card p {
        font-size: 14px;
    }


    .gizmoo-service-arrow {
        width: 34px;
        height: 34px;

        font-size: 15px;
    }

}