/**
 * Shared scroll parallax bands (homepage, about, etc.)
 */
.dm-parallax-band {
    position: relative;
    overflow: hidden;
    margin: 0;
    isolation: isolate;
}

.dm-parallax-band--sm {
    min-height: 11rem;
}

.dm-parallax-band--md {
    min-height: 16rem;
}

.dm-parallax-band--lg {
    min-height: 22rem;
}

@media (min-width: 768px) {
    .dm-parallax-band--sm {
        min-height: 14rem;
    }

    .dm-parallax-band--md {
        min-height: 20rem;
    }

    .dm-parallax-band--lg {
        min-height: 28rem;
    }
}

.dm-parallax-band__bg {
    position: absolute;
    inset: -28% 0;
    z-index: 0;
    background-image: var(--dm-parallax-image);
    background-size: cover;
    background-position: var(--dm-parallax-position, center);
    background-repeat: no-repeat;
    will-change: transform;
}

@media (min-width: 992px) {
    .dm-parallax-band__bg {
        inset: -32% 0;
    }

    .dm-parallax-band--lg .dm-parallax-band__bg,
    .dm-parallax-band--strong .dm-parallax-band__bg {
        inset: -42% 0;
    }
}

.dm-parallax-band__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.dm-parallax-band__overlay--dark {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(30, 58, 95, 0.55) 50%,
        rgba(15, 23, 42, 0.68) 100%
    );
}

.dm-parallax-band__overlay--gold {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(217, 119, 6, 0.35) 50%,
        rgba(15, 23, 42, 0.75) 100%
    );
}

.dm-parallax-band__overlay--soft {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(15, 23, 42, 0.5) 100%
    );
}

.dm-parallax-band__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: inherit;
    padding: 2.5rem 1rem;
}

.dm-parallax-band__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--dm-secondary);
    color: #fff;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.dm-parallax-band__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.dm-parallax-band__subtitle {
    margin: 0;
    max-width: 36rem;
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.dm-parallax-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.dm-parallax-band .dm-btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.dm-parallax-band .dm-btn--ghost:hover,
.dm-parallax-band .dm-btn--ghost:focus-visible {
    background: var(--dm-primary) !important;
    border-color: var(--dm-primary) !important;
    color: #fff !important;
}

.dm-parallax-band .dm-btn--outline {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.dm-parallax-band .dm-btn--outline:hover,
.dm-parallax-band .dm-btn--outline:focus-visible {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #fff !important;
    color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    .dm-parallax-band__bg {
        inset: 0;
        transform: none !important;
    }
}
