/*
 * DICELMA · home (front-page.php + inc/home.php). Solo en la portada.
 * Estilo corporativo: secciones blancas y gris claro alternas, navy solo en las reseñas y el contacto, color de acento en
 * los botones principales y en la marca de cada título. Un ancho de contenido (--dc-ancho) y tarjetas iguales en
 * todas las secciones. Movimiento: fundido corto al llegar a cada sección (home.js) y respuesta al pasar el ratón.
 */

.dh {
	--dh-transicion: .25s cubic-bezier(.2, .7, .1, 1);
	--dh-sombra-hover: 0 14px 32px rgba(11, 31, 51, .12);
	/* Lado de la banda que deja el contenido en --dc-ancho: para secciones que son rejilla de dos columnas. */
	--dh-lado: max(var(--dc-gutter), calc((100% - var(--dc-ancho)) / 2));
}

/* ── Títulos de sección: el mismo en toda la home, en minúscula de frase ───────────────── */
.dh :is(h1, h2, h3) { text-transform: none; letter-spacing: normal; }
.dh-cuerpo h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; max-width: 22em; margin-bottom: 16px; }
.dh-cuerpo .dc-lead { margin-bottom: 0; }
.dh-cuerpo .dc-flecha a { color: var(--dc-azul); }

/* ── Hero: dos mitades. A la izquierda la foto de la nave; a la derecha, sobre gris, titular, entradilla y dos acciones ── */
.dh-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: clamp(560px, calc(100vh - 84px), 780px);
	overflow: hidden;
	background: #E9ECEF;
	color: var(--dc-navy);
}
.dh-hero__media { position: relative; overflow: hidden; }
.dh-hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; } /* fachada: la carretilla de la verja y el rótulo DICELMA a la vista */
.dh-hero__contenido { display: flex; flex-direction: column; justify-content: center; max-width: 640px; padding: 72px var(--dc-gutter) 72px clamp(40px, 5vw, 88px); }
.dh-hero__titulo { margin: 0; max-width: 12em; color: var(--dc-navy); font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; }
.dh-hero__lead { margin: 20px 0 0; max-width: 30em; font-size: 20px; line-height: 1.5; color: var(--dc-mut); }
.dh-hero .dh-btn-borde { border-color: var(--dc-navy); color: var(--dc-navy); }
.dh-hero .dh-btn-borde:hover, .dh-hero .dh-btn-borde:focus-visible { background: var(--dc-navy); border-color: var(--dc-navy); color: var(--dc-blanco); }
.dh-hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.dh-btn-borde {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 13px 24px;
	border: 2px solid rgba(255, 255, 255, .75);
	border-radius: var(--dc-radio-s);
	color: var(--dc-blanco);
	font-weight: 800;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.dh-btn-borde:hover, .dh-btn-borde:focus-visible { background: var(--dc-blanco); border-color: var(--dc-blanco); color: var(--dc-navy); }

/* ── Quiénes somos: frase a la izquierda, texto a la derecha ────────────────────────────── */
.dh-intro__columnas.wp-block-columns { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; margin-bottom: 0; }
.dh-intro__titulo { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; font-stretch: 112%; line-height: 1.2; color: var(--dc-navy); }
.dh-intro__columnas p:not(.dh-intro__titulo) { font-size: 18px; line-height: 1.65; color: var(--dc-navy); }
.dh-intro__columnas p:last-child { margin-bottom: 0; }
/* Carretillas Mitsubishi recortadas bajo el título: entran desde la izquierda al llegar a la sección. */
.dh-intro__foto { margin: 32px 0 0 !important; }
.dh-intro__foto img { display: block; width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 18px 18px rgba(11, 31, 51, .14)); }

/* ── Tarjetas de la home: blancas, borde fino, foto con filo de acento, se elevan al pasar ─ */
.dh-cuerpo .dc-card {
	border: 1px solid var(--dc-borde);
	box-shadow: none;
	transition: transform var(--dh-transicion), box-shadow var(--dh-transicion), border-color var(--dh-transicion);
}
.dh-cuerpo .dc-card .wp-block-image:first-child { overflow: hidden; border-bottom: 4px solid var(--dc-acento); }
.dh-cuerpo .dc-card .wp-block-image:first-child img { aspect-ratio: auto; height: 220px; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
.dh-cuerpo .dc-card:has(a):hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--dh-sombra-hover); }
.dh-cuerpo .dc-card:has(a):hover .wp-block-image img { transform: scale(1.04); }

/* Servicios: tres arriba y dos abajo, a todo el ancho. */
.dh-servicios .dc-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin-top: 40px !important; }
.dh-servicios .dc-card { grid-column: span 2; }
.dh-servicios .dc-card:nth-child(n+4) { grid-column: span 3; }
.dh-servicios .dc-card .dc-flecha { margin-top: auto !important; }
.dh-servicios .dc-card .dc-flecha + .dc-flecha { margin-top: -8px !important; }

/* ── Tienda: tarjetas de modelos ────────────────────────────────────────────────────────── */
.dh-productos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px !important; padding: 0; }
.dh-producto { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; margin: 0; }
/* Cada tarjeta ocupa seis filas de la rejilla (subgrid): foto, marca, nombre, dato, precio y enlace quedan
   a la misma altura en toda la fila aunque un nombre o un dato ocupe una línea más. */
.dh-producto a {
	display: grid;
	grid-row: 1 / -1;
	grid-template-rows: subgrid;
	row-gap: 0;
	overflow: hidden;
	border: 1px solid var(--dc-borde);
	border-radius: var(--dc-radio);
	background: var(--dc-blanco);
	color: var(--dc-navy);
	text-decoration: none;
	transition: transform var(--dh-transicion), box-shadow var(--dh-transicion), border-color var(--dh-transicion);
}
.dh-producto a:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--dh-sombra-hover); }
.dh-producto__foto { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--dc-claro); border-bottom: 4px solid var(--dc-acento); }
.dh-producto__foto img { position: absolute; inset: 8px; display: block; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
.dh-producto a:hover .dh-producto__foto img { transform: scale(1.05); }
.dh-producto__marca { padding: 14px 16px 0; font-size: 12px; font-weight: 700; color: var(--dc-azul); }
.dh-producto__nombre { padding: 2px 16px 0; font-size: 16px; line-height: 1.25; }
.dh-producto__dato { padding: 4px 16px 0; font-size: 13px; color: var(--dc-mut); }
.dh-producto__precio { padding: 10px 16px 0; font-size: 19px; font-weight: 800; line-height: 1.2; color: var(--dc-navy); }
.dh-producto__precio .woocommerce-price-suffix { font-size: 13px; font-weight: 600; color: var(--dc-mut); }
.dh-producto__precio .dc-precio-consultar { font-size: 15px; }
.dh-producto__ver { grid-row: -2; align-self: end; padding: 12px 16px 16px; font-size: 14px; font-weight: 700; color: var(--dc-azul); }
.dh-producto__ver::after { content: " →"; }
.dh-tienda__pie { margin-top: 32px !important; }
.dh-tienda__pie > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.dh-tienda__pie > .wp-block-group__inner-container > * { margin: 0; }
.dh-tienda__pie .wp-block-buttons { margin-left: auto; }

/* ── Asesor: preguntas a la izquierda, respuesta a la derecha ───────────────────────────── */
.dh-asesor {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	margin-top: 40px !important;
	overflow: hidden;
	border: 1px solid var(--dc-borde);
	border-radius: var(--dc-radio);
	background: var(--dc-blanco);
}
.dh-asesor__preguntas { display: grid; gap: 28px; padding: 32px; }
.dh-asesor fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.dh-asesor legend { display: flex; justify-content: space-between; gap: 16px; width: 100%; margin-bottom: 12px; padding: 0; font-size: 17px; font-weight: 700; color: var(--dc-navy); }
.dh-asesor__peso { font-weight: 800; color: var(--dc-azul); white-space: nowrap; }
/* Deslizador dibujado aquí: el estilo de campos de Kadence le quita la pista. */
.dh-asesor input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 32px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; cursor: pointer; }
.dh-asesor input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--dc-borde); }
.dh-asesor input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--dc-borde); }
.dh-asesor input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--dc-azul); }
.dh-asesor input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--dc-blanco); border-radius: 50%; background: var(--dc-azul); box-shadow: 0 1px 4px rgba(11, 31, 51, .3); }
.dh-asesor input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--dc-blanco); border-radius: 50%; background: var(--dc-azul); box-shadow: 0 1px 4px rgba(11, 31, 51, .3); }
.dh-opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-opcion { position: relative; }
.dh-opcion input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.dh-opcion span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid var(--dc-borde);
	border-radius: var(--dc-radio-s);
	background: var(--dc-blanco);
	font-size: 15px;
	color: var(--dc-navy);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.dh-opcion:hover span { border-color: var(--dc-azul); }
