/* ========================== Hero Banner (LegalTry style) ========================= */

.hero-law {
    --hero-gold: #c5a059;
    --hero-gold-light: #d8ab58;
    --hero-navy: #0a0e14;
    --hero-navy-mid: #101d3b;
    --hero-whatsapp: #25d366;

    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 90px 0 60px;
    background-color: var(--hero-navy);
    background-image:
        linear-gradient(105deg, rgba(10, 14, 20, 0.97) 0%, rgba(10, 14, 20, 0.82) 42%, rgba(10, 14, 20, 0.45) 68%, rgba(10, 14, 20, 0.25) 100%),
        url(../img/hero-bg/hero-bg2.jpg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* Scales of justice watermark (left) */
.hero-law::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/bg/hero1-overlay.png) left center / 55% auto no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* Dark floor gradient at bottom */
.hero-law::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-law > .container-xxl {
    position: relative;
    z-index: 2;
}

/* ---- Content ---- */
.hero-law .hero-content {
    max-width: 620px;
}

.hero-law .hero-category {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--hero-gold);
    font-family: "Playfair Display", serif;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.hero-law .hero-category::before {
    content: "";
    flex-shrink: 0;
    width: 36px;
    height: 2px;
    background: var(--hero-gold);
}

.hero-law .hero-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: clamp(2rem, 3.8vw, 3.75rem);
    line-height: 1.12;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero-law .hero-title span {
    color: var(--hero-gold-light);
    display: inline;
}

.hero-law .hero-description {
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 540px;
}

/* ---- Buttons ---- */
.hero-law .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 2.25rem;
}

.hero-law .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.hero-law .btn-book {
    background: var(--hero-navy-mid);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}

.hero-law .btn-book:hover {
    background: var(--hero-gold);
    border-color: var(--hero-gold);
    color: #fff;
}

.hero-law .btn-whatsapp {
    background: var(--hero-whatsapp);
    border: 1.5px solid var(--hero-whatsapp);
    color: #fff;
}

.hero-law .btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
}

/* ---- Trust indicators ---- */
.hero-law .hero-features {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    width: 100%;
}

.hero-law .feature-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-law .feature-box span {
    display: inline-block;
}

.hero-law .feature-box .ficon {
    font-size: 1.75rem;
    color: var(--hero-gold);
    flex-shrink: 0;
    line-height: 1;
}

/* ---- Lawyer image ---- */
.hero-law .hero-image-wrapper {
    position: relative;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    z-index: 2;
}

.hero-law .hero-image {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

/* ---- Rotating seal badge ---- */
.hero-law .logo-icon-hero-3 {
    position: absolute;
    z-index: 5;
    top: auto;
    bottom: 8%;
    left: -6%;
    transform: none;
    pointer-events: none;
}

.hero-law .logo-icon-wrap .logo-icon {
    border-color: var(--hero-gold);
    background: rgba(10, 14, 20, 0.6);
}

.hero-law .logo-icon-wrap__text {
    background: linear-gradient(135deg, #0a192f, #1a3055);
    border-color: var(--hero-gold);
    color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-law {
        min-height: auto;
        padding: 70px 0 50px;
        background-position: center;
        text-align: center;
    }

    .hero-law::before {
        background-size: 90% auto;
        background-position: center;
        opacity: 0.08;
    }

    .hero-law .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-law .hero-category {
        justify-content: center;
    }

    .hero-law .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-law .hero-buttons {
        justify-content: center;
    }

    .hero-law .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 28px;
    }

    .hero-law .feature-box {
        white-space: normal;
    }

    .hero-law .hero-image-wrapper {
        min-height: 300px;
        margin-bottom: 1rem;
    }

    .hero-law .hero-image {
        max-width: 420px;
    }

    .hero-law .logo-icon-hero-3 {
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .hero-law .hero-features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 8px;
        justify-items: center;
    }

    .hero-law .feature-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        white-space: normal;
        font-size: clamp(0.68rem, 2.6vw, 0.8rem);
        line-height: 1.35;
        gap: 8px;
        width: 100%;
        max-width: none;
    }

    .hero-law .feature-box .ficon {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-law .hero-buttons .btn {
        width: 100%;
    }

    .hero-law .hero-features {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-law .feature-box {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        font-size: 0.88rem;
        gap: 12px;
    }

    .hero-law .feature-box .ficon {
        font-size: 1.65rem;
    }

    .hero-law .logo-icon-hero-3 {
        display: none;
    }
}

@media (max-width: 380px) {
    .hero-law .feature-box {
        font-size: 0.82rem;
    }
}
