.hero,
.autoslider-hero-slider-section {
    position: relative;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.hero__slider,
.autoslider-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 400px;
    max-height: 600px;
}

.hero__slides,
.autoslider-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide,
.autoslider-carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 800ms ease;
    display: none;
}

.hero__slide--active,
.autoslider-carousel-item.active {
    opacity: 1;
    z-index: 1;
    display: block;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autoslider-hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__nav,
.autoslider-carousel-control-prev,
.autoslider-carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: background var(--transition-fast), transform var(--transition-fast);
    font-size: var(--font-size-lg);
    cursor: pointer;
}

.hero__nav:hover,
.autoslider-carousel-control-prev:hover,
.autoslider-carousel-control-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero__nav--prev,
.autoslider-carousel-control-prev {
    left: 1rem;
}

.hero__nav--next,
.autoslider-carousel-control-next {
    right: 1rem;
}

.autoslider-carousel-control-prev-icon,
.autoslider-carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.autoslider-carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.autoslider-carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.hero__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero__dot--active {
    background: #fff;
    transform: scale(1.3);
}

.hero__content,
.autoslider-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.hero__content > *,
.autoslider-hero-content > * {
    pointer-events: auto;
}

.hero__grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    width: 100%;
    align-items: center;
}

.hero__form-wrapper,
.autoslider-form-container {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(0,0,0,0.05);
}

.hero__form-wrapper::-webkit-scrollbar,
.autoslider-form-container::-webkit-scrollbar {
    width: 6px;
}

.hero__form-wrapper::-webkit-scrollbar-track,
.autoslider-form-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: var(--radius-full);
}

.hero__form-wrapper::-webkit-scrollbar-thumb,
.autoslider-form-container::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.hero__text,
.autoslider-text-content {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero__text h1,
.autoslider-text-content h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero__text h2,
.autoslider-text-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-warning);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__description,
.autoslider-description {
    font-size: var(--font-size-lg);
    margin-bottom: 1.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero__reasons h3,
.autoslider-reasons h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.75rem;
}

.hero__reasons ul,
.autoslider-reasons ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.hero__reasons li,
.autoslider-reasons li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-base);
}

.hero__reasons li i,
.autoslider-reasons li i {
    color: var(--color-success);
    text-shadow: none;
}

.auto-sales__header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.auto-sales__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.auto-sales__subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.auto-sales__steps {
    margin-bottom: 1.5rem;
}

.auto-sales__step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.auto-sales__step-dot {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-border);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
    transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
    flex-shrink: 0;
}

.auto-sales__step-dot--active {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.15);
}

.auto-sales__step-dot--completed {
    background: var(--color-success);
    color: #fff;
}

.auto-sales__step-line {
    flex: 1;
    height: 3px;
    background: var(--color-border);
    max-width: 60px;
    border-radius: 2px;
    transition: background var(--transition-base);
}

.auto-sales__step-line--active {
    background: var(--color-primary);
}

.auto-sales__step-content--hidden {
    display: none;
}

.auto-sales__nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.auto-sales__nav .btn {
    flex: 1;
}

.auto-sales__success {
    text-align: center;
    padding: 2rem 1rem;
}

.auto-sales__success i {
    font-size: 3rem;
    color: var(--color-success);
    margin-bottom: 1rem;
}

.auto-sales__success h3 {
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.auto-sales__success p {
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 360px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero,
    .autoslider-hero-slider-section {
        min-height: auto;
        display: block;
    }

    .hero__slider,
    .autoslider-carousel {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        aspect-ratio: auto;
    }

    .hero__content,
    .autoslider-hero-content {
        position: relative;
        padding: 3rem 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 5;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero__form-wrapper,
    .autoslider-form-container {
        order: -1;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
        background: rgba(255, 255, 255, 0.95);
    }

    .hero__text,
    .autoslider-text-content {
        text-align: center;
    }

    .hero__text h1,
    .autoslider-text-content h1 {
        font-size: var(--font-size-2xl);
    }

    .hero__text h2,
    .autoslider-text-content h2 {
        font-size: var(--font-size-xl);
    }

    .hero__reasons,
    .autoslider-reasons {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero__nav,
    .autoslider-carousel-control-prev,
    .autoslider-carousel-control-next {
        width: 36px;
        height: 36px;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .hero__text h1,
    .autoslider-text-content h1 {
        font-size: var(--font-size-xl);
    }

    .hero__text h2,
    .autoslider-text-content h2 {
        font-size: var(--font-size-lg);
    }

    .hero__description,
    .autoslider-description {
        font-size: var(--font-size-sm);
    }

    .auto-sales__step-dot {
        width: 28px;
        height: 28px;
        font-size: var(--font-size-xs);
    }
}

@media print {
    .hero__nav,
    .hero__dots,
    .autoslider-carousel-control-prev,
    .autoslider-carousel-control-next {
        display: none;
    }
}