/* ==========================================================================
   Vitrina Pádel – Portada y pie de página
   Paleta A: azul #1E5AA8 · noche #0F2340 · lima #C8E03C · fondo #F4F6F8
   ========================================================================== */

:root {
	--vp-azul: #1E5AA8;
	--vp-azul-2: #174A8C;
	--vp-noche: #0F2340;
	--vp-noche-2: #12263E; /* mismo azul del fondo del logo oscuro (V2.1), para que se funda con el pie */
	--vp-lima: #C8E03C;
	--vp-lima-2: #B4CC27;
	--vp-fondo: #EEF2F6;
	--vp-borde: #DCE3EC;
	--vp-texto: #3A4860;
	--vp-suave: #6B7890;
	--vp-display: var(--global-heading-font-family, "Barlow Condensed", "Arial Narrow", sans-serif);
	--vp-ease: cubic-bezier(.2, .8, .2, 1);
}

.vph { background: #fff; color: var(--vp-texto); overflow-x: clip; }
.vph *, .vph *::before, .vph *::after { box-sizing: border-box; }
.vph-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.vph-icon { width: 1em; height: 1em; flex: none; }
.vph-h2 {
	position: relative;
	margin: 0 0 1.1em;
	padding-bottom: .45em;
	font-family: var(--vp-display);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .01em;
	color: var(--vp-noche);
}
.vph-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--vp-lima); }

/* ---------- Botones ---------- */
.vph-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 8px 8px 8px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	transition: transform .25s var(--vp-ease), box-shadow .25s, background-color .25s, color .25s;
}
.vph-btn__dot {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 20px;
	transition: transform .35s var(--vp-ease);
}
.vph-btn:hover { transform: translateY(-2px); }
.vph-btn:hover .vph-btn__dot { transform: rotate(-45deg); }
.vph-btn--dark { background: var(--vp-noche); color: #fff; box-shadow: 0 14px 30px -14px rgba(15, 35, 64, .7); }
.vph-btn--dark:hover, .vph-btn--dark:focus-visible { color: #fff; background: #0A1A31; }
.vph-btn--dark .vph-btn__dot { background: var(--vp-lima); color: var(--vp-noche); }
.vph-btn--lime { background: var(--vp-lima); color: var(--vp-noche); box-shadow: 0 14px 30px -14px rgba(200, 224, 60, .9); }
.vph-btn--lime:hover, .vph-btn--lime:focus-visible { color: var(--vp-noche); background: #D4EA4C; }
.vph-btn--lime .vph-btn__dot { background: var(--vp-noche); color: var(--vp-lima); }
.vph-btn--ghost { padding: 16px 26px; border: 2px solid var(--vp-noche); color: var(--vp-noche); background: transparent; }
.vph-btn--ghost:hover, .vph-btn--ghost:focus-visible { background: var(--vp-noche); color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.vph-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--vp-fondo);
	padding: calc(var(--vph-header, 88px) + 48px) 0 150px;
}
.vph-hero__blob {
	position: absolute;
	z-index: -1;
	top: -22%;
	right: -16%;
	width: min(62vw, 940px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--vp-lima);
	animation: vphBlob 1.2s var(--vp-ease) both;
}
.vph-hero__dots {
	position: absolute;
	z-index: -1;
	top: 14%;
	right: 30%;
	width: 220px;
	height: 220px;
	background-image: radial-gradient(rgba(15, 35, 64, .22) 1.6px, transparent 1.7px);
	background-size: 16px 16px;
	-webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
	mask-image: radial-gradient(circle, #000 35%, transparent 70%);
}
.vph-hero__grid {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	align-items: center;
	gap: 40px;
	min-height: 540px;
}
.vph-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--vp-azul);
}
.vph-eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--vp-lima); }
.vph-hero__title {
	margin: 0 0 24px;
	font-family: var(--vp-display);
	font-size: clamp(52px, 7.4vw, 108px);
	font-weight: 800;
	line-height: .9;
	letter-spacing: -.005em;
	text-transform: uppercase;
	color: var(--vp-noche);
}
.vph-line { display: block; }
.vph-hero__title mark {
	display: inline-block;
	padding: 0 .14em;
	margin-left: -.06em;
	color: var(--vp-noche);
	background: linear-gradient(var(--vp-lima), var(--vp-lima)) no-repeat 0 82% / 0% 72%;
	animation: vphMark .9s var(--vp-ease) .75s forwards;
}
.vph-hero__lead { max-width: 32em; margin: 0 0 34px; font-size: 18px; line-height: 1.65; color: #46546B; }
.vph-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Visual */
.vph-hero__visual {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 1;
	margin-left: auto;
}
.vph-hero__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	transform: rotate(-120deg);
}
.vph-hero__ring circle {
	fill: none;
	stroke: var(--vp-noche);
	stroke-width: 7;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: vphRing 1.6s var(--vp-ease) .4s forwards;
}
.vph-hero__photo {
	position: absolute;
	inset: 6.5%;
	border-radius: 50%;
	overflow: hidden;
	background: var(--vp-noche);
	box-shadow: 0 50px 90px -40px rgba(15, 35, 64, .75);
}
.vph-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); }
.vph-ball {
	position: absolute;
	left: -2%;
	bottom: 12%;
	width: 18%;
	aspect-ratio: 1;
	filter: drop-shadow(0 18px 18px rgba(15, 35, 64, .35));
}
.vph-ball svg { width: 100%; height: 100%; display: block; animation: vphBounce 3.2s ease-in-out infinite; }
.vph-ball circle { fill: var(--vp-lima); }
.vph-ball path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .9; }
.vph-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 18px 40px -18px rgba(15, 35, 64, .45);
	font-size: 14px;
	font-weight: 700;
	color: var(--vp-noche);
	white-space: nowrap;
}
.vph-chip .vph-icon { font-size: 20px; color: var(--vp-azul); }
.vph-chip--a { top: 10%; left: -8%; animation: vphFloat 5s ease-in-out infinite; }
.vph-chip--b { bottom: 4%; right: 0; animation: vphFloat 5.5s ease-in-out 1s infinite; }

