/* =========================
   SERVICES SECTION
========================= */

.services {
    padding: 100px 0;

    background: linear-gradient(
        180deg,
        var(--color-light) 0%,
        var(--color-background) 100%
    );
}

/* =========================
   LAYOUT
========================= */

.services-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;

    gap: 80px;
    align-items: center;
}

/* =========================
   CONTENT
========================= */

.services-content {
    display: flex;
    flex-direction: column;
}

/* =========================
   LEAD TEXT
========================= */

.services-lead {
    text-align: center;

    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;

    color: var(--color-primary);

    margin-bottom: 24px;
}

/* =========================
   BODY TEXT
========================= */

.services-text {
    font-size: 1.05rem;
    line-height: 1.8;

    color: var(--color-text);

    text-align: justify;

    margin-bottom: 16px;
}

.services-text:last-child {
    margin-bottom: 0;
}

.services-list {
    list-style: none;

    margin: 24px 0 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-list li {
    position: relative;

    padding-left: 28px;

    font-size: 1rem;
    font-weight: 500;

    color: var(--color-heading);
}

.services-list li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    color: var(--color-primary);
    font-weight: 700;
}

/* =========================
   IMAGE
========================= */

.services-image {
    display: flex;
    justify-content: center;
}

.services-image img {
    width: 100%;
    max-width: 420px;
    height: auto;

    border-radius: 18px;
    object-fit: cover;

    box-shadow: var(--shadow-md);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.services-image img:hover {
    transform: translateY(-5px) scale(1.01);

    box-shadow: var(--shadow-lg);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .services {
        padding: 80px 0;
    }

    .services-container {
        grid-template-columns: 1fr;

        gap: 40px;

        text-align: center;
    }

    .services-text {
        text-align: justify;
    }

    .services-list {
        text-align: left;
        align-items: flex-start;
        margin-left: auto;
        margin-right: auto;
        max-width: 320px;
    }

    .services-image {
        order: -1;
    }
}