/*--------------------------------------------------------------
HOME HERO (components/slider.blade.php)
Offer, phone and trust line on top of the theme's banner photo.
--------------------------------------------------------------*/

/* Readability: darken the photo behind the text column */
.hero-one .banner-1::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(10, 22, 22, 0.92) 0%, rgba(10, 22, 22, 0.78) 38%, rgba(10, 22, 22, 0.25) 70%, rgba(10, 22, 22, 0.05) 100%);
    pointer-events: none;
}

/* Only the text column goes above the scrim. (A blanket "> *" also made the
   absolutely positioned decorative line relative, which added ~850px of empty
   photo to the banner on screens >= 1200px.) */
.hero-one .banner-1 > .col-12 {
    position: relative;
    z-index: 1;
}

/* The offer is taller than the old two-line title; trim the theme's padding
   so the photo isn't blown up, and keep the scales (right side) in frame. */
@media (min-width: 992px) {
    .hero-one .hero-content-wrap {
        padding: 72px 0 80px;
    }

    .hero-offer__title.section-title {
        max-width: 820px;
        font-size: clamp(40px, 4.2vw, 60px);
    }

    .hero-offer__lead {
        margin-bottom: 28px;
    }

    .hero-one .banner-1 {
        background-position: 70% center !important;
    }
}

/* One slide only: the "1 / 1" counter and a lone dot meant nothing */
.hero-one .hero-1-slider .slick-dots {
    display: none !important;
}

.hero-offer {
    padding: 0 12px;
}

.hero-offer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--orange-light, #FFCD70);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-offer__eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--orange-dark, #D89A26);
}

.hero-offer__title.section-title {
    max-width: 760px;
    margin: 0 0 22px;
    padding: 0;
    color: var(--white, #ffffff);
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.08;
    filter: drop-shadow(0 2px 1px #0f1f1f);
}

.hero-offer__title .title-yellow {
    display: block;
}

.hero-offer__lead {
    max-width: 600px;
    margin: 0 0 32px;
    color: #d3dcdc;
    font-size: 18px;
    line-height: 1.65;
}

.hero-offer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-content-left .entry-content .hero-btn .h-btn,
.hero-offer__primary.h-btn {
    background-color: var(--main-secondary, #0C1A1A);
}

/* Phone: the strongest action for a law firm lead */
.hero-offer__call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px 8px 8px;
    border: 1px solid rgba(216, 154, 38, 0.55);
    border-radius: 100px;
    background: rgba(12, 26, 26, 0.72);
    color: var(--white, #ffffff);
    transition: border-color 0.25s ease-out, background-color 0.25s ease-out, transform 0.25s ease-out;
}

.hero-offer__call:hover {
    border-color: var(--orange-light, #FFCD70);
    background: rgba(12, 26, 26, 0.92);
    color: var(--white, #ffffff);
    transform: translateY(-2px);
}

.hero-offer__call-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-yellow, linear-gradient(125deg, #D89A26 14.31%, #FFCD70 86.5%));
    color: #0F1F1F;
    animation: hero-call-pulse 2.6s ease-out infinite;
}

.hero-offer__call-icon svg {
    width: 22px;
    height: 22px;
}

@keyframes hero-call-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(216, 154, 38, 0.55); }
    70%  { box-shadow: 0 0 0 12px rgba(216, 154, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 154, 38, 0); }
}

.hero-offer__call-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-offer__call-text small {
    color: var(--main-primary, #8B9F9F);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero-offer__call-text strong {
    color: var(--white, #ffffff);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.hero-offer__messengers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--main-primary, #8B9F9F);
    font-size: 14px;
}

.hero-offer__messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(12, 26, 26, 0.6);
    transition: border-color 0.25s ease-out, transform 0.25s ease-out;
}

.hero-offer__messenger:hover {
    border-color: var(--orange-dark, #D89A26);
    transform: translateY(-2px);
}

.hero-offer__messenger img {
    width: 20px;
    height: 20px;
}

.hero-offer__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-offer__trust li {
    position: relative;
    padding-left: 24px;
    color: var(--white, #ffffff);
    font-size: 15px;
    font-weight: 600;
}

.hero-offer__trust li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-yellow, linear-gradient(125deg, #D89A26 14.31%, #FFCD70 86.5%));
    transform: translateY(-50%);
}

.hero-offer__trust li::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 3px;
    border-bottom: 2px solid #0F1F1F;
    border-left: 2px solid #0F1F1F;
    transform: translateY(-70%) rotate(-45deg);
}

/* Phones & tablets: the photo becomes a backdrop, text on a solid scrim */
@media (max-width: 991px) {
    .hero-one .banner-1::before {
        background: linear-gradient(180deg, rgba(10, 22, 22, 0.72) 0%, rgba(10, 22, 22, 0.88) 55%, rgba(10, 22, 22, 0.95) 100%);
    }

    .hero-one .hero-content-wrap {
        padding: 56px 0 60px;
    }

    .hero-offer__lead {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .hero-offer {
        padding: 0 4px;
    }

    .hero-offer__eyebrow {
        font-size: 12px;
        letter-spacing: 0.8px;
    }

    .hero-offer__eyebrow::before {
        width: 20px;
    }

    .hero-offer__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-offer__primary.h-btn {
        justify-content: center;
    }

    .hero-offer__call {
        justify-content: flex-start;
    }

    .hero-offer__call-text strong {
        font-size: 19px;
    }

    .hero-offer__trust {
        gap: 8px 18px;
    }

    .hero-offer__trust li {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-offer__call-icon {
        animation: none;
    }

    .hero-offer__call,
    .hero-offer__messenger {
        transition: none;
    }
}

/* The theme's "p { transition: all 0.5s }" fights GSAP's per-frame updates and
   left the lead paragraph stuck ~55px low after the scroll-in animation. */
.hero-offer .fade-slide {
    transition: none;
}
