.dg-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(420px, 72vh, 720px);
    overflow: hidden;
    background-color: var(--dg-secondary);
}

.dg-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.dg-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.dg-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(14, 61, 102, 0.92) 0%,
        rgba(20, 79, 132, 0.78) 42%,
        rgba(20, 79, 132, 0.35) 100%
    );
}

.dg-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 5rem 1.25rem 4rem;
}

.dg-hero__content {
    max-width: 920px;
}

.dg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 .25rem;
    padding: 0.45rem 1.1rem;
    font-family: var(--dg-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(167, 199, 83, 0.15);
    border: 1px solid rgba(167, 199, 83, 0.45);
    border-radius: 50px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dg-eyebrow--on-light {
    color: var(--dg-primary);
    background: rgba(20, 79, 132, 0.08);
    border-color: rgba(20, 79, 132, 0.2);
}

.dg-eyebrow--on-light::before {
    background: var(--dg-primary);
}

.dg-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dg-highlight);
    flex-shrink: 0;
    animation: dg-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes dg-dot-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(167, 199, 83, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.4);
        box-shadow: 0 0 0 6px rgba(167, 199, 83, 0);
    }
}

.dg-hero__title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.75rem, 4.5vw, 5.25rem);
    font-weight: 700;
    /* line-height: 1.12; */
    color: var(--dg-text);
    font-family: var(--dg-font-heading);
}

.dg-hero__text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: var(--dg-text-muted);
    max-width: 54ch;
}

.dg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 0 0 2rem;
}

@media (max-width: 767px) {
    .dg-hero {
        min-height: 520px;
    }

    .dg-hero__img {
        object-position: center center;
    }

    .dg-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(14, 61, 102, 0.9) 0%,
            rgba(20, 79, 132, 0.75) 55%,
            rgba(20, 79, 132, 0.5) 100%
        );
    }

    .dg-hero__inner {
        padding: 3.5rem 1.25rem 3rem;
    }

    .dg-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dg-hero__actions .custom-btn,
    .dg-hero__actions .custom-btn-alt {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .dg-hero__content {
        max-width: 560px;
    }
}