.dh-opcion input:checked + span { border-color: var(--dc-navy); background: var(--dc-navy); color: var(--dc-blanco); }
.dh-opcion input:focus-visible + span { outline: 3px solid var(--dc-cian); outline-offset: 2px; }
.dh-asesor__respuesta { padding: 32px; border-left: 1px solid var(--dc-borde); background: var(--dc-claro); }
.dh-asesor__respuesta > :first-child { margin-top: 0; }
.dh-asesor__etiqueta { margin: 0; font-size: 15px; color: var(--dc-mut); }
.dh-asesor__tipo { margin: 4px 0 8px; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--dc-navy); }
.dh-asesor__motivo { margin: 0 0 20px; font-size: 16px; color: var(--dc-mut); }
.dh-asesor__modelos, .dh-asesor__sinjs { list-style: none; display: grid; gap: 8px; margin: 0 0 16px; padding: 0; }
.dh-asesor__modelos li { margin: 0; }
.dh-asesor__modelos a {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	column-gap: 14px;
	align-items: center;
	padding: 8px;
	border: 1px solid var(--dc-borde);
	border-radius: var(--dc-radio-s);
	background: var(--dc-blanco);
	color: var(--dc-navy);
	text-decoration: none;
	transition: border-color .15s ease;
}
.dh-asesor__modelos a:hover { border-color: var(--dc-azul); }
.dh-asesor__modelos img { grid-row: span 2; width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.dh-asesor__modelos strong { align-self: end; font-size: 15px; line-height: 1.3; }
.dh-asesor__modelos span { align-self: start; font-size: 14px; color: var(--dc-mut); }
.dh-asesor__ver { font-weight: 700; color: var(--dc-azul); }
.dh-asesor__ver::after { content: " →"; }

/* ── Por qué DICELMA: cajas con icono en tres columnas. El icono lo elige una clase de la tarjeta en el
   contenido (dh-icono dh-icono--{nombre}): un SVG de línea de fondo en un círculo, azul y navy al pasar. ─────────── */
.dh-porque .dc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.dh-porque .dh-icono {
	gap: 8px;
	padding: 32px 30px;
	border: 1px solid var(--dc-borde);
	border-radius: var(--dc-radio);
	background: var(--dc-blanco);
	transition: border-color var(--dh-transicion), box-shadow var(--dh-transicion), transform var(--dh-transicion);
}
.dh-porque .dh-icono::before {
	content: "";
	display: block;
	width: 56px;
	height: 56px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--dh-icono) center / 28px 28px no-repeat, var(--dc-claro);
	transition: background-color var(--dh-transicion);
}
.dh-porque .dh-icono:hover::before { background: var(--dh-icono-hover) center / 28px 28px no-repeat, var(--dc-acento); }
.dh-porque .dh-icono h3 { font-size: 20px; line-height: 1.3; }
.dh-porque .dh-icono p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--dc-mut); }
.dh-porque .dh-icono:hover { border-color: transparent; box-shadow: var(--dh-sombra-hover); transform: translateY(-4px); }
.dh-icono--calendario { --dh-icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230A6FAB%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%225%22 width=%2217%22 height=%2215.5%22 rx=%222%22/%3E%3Cpath d=%22M3.5 10h17M8.5 3v4M15.5 3v4M8 14.5h2.5M13.5 14.5H16%22/%3E%3C/svg%3E"); --dh-icono-hover: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%225%22 width=%2217%22 height=%2215.5%22 rx=%222%22/%3E%3Cpath d=%22M3.5 10h17M8.5 3v4M15.5 3v4M8 14.5h2.5M13.5 14.5H16%22/%3E%3C/svg%3E"); }
.dh-icono--llave { --dh-icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230A6FAB%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14.7 6.3a4 4 0 0 0-5.4 5.2L3.6 17.2a1.8 1.8 0 0 0 2.6 2.6l5.7-5.7a4 4 0 0 0 5.2-5.4l-2.6 2.6-2.4-.6-.6-2.4z%22/%3E%3C/svg%3E"); --dh-icono-hover: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14.7 6.3a4 4 0 0 0-5.4 5.2L3.6 17.2a1.8 1.8 0 0 0 2.6 2.6l5.7-5.7a4 4 0 0 0 5.2-5.4l-2.6 2.6-2.4-.6-.6-2.4z%22/%3E%3C/svg%3E"); }
.dh-icono--camion { --dh-icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230A6FAB%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 6h11.5v9.5H2.5zM14 9h3.8l3.2 3.4v3.1H14%22/%3E%3Ccircle cx=%226.5%22 cy=%2217.5%22 r=%221.9%22/%3E%3Ccircle cx=%2217%22 cy=%2217.5%22 r=%221.9%22/%3E%3C/svg%3E"); --dh-icono-hover: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 6h11.5v9.5H2.5zM14 9h3.8l3.2 3.4v3.1H14%22/%3E%3Ccircle cx=%226.5%22 cy=%2217.5%22 r=%221.9%22/%3E%3Ccircle cx=%2217%22 cy=%2217.5%22 r=%221.9%22/%3E%3C/svg%3E"); }
.dh-icono--precio { --dh-icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230A6FAB%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 12.2V4.5a1 1 0 0 1 1-1h7.7l8.3 8.3a1.4 1.4 0 0 1 0 2l-6.6 6.6a1.4 1.4 0 0 1-2 0z%22/%3E%3Ccircle cx=%228.2%22 cy=%228.2%22 r=%221.6%22/%3E%3C/svg%3E"); --dh-icono-hover: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 12.2V4.5a1 1 0 0 1 1-1h7.7l8.3 8.3a1.4 1.4 0 0 1 0 2l-6.6 6.6a1.4 1.4 0 0 1-2 0z%22/%3E%3Ccircle cx=%228.2%22 cy=%228.2%22 r=%221.6%22/%3E%3C/svg%3E"); }
.dh-icono--consejo { --dh-icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230A6FAB%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v10.5H9.5L4 19.5z%22/%3E%3Cpath d=%22M8.8 10.4l2.2 2.2 4.2-4.2%22/%3E%3C/svg%3E"); --dh-icono-hover: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v10.5H9.5L4 19.5z%22/%3E%3Cpath d=%22M8.8 10.4l2.2 2.2 4.2-4.2%22/%3E%3C/svg%3E"); }
.dh-icono--estrella { --dh-icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230A6FAB%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.2l2.6 5.5 6 .7-4.4 4.1 1.2 6L12 16.6l-5.4 2.9 1.2-6-4.4-4.1 6-.7z%22/%3E%3C/svg%3E"); --dh-icono-hover: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.2l2.6 5.5 6 .7-4.4 4.1 1.2 6L12 16.6l-5.4 2.9 1.2-6-4.4-4.1 6-.7z%22/%3E%3C/svg%3E"); }

/* ── Reseñas sobre navy: widget de Trustindex ([trustindex no-registration=google]) ───────────
   El resumen de la izquierda («Excelente», estrellas, «A base de N reseñas») va sobre el navy: el número de
   reseñas, que el widget pone en negro, pasa a blanco. Las tarjetas siguen blancas. */
.dh-resenas-banda h2 { max-width: none; text-align: center; }
.dh-resenas-banda .ti-widget { margin-top: 40px; }
.dh-resenas-banda .ti-widget .ti-rating-text, .dh-resenas-banda .ti-widget .ti-rating-text * { color: rgba(255, 255, 255, .85) !important; }

/* ── Sectores: título y entrada a la izquierda; a la derecha, la lista numerada ([dicelma_home_sectores])
   con la foto de una familia y los enlaces a sus máquinas, separada por filetes. ──────────────────────── */
.dh-cuerpo .dh-sectores {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	column-gap: 72px;
	align-items: start;
	padding-left: var(--dh-lado);
	padding-right: var(--dh-lado);
}
.dh-cuerpo .dh-sectores > .wp-block-group__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; }
/* El título, la entrada y la nota acompañan la lista al bajar (bajo la cabecera fija). */
.dh-sectores__intro { position: sticky; top: 112px; }
.dh-sectores__intro .dc-lead { margin-bottom: 24px; }
.dh-sectores__nota {
	margin: 0;
	padding: 20px 24px;
	border-left: 4px solid var(--dc-acento);
	border-radius: var(--dc-radio-s);
	background: var(--dc-claro);
	font-size: 16px;
	line-height: 1.55;
	color: var(--dc-navy);
}
.dh-cuerpo .dh-sectores__lista { list-style: none; margin-top: 0; margin-bottom: 0; padding: 0; border-bottom: 1px solid var(--dc-borde); counter-reset: none; }
.dh-sector {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 176px;
	gap: 24px;
	align-items: center;
	margin: 0;
	padding: 28px 0;
	border-top: 1px solid var(--dc-borde);
}
.dh-sector__n { align-self: start; font-size: 34px; font-weight: 800; font-stretch: 112%; line-height: 1; color: var(--dc-borde); transition: color var(--dh-transicion); }
.dh-sector:hover .dh-sector__n { color: var(--dc-acento); }
.dh-sector h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; text-transform: none; color: var(--dc-navy); }
.dh-sector p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dc-mut); }
.dh-sector__maquinas { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0 !important; padding: 0; }
.dh-sector__maquinas li { margin: 0; }
.dh-sector__maquinas a { font-size: 14px; font-weight: 700; color: var(--dc-azul); text-decoration: none; }
.dh-sector__maquinas a::after { content: " →"; }
.dh-sector__maquinas a:hover { text-decoration: underline; }
.dh-sector__foto { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: var(--dc-radio); background: var(--dc-claro); }
.dh-sector__foto img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
.dh-sector:hover .dh-sector__foto img { transform: scale(1.06); }

