/* ===== Services page ===== */
.services-page-intro {
    position: relative;
    padding: 90px 0 70px;
}

.services-page-intro .intro-content {
    padding-left: 1rem;
}

.services-page-intro .intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(245, 183, 84, 0.12);
    border: 1px solid rgba(245, 183, 84, 0.28);
    color: #f5b754;
    font-size: 13px;
    margin-bottom: 18px;
}

.services-page-intro .intro-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 18px;
}

.services-page-intro .intro-title span {
    color: #f5b754;
}

.services-page-intro .intro-text {
    color: rgba(255, 255, 255, 0.72);
    line-height: 2;
    font-size: 15px;
}

.services-page-intro .intro-text p:last-child {
    margin-bottom: 0;
}

.services-page-intro .intro-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.services-page-intro .intro-image-wrap {
    position: relative;
    border-radius: 24px 24px 0 24px;
    overflow: hidden;
    isolation: isolate;
}

.services-page-intro .intro-image-wrap img {
    width: 100%;
    display: block;
    transform: scale(1);
    transition: transform 600ms ease;
}

.services-page-intro .intro-image-wrap:hover img {
    transform: scale(1.04);
}

.services-page-intro .intro-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

.services-page-grid {
    position: relative;
    padding: 40px 0 110px;
}

.services-page-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1180px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 183, 84, 0.35), transparent);
}

.services-page-grid .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.services-page-grid .section-head .section-subtitle {
    letter-spacing: 0.12em;
}

.services-page-grid .section-head .section-title {
    margin-bottom: 12px;
}

.services-page-grid .section-head p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.9;
}

.service-card {
    height: 100%;
    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 183, 84, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.service-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.service-card:hover .service-card__media img {
    transform: scale(1.06);
}

.service-card__index {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 27, 27, 0.82);
    border: 1px solid rgba(245, 183, 84, 0.55);
    color: #f5b754;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.service-card__fade {
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    pointer-events: none;
}

.service-card__body {
    padding: 24px 24px 26px;
}

.service-card__title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.service-card__title a:hover {
    color: #f5b754;
}

.service-card__desc {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 18px;
}

.service-card__desc p:last-child {
    margin-bottom: 0;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f5b754;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card__link:hover {
    color: #fff;
    gap: 12px;
}

.services-page-cta {
    padding: 0 0 110px;
}

.services-page-cta .cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 42px 36px;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 183, 84, 0.18), transparent 42%),
        linear-gradient(135deg, #242424 0%, #1b1b1b 100%);
    border: 1px solid rgba(245, 183, 84, 0.18);
}

.services-page-cta .cta-box h3 {
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    margin-bottom: 10px;
}

.services-page-cta .cta-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.9;
}

.services-page-empty {
    text-align: center;
    padding: 70px 24px;
    border-radius: 22px;
    background: #222;
    border: 1px dashed rgba(245, 183, 84, 0.25);
}

.services-page-empty i {
    font-size: 42px;
    color: #f5b754;
    margin-bottom: 16px;
    display: block;
}

.services-page-empty h4 {
    color: #fff;
    margin-bottom: 10px;
}

.services-page-empty p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

@media (max-width: 991px) {
    .services-page-intro {
        padding-top: 70px;
    }

    .services-page-intro .intro-content {
        padding-left: 0;
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .services-page-intro,
    .services-page-grid,
    .services-page-cta {
        padding-bottom: 80px;
    }

    .service-card__body {
        padding: 20px;
    }
}
