.hero-slideshow {
    position: relative;
    width: 100%;
    height: clamp(300px, 45vw, 520px);
    overflow: hidden;
    background: var(--text);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55));
    color: #fff;
    padding: 20px;
}

.slide-overlay h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-overlay p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 24px;
    max-width: 560px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    background: rgba(0,0,0,0.35);
    padding: 12px 18px;
    border-radius: 50%;
    transition: all var(--transition);
    z-index: 10;
    cursor: pointer;
}

.slide-btn:hover,
.slide-btn:focus-visible {
    background: rgba(0,0,0,0.6);
}

.slide-btn.prev {
    left: 16px;
}

.slide-btn.next {
    right: 16px;
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid #fff;
}

.dot.active {
    background: #fff;
}

.dot:hover,
.dot:focus-visible {
    background: #fff;
    transform: scale(1.15);
}