/* ── En cifras: foto de la nave bajo un velo navy, antetítulo, y cinco cifras grandes con su unidad al lado y una
   línea debajo, separadas por filetes verticales ([dicelma_home_cifras]; banda dc-band--navy en el contenido). ── */
.dh-cuerpo .dh-cifras-banda { position: relative; isolation: isolate; overflow: hidden; padding-top: 104px; padding-bottom: 104px; }
.dh-cifras-banda::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 31, 51, .86); }
.dh-cuerpo .dh-cifras-banda .dh-cifras__fondo { position: absolute; inset: 0; z-index: -2; width: 100%; max-width: none; height: 100%; margin: 0 !important; object-fit: cover; }
.dh-antetitulo { margin-bottom: 10px !important; text-align: center; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dc-acento-claro) !important; }
.entry-content p.dh-antetitulo { text-align: center; } /* gana al justificado de los párrafos */
.dh-cifras-banda h2 { max-width: none; text-align: center; }
.dh-cifras { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 56px 0 0 !important; padding: 0; }
.dh-cifra { margin: 0; padding: 4px 12px; text-align: center; }
.dh-cuerpo .dh-cifras p.dh-cifra__texto { text-align: center; hyphens: manual; -webkit-hyphens: manual; } /* gana al alineado general de los párrafos */
.dh-cifra + .dh-cifra { border-left: 1px solid rgba(255, 255, 255, .18); }
.dh-cifras .dh-cifra__numero { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 8px; margin: 0; white-space: nowrap; font-size: clamp(36px, 3.4vw, 50px); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--dc-blanco); }
.dh-cifras .dh-cifra__unidad { font-size: clamp(15px, 1.3vw, 19px); font-weight: 700; letter-spacing: 0; color: var(--dc-mut-oscuro); }
.dh-cifras .dh-cifra__texto { margin: 14px 0 0; font-size: 16px; line-height: 1.45; color: var(--dc-mut-oscuro); }

/* ── Marcas: cinta de logotipos que se desplaza sola y se para al pasar; en gris, toman color al pasar.
   Dos listas iguales (la segunda, copia oculta) se mueven su propio ancho y cierran el bucle sin salto. ── */
.dh-marcas-cinta {
	--dh-marca-ancho: 232px;
	--dh-marca-hueco: 16px;
	display: flex;
	gap: var(--dh-marca-hueco);
	margin-top: 40px;
	padding: 12px 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.dh-marcas { list-style: none; display: flex; flex: none; gap: var(--dh-marca-hueco); margin: 0 !important; padding: 0; animation: dh-cinta 36s linear infinite; }
.dh-marcas-cinta:hover .dh-marcas, .dh-marcas-cinta:focus-within .dh-marcas { animation-play-state: paused; }
@keyframes dh-cinta { to { transform: translateX(calc(-100% - var(--dh-marca-hueco))); } }
.dh-marcas li { flex: none; width: var(--dh-marca-ancho); margin: 0; }
.dh-marcas a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 112px;
	padding: 20px 24px;
	border: 1px solid var(--dc-borde);
	border-radius: var(--dc-radio);
	background: var(--dc-blanco);
	color: var(--dc-navy);
	font-weight: 800;
	text-decoration: none;
	transition: border-color var(--dh-transicion), box-shadow var(--dh-transicion), transform var(--dh-transicion);
}
.dh-marcas img { width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter var(--dh-transicion), opacity var(--dh-transicion); }
.dh-marcas a:hover, .dh-marcas a:focus-visible { border-color: var(--dc-azul); box-shadow: var(--dh-sombra-hover); transform: translateY(-4px); }
.dh-marcas a:hover img, .dh-marcas a:focus-visible img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.dh-marcas-cinta { -webkit-mask-image: none; mask-image: none; padding: 0; }
	.dh-marcas { flex: 1; flex-wrap: wrap; justify-content: center; animation: none; }
	.dh-marcas--copia { display: none; }
	.dh-marcas a:hover, .dh-marcas a:focus-visible { transform: none; }
}

/* ── Dónde trabajamos: texto y tabla de cobertura a la izquierda; mapa de Google con la ficha de la nave
   a la derecha, a la altura de la columna de texto. ─────────────────────────────────────────────────── */
.dh-cuerpo .dh-zonas {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	column-gap: 64px;
	align-items: stretch;
	padding-left: var(--dh-lado);
	padding-right: var(--dh-lado);
}
.dh-cuerpo .dh-zonas > .wp-block-group__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; }
.dh-zonas__texto > :last-child { margin-bottom: 0; }
.dh-zonas__texto p { font-size: 17px; line-height: 1.6; }

.dh-cobertura { width: 100%; margin: 28px 0 0; border-collapse: collapse; font-size: 15px; }
.dh-cobertura :is(th, td) { padding: 13px 10px; border: 0; border-bottom: 1px solid var(--dc-borde); background: none; text-align: center; vertical-align: middle; }
.dh-cobertura thead :is(th, td) { padding-top: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dc-mut); border-bottom: 2px solid var(--dc-navy); }
.dh-cobertura tbody th, .dh-cobertura tfoot th { padding-left: 0; text-align: left; font-size: 17px; font-weight: 700; color: var(--dc-navy); }
.dh-cobertura tbody tr { transition: background-color var(--dh-transicion); }
.dh-cobertura tbody tr:hover { background: var(--dc-claro); }
.dh-cobertura__si { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dc-acento); color: var(--dc-sobre-acento); }
.dh-cobertura__no { color: #A9B6C3; }
.dh-cobertura__consultar { font-size: 13px; font-weight: 700; color: var(--dc-azul); }
.dh-cobertura tfoot :is(th, td) { border-bottom: 0; padding-top: 16px; }
.dh-cobertura tfoot td { text-align: left; color: var(--dc-mut); }


/* ── Contacto: texto y datos sobre navy a la izquierda; el formulario en una tarjeta blanca ─── */
.dh-contacto .wp-block-columns { gap: 64px; align-items: start; margin-bottom: 0; }
.dh-contacto__datos { list-style: none; margin: 28px 0 32px; padding: 0; }
/* Etiqueta en una columna fija y el dato (varios [dicelma_ajuste] seguidos) como texto corrido al lado. */
.dh-contacto__datos li { position: relative; padding: 12px 0 12px 92px; border-top: 1px solid var(--dc-linea-oscura); font-size: 16px; }
.dh-contacto__datos li:last-child { border-bottom: 1px solid var(--dc-linea-oscura); }
.dh-cuerpo .dh-contacto__datos li { text-align: start; hyphens: manual; -webkit-hyphens: manual; } /* sin justificar ni partir palabras: la dirección cabe en una línea */
@media (min-width: 1280px) { .dh-contacto__datos li span { white-space: nowrap; } }
.dh-contacto__datos strong { position: absolute; left: 0; top: 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dc-acento-claro) !important; }
.dh-contacto__form { padding: 36px 40px 28px; border-top: 4px solid var(--dc-acento); border-radius: var(--dc-radio); background: var(--dc-blanco); box-shadow: var(--dc-sombra); }
.dh-contacto__form :is(p, li) { color: var(--dc-mut); }
.dh-contacto__form a:not(.wp-block-button__link) { color: var(--dc-azul) !important; }

/* ── FAQ: ahora en dicelma.css («Preguntas frecuentes en dos columnas»), igual en toda la web. ── */

/* ── Movimiento ─────────────────────────────────────────────────────────────────────────── */
/* Hero al cargar: la foto se descubre con una cortina (dentro, el paralaje de movimiento.js), el titular sube palabra
   a palabra (movimiento.css) y detrás entradilla y acciones. La foto de la intro está quieta, apoyada en su sombra. */
@media (prefers-reduced-motion: no-preference) {
	.dh-hero__media { animation: dh-cortina 1.4s cubic-bezier(.16, 1, .3, 1) both; }
	.dh-hero__contenido > :not(.dh-hero__titulo) { animation: dh-sube 1s cubic-bezier(.16, 1, .3, 1) .45s both; }
	.dh-hero__contenido > :nth-child(3) { animation-delay: .55s; }
}
@keyframes dh-sube { from { opacity: 0; transform: translateY(24px); } }
@keyframes dh-cortina { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
	.dh *, .dh *::after { transition-duration: 0s !important; }
	.dh-cuerpo .dc-card:has(a):hover, .dh-producto a:hover { transform: none; }
}

