/* ============================================================
   DS Hero Banner v1.7
   Background-only hero slider + separate mobile background
   ============================================================ */

.ds-hero-section *,
.ds-hero-section *::before,
.ds-hero-section *::after {
    box-sizing: border-box;
}

.ds-hero-section {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding: clamp(10px, 2vw, 24px);
    font-family: "Montserrat", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ds-hero-empty {
    padding: 18px 20px;
    margin: 12px 0;
    background: #fff8e5;
    border: 1px solid #f3d48a;
    border-radius: 12px;
    color: #6b4b00;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ds-hero-slider {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    height: 460px;
    border-radius: 20px;
    background: #0a1628;
    box-shadow: 0 12px 40px rgba(4, 42, 82, .22);
}

.ds-hero-track {
    position: absolute;
    inset: 0;
}

.ds-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s ease;
}

.ds-hero-slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ds-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--ds-hero-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
}

.ds-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    width: min(100%, 1280px);
    left: 50%;
    transform: translateX(-50%);
    padding: 0 72px;
}

.ds-hero-copy {
    width: min(58%, 680px);
    max-width: 680px;
    min-width: 0;
    color: #fff;
    text-align: left;
}

.ds-hero-title {
    margin: 0 0 12px;
    color: var(--ds-hero-text, #fff);
    font-size: clamp(26px, 3.3vw, 46px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.03em;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .22);
    font-family: inherit;
}

.ds-hero-subtitle {
    max-width: 560px;
    margin: 0 0 22px;
    color: color-mix(in srgb, var(--ds-hero-text, #fff) 88%, transparent);
    font-size: clamp(14px, 1.35vw, 18px);
    font-weight: 400;
    line-height: 1.48;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .18);
    font-family: inherit;
}

.ds-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
}

.ds-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--ds-btn-bg, #c93361);
    color: #fff !important;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
    transition: background-color .22s ease, transform .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.ds-hero-btn:hover,
.ds-hero-btn:focus-visible {
    background: var(--ds-btn-hover, #a91c4b) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 26px rgba(0, 0, 0, .26);
}

.ds-hero-btn svg {
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.ds-hero-btn:hover svg,
.ds-hero-btn:focus-visible svg {
    transform: translateX(3px);
}

.ds-hero-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .2s ease;
}

.ds-hero-nav:hover,
.ds-hero-nav:focus-visible {
    background: rgba(255, 255, 255, .32);
    transform: translateY(-50%) scale(1.05);
}

.ds-hero-nav svg {
    width: 17px;
    height: 17px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ds-hero-nav--prev { left: 14px; }
.ds-hero-nav--next { right: 14px; }

.ds-hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}

.ds-hero-dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .36);
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
}

.ds-hero-dot.is-active {
    width: 26px;
    background: #fff;
}

@media (max-width: 1024px) {
    .ds-hero-slider {
        height: 410px;
    }

    .ds-hero-content {
        padding: 0 48px;
    }

    .ds-hero-copy {
        width: min(66%, 620px);
    }
}

@media (max-width: 767px) {
    .ds-hero-section {
        max-width: none;
        padding: 12px 16px;
    }

    .ds-hero-slider {
        height: clamp(390px, 112vw, 520px);
        border-radius: 16px;
        box-shadow: 0 8px 28px rgba(4, 42, 82, .18);
    }

    .ds-hero-bg {
        background-image: var(--ds-hero-bg-mobile, var(--ds-hero-bg));
        background-position: center;
    }

    .ds-hero-content {
        left: 0;
        transform: none;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 42px 24px 58px;
        text-align: center;
    }

    .ds-hero-content.is-mobile-top {
        align-items: flex-start;
        padding: 42px 24px 24px;
    }

    .ds-hero-content.is-mobile-bottom {
        align-items: flex-end;
        padding: 24px 24px 58px;
    }

    .ds-hero-copy {
        width: 100%;
        max-width: 420px;
        text-align: center;
    }

    .ds-hero-title {
        font-size: clamp(25px, 7.2vw, 34px);
        line-height: 1.08;
        letter-spacing: -.028em;
    }

    .ds-hero-subtitle {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 18px;
        font-size: 15px;
    }

    .ds-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 285px;
        margin: 0 auto;
    }

    .ds-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 13px;
    }

    .ds-hero-nav {
        width: 32px;
        height: 32px;
    }

    .ds-hero-nav--prev { left: 10px; }
    .ds-hero-nav--next { right: 10px; }

    .ds-hero-dots {
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ds-hero-slide,
    .ds-hero-btn,
    .ds-hero-btn svg,
    .ds-hero-nav,
    .ds-hero-dot {
        transition: none !important;
    }
}
