/* ==========================================================================
   LEGAL SERVICE PAGE STYLES
   ========================================================================== */

/* Typography Utilities */
.ls-section-subtitle {
    display: inline-block;
    color: var(--color-primary, #0055FF);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    background: rgba(0, 85, 255, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

.ls-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0A1E3D;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.ls-section-title--light {
    color: #FFFFFF;
}
.ls-section-subtitle--light {
    background: rgba(255, 255, 255, 0.1);
    color: #60A5FA;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.ls-hero {
    padding: 5.5rem 0 5rem;
    background: linear-gradient(135deg, #F0F4FD 0%, #F8FAFC 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.ls-hero__container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.ls-hero__subtitle {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0055FF;
    background: rgba(0, 85, 255, 0.08);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.ls-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #0A1E3D;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.ls-hero__desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #556987;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.ls-hero__desc a {
    color: #0055FF;
    font-weight: 600;
    text-decoration: none;
}

.ls-hero__desc a:hover {
    text-decoration: underline;
}

.ls-hero__actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual / Organic Blob Mask */
.ls-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ls-hero__blob-wrap {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1/1;
    background: #0055FF;
    border-radius: 46% 54% 44% 56% / 54% 44% 56% 46%;
    /* Removed box-shadow as per user request */
    overflow: hidden; /* Masks the image inside the blob shape */
    display: flex;
    align-items: flex-end; /* Align image to the bottom */
    justify-content: center;
    transition: all 0.5s ease;
}

.ls-hero__blob-wrap:hover {
    border-radius: 52% 48% 56% 44% / 46% 54% 46% 54%;
    transform: scale(1.02);
}

.ls-hero__blob-img {
    width: 85%; /* Make the person sit nicely inside without zooming too much */
    height: auto;
    max-height: 95%; /* Prevent overflowing the top */
    object-fit: contain;
    object-position: bottom center;
    display: block;
    transition: transform 0.4s ease;
}

.ls-hero__blob-wrap:hover .ls-hero__blob-img {
    transform: scale(1.06) translateY(2%);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.ls-features {
    padding: 0;
    margin-top: -3rem; /* Overlap with hero */
    position: relative;
    z-index: 2;
}

.ls-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ls-feature-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 85, 255, 0.15);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ls-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    border-color: rgba(0, 85, 255, 0.4);
}

.ls-feature-card--colorful {
    background: linear-gradient(135deg, #0055FF 0%, #0036A8 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: none;
}

.ls-feature-card--colorful .ls-feature-card__title {
    color: #FFFFFF;
}

.ls-feature-card--colorful .ls-feature-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

.ls-feature-card--colorful .ls-feature-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.ls-feature-card__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 85, 255, 0.06);
    color: #0055FF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-feature-card__icon svg {
    width: 28px;
    height: 28px;
}

.ls-feature-card__content {
    flex-grow: 1;
}

.ls-feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A1E3D;
    margin-bottom: 0.5rem;
}

.ls-feature-card__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #556987;
    margin: 0;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.ls-services {
    padding: 4rem 0 6rem;
    background: #FFFFFF;
}

.ls-services__header {
    margin-bottom: 4rem;
}

.ls-services__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ls-service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #F8FAFC;
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 85, 255, 0.05);
}

.ls-service-row--reverse {
    direction: rtl;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(10, 30, 61, 0.04);
    border: 1px solid rgba(0, 85, 255, 0.08);
}

.ls-service-row--reverse > * {
    direction: ltr;
}

.ls-service-row__visual {
    position: relative;
    padding: 2rem 0 2rem 2rem;
}

.ls-service-row--reverse .ls-service-row__visual {
    padding: 2rem 2rem 2rem 0;
}

.ls-service-bg-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: var(--color-primary, #0055FF);
    border-radius: 16px;
    z-index: 0;
}

.ls-service-row--reverse .ls-service-bg-block {
    left: auto;
    right: 0;
}

.ls-service-row__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ls-service-row__content {
    padding: 1rem 0;
}

.ls-service-row__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0055FF;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: rgba(0, 85, 255, 0.08);
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
}

.ls-service-row__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0A1E3D;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.ls-service-row__desc {
    font-size: 1rem;
    color: #556987;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}

.ls-service-row__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ls-service-row__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #0A1E3D;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.ls-service-row__list svg {
    color: #0055FF;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==========================================================================
   COMMITMENT & STATS SECTION
   ========================================================================== */
.ls-commitment {
    position: relative;
    padding: 4rem 0; /* Reduced height */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFFFFF;
}

.ls-commitment__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(10, 30, 61, 0.95) 0%, rgba(0, 54, 168, 0.85) 100%);
    z-index: 1;
}

.ls-commitment__container {
    position: relative;
    z-index: 2;
}

.ls-commitment__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start; /* Changed from center so content is at the top */
}

.ls-commitment__content p {
    font-size: 1.05rem;
    color: #FFFFFF !important; /* Force white color so it's legible */
    line-height: 1.75;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.ls-stats-box {
    background: #0A1E3D;
    padding: 3.5rem 3rem;
    border-radius: 24px;
    color: #FFFFFF;
    box-shadow: 0 24px 48px rgba(10, 30, 61, 0.2);
}

.ls-stats-box__eyebrow {
    display: inline-block;
    color: #60A5FA;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.ls-stats-box__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.ls-stats-box__desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.ls-progress-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ls-progress__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.ls-progress__title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}

.ls-progress__pct {
    font-size: 0.875rem;
    font-weight: 700;
    color: #60A5FA;
}

.ls-progress__bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.ls-progress__fill {
    height: 100%;
    background: #0055FF;
    border-radius: 3px;
    position: relative;
}

.ls-progress__fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
    .ls-hero__container,
    .ls-commitment__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ls-hero__content {
        order: 2;
    }
    
    .ls-hero__visual {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .ls-service-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .ls-service-row--reverse {
        direction: ltr;
    }
    
    .ls-services__list {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .ls-hero {
        padding: 5rem 0 7rem; /* Extra padding at bottom to fit the overlap */
    }
    
    .ls-features {
        margin-top: -5rem;
    }

    .ls-features__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .ls-feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 0.5rem;
        gap: 0.5rem;
    }

    .ls-feature-card__icon {
        width: 40px;
        height: 40px;
        margin: 0 auto;
    }

    .ls-feature-card__icon svg {
        width: 20px;
        height: 20px;
    }

    .ls-feature-card__title {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .ls-feature-card__desc {
        font-size: 0.7rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ls-service-row {
        padding: 1.5rem;
        border-radius: 20px;
        gap: 1.5rem;
    }

    .ls-service-row__visual,
    .ls-service-row--reverse .ls-service-row__visual {
        padding: 1rem;
    }

    .ls-service-bg-block,
    .ls-service-row--reverse .ls-service-bg-block {
        width: 100%;
        height: 80%;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .ls-service-row__img {
        height: 250px;
    }

    .ls-service-row__list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .ls-services__list {
        gap: 1.5rem;
    }

    .ls-services {
        padding: 3rem 0 4rem;
    }
    
    .ls-stats-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   Entrance Scroll Animations (Smooth, Lightweight)
   ========================================================================== */
.ls-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.ls-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .ls-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}