/* ── Tableta ────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.dh-cifras { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 40px; }
	.dh-cifra { grid-column: span 2; }
	.dh-cifra:nth-child(n+4) { grid-column: span 3; }
	.dh-cifra:nth-child(4) { border-left: 0; }
	.dh-intro__columnas.wp-block-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.dh-cuerpo .dh-sectores { grid-template-columns: minmax(0, 1fr); }
	.dh-sectores__intro { position: static; margin-bottom: 32px; }
	.dh-productos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-asesor { grid-template-columns: minmax(0, 1fr); }
	.dh-asesor__respuesta { border-left: 0; border-top: 1px solid var(--dc-borde); }
	.dh-porque .dc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-servicios .dc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-servicios .dc-card, .dh-servicios .dc-card:nth-child(n+4) { grid-column: auto; }
	.dh-servicios .dc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.dh-cuerpo .dh-zonas { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
}

/* ── Móvil ──────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
	.dh-porque .dc-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.dh-servicios .dc-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.dh-porque .dh-icono { padding: 24px 22px; }
	.dh-contacto__form { padding: 24px 20px 16px; }
	.dh-contacto__datos li { padding-left: 92px; }
	.dh-cuerpo .dh-cifras-banda { padding-top: 72px; padding-bottom: 72px; }
	.dh-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; margin-top: 40px !important; }
	.dh-cifra, .dh-cifra:nth-child(n+4) { grid-column: auto; padding: 4px 10px; }
	.dh-cifra:nth-child(odd) { border-left: 0; }
	.dh-cifra:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, .18); }
	.dh-cifra:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.dh-cifras .dh-cifra__texto { font-size: 14px; }
	.dh-cobertura :is(th, td) { padding: 12px 6px; }
	.dh-cobertura { table-layout: fixed; }
	.dh-cobertura thead > tr > :first-child { width: 30%; }
	.dh-cobertura thead :is(th, td) { font-size: 11px; letter-spacing: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
	.dh-cobertura tfoot :is(th, td) { white-space: normal; overflow-wrap: break-word; }
	.dh-cobertura tbody th, .dh-cobertura tfoot th { font-size: 16px; }
	.dh-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.dh-hero__media { aspect-ratio: 4 / 3; }
	.dh-hero__contenido { padding: 40px var(--dc-gutter) 56px; }
	.dh-hero__lead { font-size: 18px; }
	.dh-hero__acciones > * { flex: 1 1 100%; justify-content: center; }
	.dh-sector { grid-template-columns: minmax(0, 1fr) 104px; gap: 8px 16px; padding: 24px 0; }
	.dh-sector__n { grid-column: 1; font-size: 24px; }
	.dh-sector__texto { grid-column: 1 / -1; }
	.dh-sector__foto { grid-column: 2; grid-row: 1; }
	.dh-sector h3 { font-size: 19px; }
	.dh-cuerpo .dc-card .wp-block-image:first-child img { height: 200px; }
	.dh-productos { gap: 12px; }
	.dh-producto__marca, .dh-producto__nombre, .dh-producto__dato, .dh-producto__precio, .dh-producto__ver { padding-left: 14px; padding-right: 14px; }
	.dh-producto__precio { font-size: 19px; }
	.dh-producto__nombre { font-size: 17px; }
	.dh-marcas-cinta { --dh-marca-ancho: 164px; --dh-marca-hueco: 10px; }
	.dh-marcas a { height: 84px; padding: 14px; }
	.dh-asesor__preguntas, .dh-asesor__respuesta { padding: 24px 20px; }
	
	.dh-tienda__pie .wp-block-buttons { margin-left: 0; }
}

/* ══ Home · ajuste fino (2026-11-26) ═════════════════════════════════════════════════════════
 * Hero: el formato de dos mitades de siempre, con fachada-dicelma.webp y una línea de avales bajo los botones
 * (inc/home.php, dicelma_home_hero_aval). Quiénes somos: las dos Mitsubishi recortadas. Y un fondo distinto y sobrio
 * por bloque, sin texturas: cifras con la foto real de la flota, servicios en dos planos en diagonal, tienda como
 * escaparate oscuro, «por qué» con un velo de cian, reseñas con unas comillas y contacto con raya diplomática.
 * ─────────────────────────────────────────────────────────────────────────────────────────── */

