/**
 * Página principal (Home) — Estilos BEM
 *
 * Cada sección del home es un bloque BEM independiente:
 * .yadea-hero, .yadea-about, .yadea-catalog, .yadea-test-drive,
 * .yadea-services, .yadea-distributors, .yadea-footer
 *
 * @author  Pablo Gamaliel Solis Arista
 * @url     https://gamalielsolis.com
 * @project Yadea México (yadea.mx)
 */

/* ==========================================================================
   TIPOGRAFÍA: Google Font Inter
   Se carga via wp_enqueue_style en functions.php para rendimiento.
   ========================================================================== */

/* ==========================================================================
   UTILIDADES GLOBALES DEL HOME
   ========================================================================== */
.yadea-home {
	font-family: var(--yadea-font-primary);
	color: var(--yadea-dark);
	overflow-x: hidden;
}

/* Container principal se define más abajo en la sección Hero corregida */

/* Barra decorativa naranja debajo de títulos de sección */
.yadea-home__section-title {
	font-family: var(--yadea-font-primary);
	font-size: 2rem;
	font-weight: 800;
	color: var(--yadea-dark);
	margin: 0 0 0.25rem;
	position: relative;
	display: inline-block;
}

.yadea-home__section-title::after {
	content: '';
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--yadea-orange);
	margin-top: 0.35rem;
}

/* ==========================================================================
   BLOQUE: .yadea-hero
   Sección hero a pantalla completa con imagen de fondo y overlay oscuro.
   ========================================================================== */
/* Hero y CTA se definen en la sección unificada más abajo */

/* ==========================================================================
   BLOQUE: .yadea-about
   Sección "Innovación Centrada en el Humano" — layout 50/50.
   ========================================================================== */
.yadea-about {
	padding: 6rem 0;
	background-color: var(--yadea-white);
}

.yadea-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: stretch;
}

.yadea-about__heading {
	font-family: var(--yadea-font-primary);
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--yadea-dark);
	margin: 0 0 0.5rem;
}

/* Línea decorativa naranja debajo del título */
.yadea-about__heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background-color: var(--yadea-orange);
	margin-top: 0.75rem;
}

.yadea-about__text {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--yadea-gray-text);
	margin: 1.5rem 0;
}

/* Grid de 4 pilares (Sostenibilidad, Innovación, Liderazgo, Seguridad) */
.yadea-about__pillars {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

.yadea-about__pillar {
	padding-left: 1rem;
	border-left: 3px solid var(--yadea-orange);
}

.yadea-about__pillar-title {
	font-family: var(--yadea-font-primary);
	font-size: 1rem;
	font-weight: 700;
	color: var(--yadea-dark);
	margin: 0 0 0.25rem;
}

.yadea-about__pillar-desc {
	font-size: 0.85rem;
	color: var(--yadea-gray-text);
	margin: 0;
	line-height: 1.5;
}

/* Imagen del panel tecnológico */
.yadea-about__image-col {
	display: flex;
	justify-content: center;
	align-items: stretch;
}

.yadea-about__image {
	width: 100%;
	height: 100%;
	max-width: none;
	border-radius: 4px;
	object-fit: cover;
}

/* ==========================================================================
   BLOQUE: .yadea-catalog
   Sección "Encuentra tu Yadea ideal" con catálogo por categorías.
   ========================================================================== */
.yadea-catalog {
	padding: 5rem 0;
	background-color: var(--yadea-white);
}

.yadea-catalog__intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 3rem;
}

.yadea-catalog__heading {
	font-family: var(--yadea-font-primary);
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--yadea-dark);
	margin: 0 0 0.5rem;
}

/* Línea naranja centrada */
.yadea-catalog__heading::after {
	content: '';
	display: block;
	width: 80px;
	height: 3px;
	background-color: var(--yadea-orange);
	margin: 0.5rem auto 0;
}

.yadea-catalog__subtitle {
	font-size: 0.95rem;
	color: var(--yadea-gray-text);
	line-height: 1.7;
	margin-top: 1rem;
}

/* Título de cada categoría con underline naranja */
.yadea-catalog__category-title {
	font-family: var(--yadea-font-primary);
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--yadea-dark);
	margin: 3rem 0 0.25rem;
	display: inline-block;
}

.yadea-catalog__category-title::after {
	content: '';
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--yadea-orange);
	margin-top: 0.25rem;
}

