/* =============================================================================
   hero.css — Split-screen hero layout with floating contact card
   ============================================================================= */

/* ── Split container ───────────────────────────────────────────────────────── */
.hero-split {
    position: relative;
}

.hero-front {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 68px);
}

/* ── Dark text panel ───────────────────────────────────────────────────────── */
.hero-split__panel--dark {
    min-height: 100%;
    background-color: var(--color-dark);
    padding: clamp(30px, 2.5vw, 50px) clamp(24px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 2;
    padding-left: 90px;
    padding-top: 40px;
    padding-bottom: 20px;
}

/* ── Photo panel ───────────────────────────────────────────────────────────── */
.hero-split__panel--photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #1a2e1a;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Soft fade from the dark panel into the photo */
.hero-split__panel--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 26, 15, 0.9) 0%, transparent 45%);
    pointer-events: none;
}

/* ── Eyebrow label ─────────────────────────────────────────────────────────── */
.hero-split__eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent-highlight);
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* ── Heading ───────────────────────────────────────────────────────────────── */
.hero-split__title {
    color: var(--color-white);
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Highlighted pest name */
.hero-split__highlight {
    color: var(--color-accent);
}

/* Green rule under heading */
.hero-split__title::after {
    content: '';
    display: block;
    width: 57px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-highlight) 0%, var(--color-accent-highlight) 70%, var(--color-accent--dark) 100%);
    margin-top: 8px;
}

/* ── Subtitle ──────────────────────────────────────────────────────────────── */
.hero-split__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 17px;
    max-width: 480px;
}

/* ── CTA row ───────────────────────────────────────────────────────────────── */
.hero-split__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-split__btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ── Price badge ────────────────────────────────────────────────────────────── */
.hero-split__price-badge {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-accent-highlight);
    border-radius: 8px;
    font-size: 0.7rem;
    padding: 0px 14px;
    font-weight: 600;
    margin-bottom: 0;
    height: 38px;
    line-height: 38px;
}

/* ── Trust badges ──────────────────────────────────────────────────────────── */
.hero-split__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
}

.hero-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-white);
}

.hero-trust-item__check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.hero-trust-item__text {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
}

.hero-trust-desc {
    font-size: 0.6rem;
    color: #FFF;
}

.hero-trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-trust-item span {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ── Floating contact card ─────────────────────────────────────────────────── */
.hero-card {
    position: absolute;
    top: 120px;
    right: 127px;
    width: 225px;
    background-color: var(--color-dark);
    border: 2px solid var(--color-dark--highlight);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hero-card__owner {
    position: absolute;
    top: -32px;
    right: -16px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--color-accent);
    object-fit: cover;
    z-index: 11;
}

.hero-card__icon {
    color: var(--color-accent);
    width: 100%;
    margin-top: 12px;
}

.hero-card__hr {
    border-color: #000;
    border: none;
    background-color: var(--color-dark--highlight);
    height: 2px;
    margin-bottom: 10px;
}

.hero-card__question {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: 2px;
    text-align: center;
    margin-top: 4px;
}

.hero-card__label {
    font-size: 0.8rem;
    color: #FFF;
    margin-bottom: 0px;
    text-align: center;
}

.hero-card__number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-accent-highlight);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.6rem;
}

.hero-card__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-card__list li {
    font-size: 0.8rem;
    color: #EEE;
    padding-left: 20px;
    position: relative;
    margin-left: 20px;
}

.hero-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 8px;
}



