﻿/* =========================================
   HOME PAGE
   ========================================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--white);
}

.hero-image-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.70) 40%, rgba(255,255,255,0.35) 100% );
}

.hero-section-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 760px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 102, 255, 0.10);
    border-radius: 2rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
    padding: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.12);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.75rem;
}

.hero-badge-icon {
    font-size: 1rem;
    color: var(--primary);
}

.hero-badge-text {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.4rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--slate-500);
    margin-bottom: 2.25rem;
    max-width: 620px;
    line-height: 1.8;
}

.hero-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    max-width: 560px;
    border-radius: 1.25rem;
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 66, 255, 0.08);
}

.hero-location-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 1rem 1.25rem;
    color: var(--slate-900);
    font-size: 1rem;
    font-weight: 500;
}

    .hero-location-input::placeholder {
        color: var(--slate-400);
    }

.hero-go-btn {
    border: none;
    color: white;
    padding: 1rem 1.6rem;
    border-radius: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    white-space: nowrap;
}

/* Stats */
.stats-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--slate-200);
    padding: 5rem 0;
}

.stats-grid {
    align-items: stretch;
}

.stats-number {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--slate-900);
    margin-bottom: 0.35rem;
}

.stats-number-primary {
    color: var(--primary);
}

.stats-label {
    color: var(--slate-500);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* Shared section heading */
.section-heading {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-title-xl {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--slate-500);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
}

/* Services */
.services-section {
    padding: 8rem 0;
    background: var(--white);
}

.service-card {
    padding: 2.5rem;
    border-radius: 2rem;
    cursor: pointer;
    border-color: var(--slate-200);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(0, 102, 255, 0.06);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.service-icon {
    font-size: 2.2rem;
}

.service-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--slate-900);
}

.service-description {
    color: var(--slate-500);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link-icon {
    font-size: 1.1rem;
}

/* Promo */
.promo-section {
    padding: 4rem 0 8rem;
    background: var(--bg-alt);
}

.promo-card {
    padding: 4rem;
    border-radius: 2.5rem;
    position: relative;
    overflow: hidden;
}

.promo-card-light {
    background: var(--white);
    border: 1px solid var(--slate-200);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.04);
}

.promo-card-dark {
    background: var(--slate-900);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
}

.promo-bg-icon {
    position: absolute;
    right: -1.5rem;
    top: -1.5rem;
    font-size: 15rem;
    color: rgba(0, 102, 255, 0.03);
    pointer-events: none;
}

.promo-bg-icon-light {
    color: rgba(255, 255, 255, 0.04);
}

.promo-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: var(--slate-900);
    position: relative;
    z-index: 1;
}

.promo-title-light {
    color: white;
}

.promo-description {
    color: var(--slate-500);
    margin-bottom: 2.25rem;
    max-width: 380px;
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.promo-description-dark {
    color: #94a3b8;
}

.promo-actions {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.promo-btn-primary {
    border: none;
    color: white;
    padding: 1.1rem 1.8rem;
    border-radius: 1rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    flex: 1;
}

.promo-btn-secondary {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.12);
    color: var(--primary);
    padding: 1.1rem 1.8rem;
    border-radius: 1rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.promo-btn-white {
    background: white;
    color: var(--slate-900);
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 1rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        padding: 2.25rem;
    }

    .promo-card {
        padding: 3rem 2rem;
        border-radius: 2rem;
    }

    .promo-title {
        font-size: 2.1rem;
    }

    .promo-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-content {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-go-btn {
        justify-content: center;
    }

    .section-title-xl {
        font-size: 2.4rem;
    }

    .stats-number {
        font-size: 2.4rem;
    }

    .service-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }
}