/* Grid de tarjetas de producto — flex dinámico */
.yadea-catalog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
	margin-top: 2rem;
}

/* Tarjeta de producto en el Home — variante del catálogo */
.yadea-catalog__card {
	max-width: 400px;
	background: var(--yadea-white);
	border: 1px solid var(--yadea-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--yadea-transition), transform var(--yadea-transition);
}

.yadea-catalog__card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.yadea-catalog__card-image {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 13;
	object-fit: cover;
	transform: scale(0.9);
	display: block;
}

.yadea-catalog__card-body {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.yadea-catalog__card-title {
	font-family: var(--yadea-font-primary);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--yadea-dark);
	margin: 0 0 0.5rem;
	text-transform: uppercase;
}

.yadea-card__price,
.yadea-card__price .amount,
.yadea-card__price ins {
	font-size: 1.25rem;
	font-weight: 800 !important;
	color: var(--yadea-orange) !important;
	text-decoration: none;
}

.yadea-card__price del .amount {
	font-size: 1rem;
	color: #999999 !important;
	font-weight: 400 !important;
	text-decoration: line-through;
	margin-right: 0.5rem;
}

.yadea-card__price {
	margin-bottom: 0.75rem;
}

.yadea-catalog__card-desc {
	font-size: 1rem;
	color: var(--yadea-gray-text);
	line-height: 1.6;
	margin: 0 0 1.25rem;
	flex-grow: 1;
}

/* Selectores de ficha técnica y código postal eliminados (no se usan en el HTML) */

/* ==========================================================================
   BLOQUE: .yadea-test-drive
   Sección "Agenda tu Prueba de Manejo" — layout 50/50.
   ========================================================================== */
.yadea-test-drive {
	padding: 5rem 0;
	background-color: #fbfbfb; /* Fondo sutil para resaltar la tarjeta */
}

.yadea-test-drive__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center; /* Centrar verticalmente */
}

.yadea-test-drive__form-col {
	background-color: #ffffff;
	padding: 3rem;
	border-radius: 0;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.yadea-test-drive__heading {
	font-family: var(--yadea-font-primary);
	font-size: clamp(2.2rem, 3.5vw, 2.8rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--yadea-dark);
	margin: 0 0 0.5rem;
}

.yadea-test-drive__heading::after {
	content: '';
	display: block;
	width: 50px;
	height: 3px;
	background-color: var(--yadea-orange);
	margin-top: 1rem;
}

/* Bloque informativo con borde naranja izquierdo */
.yadea-test-drive__info-box {
	padding: 1.25rem 1.25rem;
	border-left: 4px solid var(--yadea-orange);
	margin: 1.5rem 0 2rem;
	background-color: #f6f6f6;
}

.yadea-test-drive__info-title {
	font-weight: 800;
	color: var(--yadea-dark);
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
}

.yadea-test-drive__info-text {
	font-size: 0.85rem;
	color: var(--yadea-gray-text);
	line-height: 1.6;
	margin: 0;
}

/* Formulario de prueba de manejo */
.yadea-test-drive__form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.yadea-test-drive__form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.yadea-test-drive__form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.yadea-test-drive__form-group--full {
	grid-column: 1 / -1;
}

.yadea-test-drive__label {
	font-family: var(--yadea-font-primary);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--yadea-dark);
	margin-bottom: 0.2rem;
}

.yadea-test-drive__input,
.yadea-test-drive__select {
	padding: 11px 14px;
	border: 1px solid #d1d1d1;
	border-radius: 0; /* Esquinas rectas como el mockup */
	font-family: var(--yadea-font-primary);
	font-size: 0.9rem;
	color: var(--yadea-dark);
	background-color: #ffffff; /* Fondo blanco */
	outline: none;
	transition: border-color 0.3s;
}

.yadea-test-drive__input:focus,
.yadea-test-drive__select:focus {
	border-color: var(--yadea-orange);
}

/* Botón de envío del formulario */
.yadea-test-drive__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.15rem 2rem;
	background-color: var(--yadea-orange);
	color: var(--yadea-white);
	border: none;
	border-radius: 0; /* Botón recto */
	font-family: var(--yadea-font-primary);
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: background-color var(--yadea-transition);
	width: 100%;
}

.yadea-test-drive__submit:hover {
	background-color: var(--yadea-orange-hover);
}