/* Barra vertical de accesos (estilo D1) */
.vph-rail {
	position: absolute;
	z-index: 3;
	left: 28px;
	top: 50%;
	display: none;
	flex-direction: column;
	gap: 6px;
	padding: 12px 9px;
	border-radius: 22px;
	background: var(--vp-noche);
	box-shadow: 0 24px 50px -20px rgba(15, 35, 64, .7);
	transform: translateY(-40%);
}
.vph-rail a {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	font-size: 21px;
	color: rgba(255, 255, 255, .78);
	transition: background-color .2s, color .2s;
}
.vph-rail a:hover, .vph-rail a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }
.vph-rail a.is-accent { background: var(--vp-lima); color: var(--vp-noche); }
.vph-rail a::after {
	content: attr(data-tip);
	position: absolute;
	left: calc(100% + 12px);
	top: 50%;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--vp-noche);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translate(-6px, -50%);
	transition: opacity .2s, transform .2s;
}
.vph-rail a:hover::after, .vph-rail a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 1440px) { .vph-rail { display: flex; } }

/* ==========================================================================
   BENEFICIOS (panel oscuro que se monta sobre el hero)
   ========================================================================== */
.vph-features {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: -92px;
	padding: 0 24px; /* mismo margen que el fondo azul */
}
.vph-features::before {
	content: "";
	position: absolute;
	inset: 0 24px;
	z-index: -1;
	border-radius: 26px;
	background: var(--vp-noche);
	box-shadow: 0 40px 70px -40px rgba(15, 35, 64, .8);
}
.vph-feature { padding: 34px 30px; }
.vph-feature + .vph-feature { border-left: 1px solid rgba(255, 255, 255, .12); }
.vph-feature .vph-icon { font-size: 34px; color: var(--vp-lima); margin-bottom: 16px; }
.vph-feature h2 {
	margin: 0 0 6px;
	font-family: var(--vp-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
}
.vph-feature p { margin: 0; font-size: 14px; line-height: 1.55; color: #AFBCD0; }

/* ==========================================================================
   ÚLTIMOS ARTÍCULOS (carrusel)
   ========================================================================== */
.vph-latest { margin-top: 96px; }
.vph-latest__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; margin-bottom: 26px; }
.vph-latest__head .vph-h2 { margin: 0; flex: 1 1 auto; }
.vph-latest__nav { display: flex; gap: 10px; }
.vph-arrow {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1.5px solid var(--vp-borde);
	border-radius: 50%;
	background: #fff;
	color: var(--vp-noche);
	font-size: 20px;
	cursor: pointer;
	transition: transform .2s, background-color .2s, color .2s;
}
.vph-arrow.is-dark { background: var(--vp-noche); border-color: var(--vp-noche); color: var(--vp-lima); }
.vph-arrow:hover { transform: scale(1.06); }
.vph-link { font-weight: 700; color: var(--vp-azul); text-decoration: none; white-space: nowrap; }
.vph-link:hover { text-decoration: underline; }
.vph-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(230px, 262px);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 2px;
	padding: 4px 2px 18px;
	scrollbar-width: none;
}
.vph-track::-webkit-scrollbar { display: none; }
.vph-card {
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
	border-radius: 20px;
	background: var(--vp-fondo);
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	transition: transform .3s var(--vp-ease), box-shadow .3s;
}
.vph-card:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -26px rgba(15, 35, 64, .55); }
.vph-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #E2E8F0; }
.vph-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--vp-ease); }
.vph-card:hover .vph-card__img { transform: scale(1.06); }
.vph-card.is-vendido .vph-card__img { filter: grayscale(1); opacity: .6; }
.vph-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--vp-lima);
	color: var(--vp-noche);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .03em;
}
.vph-card__badge.is-vendido { background: #C53030; color: #fff; }
.vph-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 16px 18px; }
.vph-card__marca { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--vp-azul); }
.vph-card__titulo {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--vp-noche);
}
.vph-card__pie { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.vph-card__precio { font-family: var(--vp-display); font-size: 24px; font-weight: 700; color: var(--vp-noche); }
.vph-card__go {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vp-lima);
	color: var(--vp-noche);
	font-size: 18px;
	transition: transform .35s var(--vp-ease);
}
.vph-card:hover .vph-card__go { transform: rotate(-45deg); }
.vph-card--cta {
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 340px;
	padding: 26px;
	text-align: center;
	background: #fff;
	border: 2px dashed #B9C6D8;
}
.vph-card--cta:hover { border-color: var(--vp-azul); }
.vph-card__cta-icon { font-size: 46px; color: var(--vp-azul); }
.vph-card__cta-text { font-size: 14px; color: var(--vp-suave); }

