.ehs-hero {
    position: relative;
    color: var(--ehs-color-light);
    background: var(--ehs-color-dark);
    overflow: hidden;
}

.ehs-hero__media {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7)),
        var(--ehs-hero-image, linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6)));
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.ehs-hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.ehs-hero__media-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(71, 85, 105, 0.2) 0%, transparent 55%),
        radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.3) 0%, transparent 60%);
}

/* Make the media image act as a full-bleed background of the hero */
.ehs-hero__media-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

/* Ensure overlays sit above the image */
.ehs-hero__media::before {
    z-index: 1;
}

.ehs-hero__media-layer {
    z-index: 2;
}

.ehs-hero__content {
    position: relative;
    z-index: 1;
    padding: clamp(8.5rem, 17vw, 13rem) 0 clamp(4.5rem, 12vw, 8rem);
}

.ehs-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 4.25rem);
    align-items: center;
}

.ehs-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
}

.ehs-hero__proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

.ehs-hero__proof {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ehs-hero__title {
    margin: 0;
    font-size: var(--ehs-font-size-h1);
    line-height: var(--ehs-line-height-tight);
    color: #ffffff;
    font-weight: 800;
    max-width: 100%;
}

.ehs-hero__subtitle {
    margin: 0;
    font-size: var(--ehs-font-size-subtitle);
    color: rgba(255, 255, 255, 0.85);
    max-width: 100%;
    line-height: var(--ehs-line-height-normal);
}

.ehs-hero__benefits {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
    font-size: var(--ehs-font-size-body);
    color: rgba(255, 255, 255, 0.82);
}

.ehs-hero__benefits li::before {
    content: '•';
    margin-right: 0.45rem;
    color: var(--ehs-color-primary);
}

.ehs-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.ehs-hero__actions .ehs-button {
    box-shadow: var(--ehs-shadow-button);
    padding-inline: 2.35rem;
    border: none;
}

/* Rating and guarantee enhanced */
.ehs-hero__rating {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.ehs-hero__stars {
    color: #ffd166;
    letter-spacing: -1px;
}

.ehs-hero__rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.ehs-hero__guarantee {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: var(--ehs-radius-sm);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    font-weight: 600;
}

.ehs-hero__guarantee-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.ehs-hero__offer-panel {
    position: relative;
    padding: 2px;
    border-radius: var(--ehs-radius-xl);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.55), rgba(148, 163, 184, 0.22));
    width: min(100%, clamp(320px, 30vw, 420px));
    justify-self: end;
    isolation: isolate;
}

.ehs-hero__offer-panel-inner {
    position: relative;
    border-radius: var(--ehs-radius-lg);
    padding: clamp(2.25rem, 4vw, 3.1rem);
    background: rgba(8, 18, 32, 0.85);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(226, 232, 240, 0.16);
    box-shadow: 0 32px 48px rgba(7, 12, 25, 0.42);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: clamp(1.15rem, 2.4vw, 1.8rem);
}

.ehs-hero__offer-panel-inner::before {
    content: '';
    position: absolute;
    inset: -20% -20% 30% -20%;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18) 0%, transparent 55%),
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.16) 0%, transparent 60%);
    opacity: 0.65;
    pointer-events: none;
}

.ehs-hero__offer-panel-inner::after {
    content: '';
    position: absolute;
    inset: auto -25% -40% -25%;
    height: 160px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.ehs-hero__offer-panel-inner>* {
    position: relative;
    z-index: 1;
}

.ehs-hero__offer-chip {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 1.2rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.18);
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
}

.ehs-hero__offer-chip::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9AD927;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.4);
}

.ehs-hero__offer-heading {
    margin: 0;
    font-size: var(--ehs-font-size-h2);
    line-height: var(--ehs-line-height-tight);
    font-weight: 700;
    color: rgba(248, 250, 252, 0.96);
    letter-spacing: -0.01em;
}

.ehs-hero__offer-details {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
    color: rgba(241, 245, 249, 0.88);
    font-size: 0.9rem;
}

.ehs-hero__offer-details li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.45rem 1rem 0.45rem 0.9rem;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.12);
    line-height: 1.4;
    transition: background 0.25s ease, color 0.25s ease;
}

.ehs-hero__offer-details li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9AD927;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.35);
    flex-shrink: 0;
}

.ehs-hero__offer-details li:hover,
.ehs-hero__offer-details li:focus-within {
    background: rgba(148, 163, 184, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

.ehs-hero__offer-meta {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.4rem);
    flex-wrap: wrap;
    margin-top: clamp(0.6rem, 1.8vw, 1.2rem);
    padding-top: clamp(0.85rem, 1.8vw, 1.4rem);
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.ehs-hero__offer-expiry {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.82);
}

.ehs-hero__offer-panel .ehs-button--frost {
    padding-inline: clamp(1.8rem, 3.6vw, 2.5rem);
}

.ehs-hero__offer-meta .ehs-button {
    width: 100%;
}

@media (max-width: 1100px) {
    .ehs-hero__layout {
        grid-template-columns: 1fr;
    }

    .ehs-hero__offer-panel {
        width: 100%;
        margin-top: clamp(2.25rem, 5vw, 3rem);
    }
}

@media (max-width: 960px) {
    .ehs-hero__content {
        padding: clamp(7rem, 22vw, 10rem) 0 clamp(4rem, 12vw, 7rem);
    }

    .ehs-hero__offer-panel-inner {
        padding: 2.2rem 2rem;
    }

    .ehs-hero__offer-details {
        gap: 0.55rem 0.85rem;
    }

}

@media (max-width: 640px) {
    .ehs-hero__proofs {
        font-size: 0.8rem;
    }

    .ehs-hero__title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .ehs-hero__subtitle {
        font-size: 1rem;
    }

    .ehs-hero__actions {
        align-items: stretch;
    }

    .ehs-hero__actions .ehs-button {
        width: 100%;
        justify-content: center;
    }

    .ehs-hero__offer-panel-inner {
        padding: 1.85rem 1.6rem;
        gap: 1.1rem;
    }

    .ehs-hero__offer-details {
        gap: 0.6rem;
        font-size: 0.88rem;
    }

    .ehs-hero__offer-details li {
        width: 100%;
    }

    .ehs-hero__offer-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }



}
