/* SERVICES PAGE */

.services-hero {
    padding: 120px 7%;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(217, 164, 0, 0.10),
            transparent 30%
        ),
        #f8f8f6;
    text-align: center;
}

.services-hero-content {
    max-width: 850px;
    margin: auto;
}

.service-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-hero h1 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.services-hero h1 span {
    display: block;
    color: var(--gold);
}

.services-hero p {
    max-width: 700px;
    margin: auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}


/* SERVICES */

.services-section {
    padding: 100px 7%;
    background: #ffffff;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
}

.section-heading p {
    color: var(--muted);
    line-height: 1.8;
}

.services-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    padding: 35px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(16, 36, 62, 0.05);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 164, 0, 0.45);
    box-shadow: 0 20px 45px rgba(16, 36, 62, 0.10);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 28px;
    color: rgba(11, 31, 58, 0.08);
    font-size: 42px;
    font-weight: 800;
}

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 15px;
    font-size: 20px;
    font-weight: 800;
    transition: 0.35s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.05);
}

.service-card h3 {
    margin-bottom: 13px;
    color: var(--navy);
    font-size: 24px;
}

.service-card > p {
    margin-bottom: 22px;
    color: var(--muted);
    line-height: 1.75;
}

.service-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-card li {
    position: relative;
    padding-left: 17px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 900;
}


/* WHY SERVICES */

.why-services {
    padding: 100px 7%;
    background: #f8f8f6;
}

.why-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    transition: 0.35s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 164, 0, 0.45);
    box-shadow: 0 15px 35px rgba(16, 36, 62, 0.08);
}

.why-card > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.why-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 18px;
}

.why-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}


/* CTA */

.service-cta {
    padding: 100px 7%;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(217, 164, 0, 0.14),
            transparent 40%
        ),
        var(--navy);
    color: #ffffff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: auto;
}

.service-cta h2 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
}

.service-cta p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.service-cta .primary-btn {
    display: inline-block;
}


/* REVEAL ANIMATION */

.service-card,
.why-card {
    opacity: 0;
    transform: translateY(25px);
}

.service-card.show,
.why-card.show {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 768px) {

    .services-hero {
        padding: 85px 6%;
    }

    .services-hero h1 {
        font-size: 38px;
    }

    .services-hero p {
        font-size: 16px;
    }

    .services-section,
    .why-services {
        padding: 75px 6%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card ul {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-cta {
        padding: 75px 6%;
    }

}


/* SMALL PHONES */

@media (max-width: 480px) {

    .services-hero h1 {
        font-size: 32px;
    }

    .service-card {
        padding: 24px;
    }

    .service-card ul {
        grid-template-columns: 1fr;
    }

    .service-number {
        font-size: 32px;
    }

}