/* ==========================================================================
   CATEGORÍAS
   ========================================================================== */
.vph-cats { margin-top: 96px; }
.vph-cats__grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	grid-auto-rows: 230px;
	gap: 16px;
}
.vph-cat {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	border-radius: 22px;
	background: var(--vp-noche);
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
.vph-cat.is-big { grid-row: span 2; }
.vph-cat img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s var(--vp-ease);
}
.vph-cat::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(15, 35, 64, 0) 35%, rgba(15, 35, 64, .88) 100%);
}
.vph-cat:hover img { transform: scale(1.07); }
.vph-cat__body { display: flex; flex-direction: column; gap: 2px; padding: 22px 24px; }
.vph-cat__name { font-family: var(--vp-display); font-size: 30px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.vph-cat.is-big .vph-cat__name { font-size: 44px; }
.vph-cat__count { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vp-lima); }
.vph-cat__go {
	position: absolute;
	top: 18px;
	right: 18px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--vp-noche);
	font-size: 19px;
	transition: transform .35s var(--vp-ease), background-color .25s;
}
.vph-cat:hover .vph-cat__go { background: var(--vp-lima); transform: rotate(-45deg); }

/* ==========================================================================
   CÓMO FUNCIONA (banda lima)
   ========================================================================== */
.vph-how {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 26px;
	margin-top: 96px;
	padding: 28px 32px;
	border-radius: 26px;
	background: var(--vp-lima);
	color: var(--vp-noche);
}
.vph-how__title { margin: 0; font-family: var(--vp-display); font-size: 34px; font-weight: 800; line-height: .95; text-transform: uppercase; max-width: 5.2em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.vph-how__steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.vph-how__steps li {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 12px;
	padding: 6px 22px;
	counter-increment: paso;
}
.vph-how__steps li + li { border-left: 1.5px solid rgba(15, 35, 64, .18); }
.vph-how__steps .vph-icon { grid-row: span 2; font-size: 34px; }
.vph-how__steps strong { font-size: 16px; line-height: 1.2; }
.vph-how__steps span { font-size: 13px; opacity: .78; }

/* ==========================================================================
   MARCAS Y FORMAS
   ========================================================================== */
.vph-chips { margin-top: 96px; }
.vph-chips__row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.vph-chip-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border: 1.5px solid var(--vp-borde);
	border-radius: 999px;
	background: #fff;
	color: var(--vp-noche);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.vph-chip-link small { padding: 1px 8px; border-radius: 999px; background: var(--vp-lima); color: var(--vp-noche); font-size: 12px; }
.vph-chip-link:hover, .vph-chip-link:focus-visible { background: var(--vp-noche); border-color: var(--vp-noche); color: #fff; transform: translateY(-2px); }
.vph-chip-link.is-shape { background: var(--vp-fondo); border-color: var(--vp-fondo); }
.vph-chip-link.is-shape:hover { background: var(--vp-azul); border-color: var(--vp-azul); color: #fff; }
.vph-chip-link.is-more { border-color: transparent; color: var(--vp-azul); }
.vph-chip-link.is-more:hover { background: transparent; color: var(--vp-noche); border-color: transparent; }

/* ==========================================================================
   VENDE (bloque dividido, estilo D1)
   ========================================================================== */
.vph-split {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	min-height: 400px;
	margin-top: 96px;
	border-radius: 28px;
	overflow: hidden;
	background: var(--vp-noche);
}
.vph-split__photo { position: relative; display: flex; align-items: flex-end; padding: 36px; background: var(--vp-azul) center / cover no-repeat; isolation: isolate; }
.vph-split__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 35, 64, .25), rgba(15, 35, 64, .92)); }
.vph-quote { position: relative; max-width: 26em; margin: 0 0 0 auto; padding: 0; border: 0; color: #fff; }
.vph-quote::before { content: "“"; display: block; height: .55em; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: var(--vp-lima); }
.vph-quote p { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; color: #fff; }
.vph-quote cite { font-style: normal; font-size: 14px; font-weight: 700; color: var(--vp-lima); }
.vph-split__cta { display: flex; align-items: center; padding: 30px; }
.vph-split__box { width: 100%; padding: 36px 34px; border: 2px solid var(--vp-lima); border-radius: 22px; }
.vph-split__box h2 { margin: 0 0 12px; font-family: var(--vp-display); font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1; text-transform: uppercase; color: #fff; }
.vph-split__box p { margin: 0 0 26px; color: #C2CDDC; font-size: 16px; line-height: 1.6; }

/* ==========================================================================
   TEXTO SEO + PREGUNTAS FRECUENTES
   ========================================================================== */
.vph-seo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; margin-top: 96px; padding-bottom: 100px; }
.vph-seo__text p { margin: 0 0 1em; font-size: 16px; line-height: 1.75; color: var(--vp-texto); }
.vph-faq__item { border-bottom: 1px solid var(--vp-borde); }
.vph-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--vp-noche);
	cursor: pointer;
	list-style: none;
}
.vph-faq__item summary::-webkit-details-marker { display: none; }
.vph-faq__item summary span {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--vp-fondo);
	font-size: 20px;
	line-height: 1;
	transition: transform .3s var(--vp-ease), background-color .3s;
}
.vph-faq__item[open] summary span { transform: rotate(45deg); background: var(--vp-lima); }
.vph-faq__item p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--vp-texto); }

