/* =========================================================
   Venta de Plantas de Luz — Homepage (Rediseño 2026)
   Se carga solo en la portada (is_front_page).
   Usa tokens de style.css (:root).
   ========================================================= */

/* Ocultar título de página (refuerzo; ya se quita con generate_show_title) */
.page-id-543 .entry-header { display: none; }
.page-id-543 .entry-content { margin-top: 0; }

/* Secciones full-bleed: las maneja .alignfull de GeneratePress
   (width:auto + márgenes negativos). NO sobreescribir width aquí. */

/* =========================================================
   CONTENEDOR REUTILIZABLE
   ========================================================= */
.vpl-hero  > .wp-block-group__inner-container,
.vpl-trust > .wp-block-group__inner-container,
.vpl-section > .wp-block-group__inner-container,
.vpl-trans > .wp-block-group__inner-container {
	width: min(100% - 32px, 1180px);
	max-width: none;
	margin-inline: auto;
}

.vpl-hero, .vpl-trust, .vpl-section, .vpl-trans {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.vpl-section { padding-top: 58px !important; padding-bottom: 58px !important; }
.vpl-hero   { padding-top: 38px !important; padding-bottom: 40px !important; }
.vpl-trust  { padding-top: 12px !important; padding-bottom: 14px !important; }
.vpl-trans  { padding-top: 60px !important; padding-bottom: 66px !important; }

/* Legibilidad: nunca partir palabras letra por letra */
.vpl-card, .vpl-card *, .vpl-trust-item, .vpl-trans-box, .vpl-trans-box *,
.vpl-tcard, .vpl-tcard *, .vpl-prod, .vpl-prod *, .vpl-article, .vpl-article * {
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

/* =========================================================
   GRID RESPONSIVE DE TARJETAS
   ========================================================= */
.entry-content .vpl-cards {
	display: grid !important;
	gap: 22px;
	width: 100%;
	max-width: none !important;
	margin-top: 10px;
}
.entry-content .vpl-cards--4 { grid-template-columns: repeat(4, 1fr); }
.entry-content .vpl-cards--3 { grid-template-columns: repeat(3, 1fr); }
/* fallback para .vpl-cards sin modificador */
.entry-content .vpl-cards:not(.vpl-cards--3):not(.vpl-cards--4) {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.entry-content .vpl-cards > .wp-block-column {
	width: auto !important;
	flex-basis: auto !important;
	min-width: 0;
	margin: 0 !important;
}

/* ===== HERO (2 columnas: texto + media) ===== */
.vpl-hero {
	position: relative;
	/* Altura equilibrada: fuerte pero sin ocupar toda la pantalla,
	   para que se asome la franja informativa de abajo. */
	min-height: clamp(430px, 62vh, 560px);
	display: flex;
	align-items: center;
	background:
		radial-gradient(#ffffff10 1px, transparent 1px),
		radial-gradient(120% 120% at 85% -10%, var(--navy-700) 0%, var(--navy-900) 55%);
	background-size: 26px 26px, auto;
	color: #fff;
	overflow: hidden;
}
.vpl-hero-cols { gap: 48px !important; align-items: center; margin: 0 !important; }
.vpl-hero-media { position: relative; }

.vpl-hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: #ffffff14; border: 1px solid #ffffff22;
	color: #cfe0ff; font-size: 13px; font-weight: 600;
	padding: 7px 14px; border-radius: 99px;
	margin: 0 0 16px !important; width: fit-content;
}
.vpl-hero-title {
	font-family: 'Sora', sans-serif; font-weight: 800;
	letter-spacing: -0.02em;
	font-size: clamp(32px, 4.2vw, 44px); line-height: 1.08;
	margin: 0 0 12px; color: #fff;
}
.vpl-hero-title .vpl-hl { color: var(--amber-300); }
.vpl-hero-sub {
	font-size: clamp(16px, 2vw, 18px); color: #b9c5da;
	max-width: 52ch; margin: 0 0 18px; line-height: 1.5;
}
.vpl-hero-cta { justify-content: flex-start; gap: 14px; }

.vpl-hero-stats {
	gap: 28px !important; margin-top: 16px !important;
	padding-top: 14px; border-top: 1px solid #ffffff1f;
}
.vpl-stat { display: flex; flex-direction: column; margin: 0 !important; }
.vpl-stat strong {
	font-family: 'Sora', sans-serif; font-weight: 800;
	font-size: 22px; color: #fff; line-height: 1.1;
}
.vpl-stat span { font-size: 12.5px; color: #9daac2; margin-top: 2px; }

.vpl-hero-ph {
	aspect-ratio: 4 / 3; border-radius: 20px;
	max-height: 400px;
	border: 1px solid #ffffff26; background-color: #0e2340;
	background-image: repeating-linear-gradient(45deg, #ffffff0e 0 10px, #ffffff06 10px 20px);
	display: grid; place-items: center; padding: 20px;
	box-shadow: 0 30px 60px -30px #000;
}
.vpl-hero-ph-label {
	font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
	color: #5a6b82; background: #fff; padding: 7px 12px;
	border-radius: 7px; margin: 0 !important; text-align: center; max-width: 80%;
}
.vpl-hero-float {
	position: absolute; bottom: -18px; left: -18px;
	background: #fff; color: var(--navy-900); border-radius: 14px;
	padding: 13px 16px !important; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
	align-items: center; gap: 11px !important; flex-wrap: nowrap !important;
}
.vpl-hero-float-ico {
	width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px;
	background: var(--blue-50); display: grid; place-items: center;
	font-size: 20px; margin: 0 !important;
}
.vpl-hero-float-txt { margin: 0 !important; line-height: 1.2; }
.vpl-hero-float-txt strong { display: block; font-weight: 800; font-size: 14px; }
.vpl-hero-float-txt span { font-size: 12px; color: #6b7a92; }

/* ===== Botones ===== */
.wp-block-button.vpl-btn-primary .wp-block-button__link {
	background: var(--amber-500); color: var(--navy-900); font-weight: 700;
	border-radius: 12px; padding: 15px 28px; font-size: 16px;
	box-shadow: 0 10px 24px -10px rgba(245,166,35,.7);
	transition: background .18s ease, transform .18s ease;
}
.wp-block-button.vpl-btn-primary .wp-block-button__link:hover { background: var(--amber-300); transform: translateY(-1px); }
.wp-block-button.vpl-btn-ghost .wp-block-button__link {
	background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45);
	border-radius: 12px; padding: 13.5px 26px; font-size: 16px;
}
.wp-block-button.vpl-btn-ghost .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ===== Eyebrow (kicker sobre el título) ===== */
.vpl-eyebrow {
	text-align: center;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--blue-600);
	margin: 0 auto 10px !important;
}
.vpl-eyebrow--light { color: var(--amber-300); text-align: left; }

/* ===== Títulos de sección ===== */
.vpl-section-title {
	font-family: 'Sora', sans-serif; font-weight: 700;
	letter-spacing: -0.02em; font-size: clamp(24px, 3.2vw, 34px);
	text-align: center; color: var(--ink); margin: 0 auto 8px;
}
.vpl-section-intro {
	text-align: center; color: var(--muted); max-width: 640px;
	margin: 0 auto 36px; font-size: 16px; line-height: 1.6;
}

/* ===== Sección oscura ===== */
.vpl-section--dark {
	position: relative;
	background:
		radial-gradient(#ffffff0d 1px, transparent 1px),
		linear-gradient(180deg, var(--navy-900) 0%, #0c2038 100%);
	background-size: 24px 24px, auto;
	color: #fff;
}
.vpl-section--dark .vpl-section-title { color: #fff; }
.vpl-section--dark .vpl-section-intro { color: #a9b7cd; }
.vpl-section--dark .vpl-eyebrow { color: var(--amber-300); }

/* ===== Sección clara alterna ===== */
.vpl-section--soft { background: var(--bg-soft); }

/* ===== Tarjetas base (use-case, guías simples) ===== */
.vpl-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--border); border-radius: 16px;
	padding: 24px 22px !important; height: 100%;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.vpl-card:hover {
	box-shadow: 0 16px 34px rgba(10,26,47,0.12);
	transform: translateY(-4px); border-color: #cfdaea;
}
.vpl-card-ico {
	font-size: 24px; width: 50px; height: 50px;
	display: flex; align-items: center; justify-content: center;
	background: var(--blue-50); border-radius: 12px; margin: 0 0 14px !important;
}
.vpl-card h3 { font-family: 'Sora', sans-serif; font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.vpl-card h3 a { color: var(--ink); text-decoration: none; }
.vpl-card h3 a:hover { color: var(--blue-600); }
.vpl-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

.vpl-card-cta {
	margin: 16px 0 0 !important; font-family: 'Sora', sans-serif;
	font-weight: 600; font-size: 14px; color: var(--blue-600);
	display: inline-flex; align-items: center; gap: 6px;
}
.vpl-card-cta::after { content: "→"; transition: transform .18s ease; }
.vpl-card:hover .vpl-card-cta::after { transform: translateX(4px); }
.vpl-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ===== Tarjetas de tecnología (sección oscura) ===== */
.vpl-tcard {
	position: relative; display: flex; flex-direction: column;
	background: #ffffff0a; border: 1px solid #ffffff1f; border-radius: 16px;
	padding: 0 0 22px !important; height: 100%; overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease, background .18s ease;
}
.vpl-tcard:hover {
	transform: translateY(-4px); border-color: var(--amber-300);
	background: #ffffff12; box-shadow: 0 20px 40px -20px #000;
}
.vpl-tcard-ph {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	aspect-ratio: 16 / 7; margin: 0 0 16px !important;
	background-color: #0e2340;
	background-image: repeating-linear-gradient(45deg, #ffffff10 0 10px, #ffffff05 10px 20px);
	color: #8aa0c0; font-size: 26px; border-bottom: 1px solid #ffffff14;
}
.vpl-tcard-ph span { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .04em; }
.vpl-tcard h3 { font-family: 'Sora', sans-serif; font-size: 18px; margin: 0 22px 8px; line-height: 1.3; }
.vpl-tcard h3 a { color: #fff; text-decoration: none; }
.vpl-tcard h3 a:hover { color: var(--amber-300); }
.vpl-tcard p { color: #a9b7cd; font-size: 14.5px; line-height: 1.6; margin: 0 22px; }
.vpl-tcard-cta {
	margin: 14px 22px 0 !important; font-family: 'Sora', sans-serif;
	font-weight: 600; font-size: 14px; color: var(--amber-300);
	display: inline-flex; align-items: center; gap: 6px;
}
.vpl-tcard-cta::after { content: "→"; transition: transform .18s ease; }
.vpl-tcard:hover .vpl-tcard-cta::after { transform: translateX(4px); }
.vpl-tcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ===== Product cards (Recomendaciones destacadas) ===== */
.vpl-prod {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--border); border-radius: 16px;
	padding: 18px !important; height: 100%;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.vpl-prod:hover {
	box-shadow: 0 18px 38px rgba(10,26,47,0.14);
	transform: translateY(-4px); border-color: #f0d49a;
}
.vpl-prod-badge {
	align-self: flex-start; background: var(--amber-500); color: var(--navy-900);
	font-family: 'Sora', sans-serif; font-weight: 700; font-size: 11.5px;
	letter-spacing: 0.02em; text-transform: uppercase;
	padding: 5px 12px; border-radius: 999px; margin: 0 0 12px !important;
}
.vpl-prod-thumb {
	display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
	aspect-ratio: 16 / 9; background: var(--bg-soft);
	border: 1px dashed #c9d3e2; border-radius: 12px;
	color: #97a6bd; font-size: 30px; margin: 0 0 14px !important;
}
.vpl-prod-thumb span { font-size: 11.5px; font-family: 'Figtree', sans-serif; }
.vpl-prod-title { font-family: 'Sora', sans-serif; font-size: 16.5px; margin: 0 0 6px; color: var(--ink); line-height: 1.3; }
.vpl-prod-use {
	display: inline-block; align-self: flex-start;
	font-size: 12px; font-weight: 600; color: var(--blue-600);
	background: var(--blue-50); border-radius: 6px;
	padding: 3px 10px; margin: 0 0 12px !important; letter-spacing: .01em;
}
.vpl-prod-list { list-style: none; margin: 0 0 14px !important; padding: 0; }
.vpl-prod-list li {
	position: relative; padding-left: 22px; color: #40506a;
	font-size: 13.5px; line-height: 1.5; margin: 0 0 6px;
}
.vpl-prod-list li::before {
	content: "✓"; position: absolute; left: 0; top: 0;
	color: var(--blue-600); font-weight: 700;
}
.vpl-prod-price {
	font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px;
	color: var(--ink); margin: auto 0 12px !important;
}
.vpl-prod-price span { font-family: 'Figtree', sans-serif; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.vpl-prod-actions { margin: 0 0 8px; }
.wp-block-button.vpl-btn-buy .wp-block-button__link {
	background: var(--navy-900); color: #fff; font-weight: 700;
	border-radius: 10px; padding: 11px 18px; font-size: 14.5px; width: 100%;
	transition: background .18s ease;
}
.wp-block-button.vpl-btn-buy .wp-block-button__link:hover { background: var(--blue-600); }
.vpl-prod-alt { margin: 4px 0 0 !important; text-align: center; font-size: 13px; }
.vpl-prod-alt a { color: var(--muted); text-decoration: none; }
.vpl-prod-alt a:hover { color: var(--blue-600); text-decoration: underline; }

/* ===== Tabla comparativa ===== */
.vpl-compare { margin: 0 auto; max-width: 1000px; }
.vpl-compare table {
	border-collapse: separate; border-spacing: 0; width: 100%;
	background: #fff; border: 1px solid var(--border);
	border-radius: 14px; overflow: hidden; font-size: 14.5px;
}
.vpl-compare thead th {
	background: var(--navy-900); color: #fff; font-family: 'Sora', sans-serif;
	font-weight: 600; font-size: 13.5px; text-align: left; padding: 14px 16px;
	border: none;
}
.vpl-compare tbody td { padding: 14px 16px; border-top: 1px solid var(--border); color: #40506a; vertical-align: middle; }
.vpl-compare tbody tr:nth-child(even) td { background: #fafbfd; }
.vpl-compare tbody td:first-child { font-weight: 700; color: var(--ink); }
.vpl-compare a {
	display: inline-block; background: var(--amber-500); color: var(--navy-900);
	font-weight: 700; font-size: 13px; text-decoration: none;
	padding: 7px 14px; border-radius: 8px;
}
.vpl-compare a:hover { background: var(--amber-300); }
.vpl-compare figcaption { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* ===== Cómo elegir (2 columnas) ===== */
.vpl-choose-cols { gap: 40px !important; align-items: flex-start !important; }
.vpl-choose-left { position: sticky; top: 90px; }
.vpl-choose-card {
	background:
		radial-gradient(#ffffff0d 1px, transparent 1px),
		linear-gradient(160deg, var(--navy-800, #0D2440) 0%, var(--navy-900) 100%);
	background-size: 20px 20px, auto;
	color: #fff; border-radius: 18px; padding: 32px 30px !important;
}
.vpl-choose-card .vpl-eyebrow { text-align: left; margin-left: 0 !important; color: var(--amber-300); }
.vpl-choose-title {
	font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: -0.02em;
	font-size: 26px; line-height: 1.2; color: #fff; margin: 0 0 14px; text-align: left;
}
.vpl-choose-card p { color: #b9c5da; font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.vpl-choose-card .wp-block-buttons { justify-content: flex-start; }

.vpl-step {
	align-items: flex-start !important; gap: 16px !important;
	background: #fff; border: 1px solid var(--border); border-radius: 14px;
	padding: 18px 20px !important; margin-bottom: 12px !important;
	flex-wrap: nowrap !important;
	transition: box-shadow .18s ease, border-color .18s ease;
}
.vpl-step:hover { box-shadow: 0 12px 26px rgba(10,26,47,0.08); border-color: #cfdaea; }
.vpl-step-num {
	flex: 0 0 38px; width: 38px; height: 38px; margin: 0 !important;
	display: grid; place-items: center; border-radius: 10px;
	background: var(--blue-50); color: var(--blue-600);
	font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px;
}
.vpl-step-txt { flex: 1; }
.vpl-step-txt h3 { font-family: 'Sora', sans-serif; font-size: 16px; margin: 2px 0 4px; color: var(--ink); }
.vpl-step-txt p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* ===== Power Explainer (tabs, sección oscura) ===== */
.vpl-power-box {
	max-width: 860px; margin: 0 auto;
	background: #ffffff0a; border: 1px solid #ffffff1f;
	border-radius: 18px; padding: 22px;
}
.vpl-power-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; justify-content: center; }
.vpl-power-tab {
	font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 500;
	color: #cbd6e8; background: #ffffff0f; border: 1px solid #ffffff24;
	border-radius: 10px; padding: 10px 18px; cursor: pointer;
	transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.vpl-power-tab:hover { background: #ffffff1c; }
.vpl-power-tab.is-active {
	background: var(--amber-500); color: var(--navy-900);
	border-color: var(--amber-500); font-weight: 700;
}
.vpl-power-panel { display: none; }
.vpl-power-panel.is-active { display: block; animation: vplFade .25s ease; }
@keyframes vplFade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }
.vpl-power-head {
	font-family: 'Sora', sans-serif; font-size: 22px; color: var(--amber-300);
	margin: 0 0 18px; font-weight: 700;
}
.vpl-power-head strong { color: #fff; }
.vpl-power-items {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.vpl-power-items li {
	background: #ffffff0d; border: 1px solid #ffffff17; border-radius: 10px;
	padding: 12px 14px; font-size: 14px; color: #dbe4f1;
}
.vpl-power-note { color: #8497b2; font-size: 12.5px; margin: 20px 0 0; text-align: center; }

/* ===== Marcas ===== */
.vpl-brands {
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 6px;
}
.vpl-brand {
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: #fff; border: 1px solid var(--border); border-radius: 12px;
	padding: 20px 12px; font-family: 'Sora', sans-serif; font-weight: 700;
	font-size: 15px; color: #3a4a63; min-height: 70px;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease, color .18s ease;
}
.vpl-brand:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10,26,47,0.10); border-color: #cfdaea; color: var(--blue-600); }

/* ===== Article cards (Guías) ===== */
.vpl-article {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--border); border-radius: 16px;
	overflow: hidden; padding: 0 0 20px !important; height: 100%;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.vpl-article:hover { box-shadow: 0 16px 34px rgba(10,26,47,0.12); transform: translateY(-4px); border-color: #cfdaea; }
.vpl-article-ph {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16 / 8; margin: 0 0 16px !important;
	background-color: var(--bg-soft);
	background-image: repeating-linear-gradient(45deg, #e6ecf5 0 10px, #eef2f8 10px 20px);
	color: #9aa8bf; font-family: 'JetBrains Mono', monospace; font-size: 12px;
	border-bottom: 1px solid var(--border);
}
.vpl-article-cat {
	display: inline-block; align-self: flex-start; margin: 0 20px 8px !important;
	background: var(--blue-50); color: var(--blue-600); font-weight: 600;
	font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 6px;
}
.vpl-article h3 { font-family: 'Sora', sans-serif; font-size: 17px; margin: 0 20px 6px; line-height: 1.35; }
.vpl-article h3 a { color: var(--ink); text-decoration: none; }
.vpl-article h3 a:hover { color: var(--blue-600); }
.vpl-article-cta {
	margin: 12px 20px 0 !important; font-family: 'Sora', sans-serif;
	font-weight: 600; font-size: 13.5px; color: var(--blue-600);
	display: inline-flex; align-items: center; gap: 6px;
}
.vpl-article-cta::after { content: "→"; transition: transform .18s ease; }
.vpl-article:hover .vpl-article-cta::after { transform: translateX(4px); }
.vpl-article h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ===== Trust strip (una sola fila en desktop) ===== */
.vpl-trust { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.vpl-trust-row {
	flex-wrap: nowrap !important;   /* forzar los 4 sellos en una fila */
	gap: 22px !important;
}
.vpl-trust-item {
	margin: 0 !important; font-size: 13px; font-weight: 600; color: #445064;
	display: inline-flex; align-items: center; gap: 8px;
	white-space: nowrap;            /* cada sello no se parte */
}

/* ===== Bloque final de confianza (oscuro) ===== */
.vpl-trans { background: var(--bg-soft); }
.vpl-trans-box {
	background:
		radial-gradient(#ffffff0d 1px, transparent 1px),
		linear-gradient(150deg, var(--navy-800, #0D2440) 0%, var(--navy-900) 100%);
	background-size: 22px 22px, auto;
	color: #fff; border: 1px solid #ffffff1a; border-left: 4px solid var(--amber-500);
	border-radius: 18px; padding: 36px 38px !important; max-width: 1000px; margin: 0 auto;
}
.vpl-trans-cols { gap: 36px !important; }
.vpl-trans-title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.25; margin: 0 0 12px; color: #fff; }
.vpl-trans-box p { color: #b9c5da; font-size: 15px; line-height: 1.7; margin: 0; }
.vpl-trans-box a { color: var(--amber-300); }
.vpl-trans-points { list-style: none; margin: 0; padding: 0; }
.vpl-trans-points li {
	position: relative; padding: 10px 0 10px 32px; color: #e4ecf7;
	font-size: 14.5px; border-top: 1px solid #ffffff16;
}
.vpl-trans-points li:first-child { border-top: none; }
.vpl-trans-points li::before {
	content: "✓"; position: absolute; left: 0; top: 9px;
	width: 22px; height: 22px; display: grid; place-items: center;
	background: #ffffff14; color: var(--amber-300); border-radius: 6px;
	font-size: 12px; font-weight: 700;
}

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (max-width: 1024px) {
	.entry-content .vpl-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.entry-content .vpl-cards--3 { grid-template-columns: repeat(2, 1fr); }
	.vpl-brands { grid-template-columns: repeat(4, 1fr); }
	.vpl-choose-left { position: static; }
	.vpl-choose-cols { flex-wrap: wrap; }
	.vpl-choose-left, .vpl-choose-right { flex-basis: 100% !important; width: 100% !important; }
}
@media (max-width: 1040px) {
	/* Laptop estrecha: apretar los sellos para que sigan en una fila */
	.vpl-trust-row { gap: 14px !important; }
	.vpl-trust-item { font-size: 12px; gap: 6px; }
}
@media (max-width: 900px) {
	/* Apilado: altura por contenido, con más aire para que no se apriete */
	.vpl-hero { min-height: 0; display: block; padding-top: 54px !important; padding-bottom: 58px !important; }
	.vpl-hero-cols { flex-direction: column !important; gap: 36px !important; }
	.vpl-hero-text, .vpl-hero-media { flex-basis: 100% !important; width: 100% !important; }
	.vpl-hero-ph { aspect-ratio: 16 / 10; max-height: none; }
	/* Debajo de 900px una sola fila ya no cabe: 2x2 centrado */
	.vpl-trust-row { flex-wrap: wrap !important; gap: 14px 26px !important; }
	.vpl-trust-item { white-space: normal; }
	.vpl-power-items { grid-template-columns: repeat(2, 1fr); }
	.vpl-trans-cols { flex-direction: column; }
	.vpl-trans-cols .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
}
@media (max-width: 781px) {
	.vpl-hero   { padding-top: 60px !important; padding-bottom: 66px !important; }
	.vpl-section { padding-top: 48px !important; padding-bottom: 48px !important; }
	.vpl-card { padding: 22px 18px !important; }
	.vpl-hero-float { left: 8px; bottom: -14px; }
	.vpl-hero-stats { gap: 22px !important; }
	.vpl-choose-title { font-size: 23px; }
	/* Tabla comparativa -> tarjetas apiladas */
	.vpl-compare table, .vpl-compare thead, .vpl-compare tbody, .vpl-compare tr, .vpl-compare td { display: block; width: 100%; }
	.vpl-compare thead { display: none; }
	.vpl-compare tbody tr {
		border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px;
		padding: 6px 4px; background: #fff;
	}
	.vpl-compare tbody tr:nth-child(even) td { background: transparent; }
	.vpl-compare tbody td { border: none; padding: 8px 14px; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
	.vpl-compare tbody td::before {
		content: attr(data-label); font-weight: 700; color: var(--ink);
		text-align: left; font-size: 13px;
	}
	.vpl-compare tbody td:first-child { font-size: 16px; padding-top: 12px; }
	.vpl-compare tbody td:first-child::before { content: ""; }
	.vpl-compare tbody td[data-label="Acción"] { justify-content: flex-end; }
}
@media (max-width: 560px) {
	.entry-content .vpl-cards--4, .entry-content .vpl-cards--3,
	.entry-content .vpl-cards:not(.vpl-cards--3):not(.vpl-cards--4) { grid-template-columns: 1fr; }
	.vpl-trust-row { flex-direction: column; align-items: center; gap: 12px !important; }
	.vpl-power-items { grid-template-columns: 1fr; }
	.vpl-brands { grid-template-columns: repeat(2, 1fr); }
	.vpl-power-box { padding: 16px; }
	.vpl-trans-box { padding: 26px 22px !important; }
}

/* =========================================================
   ProductCard del plugin en la portada (Recomendaciones destacadas)
   ---------------------------------------------------------
   La seccion ya no lleva tarjetas a mano: usa [vpl_products], que
   renderiza el markup .vpl-mp-* del plugin. Ese markup normalmente se
   estiliza en internal.css, que NO se encola en la home y ademas define
   sus tokens en scope .vpl-page (que la portada no tiene).
   Por eso aqui se replican las reglas de la ficha, acotadas al
   contenedor .vpl-mp-grid, con sus tokens propios. Asi la portada no
   toca ningun otro estilo y las fichas se ven igual que en los hubs.
   OJO: si cambias el aspecto de la ficha, cambialo tambien en
   internal.css (ambas hojas describen el mismo componente).
   ========================================================= */
.vpl-mp-grid {
	/* Tokens que en paginas internas vienen de .vpl-page (internal.css). */
	--surface: #FFFFFF;
	--surface-alt: #FAFBFD;
	--font-head: 'Sora', sans-serif;
	--font-body: 'Figtree', system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', monospace;
	--sp-sec: clamp(40px, 5vw, 64px);
	--content: 920px;
	--text-soft: #5A6B82;
	--blue-050: #EAF1FF;
	/* Estos dos existen en :root del child con otro valor; se fijan al de
	   internal.css para que la ficha sea identica en home y en hubs. */
	--ink: #0A1A2F;
	--muted: #6B7A92;
}

.vpl-mp-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:0 auto; }
.vpl-mp-grid--3 { grid-template-columns:repeat(3,1fr); }
.vpl-mp-card { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-card); overflow:hidden; box-shadow:0 1px 2px rgba(10,26,47,.04); transition:all .18s; }
.vpl-mp-card:hover { transform:translateY(-3px); box-shadow:0 16px 36px -16px rgba(10,26,47,.22); }
.vpl-mp-media { position:relative; aspect-ratio:16/9; background-image:repeating-linear-gradient(45deg,#E6ECF5 0 11px,#F1F5FA 11px 22px); display:flex; align-items:flex-end; overflow:hidden; z-index:0; }
.vpl-mp-media__tag { font-family:var(--font-mono); font-size:11px; color:#7686a0; background:rgba(255,255,255,.7); padding:4px 8px; margin:8px; border-radius:6px; }
.vpl-mp-real { position:absolute; top:10px; left:10px; z-index:2; font-family:var(--font-mono); font-size:10.5px; font-weight:600; letter-spacing:.04em; color:var(--amber-300); background:var(--navy-900); padding:4px 9px; border-radius:6px; }
.vpl-mp-media img { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; object-fit:contain !important; object-position:center !important; z-index:1; }
.vpl-mp-media:has(img) { background:#fff !important; background-image:none !important; padding:10px !important; }
.vpl-mp-body { padding:18px; display:flex; flex-direction:column; flex:1; }
.vpl-mp-brand { font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--blue-600); margin-bottom:3px; }
.vpl-mp-name { font-family:var(--font-head); font-weight:700; font-size:1.12rem; color:var(--ink); margin:0 0 12px; }
.vpl-mp-chips { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.vpl-mp-chips .vpl-chip { font-family:var(--font-mono); font-size:11.5px; color:var(--navy-900); background:#F0F3F9; border:1px solid var(--border); padding:4px 9px; border-radius:7px; }
.vpl-mp-ideal { background:#F5F8FF; border:1px solid #E1EAFB; border-radius:10px; padding:10px 12px; font-size:.9rem; color:#33455f; margin-bottom:14px; }
.vpl-mp-ideal b { color:var(--blue-600); font-family:var(--font-head); }
.vpl-mp-price { font-family:var(--font-head); font-weight:700; color:var(--ink); font-size:1.02rem; margin:0 0 12px; }
.vpl-mp-price small { display:block; font-family:var(--font-body); font-weight:400; color:var(--muted); font-size:.76rem; margin-top:2px; }
.vpl-mp-actions { margin-top:auto; display:flex; flex-direction:column; gap:8px; }
.vpl-aff-soon { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border-radius:var(--radius-btn); background:var(--amber-500); border:none; color:#1A1203; font-family:var(--font-body); font-weight:800; font-size:.94rem; box-shadow:0 8px 20px -8px rgba(245,166,35,.6); cursor:default; }
.vpl-mp-detail { text-align:center; text-decoration:none; color:var(--blue-600); font-weight:600; font-size:.92rem; padding:10px; border:1px solid var(--border); border-radius:var(--radius-btn); }
.vpl-mp-detail:hover { border-color:var(--blue-600); }

/* ModelPlaceholder honesto (si algun dia no hay productos activos) */
.vpl-modelph { border:1.5px dashed #C4CFE0; background:#F9FBFD; border-radius:var(--radius-card,16px); padding:28px 24px; text-align:center; margin:0 auto; max-width:920px; }
.vpl-modelph .vpl-ico { width:46px; height:46px; border-radius:12px; background:#EAF1FF; color:var(--blue-600); display:flex; align-items:center; justify-content:center; font-size:22px; margin:0 auto 12px; }
.vpl-modelph h3 { margin:0 0 6px; font-size:1.08rem; }
.vpl-modelph p { max-width:520px; margin:0 auto 16px; font-size:.94rem; color:#5A6B82; }
.vpl-modelph__cta { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }

@media (max-width:980px){
	.vpl-mp-grid--3 { grid-template-columns:1fr 1fr; }
}
@media (max-width:680px){
	.vpl-mp-grid, .vpl-mp-grid--3 { grid-template-columns:1fr; }
}

/* ---------------------------------------------------------
   Foto real en las tarjetas de tipo (seccion "Explora por
   tecnologia y combustible"). La imagen la sirve el shortcode
   [vpl_product_photo], que toma la foto destacada del producto
   destacado de cada categoria y anade .has-photo.
   Igual que en las fichas: fondo claro + contain, porque las
   fotos de catalogo vienen recortadas sobre blanco y sobre el
   navy de la tarjeta se verian como un parche.
   El diseno original (Pagina_web_completa.png) ya preveia este
   bloque superior en claro dentro de la tarjeta oscura.
   --------------------------------------------------------- */
.vpl-tcard-ph.has-photo {
	position: relative;
	overflow: hidden;
	padding: 10px;
	background-color: #fff;
	background-image: none;
	border-bottom: 1px solid #ffffff14;
}
.vpl-tcard-ph.has-photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 0;
	transition: transform .25s ease;
}
.vpl-tcard:hover .vpl-tcard-ph.has-photo img { transform: scale(1.04); }

/* Graficos editoriales en las tarjetas de "Guias y comparativas".
   Son piezas de marca 1200x675 generadas en la paleta navy+ambar
   (script mk-guias.py), asi que llenan el recuadro con cover: no hay
   fondo que respetar como en las fotos de producto. */
.vpl-article-ph.has-photo {
	display: block;
	position: relative;
	overflow: hidden;
	padding: 0;
	background: none;
	border-bottom: 1px solid var(--border);
}
.vpl-article-ph.has-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	transition: transform .3s ease;
}
.vpl-article:hover .vpl-article-ph.has-photo img { transform: scale(1.05); }

/* Hero con foto real. El placeholder rayado (.vpl-hero-ph) pasa a ser el marco
   de la imagen: se quita el fondo de trama y el padding, y la foto llena el
   recuadro 4:3 con cover. La tarjeta flotante .vpl-hero-float sigue encima,
   por eso la foto debe dejar libre su esquina inferior izquierda. */
.vpl-hero-ph.has-photo {
	display: block;
	padding: 0;
	overflow: hidden;
	background-image: none;
	background-color: #0e2340;
	margin: 0 !important;
}
.vpl-hero-ph.has-photo img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: inherit;
}
