/* ==========================================================================
   Portada: carrusel de banners, marcas, atajos, destacados y tipos.
   ========================================================================== */

/* --- Hero a pantalla completa ---------------------------------------------- */

/* De borde a borde; alto cerca del 70 % de la ventana, con tope en pantallas
   grandes, para que asome lo que sigue. */
.auto-hero { padding: 0; }

.auto-hero__marco {
	--pausa: 7s;
	position: relative;
	overflow: hidden;
	background: #07090d;
	outline: none;
	isolation: isolate;
}

.auto-hero__pista {
	display: grid;
	grid-template-areas: "slide";
}

.auto-slide {
	grid-area: slide;
	position: relative;
	display: flex;
	align-items: center;
	height: clamp(500px, 70svh, 680px);
	overflow: hidden;
	visibility: hidden;
	z-index: 0;
	background: #07090d;
}
.auto-slide--sale { visibility: visible; z-index: 1; }
.auto-slide--activa { visibility: visible; z-index: 2; }

/* Fondo de borde a borde: la misma foto, desenfocada y oscura. */
.auto-slide__ambiente {
	position: absolute;
	inset: -60px;
	background-size: cover;
	background-position: center;
	filter: blur(42px) saturate(1.2) brightness(0.42);
	z-index: 0;
}

/* Foto nítida a la derecha, fundida hacia el texto. */
.auto-slide__foto {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(70%, 920px);
	z-index: 1;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 16%, #000 38%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 16%, #000 38%);
}
.auto-slide__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Sombra para que el texto blanco se lea sobre cualquier foto. */
.auto-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(7, 9, 13, 0.86) 0%, rgba(7, 9, 13, 0.55) 34%, rgba(7, 9, 13, 0) 62%),
		linear-gradient(0deg, rgba(7, 9, 13, 0.7) 0%, rgba(7, 9, 13, 0) 30%);
}

/* Cada tono tiñe el resplandor de abajo a la izquierda. */
.auto-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(55% 70% at 0% 100%, var(--tono, transparent) 0%, transparent 70%);
}
.auto-slide--humo  { --tono: rgba(148, 163, 184, 0.22); }
.auto-slide--noche { --tono: rgba(210, 0, 28, 0.42); }
.auto-slide--rojo  { --tono: rgba(210, 0, 28, 0.5); }
.auto-slide--arena { --tono: rgba(192, 197, 206, 0.28); }
.auto-slide--hielo { --tono: rgba(59, 130, 246, 0.3); }

/* Palabra gigante de fondo: marca o tema del slide. */
.auto-slide__fondo {
	position: absolute;
	left: clamp(1rem, 3vw, 3rem);
	bottom: -0.18em;
	z-index: 1;
	font-size: clamp(7rem, 19vw, 19rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
	pointer-events: none;
	user-select: none;
}

.auto-slide__contenido {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	align-items: center;
}

.auto-slide__texto {
	max-width: 800px;
	padding: 2rem 0 5.5rem;
}

.auto-slide__etiqueta {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #ff4d62;
	margin-bottom: 1.1rem;
}
.auto-slide__etiqueta::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}

