.hero-slider {
    position: relative;
    padding: 0;
    background: #ffffff;
}

.hero-slider__surface {
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(15, 23, 42, 0.04);
}

.hero-slider__surface::before,
.hero-slider__surface::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-slider__surface::before {
    background: none;
    opacity: 0;
}

.hero-slider__surface::after {
    background: none;
}

.hero-slider__viewport {
    position: relative;
    min-height: clamp(22rem, 50vw, 32rem);
    isolation: isolate;
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.01) translateY(14px);
    transition: opacity 0.65s ease, visibility 0.65s ease, transform 0.65s ease;
}

.hero-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 2;
}

.hero-slider__media {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.hero-slider__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

.hero-slider__media::after {
    display: none;
}

.hero-slider__stage {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.9rem, 1.8vw, 1.6rem);
    padding: clamp(2.2rem, 5.4vw, 3.8rem);
    max-width: clamp(280px, 36vw, 540px);
    color: var(--slider-ink, #0f172a);
    background: var(--slider-panel, #ffffff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border-radius: clamp(22px, 3.4vw, 36px);
    z-index: 3;
}

.hero-slider__stage--left {
    left: clamp(2.5rem, 6vw, 5rem);
    text-align: left;
    align-items: flex-start;
}

.hero-slider__stage--center {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    align-items: center;
}

.hero-slider__stage--right {
    right: clamp(2.5rem, 6vw, 5rem);
    text-align: right;
    align-items: flex-end;
}

.hero-slider__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: #ffffff;
    color: inherit;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-slider__tag::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.75;
}

.hero-slider__headline {
    margin: 0;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-weight: 600;
    font-size: clamp(2.5rem, 5.4vw, 4rem);
    line-height: 1.08;
    text-shadow: 0 18px 55px rgba(12, 21, 38, 0.45);
}

.hero-slider__lead {
    margin: 0;
    font-size: clamp(1.05rem, 2.1vw, 1.35rem);
    font-weight: 500;
    opacity: 0.9;
}

.hero-slider__body {
    margin: 0;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.7;
    opacity: 0.85;
}

.hero-slider__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.hero-slider__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-slider__cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(244, 244, 248, 1) 100%);
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.hero-slider__cta-icon svg {
    width: 1rem;
    height: 1rem;
}

.hero-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(3.1rem, 3.6vw, 3.5rem);
    height: clamp(3.1rem, 3.6vw, 3.5rem);
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: #0f172a;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
    z-index: 4;
}

.hero-slider__nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.hero-slider__nav:active {
    transform: translateY(-50%) scale(0.96);
}

.hero-slider__nav--prev {
    left: clamp(1.2rem, 4vw, 2.6rem);
}

.hero-slider__nav--next {
    right: clamp(1.2rem, 4vw, 2.6rem);
}

.hero-slider__nav-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.hero-slider__dots {
    position: absolute;
    bottom: clamp(1.2rem, 3.2vw, 2.1rem);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
    z-index: 5;
}

.hero-slider__dot {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 50%;
    border: 2px solid rgba(15, 23, 42, 0.16);
    background: rgba(15, 23, 42, 0.08);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.hero-slider__dot::after {
    display: none;
}

.hero-slider__dot.is-active {
    transform: scale(1.2);
    background: rgba(15, 23, 42, 0.18);
    border-color: rgba(15, 23, 42, 0.32);
}

.hero-slider__dot:focus-visible {
    outline: 2px solid rgba(15, 23, 42, 0.45);
    outline-offset: 3px;
}

.hero-slider--empty {
    padding: clamp(36px, 7vw, 84px) 0;
}

.hero-slider__surface--empty {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(18rem, 46vw, 26rem);
    background: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(15, 23, 42, 0.04);
}

.hero-slider__surface--empty::after {
    display: none;
}

.hero-slider__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    color: #0f172a;
    padding: clamp(2rem, 5vw, 3.4rem);
}

.hero-slider__empty-icon svg {
    width: clamp(4.2rem, 10vw, 5.6rem);
    height: auto;
}

.hero-slider__empty-copy h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
}

.hero-slider__empty-copy p {
    margin: 0;
    max-width: 46ch;
    font-size: 1rem;
    opacity: 0.85;
}

@media (max-width: 1180px) {
    .hero-slider__stage {
        max-width: clamp(260px, 45vw, 460px);
        padding: clamp(1.8rem, 5vw, 3rem);
    }

    .hero-slider__nav {
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-slider {
        padding: clamp(22px, 6vw, 48px) 0;
    }

    .hero-slider__stage,
    .hero-slider__stage--left,
    .hero-slider__stage--center,
    .hero-slider__stage--right {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        text-align: center;
        align-items: center;
        max-width: clamp(280px, 70vw, 480px);
    }

    .hero-slider__nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-slider__viewport {
        min-height: clamp(18rem, 70vw, 24rem);
    }

    .hero-slider__stage {
        padding: clamp(1.2rem, 6vw, 1.8rem);
        background: var(--slider-panel, rgba(15, 23, 42, 0.62));
        border-radius: 24px;
        gap: clamp(0.75rem, 4vw, 1.1rem);
    }

    .hero-slider__headline {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .hero-slider__dots {
        bottom: clamp(0.8rem, 5vw, 1.4rem);
    }
}

@media (max-width: 480px) {
    .hero-slider__surface {
        border-radius: 20px;
    }

    .hero-slider__stage {
        max-width: 90%;
    }

    .hero-slider__cta {
        width: 100%;
        justify-content: center;
    }
}