/* ==========================================================================
   PIE DE PÁGINA (estilo D3)
   ========================================================================== */
.vpf { background: var(--vp-noche-2); color: #AFBCD0; font-size: 15px; }
.vpf__wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.vpf > .vpf__wrap { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-top: 70px; padding-bottom: 56px; }
.vpf__logo img { display: block; width: 210px; height: auto; margin-bottom: 18px; }
.vpf__logo strong { color: #fff; font-size: 22px; }
.vpf__brand p { max-width: 26em; margin: 0 0 22px; line-height: 1.65; }
.vpf__cta { font-size: 13px; }
.vpf__col h2 {
	margin: 0 0 16px;
	font-family: var(--vp-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
}
.vpf__col ul { margin: 0; padding: 0; list-style: none; }
.vpf__col li { margin: 0 0 10px; }
.vpf a { color: #C9D3E0; text-decoration: none; transition: color .2s; }
.vpf a:hover, .vpf a:focus-visible { color: var(--vp-lima); }
.vpf .vph-btn--lime, .vpf .vph-btn--lime:hover { color: var(--vp-noche); }
.vpf__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.vpf__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }
.vpf__bottom p { margin: 0; }

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
.vph-in { opacity: 0; transform: translateY(26px); animation: vphUp .9s var(--vp-ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
.vph-pop { animation: vphPop 1.1s var(--vp-ease) .2s both; }
.vph-js .vph-reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--vp-ease), transform .8s var(--vp-ease); }
.vph-js .vph-reveal.is-visible { opacity: 1; transform: none; }
[data-depth] { transition: transform .35s ease-out; will-change: transform; }

@keyframes vphUp { to { opacity: 1; transform: none; } }
/* Usa "scale" (no "transform") para no bloquear el parallax, que mueve el elemento con transform. */
@keyframes vphPop { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes vphMark { to { background-size: 100% 72%; } }
@keyframes vphRing { to { stroke-dashoffset: 30; } }
@keyframes vphBlob { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vphBounce {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-22px) rotate(160deg); }
}
@keyframes vphFloat {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -10px; }
}

@media (prefers-reduced-motion: reduce) {
	.vph-in, .vph-pop, .vph-hero__blob, .vph-ball svg, .vph-chip { animation: none !important; opacity: 1 !important; transform: none !important; }
	.vph-hero__title mark { animation: none; background-size: 100% 72%; }
	.vph-hero__ring circle { animation: none; stroke-dashoffset: 30; }
	.vph-js .vph-reveal { opacity: 1; transform: none; transition: none; }
	[data-depth] { transform: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.vph-hero__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.vph-features { grid-template-columns: repeat(2, 1fr); }
	.vph-feature:nth-child(3) { border-left: 0; }
	.vph-feature:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.vph-how { grid-template-columns: 1fr; }
	.vph-how__title { max-width: none; }
	.vph-how__steps { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
	.vph-how__steps li:nth-child(3) { border-left: 0; }
	.vpf > .vpf__wrap { grid-template-columns: repeat(2, 1fr); }
	.vpf__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	.vph-wrap { padding-inline: 18px; }
	.vph-hero { padding: calc(var(--vph-header, 70px) + 22px) 0 120px; }
	.vph-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 34px; }
	.vph-hero__blob { top: auto; bottom: 6%; right: -55%; width: 120vw; }
	.vph-hero__dots { display: none; }
	.vph-hero__title { font-size: clamp(50px, 15vw, 72px); }
	.vph-hero__lead { font-size: 16.5px; }
	.vph-hero__visual { max-width: 380px; margin: 0 auto; }
	.vph-chip { font-size: 12.5px; padding: 9px 12px; }
	.vph-chip--a { left: -2%; }
	.vph-features { grid-template-columns: 1fr; margin-top: -80px; }
	.vph-features::before { inset: 0 18px; }
	.vph-feature { padding: 22px 26px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
	.vph-feature .vph-icon { grid-row: span 2; margin: 0; font-size: 30px; }
	.vph-feature + .vph-feature { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
	.vph-latest, .vph-cats, .vph-chips { margin-top: 70px; }
	.vph-latest__nav { display: none; }
	.vph-track { grid-auto-columns: 74%; }
	.vph-cats__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
	.vph-cat.is-big { grid-column: 1 / -1; grid-row: span 1; }
	.vph-cat__name, .vph-cat.is-big .vph-cat__name { font-size: 24px; }
	.vph-cat__body { padding: 16px; }
	.vph-how { margin-top: 70px; padding: 24px; }
	.vph-how__steps { grid-template-columns: 1fr; }
	.vph-how__steps li { padding: 10px 0; }
	.vph-how__steps li + li { border-left: 0; border-top: 1.5px solid rgba(15, 35, 64, .18); }
	.vph-split { grid-template-columns: 1fr; margin-top: 70px; }
	.vph-split__photo { min-height: 280px; padding: 24px; }
	.vph-split__cta { padding: 18px; }
	.vph-split__box { padding: 26px 22px; }
	.vph-seo { grid-template-columns: 1fr; gap: 30px; margin-top: 70px; padding-bottom: 70px; }
	.vpf > .vpf__wrap { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 50px; }
}

/* ==========================================================================
   ENCABEZADO EN LA PORTADA (transparente sobre el hero)
   ========================================================================== */
/* El logo tiene fondo blanco: "multiply" lo funde con el fondo claro del hero. */
.vph-page #masthead .custom-logo,
.home #masthead .custom-logo { mix-blend-mode: multiply; }
/* El botón lima se perdía sobre la mancha lima del hero: en la portada va azul noche con texto lima. */
.home #masthead .header-button,
.home #mobile-header .mobile-header-button { background: var(--vp-noche, #0F2340) !important; color: var(--vp-lima, #C8E03C) !important; box-shadow: 0 10px 24px -10px rgba(15, 35, 64, .55); transition: transform .2s ease, box-shadow .2s ease; }
.home #masthead .header-button:hover,
.home #mobile-header .mobile-header-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(15, 35, 64, .65); }

/* ==========================================================================
   PRECIOS
   ========================================================================== */
.vph-prices { margin-top: 96px; }
.vph-prices__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 40px; margin-bottom: 8px; }
.vph-prices__head .vph-h2 { margin-bottom: .6em; }
.vph-prices__head p { max-width: 34em; margin: 0 0 1.4em; color: var(--vp-suave); line-height: 1.6; }
.vph-prices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vph-price {
	position: relative;
	padding: 30px 28px 26px;
	border: 1.5px solid var(--vp-borde);
	border-radius: 24px;
	background: #fff;
	transition: transform .35s var(--vp-ease), box-shadow .35s var(--vp-ease);
}
.vph-price:hover { transform: translateY(-6px); box-shadow: 0 28px 40px -28px rgba(15, 35, 64, .5); }
.vph-price p { margin: 0; }
.vph-price__qty { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--vp-azul); }
.vph-price__amount { margin-top: 14px !important; font-family: var(--vp-display); font-size: clamp(44px, 4.4vw, 60px); font-weight: 800; line-height: 1; color: var(--vp-noche); }
.vph-price__per { margin-top: 4px !important; font-size: 15px; color: var(--vp-suave); }
.vph-price__ej { margin-top: 20px !important; padding-top: 16px; border-top: 1px dashed var(--vp-borde); font-size: 14px; font-weight: 600; color: var(--vp-texto); }
.vph-price.is-best { overflow: hidden; border-color: var(--vp-noche); background: var(--vp-noche); }
.vph-price.is-best::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -70px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: var(--vp-lima);
	opacity: .95;
}
.vph-price.is-best > * { position: relative; z-index: 1; }
.vph-price.is-best .vph-price__qty { color: var(--vp-lima); }
.vph-price.is-best .vph-price__amount { color: #fff; }
.vph-price.is-best .vph-price__per { color: #AFBCD0; }
.vph-price.is-best .vph-price__ej { color: #fff; border-top-color: rgba(255, 255, 255, .18); }
.vph-price__tag {
	position: absolute !important;
	top: 22px;
	right: 22px;
	z-index: 2 !important;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--vp-noche);
	color: var(--vp-lima);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
}
.vph-prices__extras {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 26px 0 0;
	padding: 18px 24px;
	list-style: none;
	border-radius: 18px;
	background: var(--vp-fondo);
}
.vph-prices__extras li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 600; color: var(--vp-noche); }
.vph-prices__extras .vph-icon { font-size: 20px; color: var(--vp-azul); }
.vph-prices__cta { margin: 26px 0 0; }

@media (max-width: 1024px) {
	.vph-prices__grid { grid-template-columns: 1fr; max-width: 520px; }
	.vph-price { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; }
	.vph-price__qty { grid-column: 1 / -1; }
	.vph-price__ej { grid-column: 1 / -1; }
	.vph-price__per { align-self: end; padding-bottom: 6px; }
}
@media (max-width: 760px) {
	.vph-prices { margin-top: 70px; }
	.vph-price { padding: 24px 22px 20px; border-radius: 20px; }
	.vph-price__tag { top: 18px; right: 18px; }
	.vph-prices__extras { flex-direction: column; padding: 16px 18px; }
}

/* Aviso del modo lanzamiento */
.vph-promo { margin: 0 0 24px; padding: 22px 28px; border-radius: 22px; background: var(--vp-lima); color: var(--vp-noche); }
.vph-promo p { margin: 0; font-weight: 600; line-height: 1.5; }
.vph-promo .vph-promo__titulo { margin-bottom: 6px; font-family: var(--vp-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.05; text-transform: uppercase; }

/* Franja del modo lanzamiento (arriba de la portada, bajo el menú) */
.vph-hero.has-aviso { padding-top: calc(var(--vph-header, 88px) + 12px); }
.vph-aviso { position: relative; z-index: 3; margin-bottom: 28px; }
.vph-aviso__caja { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; padding: 12px 14px 12px 24px; border-radius: 999px; background: var(--vp-noche); color: #fff; text-align: center; box-shadow: 0 16px 30px -20px rgba(15, 35, 64, .55); }
.vph-aviso p { margin: 0; line-height: 1.35; }
.vph-aviso strong { font-family: var(--vp-display); font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; text-transform: uppercase; color: var(--vp-lima); }
.vph-aviso span { margin-left: 10px; font-size: 15px; font-weight: 600; }
.vph-aviso a { flex: none; padding: 11px 22px; border-radius: 999px; background: var(--vp-lima); color: var(--vp-noche); font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; }
.vph-aviso a:hover { background: #fff; color: var(--vp-noche); }
@media (max-width: 760px) {
	.vph-hero.has-aviso { padding-top: calc(var(--vph-header, 70px) + 6px); }
	.vph-aviso { margin-bottom: 20px; padding-inline: 16px; }
	.vph-aviso__caja { padding: 16px; border-radius: 20px; }
	.vph-aviso span { display: block; margin: 4px 0 0; font-size: 14px; }
}

/* El hero se compacta en escritorio para que se vea completo (con o sin franja) */
@media (min-width: 1025px) {
	.vph-hero { padding-bottom: 132px; }
	.vph-hero.has-aviso .vph-aviso { margin-bottom: 18px; }
	.vph-hero .vph-hero__grid { min-height: 0; }
	.vph-hero .vph-eyebrow { margin-bottom: 12px; }
	.vph-hero .vph-hero__title { margin: 0 0 18px; font-size: clamp(56px, min(7.4vw, 12vh), 108px); }
	.vph-hero .vph-hero__lead { margin-bottom: 22px; font-size: 17px; line-height: 1.55; }
	.vph-hero .vph-hero__visual { max-width: clamp(400px, calc(100vh - 230px), 560px); margin-right: 40px; }
}

/* En celular, título y botones suben para verse sin desplazarse */
@media (max-width: 760px) {
	.vph-hero { padding-top: calc(var(--vph-header, 70px) + 8px); }
	.vph-hero.has-aviso { padding-top: calc(var(--vph-header, 70px) + 2px); }
	.vph-hero.has-aviso .vph-aviso { margin-bottom: 16px; }
	.vph-hero .vph-aviso__caja { padding: 12px 14px; gap: 8px; }
	.vph-hero .vph-aviso strong { font-size: 21px; }
	.vph-hero .vph-aviso span { margin-top: 2px; font-size: 13px; }
	.vph-hero .vph-aviso a { padding: 9px 20px; }
	.vph-hero .vph-eyebrow { margin-bottom: 10px; font-size: 11px; line-height: 1.4; letter-spacing: .12em; }
	.vph-hero .vph-hero__title { margin: 0 0 12px; font-size: clamp(46px, 14vw, 68px); }
	.vph-hero .vph-hero__lead { margin-bottom: 16px; font-size: 15px; line-height: 1.5; }
	.vph-hero .vph-hero__ctas { gap: 10px; }
	.vph-hero .vph-hero__ctas .vph-btn { min-height: 48px; padding-top: 4px; padding-bottom: 4px; }
}