/* Columna de imagen de prueba de manejo */
.yadea-test-drive__image-col {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0 20px 20px 0; /* Espacio para el efecto de sombra */
}

.yadea-test-drive__image-col::after {
	content: '';
	position: absolute;
	top: 40px;
	right: 0;
	bottom: 0;
	left: 40px;
	background-color: #f3f3f3;
	z-index: 0;
}

.yadea-test-drive__image {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	position: relative;
	z-index: 1;
	border-radius: 0;
}

/* ==========================================================================
   BLOQUE: .yadea-services
   Sección "Respaldo y Servicios" — grid de tarjetas.
   ========================================================================== */
.yadea-services {
	padding: 5rem 0;
	background-color: var(--yadea-white);
}

.yadea-services__heading {
	font-family: var(--yadea-font-primary);
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--yadea-dark);
	text-align: center;
	margin: 0 0 0.5rem;
}

.yadea-services__subtitle {
	font-size: 0.95rem;
	color: var(--yadea-gray-text);
	text-align: center;
	max-width: 700px;
	margin: 0.75rem auto 3rem;
	line-height: 1.6;
}

.yadea-services__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.yadea-services__card {
	display: flex;
	flex-direction: column;
}

.yadea-services__card-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.yadea-services__card-title {
	font-family: var(--yadea-font-primary);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--yadea-dark);
	margin: 1rem 0 0.5rem;
}

.yadea-services__card-desc {
	font-size: 0.85rem;
	color: var(--yadea-gray-text);
	line-height: 1.6;
	margin: 0 0 0.75rem;
	flex-grow: 1;
}

.yadea-services__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--yadea-font-primary);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--yadea-dark);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: color var(--yadea-transition);
}

.yadea-services__card-link:hover {
	color: var(--yadea-orange);
}

.yadea-services__card-link:visited {
	color: var(--yadea-dark);
}

/* ==========================================================================
   HERO SECTION (Definición Unificada)
   ========================================================================== */
html {
	font-size: 16px;
}

.yadea-home__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 3rem;
	width: 100%;
	position: relative;
	z-index: 2;
}

.yadea-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 85vh;
	display: flex;
	align-items: center;
	color: var(--yadea-white);
}

.yadea-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 100%);
	z-index: 1;
	pointer-events: none;
}

.yadea-hero__content {
	max-width: 35%;
	text-align: left;
	position: relative;
	z-index: 2;
	padding: 2rem 0;
}

.yadea-hero__heading {
	font-family: var(--yadea-font-primary);
	font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
	font-weight: 900;
	line-height: 1.15;
	margin: 0 0 1.2rem;
	text-transform: uppercase;
	letter-spacing: -0.05em;
}

.yadea-hero__description {
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 2rem;
	max-width: 520px;
}

.yadea-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 1.25rem;
	background-color: var(--yadea-orange);
	color: var(--yadea-white);
	font-family: var(--yadea-font-primary);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: -0.05em;
	border: none;
	cursor: pointer;
	transition: background-color var(--yadea-transition), transform var(--yadea-transition);
}

.yadea-hero__cta:hover {
	background-color: var(--yadea-orange-hover);
	transform: translateY(-1px);
}

.yadea-hero__cta:visited {
	color: var(--yadea-white);
}

/* ==========================================================================
   BLOQUE: .yadea-distributors
   Banner "Sé un Distribuidor" — fondo oscuro con overlay.
   ========================================================================== */
.yadea-distributors {
	position: relative;
	padding: 6rem 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--yadea-white);
	text-align: center;
	height: 700px;
}

.yadea-distributors::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

.yadea-distributors__content {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin: 0 auto;
}

.yadea-distributors__heading {
	font-family: var(--yadea-font-primary);
	font-size: 2.5rem;
	font-weight: 800;
	font-style: italic;
	margin: 0 0 0.5rem;
}

.yadea-distributors__heading::before {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background-color: var(--yadea-orange);
	margin: 0 auto 1rem;
}

.yadea-distributors__text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 2rem;
}

/* Ghost button blanco para la sección de distribuidores */
.yadea-distributors__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2.5rem;
	border: 2px solid var(--yadea-white);
	background-color: transparent;
	color: var(--yadea-white);
	font-family: var(--yadea-font-primary);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: -0.05em;
	cursor: pointer;
	transition: background-color var(--yadea-transition), color var(--yadea-transition);
}