.auto-slide h1,
.auto-slide h2 {
	/* También según el alto: en notebooks bajos el botón chocaba con los controles. */
	font-size: clamp(2.1rem, min(4.6vw, 6.6svh), 4.1rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.02;
	margin-bottom: 1.3rem;
	color: #fff;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.auto-slide__precio {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	margin: 0 0 0.7rem;
}
.auto-slide__precio span {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 600;
}
.auto-slide__precio strong {
	font-size: clamp(1.8rem, min(3.6vw, 5.4svh), 3.2rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.auto-slide__nota {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 2rem;
	max-width: 44ch;
}

/* --- Botones del slide ------------------------------------------------------ */

.auto-slide__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }

.auto-slide__cta {
	position: relative;
	overflow: hidden;
	gap: 0.9rem;
	padding: 0.5rem 0.5rem 0.5rem 2rem;
	min-height: 60px;
	background: var(--acento);
	color: #fff;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	box-shadow: 0 18px 40px -14px rgba(210, 0, 28, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.auto-slide__cta:hover,
.auto-slide__cta:focus { background: #e3001f; color: #fff; }
.auto-slide__cta:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(210, 0, 28, 1), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.auto-slide__cta-flecha {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	transition: transform 0.25s ease;
}
.auto-slide__cta-flecha svg { width: 20px; height: 20px; fill: var(--acento); }
.auto-slide__cta:hover .auto-slide__cta-flecha { transform: translateX(3px) rotate(-8deg); }

/* Brillo que cruza el botón cada tanto, para llevar la vista al CTA. */
.auto-slide__cta::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
	transform: skewX(-20deg);
	pointer-events: none;
}
@keyframes autoHeroBrillo {
	0%, 62% { left: -60%; }
	100%    { left: 130%; }
}
.auto-slide--activa .auto-slide__cta::after { animation: autoHeroBrillo 3.6s ease-in-out 1.4s infinite; }

.auto-slide__wa {
	gap: 0.6rem;
	min-height: 60px;
	padding: 0 1.5rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.auto-slide__wa svg { width: 22px; height: 22px; fill: var(--verde); transition: fill 0.2s ease; }
.auto-slide__wa:hover { background: var(--verde); border-color: var(--verde); color: #04230f; }
.auto-slide__wa:hover svg { fill: #04230f; }

.auto-slide__chip {
	position: absolute;
	right: 0;
	top: 2rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem 0.5rem 0.5rem;
	border-radius: 999px;
	background: rgba(7, 9, 13, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.18);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
}
.auto-slide__chip svg {
	width: 24px;
	height: 24px;
	padding: 3px;
	border-radius: 50%;
	background: var(--acento);
	fill: #fff;
}

/* --- Entrada del slide activo --------------------------------------------- */

@keyframes autoHeroSube {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: none; }
}
@keyframes autoHeroZoom {
	from { transform: scale(1.14); }
	to   { transform: scale(1); }
}
@keyframes autoHeroFondo {
	from { opacity: 0; transform: translateX(12%); }
	to   { opacity: 1; transform: none; }
}
@keyframes autoHeroChip {
	from { opacity: 0; transform: translateY(-10px) scale(0.94); }
	to   { opacity: 1; transform: none; }
}

.auto-slide--activa .auto-slide__texto > * { animation: autoHeroSube 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.auto-slide--activa .auto-slide__texto > :nth-child(1) { animation-delay: 0.35s; }
.auto-slide--activa .auto-slide__texto > :nth-child(2) { animation-delay: 0.44s; }
.auto-slide--activa .auto-slide__texto > :nth-child(3) { animation-delay: 0.53s; }
.auto-slide--activa .auto-slide__texto > :nth-child(4) { animation-delay: 0.62s; }
.auto-slide--activa .auto-slide__texto > :nth-child(5) { animation-delay: 0.71s; }

.auto-slide--activa .auto-slide__foto img { animation: autoHeroZoom 9s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.auto-slide--activa .auto-slide__fondo { animation: autoHeroFondo 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both; }
.auto-slide--activa .auto-slide__chip { animation: autoHeroChip 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.85s both; }

/* --- Controles: barras de progreso, contador y flechas --------------------- */

.auto-hero__barra {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2rem;
	z-index: 5;
	pointer-events: none;
}

.auto-hero__controles {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	pointer-events: auto;
}

.auto-hero__puntos { display: flex; gap: 0.4rem; }

.auto-hero__punto {
	position: relative;
	width: 34px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
	overflow: hidden;
	cursor: pointer;
	transition: width 0.35s ease, background 0.2s ease;
}
/* Área de clic más cómoda que la barrita. */
.auto-hero__punto::before { content: ""; position: absolute; inset: -12px -2px; }
.auto-hero__punto--activo { width: 72px; }
.auto-hero__punto--visto { background: rgba(255, 255, 255, 0.55); }

/* Astra pinta de azul el botón con foco o hover: se devuelve el color. */
.auto-hero__marco .auto-hero__punto:focus,
.auto-hero__marco .auto-hero__punto:active { background: rgba(255, 255, 255, 0.25); color: inherit; }
.auto-hero__marco .auto-hero__punto:hover { background: rgba(255, 255, 255, 0.5); }
.auto-hero__marco .auto-hero__punto--visto:focus { background: rgba(255, 255, 255, 0.55); }

.auto-hero__progreso {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--acento);
	transform: scaleX(0);
	transform-origin: left;
}

@keyframes autoHeroProgreso {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}
.auto-hero__punto--activo .auto-hero__progreso { animation: autoHeroProgreso var(--pausa) linear forwards; }

/* Pausas: hover, foco con teclado, toque y fuera de pantalla. */
.auto-hero__marco:hover .auto-hero__progreso,
.auto-hero__marco:has(:focus-visible) .auto-hero__progreso,
.auto-hero--pausa-toque .auto-hero__progreso,
.auto-hero--pausa-fuera .auto-hero__progreso { animation-play-state: paused; }

.auto-hero__contador {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.06em;
	white-space: nowrap;
}
.auto-hero__contador strong { color: #fff; font-weight: 700; }

.auto-hero__flecha {
	width: 46px;
	height: 46px;
	flex: none;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.auto-hero__flecha + .auto-hero__flecha { margin-left: -0.45rem; }
.auto-hero__flecha svg { width: 22px; height: 22px; fill: #fff; transition: fill 0.2s ease; }
.auto-hero__marco .auto-hero__flecha:focus,
.auto-hero__marco .auto-hero__flecha:active { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); color: inherit; }
.auto-hero__marco .auto-hero__flecha:hover { background: #fff; border-color: #fff; }
.auto-hero__marco .auto-hero__flecha:hover svg { fill: var(--tinta); }
.auto-hero__flecha:focus-visible,
.auto-hero__punto:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Sin movimiento: nada se desliza ni avanza solo. */
@media (prefers-reduced-motion: reduce) {
	.auto-slide--activa .auto-slide__texto > *,
	.auto-slide--activa .auto-slide__foto img,
	.auto-slide--activa .auto-slide__fondo,
	.auto-slide--activa .auto-slide__chip,
	.auto-slide--activa .auto-slide__cta::after { animation: none; }
	.auto-hero__punto--activo .auto-hero__progreso { animation: none; transform: scaleX(1); }
}

/* --- Marcas --------------------------------------------------------------- */

.auto-marcas { padding: 1.8rem 0 0; }

.auto-marcas__lista {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
	border-top: 1px solid var(--borde-suave);
	border-bottom: 1px solid var(--borde-suave);
}

.auto-marca {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 1.2rem 0.5rem 1.05rem;
	color: #8f98a4;
	transition: color 0.2s ease;
}
.auto-marca::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -1px;
	width: 0;
	height: 2px;
	background: var(--acento);
	transform: translateX(-50%);
	transition: width 0.2s ease;
}
.auto-marca:hover { color: var(--texto); }
.auto-marca:hover::after { width: 60%; }

.auto-marca__logo { display: block; height: 38px; }
.auto-marca__logo svg { height: 100%; width: auto; display: block; transition: transform 0.2s ease; }
.auto-marca:hover .auto-marca__logo svg { transform: scale(1.08); }

.auto-marca__nombre {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
/* Sin logo, el nombre hace de logo. */
.auto-marca:not(.auto-marca--logo) .auto-marca__nombre { font-size: 0.9rem; letter-spacing: 0.16em; }

/* --- Atajos --------------------------------------------------------------- */

.auto-atajos { padding: 2rem 0 0; }

.auto-atajos__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.auto-atajo {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-height: 168px;
	padding: 1.4rem 4.2rem 1.4rem 1.5rem;
	background: var(--fondo-2);
	border: 1px solid var(--borde-suave);
	border-radius: var(--radio);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}
.auto-atajo:hover {
	background: #fff;
	border-color: var(--borde);
	transform: translateY(-3px);
	box-shadow: var(--sombra-alta);
}

.auto-atajo__icono {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #fff;
	border: 1px solid var(--borde);
	margin-bottom: auto;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.auto-atajo__icono svg { width: 22px; height: 22px; fill: var(--acento); transition: fill 0.2s ease; }
.auto-atajo:hover .auto-atajo__icono { background: var(--acento); border-color: var(--acento); }
.auto-atajo:hover .auto-atajo__icono svg { fill: #fff; }

.auto-atajo__ir {
	margin-top: 1.1rem;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--texto-3);
	font-weight: 600;
}
.auto-atajo__texto {
	font-size: 1.28rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--texto);
	line-height: 1.15;
}
.auto-atajo__bajada { font-size: 0.85rem; color: var(--texto-2); }

.auto-atajo__flecha {
	position: absolute;
	right: 1.3rem;
	bottom: 1.4rem;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--borde);
	background: #fff;
	display: grid;
	place-items: center;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.auto-atajo__flecha svg { width: 18px; height: 18px; fill: var(--texto); transition: fill 0.2s ease; }
.auto-atajo:hover .auto-atajo__flecha { background: var(--tinta); border-color: var(--tinta); transform: translateX(3px); }
.auto-atajo:hover .auto-atajo__flecha svg { fill: #fff; }

/* --- Carrusel de destacados ----------------------------------------------- */

.auto-carrusel { position: relative; }

.auto-carrusel__pista {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(276px, 1fr);
	gap: 1.2rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.4rem 0.3rem 1.2rem;
	scrollbar-width: none;
}
.auto-carrusel__pista::-webkit-scrollbar { display: none; }
.auto-carrusel__pista > * { scroll-snap-align: start; }

@media (min-width: 1100px) {
	.auto-carrusel__pista { grid-auto-columns: calc((100% - 3.6rem) / 4); }
}

.auto-carrusel__flecha {
	position: absolute;
	top: 42%;
	z-index: 4;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--borde);
	background: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: var(--sombra);
	transition: background 0.15s ease;
}
.auto-carrusel__flecha:hover { background: var(--fondo-2); }
.auto-carrusel__flecha svg { width: 22px; height: 22px; fill: var(--texto); }
.auto-carrusel__flecha--izq { left: -18px; }
.auto-carrusel__flecha--der { right: -18px; }
.auto-carrusel__flecha[disabled] { opacity: 0; pointer-events: none; }

.auto-destacados__pie { text-align: center; margin-top: 0.8rem; }

/* --- Tarjeta promocional del carrusel ------------------------------------- */

.auto-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--radio);
	padding: 1.6rem 1.4rem;
	background: linear-gradient(150deg, var(--acento) 0%, #8e0013 100%);
	color: #fff;
	overflow: hidden;
	transition: transform 0.18s ease;
}
.auto-promo:hover { transform: translateY(-4px); }
.auto-promo__eyebrow { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.auto-promo__titulo { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.4rem; }
.auto-promo__sub { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 1.1rem; }
.auto-promo__lista { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.45rem; }
.auto-promo__lista li {
	font-size: 0.86rem;
	padding-left: 1.3rem;
	position: relative;
	color: rgba(255, 255, 255, 0.92);
}
.auto-promo__lista li::before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: 700;
}
.auto-promo__cta { margin-top: auto; font-weight: 700; font-size: 0.95rem; position: relative; z-index: 2; }

.auto-promo__foto {
	position: absolute;
	right: -14%;
	bottom: 0;
	width: 116%;
	max-width: none;
	opacity: 0.28;
	mix-blend-mode: luminosity;
	-webkit-mask-image: linear-gradient(to top, #000 30%, transparent 92%);
	mask-image: linear-gradient(to top, #000 30%, transparent 92%);
	pointer-events: none;
}

/* --- Tipos de carrocería -------------------------------------------------- */

.auto-tipos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.auto-tipo {
	position: relative;
	background: #fff;
	border: 1px solid var(--borde);
	border-radius: var(--radio);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.auto-tipo:hover { border-color: #d5dae1; transform: translateY(-4px); box-shadow: var(--sombra-alta); }

.auto-tipo__foto {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--superficie-2);
	overflow: hidden;
}
.auto-tipo__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.auto-tipo:hover .auto-tipo__foto img { transform: scale(1.05); }

.auto-tipo__texto {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 1rem 3.6rem 1.1rem 1.2rem;
}
.auto-tipo__nombre { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; color: var(--texto); }
.auto-tipo__conteo { font-size: 0.85rem; color: var(--texto-3); }

.auto-tipo__flecha {
	position: absolute;
	right: 1rem;
	bottom: 1.15rem;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--fondo-2);
	transition: background 0.2s ease;
}
.auto-tipo__flecha svg { width: 16px; height: 16px; fill: var(--texto); transition: fill 0.2s ease; }
.auto-tipo:hover .auto-tipo__flecha { background: var(--acento); }
.auto-tipo:hover .auto-tipo__flecha svg { fill: #fff; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
	.auto-atajos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Celular: la foto llena la pantalla y el texto va abajo. */
	.auto-slide { align-items: flex-end; height: clamp(540px, 74svh, 640px); }
	.auto-slide__foto {
		width: 100%;
		height: 52%;
		bottom: auto;
		-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
	}
	.auto-slide::after {
		background: linear-gradient(0deg, rgba(7, 9, 13, 0.95) 0%, rgba(7, 9, 13, 0.75) 45%, rgba(7, 9, 13, 0) 70%);
	}
	.auto-slide__contenido { align-items: flex-end; }
	.auto-slide__texto { padding: 0 0 5.2rem; }
	.auto-slide h1,
	.auto-slide h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
	/* El salto de línea está pensado para escritorio. */
	.auto-slide h1 br,
	.auto-slide h2 br { display: none; }
	.auto-slide__nota { font-size: 0.92rem; margin-bottom: 1.2rem; }
	/* En celular el WhatsApp queda redondo, al lado del CTA. */
	.auto-slide__acciones { flex-wrap: nowrap; gap: 0.6rem; }
	.auto-slide__cta { flex: 1; justify-content: space-between; min-height: 54px; padding-left: 1.4rem; font-size: 1rem; }
	.auto-slide__cta-flecha { width: 40px; height: 40px; }
	.auto-slide__wa { width: 54px; min-height: 54px; padding: 0; flex: none; }
	.auto-slide__wa span { display: none; }
	.auto-slide__wa svg { width: 26px; height: 26px; }
	.auto-slide__chip { top: 1rem; font-size: 0.76rem; }
	.auto-slide__fondo { font-size: 8rem; bottom: auto; top: 44%; }
	.auto-hero__barra { bottom: 1.4rem; }
	.auto-hero__controles { display: flex; gap: 0.7rem; }
	.auto-hero__puntos { flex: 1; }
	.auto-hero__punto { flex: 1; width: auto; }
	.auto-hero__punto--activo { flex: 2.4; width: auto; }
	/* En celular se cambia deslizando; las flechas chocaban con WhatsApp. */
	.auto-hero__flecha { display: none; }
	.auto-hero__controles { padding-right: 4.6rem; }
	.auto-carrusel__flecha { display: none; }
}

@media (max-width: 560px) {
	.auto-atajos__grid { grid-template-columns: 1fr; gap: 0.7rem; }
	.auto-atajo {
		min-height: 0;
		padding: 1rem 3.8rem 1rem 4.6rem;
		justify-content: center;
	}
	.auto-atajo__icono { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); margin: 0; }
	.auto-atajo__ir { margin-top: 0; }
	.auto-atajo__texto { font-size: 1.12rem; }
	.auto-atajo__flecha { bottom: 50%; transform: translateY(50%); }
	.auto-atajo:hover .auto-atajo__flecha { transform: translate(3px, 50%); }
	.auto-marcas__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0.2rem; }
	.auto-marca { padding: 0.8rem 0.2rem; gap: 0.4rem; }
	.auto-marca__logo { height: 30px; }
	.auto-marca__nombre { font-size: 0.6rem; letter-spacing: 0.1em; }
	.auto-tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
	.auto-tipo__texto { padding: 0.8rem 0.9rem 0.9rem; }
	.auto-tipo__flecha { display: none; }
	/* Con cinco tipos el último quedaba solo y a media fila. */
	.auto-tipo:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.auto-tipo:last-child:nth-child(odd) .auto-tipo__foto { aspect-ratio: 21 / 9; }
}

/* --- Cómo llegar ----------------------------------------------------------- */

.auto-llegar { background: var(--fondo-2); }

.auto-llegar__marco {
	position: relative;
	border-radius: calc(var(--radio) + 8px);
	overflow: hidden;
	background: var(--tinta);
	box-shadow: var(--sombra-alta);
	min-height: 540px;
	isolation: isolate;
}

/* Filete rojo arriba, como en el escudo. */
.auto-llegar__marco::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	z-index: 500;
	background: linear-gradient(90deg, transparent, var(--acento) 25%, var(--acento) 75%, transparent);
}

.auto-llegar__mapa { position: absolute; inset: 0; }
.auto-llegar__lienzo { position: absolute; inset: 0; background: #1a1a1a; }
.auto-llegar__lienzo iframe { width: 100%; height: 100%; border: 0; }

/* Degradado que funde el mapa con la ficha. */
.auto-llegar__mapa::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 400;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 34%, rgba(10, 10, 10, 0) 58%);
}

.auto-llegar__ampliar {
	position: absolute;
	right: 1rem;
	bottom: 1.6rem;
	z-index: 450;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(10, 10, 10, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
}
.auto-llegar__ampliar svg { width: 14px; height: 14px; fill: currentColor; }
.auto-llegar__ampliar:hover { background: var(--acento); border-color: var(--acento); color: #fff; }

.auto-llegar__ficha {
	position: relative;
	z-index: 450;
	width: min(430px, 100%);
	margin: 2rem;
	padding: 1.8rem;
	border-radius: var(--radio);
	background: rgba(18, 18, 18, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	color: rgba(255, 255, 255, 0.72);
}

.auto-llegar__cabeza { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.auto-llegar__cabeza img { width: 54px; height: auto; flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); }
.auto-llegar__nombre {
	display: block;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	background: var(--cromo);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.auto-llegar address { font-style: normal; font-size: 0.93rem; line-height: 1.45; color: #fff; margin-top: 0.2rem; }

.auto-llegar__refs { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: 0.85rem; }
.auto-llegar__refs li { display: flex; gap: 0.8rem; align-items: flex-start; }
.auto-llegar__refs strong { display: block; color: #fff; font-size: 0.93rem; font-weight: 600; }
.auto-llegar__refs span { font-size: 0.85rem; }
.auto-llegar__icono {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(225, 10, 23, 0.14);
	border: 1px solid rgba(225, 10, 23, 0.35);
}
.auto-llegar__icono svg { width: 17px; height: 17px; fill: #ff4d57; }

.auto-llegar__horario { padding: 1rem 1.1rem; border-radius: var(--radio-sm); background: rgba(255, 255, 255, 0.05); margin-bottom: 1.3rem; }
.auto-llegar__horario span { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plata); margin-bottom: 0.35rem; font-weight: 600; }
.auto-llegar__horario p { margin: 0; color: #fff; font-size: 0.9rem; }

.auto-llegar__botones { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.auto-llegar__botones .auto-btn { justify-content: center; padding-inline: 1rem; }
.auto-llegar__aviso { display: block; margin-top: 1rem; font-size: 0.83rem; color: rgba(255, 255, 255, 0.62); text-align: center; }
.auto-llegar__aviso:hover { color: #fff; }

/* Pin: escudo con halo que late. */
.auto-pin { background: none; border: 0; }
.auto-llegar .auto-mapa__satelite { filter: grayscale(0.55) brightness(0.62) contrast(1.1); }
.auto-llegar .leaflet-marker-pane .auto-pin img { position: relative; width: 58px !important; height: auto !important; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.7)); }
.auto-pin__halo {
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 26px;
	height: 26px;
	margin-left: -13px;
	border-radius: 50%;
	background: rgba(225, 10, 23, 0.55);
	animation: autoPinHalo 2.2s ease-out infinite;
}
@keyframes autoPinHalo {
	0% { transform: scale(0.6); opacity: 0.9; }
	100% { transform: scale(3.4); opacity: 0; }
}

.auto-llegar .leaflet-control-zoom a { background: rgba(18, 18, 18, 0.9); color: #fff; border-color: rgba(255, 255, 255, 0.12); }
.auto-llegar .leaflet-control-zoom a:hover { background: var(--acento); }
.auto-llegar .leaflet-control-attribution { background: rgba(10, 10, 10, 0.6); color: rgba(255, 255, 255, 0.5); font-size: 10px; }
.auto-llegar .leaflet-control-attribution a { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 900px) {
	.auto-llegar__marco { min-height: 0; display: flex; flex-direction: column; }
	.auto-llegar__mapa { position: relative; inset: auto; height: 320px; }
	.auto-llegar__mapa::after { display: none; }
	.auto-llegar__ampliar { top: 1rem; bottom: auto; right: auto; left: 1rem; }
	.auto-llegar__ficha { width: auto; margin: 0.8rem; padding: 1.4rem; }
}

@media (max-width: 420px) {
	.auto-llegar__botones { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.auto-pin__halo { animation: none; }
}

.auto-llegar .auto-pin__etiqueta {
	padding: 0.45rem 0.75rem;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 3px solid var(--acento);
	background: rgba(10, 10, 10, 0.88);
	color: #fff;
	font-family: var(--fuente);
	font-size: 0.8rem;
	font-weight: 600;
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8);
}
.auto-llegar .auto-pin__etiqueta::before { display: none; }
.auto-llegar .auto-pin__etiqueta strong { display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: #ff4d57; margin-bottom: 0.1rem; }
