/* ================= ROOT ================= */
:root {
    --yellow: #f4c430;
    --dark: #0b1c2d;
    --dark-2: #10263f;
    --text: #1f2933;
}

/* ================= HERO ================= */
.services-hero {
    background: linear-gradient(135deg, #0b1c2d, #10263f);
    padding: 110px 60px;
    text-align: center;
    color: #fff;
}

.services-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 16px;
}

.services-hero p {
    max-width: 820px;
    margin: auto;
    line-height: 1.85;
    font-size: 17px;
    opacity: 0.95;
}

/* ================= SERVICE BLOCK ================= */
.service-block {
    padding: 120px 70px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.service-block.light {
    background: #ffffff;
    color: var(--text);
}

.service-block.dark {
    background: linear-gradient(135deg, #0b1c2d, #10263f);
    color: #ffffff;
}

/* reverse desktop */
.service-block.reverse {
    direction: rtl;
}
.service-block.reverse > * {
    direction: ltr;
}

/* ================= MEDIA ================= */
.service-media img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}

/* ================= INFO ================= */
.service-info h2 {
    font-size: 36px;
    margin-bottom: 18px;
    font-weight: 800;
}

.service-info p {
    line-height: 1.85;
    margin-bottom: 26px;
    opacity: 0.9;
    font-size: 16px;
}

.service-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 34px;
}

.service-info ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.service-info ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: 800;
}

/* ================= ICON ================= */
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--yellow);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 22px;
    font-size: 22px;
}

/* ================= BUTTON ================= */
.btn-service {
    display: inline-block;
    padding: 14px 38px;
    border-radius: 40px;
    background: linear-gradient(135deg, #ffb347, #ff7a18);
    color: #fff;
    font-weight: 700;
    transition: all .3s ease;
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(255,122,24,.35);
}

/* ================= CLOSING ================= */
.services-closing {
    padding: 120px 60px;
    background: linear-gradient(
        135deg,
        rgba(16, 38, 63, 0.95),
        rgba(11, 28, 45, 0.95)
    );
    color: #fff;
    text-align: center;
}

.closing-inner {
    max-width: 900px;
    margin: auto;
}

.services-closing h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 18px;
}

.services-closing p {
    font-size: 17px;
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 42px;
}

.closing-actions {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 44px;
    border-radius: 40px;
    background: linear-gradient(135deg, #ffb347, #ff7a18);
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 122, 24, 0.4);
}

.btn-secondary {
    padding: 16px 44px;
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {
    .service-block {
        grid-template-columns: 1fr;
        padding: 90px 50px;
        gap: 50px;
    }

    /* matikan reverse di tablet & mobile */
    .service-block.reverse {
        direction: ltr;
    }

    .service-info h2 {
        font-size: 32px;
    }

    .services-hero {
        padding: 90px 40px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .services-hero h1 {
        font-size: 30px;
    }

    .services-hero p {
        font-size: 15px;
    }

    .service-block {
        padding: 80px 26px;
        gap: 38px;
    }

    .service-info h2 {
        font-size: 26px;
    }

    .service-info p,
    .service-info ul li {
        font-size: 15px;
    }

    .services-closing {
        padding: 90px 28px;
    }

    .services-closing h2 {
        font-size: 28px;
    }

    .services-closing p {
        font-size: 15px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-service {
        width: 100%;
        text-align: center;
    }
}