.yadea-distributors__btn:hover {
	background-color: var(--yadea-orange);
	color: var(--yadea-white);
}

.yadea-distributors__btn:visited {
	color: var(--yadea-white);
}

/* Bloque .yadea-footer eliminado: el footer real vive en yadea-global.css */



/* ==========================================================================
   PRODUCT CATALOG (CORRECCIÓN DE GRID Y TARJETAS)
   ========================================================================== */
/* Override WooCommerce nativo (ul.products) eliminado: usamos nuestro propio grid */

/* Formulario Test Drive */
.yadea-test-drive__form {
	max-width: 500px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem; /* Reducido ligeramente para evitar estirar tanto */
}

.yadea-test-drive__form input,
.yadea-test-drive__form select,
.yadea-test-drive__form textarea {
	width: 100%;
	padding: 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-family: var(--yadea-font-primary);
	font-size: 1rem;
	background-color: #f9f9f9;
	transition: border-color 0.3s;
}

.yadea-test-drive__form input:focus,
.yadea-test-drive__form select:focus,
.yadea-test-drive__form textarea:focus {
	outline: none;
	border-color: var(--yadea-orange);
	background-color: var(--yadea-white);
}

/* Botón Añadir al carrito Loop */
.yadea-product-card__actions .button {
	display: block;
	width: 100%;
	padding: 1rem;
	background-color: var(--yadea-white);
	color: var(--yadea-orange);
	border: 1px solid var(--yadea-orange);
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	transition: all var(--yadea-transition);
	margin-top: 1rem;
}

.yadea-product-card__actions .button:hover {
	background-color: var(--yadea-orange);
	color: var(--yadea-white);
}

.yadea-product-card__title a {
	color: inherit;
	text-decoration: none;
}
.yadea-product-card__title a:hover {
	color: var(--yadea-orange);
}

/* Media query vacío eliminado */

/* ==========================================================================
   SECCIÓN 5: CALCULADORA DE AHORRO
   ========================================================================== */
.yadea-calculator {
	padding: 5rem 0;
	background-color: var(--yadea-white);
}

.yadea-calc-header {
	margin-bottom: 3rem;
}

.yadea-calc-tag {
	display: block;
	color: var(--yadea-orange);
	font-family: var(--yadea-font-primary);
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.yadea-calc-title {
	font-family: var(--yadea-font-primary);
	font-size: 3rem;
	font-weight: 800;
	color: var(--yadea-dark);
	margin: 0;
	letter-spacing: -0.05em;
}

.yadea-calc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.yadea-calc-card {
	background-color: #ffffff;
	border-radius: 16px;
	padding: 3rem;
	color: var(--yadea-dark);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.yadea-calc-card-title {
	font-family: var(--yadea-font-primary);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 2rem;
}

.yadea-calc-toggle {
	display: flex;
	background-color: #f5f5f5;
	border-radius: 50px;
	padding: 0.35rem;
	margin-bottom: 3rem;
	border: 1px solid rgba(0,0,0,0.05);
}

.yadea-calc-btn {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--yadea-gray-text);
	font-family: var(--yadea-font-primary);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.75rem 1rem;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.yadea-calc-btn.active {
	background-color: var(--yadea-orange);
	color: var(--yadea-white);
	box-shadow: 0 4px 10px rgba(255, 80, 0, 0.3);
}

.yadea-calc-slider-wrapper {
	position: relative;
}

.yadea-calc-slider-label {
	display: block;
	font-family: var(--yadea-font-primary);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.yadea-calc-slider {
	-webkit-appearance: none;
	width: 100%;
	height: 6px;
	background: #e0e0e0;
	border-radius: 3px;
	outline: none;
	margin-bottom: 1rem;
}

.yadea-calc-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--yadea-orange);
	cursor: pointer;
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 2px var(--yadea-orange);
}

#yadea-calc-current-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.yadea-calc-label {
	display: block;
	font-size: 0.85rem;
	color: var(--yadea-gray-text);
	margin-bottom: 0.5rem;
}

.yadea-calc-amount {
	font-family: var(--yadea-font-primary);
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: 900;
	color: var(--yadea-orange);
	line-height: 1;
	margin-bottom: 2rem;
	letter-spacing: -0.05em;
}

.yadea-calc-roi {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background-color: rgba(255, 80, 0, 0.1);
	border: 1px solid rgba(255, 80, 0, 0.2);
	color: var(--yadea-orange);
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-family: var(--yadea-font-primary);
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 2.5rem;
}