.hero-front-image {
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-front__panel {
    flex: 1 1 auto;
    min-height: 0;
    background-color: transparent;
    justify-content: unset;
    width: 50%;
}

.hero-front__eyebrow {
    margin-top: 62px;
}

.hero-front__title {
    margin-top: 5px;
    font-size: 3.4rem;
}

.hero-front__subtitle {
    font-size: 1.1rem;
}

.hero-front__ctas {
    margin-top: 5px;
}

.front-btn {
    padding: 25px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.call-card {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    border: #333 1px solid;
    border-radius: 15px;
    right: 30px;
    top: 163px;
    display: flex;
    font-family: Montserrat, sans-serif;
}

.call-card__icon {
    color: var(--color-accent-highlight);
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 28px;
    margin-left: 28px;
}

.call-card__text {
    color: var(--color-muted);
    margin-bottom: 0;
    margin-top: 18px;
    font-size: 0.7rem;
}

.call-card__phone {
    color: var(--color-accent-highlight);
    font-size: 1.2rem;
    font-weight: 700;
}

.call-card__desc {
    color: var(--color-muted);
    font-size: 0.7rem;
    margin-top: -4px;
    margin-bottom: 15px !important;
}

.call-card__content {
    margin-right: 40px;
}

.values-card {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    border: #333 1px solid;
    border-radius: 15px;
    left: 50%;
    bottom: 120px;
    display: flex;
    font-family: Montserrat, sans-serif;
    transform: translateX(-50%);
    width: 1120px;
    max-width: calc(100% - 32px);
    color: var(--color-muted);
}

.values-card__entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 30px;
    flex-grow: 1;
    flex-basis: 0;
    padding-bottom: 22px;
    padding-top: 20px;
}

.values-card__icon {
    color: var(--color-accent-highlight);
}

.values-card__text {
    margin-bottom: 0;
}

.values-card__desc {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.front-page-footer {
    height: 80px;
    background-color: #090D0B;
    border-top: #333 1px solid;
    display: flex;
    padding-left: 60px;
    padding-right: 60px;
}

.front-page-footer-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 30px;
    flex-grow: 1;
    flex-basis: 0;
    padding-bottom: 7px;
}

.front-page-footer-entry__icon {
    color: var(--color-accent-highlight);
}

.front-page-footer-entry__text {
    color: var(--color-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.front-page-footer-entry__desc {
    color: var(--color-muted);
    margin-bottom: 0;
    font-size: 0.7rem;
}

.front-page-footer-line {
    height: 40px;
    border-left: #333 1px solid;
    margin-left: auto;
}

/* ── Star rating in front-page footer ──────────────────────────────────────── */
.front-page-footer-entry--stars {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.stars-rating {
    display: flex;
    gap: 4px;
}

.stars-rating__star {
    width: 24px;
    height: 24px;
    background-color: var(--color-accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.stars-rating__text {
    color: var(--color-muted);
    font-size: 0.7rem;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-card {
        width: 220px;
        right: 16px;
        padding: 18px;
    }

    .hero-front__title {
        font-size: 2.4rem;
    }

    .hero-front__subtitle {
        font-size: 0.95rem;
    }

    .front-page-footer {
        height: auto;
        padding-block: 12px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .front-page-footer-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-split {
        position: relative;
    }

    .hero-front {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .hero-split__panel--photo {
        position: absolute;
        inset: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
    }

    .hero-front-image {
        height: 100%;
    }

    .hero-split__panel--photo::before {
        display: block;
        background: linear-gradient(
            180deg,
            rgba(14, 26, 15, 0.9) 0%,
            rgba(14, 26, 15, 0.25) 40%,
            rgba(14, 26, 15, 0.25) 70%,
            rgba(14, 26, 15, 0.9) 100%
        );
    }

    .hero-split__panel--dark {
        width: 100%;
        position: relative;
        height: auto;
        z-index: 1;
        padding-left: clamp(16px, 4vw, 24px);
        padding-right: clamp(16px, 4vw, 24px);
        padding-top: 80px;
        padding-bottom: 32px;
        background-color: transparent;
    }

    .hero-front__panel {
        width: 100%;
        order: 0;
        flex-grow: 0;
        flex-shrink: 0;
        background-color: transparent;
    }

    .hero-card {
        display: none;
    }

    .hero-split__trust {
        gap: 12px;
    }

    .hero-front__title {
        font-size: 2rem;
    }

    .hero-front__eyebrow {
        margin-top: 0;
    }

    .call-card {
        position: static;
        order: 1;
        margin: 0 16px 12px;
        width: auto;
        max-width: calc(100% - 32px);
        padding: 12px;
    }

    .values-card {
        position: static;
        order: 2;
        margin: 0 16px 12px;
        padding: 12px;
        width: auto;
        max-width: calc(100% - 32px);
        transform: none;
        flex-wrap: wrap;
        gap: 12px;
    }

    .values-card__entry {
        padding-left: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }

    .front-page-footer {
        position: relative;
        z-index: 1;
        order: 3;
        margin-top: auto;
        padding-left: clamp(16px, 4vw, 40px);
        padding-right: clamp(16px, 4vw, 40px);
        flex-wrap: wrap;
        height: auto;
        padding-block: 16px;
        gap: 16px;
    }

    .front-page-footer-entry {
        padding-left: 16px;
        flex-grow: 0;
        flex-basis: calc(50% - 8px);
    }

    .front-page-footer-line {
        display: none;
    }
}