/* [rcb_hero] — hero de la home: texto a la izquierda, card de coche a la derecha. */

.rcb-hero {
	overflow: hidden;
}

.rcb-hero__wrap {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

/* --- Columna de texto --------------------------------------- */

.rcb-hero__h1 {
	margin: 0 0 20px;
	font-family: var(--rcb-font);
	font-size: var(--rcb-fs-h1);
	font-weight: 700;
	line-height: var(--rcb-lh-titular);
	letter-spacing: -.02em;
	color: var(--rcb-negro);
}

.rcb-hero__h1 span {
	color: var(--rcb-acento-hover);
}

.rcb-hero__subtitulo {
	max-width: 46ch;
	font-size: clamp(16px, 1.5vw, 18px);
}

.rcb-hero__bullets {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.rcb-hero__bullets li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--rcb-fs-base);
	font-weight: 500;
	color: var(--rcb-negro);
}

/* El check va en un disco turquesa: es el gesto de "incluido" de la marca. */
.rcb-hero__check {
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: var(--rcb-r-pill);
	background: var(--rcb-acento);
	color: var(--rcb-negro);
	box-sizing: border-box;
}

.rcb-hero__botones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

/* --- Card del coche destacado -------------------------------- */

.rcb-hero__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	border-radius: var(--rcb-r-xl);
	background: linear-gradient(180deg, var(--rcb-gris-fondo) 0%, #E9ECEF 100%);
	box-shadow: var(--rcb-sh-card);
	overflow: hidden;
}

.rcb-hero__badge {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	padding: 6px 14px;
	border-radius: var(--rcb-r-pill);
	background: var(--rcb-acento);
	color: var(--rcb-negro);
	font-size: var(--rcb-fs-xs);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.rcb-hero__foto {
	display: block;
	width: 100%;
	height: auto;
	max-height: 340px;
	object-fit: contain;
	margin-bottom: 16px;
}

.rcb-hero__foto--vacia {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	color: var(--rcb-gris-medio);
}

.rcb-hero__foto--vacia .rcb-icono {
	width: 72px;
	height: 72px;
}

.rcb-hero__cardinfo {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
}

.rcb-hero__modelo {
	margin: 0;
	font-size: var(--rcb-fs-h3);
	font-weight: 600;
	line-height: 1.2;
	color: var(--rcb-negro);
}

.rcb-hero__precio {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	white-space: nowrap;
}

.rcb-hero__precio strong {
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 700;
	line-height: 1;
	color: var(--rcb-azul);
}

.rcb-hero__antes {
	font-size: var(--rcb-fs-sm);
	font-weight: 500;
	color: var(--rcb-gris-medio);
	text-decoration: line-through;
}

.rcb-hero__periodo {
	font-size: var(--rcb-fs-sm);
	font-weight: 500;
	color: var(--rcb-gris-texto);
}

/* Capa de enlace sobre toda la card: área táctil grande sin anidar <a>. */
.rcb-hero__cardlink {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: var(--rcb-r-xl);
}

.rcb-hero__cardlink:focus-visible {
	outline: 3px solid var(--rcb-azul);
	outline-offset: -3px;
}

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

@media (max-width: 1023px) {
	.rcb-hero__wrap {
		gap: 40px;
	}

	.rcb-hero__foto {
		max-height: 260px;
	}
}

@media (max-width: 767px) {
	.rcb-hero__wrap {
		grid-template-columns: 1fr;
	}

	/* En móvil la card va primero: el precio es el gancho y debe verse sin scroll. */
	.rcb-hero__card {
		order: -1;
		padding: 20px;
	}

	.rcb-hero__bullets {
		margin-top: 24px;
	}

	.rcb-hero__botones {
		margin-top: 24px;
	}

	.rcb-hero__botones .rcb-btn {
		flex: 1 1 100%;
	}
}

/* Reclamo de la card cuando no se anuncia una cifra. Ocupa el lugar del precio,
   pero con cuerpo de frase: una cifra pide peso visual, una promesa no. */
.rcb-hero__reclamo {
	margin: 0;
	font-size: var(--rcb-fs-base);
	font-weight: 700;
	line-height: 1.3;
	color: var(--rcb-negro);
}

.rcb-hero__reclamo::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--rcb-acento);
	vertical-align: middle;
}
