﻿/**
 * Hero principal: swiper + dots (apariencia .slider-dot) + ancla contacto.
 * Posición de botones/dots: hero-manual-mobile.css (px).
 */

/* Contenedor del hero principal: overlay sobre el Swiper */
.home-hero-header .swiper-container.swiper-slider {
	position: relative;
}

.hero-video-slide {
	position: relative;
	overflow: hidden;
}

.hero-video {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	top: 0;
	left: 0;
	z-index: 0;
	image-rendering: auto;
	backface-visibility: hidden;
	transform: translateZ(0);
	will-change: transform;
	filter: contrast(1.05) brightness(1.02);
}

@media (max-width: 768px) {
	.hero-video {
		transform: scale(1.08);
		filter: contrast(1.1) brightness(1.05);
	}
}

.hero-video-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1;
	pointer-events: none;
}

.hero-video-slide .swiper-slide-caption {
	position: relative;
	z-index: 2;
}

/* ===== HERO SLIDER DOTS (apariencia) ===== */
.home-hero-header .slider-dots .slider-dot {
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.4);
	transition: all 0.4s ease;
	cursor: pointer;
	padding: 0;
	border: none;
	display: inline-block;
	-webkit-appearance: none;
	appearance: none;
}

.home-hero-header .slider-dots .slider-dot:hover {
	background-color: rgba(255, 255, 255, 0.7);
}

.home-hero-header .slider-dots .slider-dot.active {
	width: 22px;
	background-color: rgba(255, 255, 255, 0.95);
}

/* Ocultar paginación nativa Swiper (se usan .slider-dots) */
.home-hero-header .swiper-pagination {
	display: none !important;
}

/* Ancla #contacto dentro de la sección de contacto */
#contacto.autoclub-hero-anchor {
	display: block;
	height: 0;
	overflow: hidden;
	scroll-margin-top: 90px;
}
