/* ============================================================
   Huda Interior — Services Page
   ============================================================ */

/* ---- Page hero ---- */
.services-page .hi-page-hero-wrap {
    background:
        linear-gradient(135deg, rgba(26, 26, 26, 0.88) 0%, rgba(26, 26, 26, 0.62) 100%),
        url(/images/interior_2.jpg) center / cover no-repeat;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.services-page .hi-page-hero-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--huda-warm-white), transparent);
    pointer-events: none;
}

.services-page .hi-page-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1rem 5rem;
    position: relative;
    z-index: 1;
    color: var(--huda-white);
}

.services-page .hi-page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--huda-white);
}

.services-page .hi-page-hero h1 em {
    font-style: italic;
    color: var(--huda-gold-light);
}

.services-page .hi-page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ---- Services intro strip ---- */
.hi-services-intro {
    background: var(--huda-white);
    border-radius: var(--huda-radius);
    box-shadow: var(--huda-shadow-lg);
    position: relative;
    z-index: 2;
    margin-top: -3rem;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.hi-services-intro__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--huda-cream);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--huda-gold);
    font-size: 1.5rem;
}

.hi-services-intro__text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hi-services-intro__text p {
    color: var(--huda-text);
    margin: 0;
    line-height: 1.75;
    font-size: 0.975rem;
}

/* ---- Services grid ---- */
.hi-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* ---- Service card ---- */
.hi-service-card {
    background: var(--huda-white);
    border: 1px solid var(--huda-border);
    border-radius: var(--huda-radius);
    overflow: hidden;
    box-shadow: var(--huda-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.hi-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--huda-shadow-lg);
    border-color: var(--huda-gold-light);
}

.hi-service-card__image {
    position: relative;
    height: 235px;
    overflow: hidden;
}

.hi-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.hi-service-card:hover .hi-service-card__image img {
    transform: scale(1.07);
}

.hi-service-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(6px);
    color: var(--huda-gold-light);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(184, 149, 106, 0.35);
}

.hi-service-card__body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hi-service-card__icon {
    width: 44px;
    height: 44px;
    background: var(--huda-cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--huda-gold);
    font-size: 1.1rem;
    margin-bottom: 1.1rem;
    transition: var(--transition);
}

.hi-service-card:hover .hi-service-card__icon {
    background: var(--huda-gold);
    color: var(--huda-white);
}

.hi-service-card__body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
    line-height: 1.3;
    color: var(--huda-dark);
}

.hi-service-card__body p {
    font-size: 0.9rem;
    color: var(--huda-text);
    line-height: 1.75;
    margin-bottom: 1.4rem;
    flex: 1;
}

.hi-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--huda-gold);
    text-decoration: none !important;
    transition: var(--transition);
}

.hi-service-card__link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.hi-service-card__link:hover {
    color: var(--huda-dark);
}

.hi-service-card__link:hover i {
    transform: translateX(4px);
}

/* ---- Process steps ---- */
.hi-process {
    counter-reset: step-counter;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.hi-process::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(to right, var(--huda-gold-light), var(--huda-gold), var(--huda-gold-light));
    z-index: 0;
}

.hi-process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hi-process-step__num {
    width: 64px;
    height: 64px;
    background: var(--huda-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--huda-white);
    position: relative;
    box-shadow: 0 4px 20px rgba(184, 149, 106, 0.4);
    transition: var(--transition);
}

.hi-process-step:hover .hi-process-step__num {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(184, 149, 106, 0.5);
}

.hi-process-step h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hi-process-step p {
    font-size: 0.85rem;
    color: var(--huda-text);
    line-height: 1.6;
    margin: 0;
}

.hi-section--dark .hi-process::before {
    background: linear-gradient(to right, rgba(184, 149, 106, 0.4), var(--huda-gold), rgba(184, 149, 106, 0.4));
}

.hi-section--dark .hi-process-step h3 {
    color: var(--huda-white);
}

.hi-section--dark .hi-process-step p {
    color: rgba(255, 255, 255, 0.65);
}

/* ---- Materials / features checklist ---- */
.hi-features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hi-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem 1.5rem;
    background: var(--huda-white);
    border: 1px solid var(--huda-border);
    border-radius: var(--huda-radius-sm);
    transition: var(--transition);
}

.hi-feature-item:hover {
    border-color: var(--huda-gold-light);
    box-shadow: var(--huda-shadow);
    transform: translateX(4px);
}

.hi-feature-item__icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--huda-cream);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--huda-gold);
    font-size: 1rem;
}

.hi-feature-item__text h4 {
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--huda-dark);
}

.hi-feature-item__text p {
    font-size: 0.825rem;
    color: var(--huda-text);
    margin: 0;
    line-height: 1.5;
}

/* ---- Promo banner ---- */
.hi-promo-banner {
    background: var(--huda-cream);
    border-radius: var(--huda-radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid var(--huda-border);
}

.hi-promo-banner__text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.hi-promo-banner__text p {
    color: var(--huda-text);
    margin: 0;
    font-size: 0.975rem;
}

.hi-promo-banner__actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .hi-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hi-services-intro {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.25rem;
    }

    .hi-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .hi-process::before {
        display: none;
    }

    .hi-features__grid {
        grid-template-columns: 1fr;
    }

    .hi-promo-banner {
        flex-direction: column;
        text-align: center;
    }

    .hi-promo-banner__actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .services-page .hi-page-hero {
        padding: 6rem 1rem 4rem;
    }

    .hi-services-grid {
        grid-template-columns: 1fr;
    }

    .hi-process {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hi-services-intro {
        margin-top: -1.5rem;
        border-radius: var(--huda-radius);
    }

    .hi-promo-banner {
        padding: 2rem 1.5rem;
    }
}