/* Hero */
.dh-hero { background: linear-gradient(180deg, #EEF1F4 0, #E4E8EC 100%); }
.dh-hero__foto { object-position: 80% 50%; } /* el rótulo CLARK, el cartel DICELMA y la verja, a la vista */
.dh-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset -30px 0 40px -30px rgba(11, 31, 51, .3); }
.dh-hero__aval { list-style: none; display: flex; align-items: stretch; margin: 44px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(11, 31, 51, .14); }
.dh-aval { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; margin: 0; padding: 0 32px 0 0; }
.dh-aval + .dh-aval { padding: 0 0 0 32px; border-left: 1px solid rgba(11, 31, 51, .14); }
.dh-aval--marcas { flex-direction: column-reverse; }
.dh-aval a { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; height: 100%; color: inherit; text-decoration: none; }
.dh-aval__dato { display: flex; align-items: center; gap: 12px; min-height: 42px; }
.dh-aval__dato strong { font-size: 32px; font-weight: 800; font-stretch: 118%; line-height: 1; color: var(--dc-navy); }
.dh-aval__estrellas { font-size: 18px; letter-spacing: 3px; line-height: 1; color: transparent; background: linear-gradient(90deg, #F0A500 var(--dh-nota, 100%), #C3CDD7 var(--dh-nota, 100%)); -webkit-background-clip: text; background-clip: text; }
.dh-aval__texto { font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; color: var(--dc-mut); }
.dh-aval a:hover .dh-aval__texto, .dh-aval a:focus-visible .dh-aval__texto { color: var(--dc-azul); }
.dh-aval__logos { display: flex; align-items: center; gap: 22px; min-height: 42px; }
.dh-aval__logos img { display: block; width: 84px; height: 42px; object-fit: contain; }
.dh-aval__logos img[src*="logo-mitsubishi"] { width: 164px; height: 30px; object-fit: cover; } /* el archivo trae mucho aire arriba y abajo */

/* Quiénes somos: las dos Mitsubishi recortadas, con su sombra de contacto (el recorte no la trae) */
.dh-intro__foto { padding: 0 0 30px; }
.dh-intro__foto img { filter: drop-shadow(0 6px 6px rgba(11, 31, 51, .14)); }
.dh-intro__foto.dm-paralaje { transform: none; will-change: auto; } /* sin paralaje: las carretillas no flotan respecto al texto */

/* Cifras: solo la foto real de la flota bajo el velo */
.dh-cifras-banda.dc-band--navy { background-image: none; }

/* Servicios: dos planos en diagonal */
.dh-servicios.dc-band--light { background: linear-gradient(118deg, #F6F8FB 0, #F6F8FB 56%, #EBF0F5 56%, #EBF0F5 100%); }

/* Tienda: escaparate oscuro, con un foco arriba y la línea del suelo */
.dh-tienda-banda { background: radial-gradient(64% 52% at 50% 0, rgba(38, 122, 189, .36) 0, rgba(38, 122, 189, 0) 72%), linear-gradient(180deg, #0B1F33 0, #0B1F33 62%, #0F2841 62%, #0B2036 100%); }
.dh-tienda-banda > h2, .dh-tienda-banda > .wp-block-group__inner-container > h2 { color: var(--dc-blanco); }
.dh-tienda-banda > p, .dh-tienda-banda > .wp-block-group__inner-container > p { color: var(--dc-mut-oscuro); }
.dh-tienda-banda .dh-tienda__pie a:not(.dc-btn):not(.wp-block-button__link) { color: var(--dc-cian-claro); }

/* Por qué: un velo de cian en la esquina y tarjetas blancas */
.dh-porque { background: radial-gradient(46% 70% at 100% 0, rgba(39, 169, 225, .16) 0, rgba(39, 169, 225, 0) 70%), linear-gradient(180deg, #F3F7FA 0, #EDF2F6 100%); }

/* Reseñas: navy liso con unas comillas al fondo */
.dh-resenas-banda.dc-band--navy { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #0B1F33 0, #13314F 100%); }
.dh-resenas-banda.dc-band--navy::before { content: "\201D"; position: absolute; z-index: -1; right: max(24px, calc(50% - 620px)); top: -96px; font: 700 520px/1 Georgia, "Times New Roman", serif; color: rgba(143, 211, 242, .09); pointer-events: none; }

/* Contacto: raya diplomática que se apaga hacia el formulario */
/* Contacto sobre el taller (2026-11-26): foto del taller a sangre, en tonos medios, con velo claro a la izquierda y texto navy.
 * Más oscura que la FAQ (gris claro) y más clara que el pie navy, para que los tres bloques se separen. */
.dc-cta-band.dh-contacto {
	background:
		linear-gradient(90deg, rgba(242, 246, 249, .96) 0, rgba(242, 246, 249, .88) 34%, rgba(242, 246, 249, .35) 58%, rgba(242, 246, 249, 0) 78%),
		url("/wp-content/uploads/2026/11/dicelma-contacto-taller-cerrado-hd.webp") 85% 60% / cover no-repeat,
		#8A97A3;
	border-top: 1px solid var(--dc-borde);
}
.dc-cta-band.dh-contacto h2 { color: var(--dc-navy); }
.dc-cta-band.dh-contacto .dm-parte--izq > p { color: var(--dc-mut); }
.dc-cta-band.dh-contacto .dh-contacto__datos li { color: var(--dc-navy); border-color: rgba(11, 31, 51, .12); }
.dc-cta-band.dh-contacto .dh-contacto__datos strong { color: var(--dc-acento) !important; }
.dc-cta-band.dh-contacto .dh-contacto__datos a { color: var(--dc-navy); text-decoration-color: rgba(38, 122, 189, .45); }
.dc-cta-band.dh-contacto .dm-parte--izq .wp-block-button__link { color: var(--dc-navy); border-color: var(--dc-navy); }
.dc-cta-band.dh-contacto .dm-parte--izq .wp-block-button__link:hover { color: var(--dc-blanco); background: var(--dc-navy); }
.dc-cta-band.dh-contacto .dh-contacto__form { box-shadow: 0 30px 60px rgba(11, 31, 51, .16); }
@media (max-width: 760px) {
	.dc-cta-band.dh-contacto {
		background:
			linear-gradient(180deg, #F2F6F9 0, rgba(242, 246, 249, .95) 45%, rgba(242, 246, 249, .25) 100%),
			url("/wp-content/uploads/2026/11/dicelma-contacto-taller-cerrado-hd.webp") 85% 100% / auto 55% no-repeat,
			#F2F6F9;
	}
}

@media (max-width: 700px) {
	.dh-hero__media::after { box-shadow: none; }
	.dh-hero__aval { flex-direction: column; margin-top: 32px; }
	.dh-aval { padding: 0; }
	.dh-aval + .dh-aval { margin-top: 20px; padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(11, 31, 51, .14); }
	/* nota y marcas centradas en móvil */
	.dh-aval, .dh-aval a { align-items: center; text-align: center; }
	.dh-aval__dato, .dh-aval__logos { justify-content: center; }
	.dh-intro__foto { padding-bottom: 20px; }
	.dh-resenas-banda.dc-band--navy::before { font-size: 320px; top: -60px; right: 8px; }
}

/* ══ Home · sectores: selector con escenario (2026-11-26) ═════════════════════════════════════
 * [dicelma_home_sectores] pinta un sector por elemento: su botón (número y nombre) y su panel (texto, enlaces a las
 * familias y la máquina recortada sobre una plataforma de metal). Con home.js, en escritorio los botones quedan a la izquierda
 * bajo el título y el panel del sector activo ocupa la derecha; cambia al pasar el ratón o al pulsar (no avanza solo).
 * En tableta y móvil es un acordeón. Sin JavaScript se ven los cinco paneles, uno debajo de otro.
 * Sustituye a la lista de filas (.dh-sector), cuyas reglas quedan arriba sin uso.
 * ─────────────────────────────────────────────────────────────────────────────────────────── */
.dh-sectores__intro { position: static; }
.dh-sectores__intro .dc-lead { margin-bottom: 0; }
.dh-cuerpo .dh-sel { list-style: none; margin: 0; padding: 0; border: 0; }
.dh-sel__item { margin: 0; }
.dh-sel__titulo { margin: 0; border-top: 1px solid var(--dc-borde); font-size: inherit; }
.dh-sel__item:last-child .dh-sel__titulo { border-bottom: 1px solid var(--dc-borde); }
.dh-sel__tab { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 14px 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; letter-spacing: 0; text-align: left; text-transform: none; color: var(--dc-navy); cursor: pointer; }
.dh-sel__tab:hover, .dh-sel__tab:focus { background: none; box-shadow: none; color: var(--dc-navy); }
.dh-sel__tab:focus-visible { outline: 2px solid var(--dc-acento); outline-offset: 4px; }
.dh-sel__tab::after { content: "\2192"; font-size: 20px; line-height: 1; text-align: center; color: var(--dc-acento); opacity: 0; transform: translateX(-8px); transition: opacity var(--dh-transicion), transform var(--dh-transicion); }
.dh-sel__n { font-size: 14px; font-weight: 800; letter-spacing: .08em; line-height: 1; color: var(--dc-acento); transition: color var(--dh-transicion); }
.dh-sel__nombre { font-size: 21px; font-weight: 800; font-stretch: 112%; line-height: 1.2; hyphens: manual; -webkit-hyphens: manual; transition: color var(--dh-transicion), transform var(--dh-transicion); }
.dh-sel.is-listo .dh-sel__item:not(.is-activo) .dh-sel__tab { color: #7C8B9A; }
.dh-sel.is-listo .dh-sel__item:not(.is-activo) .dh-sel__n { color: #A9B6C3; }
.dh-sel.is-listo .is-activo .dh-sel__tab::after { opacity: 1; transform: none; }
.dh-cuerpo .dh-sectores .dh-sectores__nota { margin: 24px 0 0 !important; padding: 0; border: 0; border-radius: 0; background: none; font-size: 15px; line-height: 1.55; text-align: start; color: var(--dc-mut); }

/* El panel: escenario navy con un foco, el número en hueco y la máquina sobre una plataforma con su órbita */
.dh-sel__panel { position: relative; isolation: isolate; display: flex; flex-direction: column; margin: 4px 0 24px; padding: 32px 28px 0; border-radius: var(--dc-radio); background: radial-gradient(64% 54% at 66% 88%, rgba(39, 169, 225, .26) 0, rgba(39, 169, 225, 0) 72%), linear-gradient(160deg, #13324F 0, #0B1F33 64%); color: var(--dc-blanco); overflow: hidden; }
.dh-sel__panel::before { content: attr(data-n); position: absolute; z-index: -1; right: 22px; top: 8px; font-size: 132px; font-weight: 800; font-stretch: 118%; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(143, 211, 242, .22); }
.dh-sel__texto { flex: none; max-width: 400px; margin-bottom: 20px; }
.dh-cuerpo .dh-sel__texto p { margin: 0; text-align: start; hyphens: manual; -webkit-hyphens: manual; }
.dh-cuerpo .dh-sel__texto .dh-sel__ante { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 13px; font-weight: 800; letter-spacing: .14em; line-height: 1; color: var(--dc-cian-claro); }
.dh-sel__ante::before { content: ""; flex: none; width: 40px; height: 9px; background: repeating-linear-gradient(180deg, var(--dc-cian) 0, var(--dc-cian) 3px, transparent 3px, transparent 6px); }
.dh-cuerpo .dh-sel__texto .dh-sel__desc { font-size: 19px; line-height: 1.5; color: var(--dc-blanco); }
.dh-cuerpo .dh-sel__texto .dh-sel__rotulo { margin: 26px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; color: var(--dc-mut-oscuro); }
.dh-cuerpo .dh-sel__maquinas { list-style: none; max-width: 330px; margin: 0; padding: 0; }
.dh-sel__maquinas li { margin: 0; border-top: 1px solid rgba(143, 211, 242, .18); }
.dh-sel__maquinas li:last-child { border-bottom: 1px solid rgba(143, 211, 242, .18); }
.dh-sel__maquinas a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--dc-blanco); text-decoration: none; transition: color var(--dh-transicion); }
.dh-sel__maquinas a::after { content: "\2192"; color: var(--dc-cian-claro); transition: transform var(--dh-transicion); }
.dh-sel__maquinas a:hover, .dh-sel__maquinas a:focus-visible { color: var(--dc-cian-claro); }
.dh-sel__maquinas a:hover::after { transform: translateX(4px); }
.dh-sel__foto { position: relative; align-self: flex-end; width: min(100%, 420px); aspect-ratio: 4 / 3; margin: 16px 0 60px; }
.dh-sel__foto::before, .dh-sel__foto::after { content: ""; position: absolute; left: 50%; bottom: 0; aspect-ratio: 4.3 / 1; border-radius: 50%; pointer-events: none; }
/* Plataforma de metal: tapa de acero torneado (brillo cónico y estrías finas) y canto de 12 px con un filo cian abajo */
.dh-sel__foto::before { width: 94%; transform: translate(-50%, 50%); background: radial-gradient(closest-side, rgba(3, 10, 18, .55) 0, rgba(3, 10, 18, .28) 40%, rgba(3, 10, 18, 0) 66%), radial-gradient(60% 80% at 30% 15%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)), repeating-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .045) 0, rgba(255, 255, 255, .045) 1px, rgba(0, 0, 0, .06) 1px, rgba(0, 0, 0, .06) 2px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0) 4px), conic-gradient(from 200deg at 50% 50%, #18232f, #5b7084 8%, #1f2c3a 20%, #34475a 33%, #16202b 47%, #667d91 58%, #1f2d3c 70%, #3f5467 84%, #18232f); box-shadow: inset 0 1px 0 rgba(220, 236, 248, .3), inset 0 -2px 0 rgba(190, 218, 240, .5), 0 1px 0 #3d5063, 0 2px 0 #374a5c, 0 3px 0 #324455, 0 4px 0 #2d3e4f, 0 5px 0 #283849, 0 6px 0 #233242, 0 7px 0 #1f2d3c, 0 8px 0 #1b2835, 0 9px 0 #18232f, 0 10px 0 #151f2a, 0 11px 0 #121b25, 0 12px 0 #0f1720, 0 13px 0 rgba(143, 211, 242, .3); }
.dh-sel__foto::after { z-index: -1; width: 128%; transform: translate(-50%, calc(50% + 18px)); background: radial-gradient(closest-side, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, 0) 100%), radial-gradient(closest-side, rgba(39, 169, 225, .16), rgba(39, 169, 225, 0)); filter: blur(6px); }
.dh-sel__foto img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: no-preference) {
	.dh-sel.is-listo .dh-sel__texto { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .1, 1); }
	.dh-sel.is-listo .dh-sel__foto img { transition: opacity .5s ease .1s, transform .9s cubic-bezier(.2, .7, .1, 1) .1s; }
	.dh-sel.is-listo .dh-sel__item:not(.is-activo) .dh-sel__texto { opacity: 0; transform: translateY(12px); }
	.dh-sel.is-listo .dh-sel__item:not(.is-activo) .dh-sel__foto img { opacity: 0; transform: translateX(40px); }
}
@media (min-width: 1025px) {
	.dh-cuerpo .dh-sectores { grid-template-rows: repeat(11, auto) 1fr; } /* título, hasta nueve sectores y la nota; la última fila absorbe lo que le sobre al panel */
	.dh-sectores__intro { grid-column: 1; grid-row: 1; margin-bottom: 32px; }
	.dh-cuerpo .dh-sel { grid-column: 2; grid-row: 1 / -1; }
	.dh-cuerpo .dh-sectores .dh-sectores__nota { grid-column: 1; grid-row: 2; }
	/* Con home.js: la lista y sus elementos se disuelven en la rejilla de la sección, los botones caen en la columna izquierda y los paneles se apilan en la derecha. */
	.dh-cuerpo .dh-sel.is-listo, .dh-sel.is-listo .dh-sel__item { display: contents; }
	.dh-sel.is-listo .dh-sel__titulo { grid-column: 1; }
	.dh-sel.is-listo .dh-sel__panel { grid-column: 2; grid-row: 1 / -1; align-self: stretch; min-height: 620px; margin: 0; padding: 48px 48px 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
	.dh-sel.is-listo .is-activo .dh-sel__panel { opacity: 1; visibility: visible; transition: opacity .45s ease; }
	.dh-sel.is-listo .is-activo .dh-sel__nombre { transform: translateX(4px); }
	.dh-sel.is-listo .dh-sel__foto { flex: 1 1 0; width: 74%; min-height: 250px; max-height: 330px; aspect-ratio: auto; margin: auto 0 76px; }
	.dh-cuerpo .dh-sectores .dh-sel.is-listo ~ .dh-sectores__nota { grid-row: auto; }
	/* Los elementos de la lista no tienen caja aquí, así que la entrada de movimiento.js no les llega: botones y panel aparecen con el resto del bloque. */
	.dm-js .dh-sectores.dm-entra:not(.dm-visto) .dh-sel.is-listo :is(.dh-sel__titulo, .dh-sel__panel) { opacity: 0; }
	.dm-js .dh-sectores.dm-entra .dh-sel.is-listo .dh-sel__titulo { transition: opacity .9s ease .15s; }
}
@media (max-width: 1024px) {
	.dh-sel__tab::before { display: none; }
	.dh-sel.is-listo .dh-sel__item:not(.is-activo) .dh-sel__panel { display: none; }
	.dh-sel.is-listo .dh-sel__tab::after { content: "+"; font-size: 24px; font-weight: 400; color: #A9B6C3; opacity: 1; transform: none; }
	.dh-sel.is-listo .is-activo .dh-sel__tab::after { content: "\2212"; color: var(--dc-acento); }
}
@media (min-width: 701px) and (max-width: 1024px) {
	.dh-sel__panel { flex-direction: row; align-items: flex-end; gap: 24px; padding: 40px 40px 0; }
	.dh-sel__texto { flex: 1 1 0; align-self: flex-start; margin-bottom: 40px; }
	.dh-sel__foto { flex: 0 0 46%; width: auto; margin: 0 0 64px; }
}
@media (max-width: 700px) {
	.dh-sel__tab { grid-template-columns: 32px minmax(0, 1fr) 24px; min-height: 60px; }
	.dh-sel__nombre { font-size: 19px; }
	.dh-sel__panel::before { font-size: 104px; }
	.dh-cuerpo .dh-sel__texto .dh-sel__desc { font-size: 17px; }
}

/* ══ Home · Dónde trabajamos: dos escalas (2026-11-26) ═══════════════════════════════════════
 * A la izquierda, Castilla y León con las provincias de servicio ([dicelma_home_zonas]); a la derecha, Google Maps
 * a sangre hasta el borde, cargado con la página y sin ficha propia ([dicelma_home_mapa ficha="no"]).
 * Sustituye a la tabla .dh-cobertura, cuyas reglas quedan arriba sin uso.
 * ─────────────────────────────────────────────────────────────────────────────────────────── */
.dh-cuerpo .dh-zonas { position: relative; isolation: isolate; overflow: hidden; }
.dh-cob-bloque { margin-top: 8px; }
.dh-cob { display: block; width: 100%; max-width: 440px; height: auto; }
.dh-cob__p { fill: #E6ECF2; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transition: fill .25s ease; }
.dh-cob__p--3 { fill: #267ABD; }
.dh-cob__p--2 { fill: #76B4E2; }
.dh-cob__p--1 { fill: #BCDCF2; }
.dh-cob__p.is-activa { cursor: pointer; }
.dh-cob__p.is-foco { fill: var(--dc-navy); }
.dh-cob__nombres text { font-family: inherit; font-size: 11px; letter-spacing: .04em; text-anchor: middle; fill: #9AA8B6; pointer-events: none; }
.dh-cob__nombres text.is-on { font-size: 13px; font-weight: 800; fill: var(--dc-navy); }
.dh-cob__nombres text.is-n3, .dh-cob__nombres text.is-foco { fill: #fff; }
.dh-cob__punto { fill: var(--dc-navy); stroke: #fff; stroke-width: 2.5; }
.dh-cob__onda { fill: rgba(255, 255, 255, .55); transform-box: fill-box; transform-origin: center; }
@keyframes dh-cob-onda { 0% { transform: scale(.35); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .dh-cob__onda { animation: dh-cob-onda 2.4s cubic-bezier(.2, .7, .1, 1) infinite; } }
.dh-cuerpo .dh-cob__rotulo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 0; padding: 12px 0; border-top: 1px solid var(--dc-navy); border-bottom: 1px solid var(--dc-borde); font-size: 15px; line-height: 1.45; text-align: start; color: var(--dc-mut); }
.dh-cob__rotulo strong { font-size: 17px; font-weight: 800; color: var(--dc-navy); }
.dh-cuerpo .dh-cob__leyenda { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; font-size: 12.5px; line-height: 1.3; color: var(--dc-mut); }
.dh-cob__leyenda li { display: flex; align-items: center; gap: 7px; margin: 0; }
.dh-cob__muestra { flex: none; width: 12px; height: 12px; border-radius: 2px; }
.dh-cob__muestra--3 { background: #267ABD; }
.dh-cob__muestra--2 { background: #76B4E2; }
.dh-cob__muestra--1 { background: #BCDCF2; }
.dh-cuerpo .dh-cob__peninsula { margin: 12px 0 0; font-size: 15px; line-height: 1.5; text-align: start; color: var(--dc-navy); }
.dh-zonas .dh-mapa { min-height: 0; border-radius: 0; box-shadow: none; background: #E8EDF2; }
.dh-zonas .dh-mapa__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 1025px) {
	.dh-cuerpo .dh-zonas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; align-items: start; }
	.dh-cuerpo .dh-zonas .dh-zonas__texto { grid-column: 1; max-width: 520px; padding-right: 56px; }
	.dh-cuerpo .dh-zonas .dh-mapa { position: absolute; top: 0; bottom: 0; left: 50%; right: 0; max-width: none !important; margin: 0 !important; }
}
@media (max-width: 1024px) {
	.dh-cuerpo .dh-zonas { padding-bottom: 0; }
	.dh-cuerpo .dh-zonas .dh-mapa { position: relative; height: 380px; max-width: none !important; margin: 40px calc(-1 * var(--dh-lado)) 0 !important; }
}
@media (max-width: 700px) {
	.dh-cuerpo .dh-zonas .dh-mapa { height: 320px; }
}

/* ══ Home · cinta de marcas sin cajas (2026-11-26) ═══════════════════════════════════════════
 * Logos sueltos en gris, sin fondo blanco y recortados a su contenido (DICELMA_HOME_MARCAS_CINTA), todos con la misma
 * superficie (--dh-marca-alto lo calcula dicelma_home_sc_marcas). Al pasar, toman su color y la cinta se para.
 * El hueco va dentro de cada elemento, no entre ellos, para que el bucle no dé saltos.
 * ─────────────────────────────────────────────────────────────────────────────────────────── */
.dh-marcas-banda > h2, .dh-marcas-banda > .wp-block-group__inner-container > h2 { text-align: center; }
.dh-marcas-cinta { --dh-marca-hueco: 0px; margin-top: 44px; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.dh-marcas { gap: 0; animation-duration: 34s; }
.dh-marcas li { display: flex; align-items: center; width: auto; height: 84px; padding: 0 clamp(40px, 4.4vw, 66px); }
.dh-marcas a { display: flex; align-items: center; justify-content: center; height: auto; padding: 4px; border: 0; border-radius: 2px; background: none; box-shadow: none; }
.dh-marcas a:hover, .dh-marcas a:focus-visible { border: 0; box-shadow: none; transform: none; }
.dh-marcas a:focus-visible { outline: 2px solid var(--dc-acento); outline-offset: 6px; }
.dh-marcas img { display: block; width: auto; height: var(--dh-marca-alto, 48px); max-width: none; max-height: none; filter: brightness(0); opacity: .45; transition: filter .35s ease, opacity .35s ease; }
.dh-marcas a:hover img, .dh-marcas a:focus-visible img { filter: none; opacity: 1; }
.dh-marcas span { font-size: 18px; font-weight: 800; color: var(--dc-mut); }
@media (max-width: 700px) {
	.dh-marcas-cinta { margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
	.dh-marcas li { height: 68px; padding: 0 28px; }
	.dh-marcas a { height: auto; padding: 4px; }
	.dh-marcas img { height: calc(var(--dh-marca-alto, 40px) * .8); }
}
@media (prefers-reduced-motion: reduce) {
	.dh-marcas { row-gap: 12px; }
}


/* ══ Home · Por qué elegir DICELMA: foto a sangre (2026-11-27) ═══════════════════════════════════
 * La nave real a la izquierda, de borde a borde y a toda la altura de la banda, con el sello «Desde 1982»; a la
 * derecha el título y seis razones cortas numeradas, sin cajas. Sustituye a las seis tarjetas con icono (.dh-icono).
 * La foto y el sello se colocan respecto a la banda; su ancho sale de la rejilla 4fr / 7fr con 72 px de separación.
 * ─────────────────────────────────────────────────────────────────────────────────────────── */
.dh-cuerpo .dc-band.dh-porque { position: relative; overflow: hidden; }
.dh-cuerpo .dh-porque__cuerpo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 72px; transform: none !important; }
.dh-cuerpo .dh-porque__cuerpo > .wp-block-group__inner-container { display: contents; } /* el grupo clásico trae contenedor interior */
.dh-cuerpo .dh-porque__texto { grid-column: 2; }
.dh-cuerpo .dh-porque__foto { position: absolute; z-index: 0; left: 0; top: 0; bottom: 0; width: calc((100% - min(var(--dc-ancho), 100% - 2 * var(--dc-gutter))) / 2 + (min(var(--dc-ancho), 100% - 2 * var(--dc-gutter)) - 72px) * 4 / 11); max-width: none; margin: 0 !important; overflow: hidden; }
.dh-porque__foto img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 35% 50%; filter: saturate(.85) contrast(1.02); }
.dh-porque__foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 51, 0) 55%, rgba(11, 31, 51, .28)); }
.dh-cuerpo p.dh-porque__sello { position: absolute; z-index: 2; left: calc(calc((100% - min(var(--dc-ancho), 100% - 2 * var(--dc-gutter))) / 2 + (min(var(--dc-ancho), 100% - 2 * var(--dc-gutter)) - 72px) * 4 / 11) - 75px); bottom: 56px; display: grid; place-content: center; width: 150px; height: 150px; max-width: none; margin: 0 !important; border-radius: 50%; background: var(--dc-navy); box-shadow: 0 0 0 6px var(--dc-blanco), 0 20px 40px rgba(11, 31, 51, .3); text-align: center; font-size: 40px; font-weight: 800; font-stretch: 118%; line-height: 1; color: var(--dc-blanco); }
.dh-porque__sello small { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800; font-stretch: 100%; letter-spacing: .16em; text-transform: uppercase; color: var(--dc-cian-claro); }
.dh-cuerpo .dh-porque__texto h2 { margin: 0 0 28px; }
.dh-cuerpo .dh-porque__lista { list-style: none; counter-reset: dhpq; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; max-width: none; margin: 0 !important; padding: 0; }
.dh-porque__lista li { counter-increment: dhpq; position: relative; margin: 0; padding: 24px 0 24px 72px; border-top: 1px solid var(--dc-borde); font-size: 15px; line-height: 1.5; text-align: start; color: var(--dc-mut); }
.dh-porque__lista li::before { content: counter(dhpq, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 40px; font-weight: 800; font-stretch: 118%; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--dc-acento); }
.dh-porque__lista li strong { display: block; margin-bottom: 4px; font-size: 18px; line-height: 1.3; color: var(--dc-navy); }
.dh-porque__estrellas { margin: 0 2px; font-size: 14px; letter-spacing: 2px; vertical-align: 2px; color: #F0A500; }
.dh-porque__lista a { font-weight: 700; color: var(--dc-acento); }
.dh-cuerpo .dh-porque__lista li { text-align: start; hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 1024px) {
	.dh-cuerpo .dh-porque__lista { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.dh-cuerpo .dh-porque__cuerpo { display: block; }
	.dh-cuerpo .dh-porque__foto { position: relative; width: auto; height: auto; aspect-ratio: 4 / 3; margin: calc(-1 * var(--dc-sec)) calc(-1 * var(--dc-gutter)) 0 !important; }
	.dh-cuerpo p.dh-porque__sello { position: relative; left: auto; bottom: auto; width: 112px; height: 112px; margin: -60px 0 20px auto !important; font-size: 30px; }
	.dh-porque__sello small { font-size: 10px; }
	.dh-porque__lista li { padding: 18px 0 18px 58px; }
	.dh-porque__lista li::before { top: 17px; font-size: 32px; }
	.dh-porque__lista li strong { font-size: 17px; }
}


/* ══ Páginas interiores con el estilo de la home (2026-11-27) ══════════════════════════════════════
 * functions.php pone «dh dh-cuerpo dh-interior» en el body de las páginas que empiezan por un dc-hero, oculta el título
 * de Kadence, mete las migas, el H1 y los avales en la cabecera (.dc-hero--home) y cambia la banda final por el
 * contacto de la home. Aquí: la cabecera en dos mitades, las bandas oscuras como la de la tienda, las listas con número
 * o marca, las bandas de texto e imagen con la foto a sangre y sin las rayas de la dirección anterior.
 * ─────────────────────────────────────────────────────────────────────────────────── */

/* Cabecera: la foto a la izquierda, a sangre; a la derecha, sobre gris, migas, H1, texto, botones y avales */
.dh-interior .entry-content > .dc-hero.dc-hero--home { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: clamp(560px, calc(100vh - 84px), 760px); margin-top: 0; padding: 0 !important; overflow: hidden; background: #E9ECEF; color: var(--dc-navy); }
.dh-interior .dc-hero--home::before, .dh-interior .dc-hero--home::after { display: none; }
.dh-interior .dc-hero--home .wp-block-columns { display: contents !important; }
.dh-interior .dc-hero--home .wp-block-column:first-child { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; max-width: 820px; margin: 0 !important; padding: 56px var(--dc-gutter) 56px clamp(40px, 5vw, 80px); }
.dh-interior .dc-hero--home .wp-block-column:last-child { grid-column: 1; grid-row: 1; position: relative; min-height: 100%; margin: 0 !important; overflow: hidden; }
.dh-interior .dc-hero--home .wp-block-column:last-child > .wp-block-image { position: absolute; inset: 0; margin: 0 !important; }
.dh-interior .dc-hero--home .wp-block-column:last-child > .wp-block-image::before, .dh-interior .dc-hero--home .wp-block-column:last-child > .wp-block-image::after { display: none; }
.dh-interior .dc-hero--home .wp-block-column:last-child img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; box-shadow: none; transform: none; }
.dh-interior .dc-hero--home .wp-block-column:last-child figcaption { display: none; }
/* Encuadre de las fotos anchas de cabecera: la máquina está a la derecha del archivo */
.dh-interior .dc-hero--home img[src*="hero-transpaletas-nave-azul"] { object-position: 93% 55%; }
.dh-interior .dc-hero--home img[src*="compra-online-transpaleta-apilador"] { object-position: 50% 62%; }
.dh-interior .dc-migas { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--dc-mut); }
.dh-interior .dc-migas a { color: var(--dc-acento); text-decoration: none; }
.dh-interior .dc-hero--home .dc-hero__titulo { margin: 0 0 20px; max-width: 14em; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.05; color: var(--dc-navy); }
.dh-interior .dc-hero--home p { max-width: 40em; margin: 0 0 10px; font-size: 16px; line-height: 1.6; text-align: start; hyphens: manual; -webkit-hyphens: manual; color: var(--dc-mut); }
.dh-interior .dc-hero--home p:first-of-type { font-size: 18px; color: var(--dc-navy); }
.dh-interior .dc-hero--home .wp-block-buttons { margin-top: 20px; gap: 12px; }
.dh-interior .dc-hero--home .dc-btn--borde .wp-block-button__link { border-color: var(--dc-navy); color: var(--dc-navy); }
.dh-interior .dc-hero--home .dc-btn--borde .wp-block-button__link:hover { background: var(--dc-navy); color: var(--dc-blanco); }
.dh-interior .dc-hero--home .dc-hechos { grid-template-columns: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; border: 0; }
.dh-interior .dc-hero--home .dc-hechos li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; font-size: 14px; font-weight: 700; color: var(--dc-navy) !important; }
.dh-interior .dc-hero--home .dc-hechos li::before { content: ""; position: static; -webkit-mask: none; mask: none; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--dc-acento) url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2012%2012'%3E%3Cpath%20d%3D'M2.6%206.3l2.2%202.2%204.6-4.9'%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%2F%3E%3C%2Fsvg%3E") center / 12px no-repeat; }
.dh-interior .dc-hero--home :is(strong, b, h2, h3) { color: var(--dc-navy) !important; }
.dh-interior .dc-hero--home p a:not(.wp-block-button__link) { color: var(--dc-acento) !important; }
.dh-interior .dc-hero--home .dh-hero__aval { margin-top: 28px; padding-top: 20px; }

/* Las bandas de la dirección anterior pasan a la paleta de la home: suelo → gris claro liso; azul → oscura como la tienda */
.dh-interior .entry-content > .dc-band--suelo { background: #F2F6F9 !important; }
.dh-interior .entry-content > .dc-band--azul { background-image: none; }
/* Bandas oscuras como la de la tienda de la home: luz arriba y un suelo algo más claro; sin texturas ni rayas */
.dh-interior .entry-content > :is(.dc-band--navy, .dc-band--azul) { background: radial-gradient(64% 52% at 50% 0, rgba(38, 122, 189, .36) 0, rgba(38, 122, 189, 0) 72%), linear-gradient(180deg, #0B1F33 0, #0F2841 100%) !important; }
.dh-interior .entry-content > :is(.dc-band--navy, .dc-band--azul)::before, .dh-interior .entry-content > :is(.dc-band--navy, .dc-band--azul)::after { display: none; }
.dh-interior .entry-content .dc-rayas { display: none; }
.dh-interior .dc-band--navy h2 { margin-bottom: 40px; }

/* Tarjetas: las fotos llenan el hueco; las de producto (fondo blanco de catálogo) se ven enteras sobre gris claro */
.dh-interior .dc-card .wp-block-image:first-child img { object-fit: cover; }
.dh-interior .dc-card .wp-block-image:first-child:has(img[src*="/ep-"], img[src*="/hc-"], img[src*="/hu-lift"], img[src*="mitsubishi-grendia"]) { background: #F2F6F9; }
.dh-interior .dc-card .wp-block-image:first-child img[src*="/ep-"],
.dh-interior .dc-card .wp-block-image:first-child img[src*="/hc-"],
.dh-interior .dc-card .wp-block-image:first-child img[src*="/hu-lift"],
.dh-interior .dc-card .wp-block-image:first-child img[src*="mitsubishi-grendia"] { object-fit: contain; padding: 14px; mix-blend-mode: multiply; }

/* Texto de la cabecera y de las listas sin justificar ni partir palabras */
.dh-interior .dc-hero--home :is(p, li), .dh-interior .dc-band li { text-align: start; hyphens: manual; -webkit-hyphens: manual; }

/* Listas sueltas de las bandas: con marca (sin orden) o con número en hueco (con orden), como «Por qué elegir» */
.dh-interior .dc-band:not(.dc-band--navy) > .wp-block-group__inner-container > ul.wp-block-list:not([class*="dc-"]),
.dh-interior .dc-band:not(.dc-band--navy) .wp-block-column > ul.wp-block-list:not([class*="dc-"]) { list-style: none; margin-top: 24px !important; margin-bottom: 24px !important; padding: 0; }
.dh-interior .dc-band:not(.dc-band--navy) > .wp-block-group__inner-container > ul.wp-block-list:not([class*="dc-"]) > li,
.dh-interior .dc-band:not(.dc-band--navy) .wp-block-column > ul.wp-block-list:not([class*="dc-"]) > li { position: relative; margin: 0; padding: 12px 0 12px 34px; border-top: 1px solid var(--dc-borde); line-height: 1.55; text-align: start; }
.dh-interior .dc-band:not(.dc-band--navy) > .wp-block-group__inner-container > ul.wp-block-list:not([class*="dc-"]) > li::before,
.dh-interior .dc-band:not(.dc-band--navy) .wp-block-column > ul.wp-block-list:not([class*="dc-"]) > li::before { content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--dc-acento) url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2012%2012'%3E%3Cpath%20d%3D'M2.6%206.3l2.2%202.2%204.6-4.9'%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%2F%3E%3C%2Fsvg%3E") center / 12px no-repeat; }
.dh-interior .dc-band:not(.dc-band--navy) > .wp-block-group__inner-container > ol.wp-block-list:not([class*="dc-"]) { list-style: none; counter-reset: dhol; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; margin-top: 28px !important; margin-bottom: 28px !important; padding: 0; }
.dh-interior .dc-band:not(.dc-band--navy) > .wp-block-group__inner-container > ol.wp-block-list:not([class*="dc-"]) > li { counter-increment: dhol; position: relative; margin: 0; padding: 20px 0 20px 64px; border-top: 1px solid var(--dc-borde); line-height: 1.5; text-align: start; }
.dh-interior .dc-band:not(.dc-band--navy) > .wp-block-group__inner-container > ol.wp-block-list:not([class*="dc-"]) > li::before { content: counter(dhol, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-size: 36px; font-weight: 800; font-stretch: 118%; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--dc-acento); }

/* Bandas de texto e imagen: la foto sale a sangre por la derecha y ocupa toda la altura de la banda */
.dh-interior .entry-content > .dc-band:has(.wp-block-column:last-child > .dc-media-rayas:only-child) { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 560px; overflow: hidden; }
.dh-interior .entry-content > .dc-band:has(.wp-block-column:last-child > .dc-media-rayas:only-child) > .wp-block-group__inner-container > * { width: 100%; max-width: calc(min(var(--dc-ancho), 100%) * .56) !important; margin-left: calc((100% - min(var(--dc-ancho), 100%)) / 2) !important; margin-right: 0 !important; }
.dh-interior .entry-content > .dc-band:has(.wp-block-column:last-child > .dc-media-rayas:only-child) .wp-block-columns { display: block; }
.dh-interior .entry-content > .dc-band:has(.wp-block-column:last-child > .dc-media-rayas:only-child) .wp-block-column:last-child { display: contents; }
.dh-interior .entry-content > .dc-band .wp-block-column:last-child > .dc-media-rayas:only-child { position: absolute; top: 0; right: 0; bottom: 0; width: calc((100% - min(var(--dc-ancho), 100% - 2 * var(--dc-gutter))) / 2 + min(var(--dc-ancho), 100% - 2 * var(--dc-gutter)) * .4); margin: 0 !important; }
.dh-interior .entry-content > .dc-band .wp-block-column:last-child > .dc-media-rayas:only-child::before, .dh-interior .entry-content > .dc-band .wp-block-column:last-child > .dc-media-rayas:only-child::after { display: none; }
.dh-interior .entry-content > .dc-band .wp-block-column:last-child > .dc-media-rayas:only-child img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; box-shadow: none; filter: saturate(.85) contrast(1.02); }

/* «También te puede interesar»: una sola fila de enlaces */
.dh-interior .entry-content > .dc-band--tight:has(.dc-flecha) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 36px; padding-bottom: 36px; padding-left: max(var(--dc-gutter), calc((100% - var(--dc-ancho)) / 2)) !important; padding-right: max(var(--dc-gutter), calc((100% - var(--dc-ancho)) / 2)) !important; }
.dh-interior .entry-content > .dc-band--tight:has(.dc-flecha) > .wp-block-group__inner-container > * { max-width: none; margin: 0 !important; }
.dh-interior .entry-content > .dc-band--tight:has(.dc-flecha) > .wp-block-group__inner-container > p:not(.dc-flecha) { flex-basis: 100%; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dc-mut); }

/* Formularios dentro de una banda (Contacto): en tarjeta blanca con el filo azul, como el contacto de la home */
.dh-interior .entry-content > .dc-band:not(.dh-contacto) .wp-block-column:has(.fluentform) { padding: 36px 40px 28px; border-top: 4px solid var(--dc-acento); border-radius: var(--dc-radio); background: var(--dc-blanco); box-shadow: 0 30px 60px rgba(11, 31, 51, .12); }
.dh-interior .entry-content > .dc-band:has(.fluentform):not(.dh-contacto) { background: #F2F6F9; }

/* Contacto final: enlaces del texto en el azul de la marca (el fondo es claro) */
.dc-cta-band.dh-contacto p a:not(.wp-block-button__link) { color: var(--dc-acento) !important; }

@media (max-width: 760px) {
	.dh-interior .entry-content > .dc-hero.dc-hero--home { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.dh-interior .dc-hero--home .wp-block-column:last-child { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; min-height: 0; }
	.dh-interior .dc-hero--home .wp-block-column:first-child { grid-column: 1; grid-row: 2; padding: 32px var(--dc-gutter) 48px; }
	.dh-interior .dc-hero--home p:first-of-type { font-size: 17px; }
	.dh-interior .dc-hero--home .wp-block-buttons > * { flex: 1 1 100%; }
	.dh-interior .entry-content > .dc-band:has(.wp-block-column:last-child > .dc-media-rayas:only-child) { display: block; min-height: 0; padding-bottom: 0; }
	.dh-interior .entry-content > .dc-band:has(.wp-block-column:last-child > .dc-media-rayas:only-child) > .wp-block-group__inner-container > * { max-width: none !important; margin-left: 0 !important; }
	.dh-interior .entry-content > .dc-band .wp-block-column:last-child > .dc-media-rayas:only-child { position: relative; width: auto; aspect-ratio: 4 / 3; margin: 28px calc(-1 * var(--dc-gutter)) 0 !important; }
}