.yadea-calc-disclaimer {
	font-size: 0.8rem;
	color: var(--yadea-gray-text);
	line-height: 1.6;
	margin: 0;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding-top: 1.5rem;
}

/* Campos de Camión */
.yadea-calc-bus-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.yadea-calc-bus-group {
	display: flex;
	flex-direction: column;
}

.yadea-calc-input {
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-family: var(--yadea-font-primary);
	font-size: 1rem;
	font-weight: 500;
	background-color: #f8fafc;
	color: var(--yadea-dark);
	outline: none;
	width: 100%;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
	transition: all 0.3s ease;
}

.yadea-calc-input:focus {
	border-color: var(--yadea-orange);
	background-color: var(--yadea-white);
	box-shadow: 0 0 0 3px rgba(255, 80, 0, 0.15);
}

.yadea-calc-note {
	display: block;
	font-size: 0.75rem;
	color: var(--yadea-gray-text);
	margin-top: 0.25rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS — HOME
   ========================================================================== */

/* Tablets */
@media screen and (max-width: 968px) {
	.yadea-about__grid,
	.yadea-test-drive__grid,
	.yadea-calc-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.yadea-about__image-col {
		order: -1;
	}

	.yadea-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* .yadea-footer__grid eliminado, el footer se maneja en global.css */

	.yadea-catalog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Móviles */
@media screen and (max-width: 767px) {
    /* Evitar espacios excesivos entre palabras */
    .yadea-hero__description,
    .yadea-about__text,
    .yadea-test-drive__info-text,
    .yadea-calc-disclaimer,
    .yadea-distributors__text {
        text-align: left !important;
        line-height: 1.6;
        overflow-wrap: break-word;
    }

	.yadea-hero__content {
		max-width: 100%;
		padding-right: 1rem; /* Margen derecho de seguridad */
	}

	.yadea-hero__heading {
		font-size: 1.5rem !important; line-height: 1.2 !important; margin-bottom: 10px !important; /* Ligeramente más pequeño para no romper */
		word-break: normal;
		overflow-wrap: break-word;
	}

	.yadea-hero__description {
		font-size: 0.85rem;
		line-height: 1.4;
		max-width: 95%;
	}

	.yadea-hero__cta {
		padding: 8px 16px !important;
		font-size: 0.75rem !important;
		display: inline-flex !important;
		width: max-content !important;
		max-width: max-content !important;
		align-self: flex-start !important; /* Si el contenedor es flex, esto evita que se estire */
		justify-content: center;
		margin-top: 15px;
	}

	.yadea-home__container {
		padding: 0 1rem;
	}

	/* Reduce massive vertical spacing on mobile */
	.yadea-about,
	.yadea-catalog,
	.yadea-services,
	.yadea-calculator,
	.yadea-distributors {
		padding: 2.5rem 0 !important;
	}
	.yadea-test-drive {
		padding: 2.5rem 0 !important;
	}
	
	/* Reduce space between titles and content */
	.yadea-catalog__intro {
		margin-bottom: 1.5rem !important;
	}
	.yadea-calc-header {
		margin-bottom: 1.5rem !important;
	}


	.yadea-about__pillars {
		grid-template-columns: 1fr;
	}

	.yadea-about__pillar {
		border-left: none;
		padding-left: 0;
	}

	.yadea-about__pillar-desc {
		text-align: center;
	}




	.yadea-test-drive__form-col {
		padding: 1.5rem;
	}

	.yadea-test-drive__form-row {
		grid-template-columns: 1fr;
	}

	.yadea-services__grid {
		grid-template-columns: 1fr;
	}

	.yadea-catalog__grid {
		grid-template-columns: 1fr;
	}

	.yadea-calc-card {
		padding: 1.5rem;
	}

	.yadea-calc-title {
		font-size: 2rem;
	}

	.yadea-calc-roi {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	/* .yadea-footer__grid eliminado */

	.yadea-distributors__heading {
		font-size: 1.75rem;
	}

    /* Títulos responsive exclusivos del Home */
    @media screen and (max-width: 600px) {
    
        .yadea-home .yadea-about__heading,
        .yadea-home .yadea-test-drive__heading,
        .yadea-home .yadea-calc-title,
        .yadea-home .yadea-distributors__heading,
        .yadea-home .yadea-home-news__title {
            font-size: clamp(1.5rem, 6vw, 2rem) !important;
            line-height: 1.2 !important;
            text-align: center;
            overflow-wrap: break-word;
            margin-bottom: 20px;
        }
    }
}


/* --- Bot?n Ver Cat?logo Completo --- */
.yadea-series-catalog-action--home {
	text-align: left;
	position: relative;
	z-index: 10;
}

@media screen and (max-width: 768px) {
	.yadea-series-catalog-action--home {
		text-align: center; /* Mobile: centrado */
		width: 100%;
		margin-top: 15px;
		order: 4;
	}
	.yadea-series-catalog-action--home .yadea-btn--catalog {
		width: auto !important;
		display: inline-flex !important;
		padding: 12px 32px !important;
		font-size: 0.95rem !important;
		
	}
}

/* ==========================================
   YADEA HOME - IMÁGENES RESPONSIVE
   ========================================== */

@media screen and (max-width: 768px) {

    .yadea-home .yadea-about__image {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .yadea-home .yadea-test-drive__image {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .yadea-home .yadea-test-drive__image-col {
        padding: 0;
    }

    .yadea-home .yadea-test-drive__image-col::after {
        display: none;
    }
}

@media screen and (max-width: 600px) {

    .yadea-home .yadea-calc-amount {
        font-size: clamp(1.8rem, 8vw, 3rem);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .yadea-home .yadea-calc-toggle {
        width: 100%;
        min-width: 0;
    }
    
 @media screen and (max-width: 768px) {

    .yadea-home .yadea-distributors {
        height: auto !important;
        min-height: 350px;
        padding: 50px 20px !important;
        background-position: center;
        background-size: cover;
    }

    .yadea-home .yadea-distributors__content {
        width: 100%;
        max-width: 100%;
    }

    .yadea-home .yadea-distributors__text {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
    }

    .yadea-home .yadea-distributors__btn {
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}

    .yadea-home .yadea-calc-btn {
        min-width: 0;
        padding: 12px 8px;
        font-size: 0.8rem;
        white-space: normal;
        line-height: 1.3;
    }

    .yadea-home .yadea-calc-bus-grid {
        grid-template-columns: 1fr;
    }

    .yadea-home .yadea-calc-input {
        box-sizing: border-box;
    }
}

/* ==========================================
   YADEA - JUSTIFICAR SECCIÓN NOSOTROS
   ESCRITORIO Y MÓVIL
   ========================================== */
    
    /* Párrafos principales */
    body.home .yadea-about__text,
    body.home .yadea-about__text p {
        text-align: justify !important;
        text-align-last: left !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
    }
    
    /* Textos de características */
    body.home .yadea-about__features p,
    body.home .yadea-about__feature p {
        text-align: justify !important;
        text-align-last: left !important;
    }
    
    /* Ajustes adicionales en móvil */
    @media screen and (max-width: 767px) {
        body.home .yadea-about__text,
        body.home .yadea-about__text p {
            font-size: 15px !important;
            line-height: 1.6 !important;
        }
    }


/* Centrado de textos de noticias en pantallas móviles */
@media screen and (max-width: 767px) {
  body.home .yadea-home-news .yadea-news-card__content {
    text-align: center !important;
  }
  body.home .yadea-home-news .yadea-news-card__title,
  body.home .yadea-home-news .yadea-news-card__title a {
    text-align: center !important;
  }
  body.home .yadea-home-news .yadea-news-card__category {
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

/* Etiquetas de noticias - Fondo naranja YADEA */
body.home #noticias .yadea-news-card__category {
    display: table !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 15px auto !important;

    background-color: #ff4300 !important;
    color: #ffffff !important;

    padding: 9px 14px !important;
    border-radius: 5px !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
}

/* ==========================================
   NOTICIAS - ALINEAR CATEGORÍAS EN ESCRITORIO
   ========================================== */

@media screen and (min-width: 992px) {

    body.home #noticias .yadea-news-grid {
        align-items: stretch !important;
    }

    body.home #noticias .yadea-news-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    body.home #noticias .yadea-news-card__content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        width: 100% !important;
    }

    body.home #noticias .yadea-news-card__title {
        margin-bottom: 20px !important;
    }

    body.home #noticias .yadea-news-card__category {
        margin-top: auto !important;
        margin-bottom: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
    }
}