/**
 * Hero v2 — "Si te relajas, te quedas" (independiente del hero v1 en landing.css).
 * Scope: .pb-landing .pb-sec--hero-v2
 */

.pb-landing .pb-sec--hero-v2 {
	--pb-hero-v2-lime: var(--pb-lime);
	--pb-hero-v2-purple: #a53fcf;
	--pb-hero-v2-pink: #d26a9b;
	--pb-hero-v2-coral: #ec655f;
	--pb-hero-v2-ink: #171619;
	--pb-hero-v2-paper: #fbf8fd;
	position: relative;
	padding: 5px 0 20px 0 !important;
	overflow: hidden;
	color: var(--pb-hero-v2-ink);
	background: var(--pb-hero-v2-paper);
}

/* Intro ¿Relajarme?: mismo padding superior que el resto de secciones (hero v1 + .pb-section). */
.pb-landing .pb-sec--hero-v2 + .pb-sec--intro {
	padding-top: 80px;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__screen {
	position: relative;
	min-height: 0;
	height: auto;
	max-height: none;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: clamp(8px, 2vh, 22px) clamp(20px, 4.5vw, 56px) clamp(28px, 3.5vh, 36px);
}

/* Flecha scroll (v57 .scrolldown) — solo CSS, sin SVG en el post. */
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__screen::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: clamp(8px, 1.6vh, 16px);
	width: 12px;
	height: 12px;
	border-right: 2.4px solid var(--pb-hero-v2-purple);
	border-bottom: 2.4px solid var(--pb-hero-v2-purple);
	transform: translateX(-50%) rotate(45deg);
	animation: pb-hero-v2-scrolldown-bounce 1.8s ease-in-out infinite;
	pointer-events: none;
}

@keyframes pb-hero-v2-scrolldown-bounce {
	0%,
	100% {
		transform: translateX(-50%) translateY(0) rotate(45deg);
	}
	50% {
		transform: translateX(-50%) translateY(6px) rotate(45deg);
	}
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__inner {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__kicker {
	font-size: clamp(9px, 1.05vw, 11px);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pb-hero-v2-purple);
	margin: 0 0 clamp(10px, 2.2vh, 20px);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__questions {
	display: flex;
	flex-direction: column;
	gap: clamp(9px, 1.8vh, 15px);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q {
	width: 100%;
	font-weight: 500;
	color: var(--pb-hero-v2-ink);
	letter-spacing: -.005em;
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q strong,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q b {
	font-weight: 800;
}

/* H1: anula .pb-landing h1 (display / 58px); tamaño en .pb-hero-v2__q1. */
.pb-landing .pb-sec--hero-v2 h1.pb-hero-v2__q {
	font-family: inherit;
	font-weight: 500;
	color: var(--pb-hero-v2-ink);
	letter-spacing: -.005em;
	margin: 0;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q1,
.pb-landing .pb-sec--hero-v2 h1.pb-hero-v2__q1 {
	font-size: clamp(17px, 2.6vw, 25px);
	line-height: 1.32;
}
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q2 { font-size: clamp(16px, 2.4vw, 23.5px); line-height: 1.34; }
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q3 { font-size: clamp(15px, 2.2vw, 21.5px); line-height: 1.38; }
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q4 {
	font-size: clamp(14px, 2vw, 19.5px);
	line-height: 1.42;
	color: var(--pb-hero-v2-purple);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q4 strong,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q4 b {
	color: inherit;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__mark {
	background: var(--pb-hero-v2-lime);
	color: var(--pb-hero-v2-ink);
	padding: .02em .22em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__lower {
	margin-top: clamp(14px, 2.8vh, 24px);
	margin-block-start: clamp(14px, 2.8vh, 24px);
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "photo text" "offer offer";
	column-gap: clamp(18px, 3vw, 30px);
	row-gap: clamp(12px, 2.6vh, 24px);
	align-items: center;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__photo {
	grid-area: photo;
	justify-self: center;
	margin: 0;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__photo img {
	width: clamp(120px, 14vw, 180px);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center 18%;
	display: block;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
	mask-image:
		linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
	mask-composite: intersect;
	-webkit-mask-composite: source-in;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story-text {
	grid-area: text;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(7px, 1.4vh, 12px);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story {
	font-size: clamp(12.5px, 1.45vw, 15px);
	line-height: 1.55;
	font-weight: 400;
	letter-spacing: normal;
	color: rgba(23, 22, 25, .78);
	margin: 0;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story strong {
	color: var(--pb-hero-v2-ink);
	font-weight: 700;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story .pb-hero-v2__title-grad {
	font-weight: 800;
	background: linear-gradient(90deg, var(--pb-hero-v2-purple), var(--pb-hero-v2-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story-big,
.pb-landing .pb-sec--hero-v2 h2.pb-hero-v2__story-big {
	font-family: inherit;
	font-weight: 400;
	color: var(--pb-hero-v2-coral);
	font-size: clamp(16px, 2.4vw, 22px);
	line-height: 1.42;
	text-align: center;
	margin: 0;
	letter-spacing: normal;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story-big strong,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story-big b {
	font-weight: 800;
	color: inherit;
}

/* Offer v57: fila precio + fecha, CTA centrado. */
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-wrap {
	grid-area: offer;
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 1.6vh, 14px);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(10px, 1.6vh, 14px);
	border-radius: 22px;
	padding: clamp(12px, 2vh, 18px) clamp(16px, 2.6vw, 24px);
	background: linear-gradient(135deg, var(--pb-hero-v2-purple) 0%, var(--pb-hero-v2-pink) 100%);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 18% 15%, rgba(255, 255, 255, .32), transparent 55%);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-row {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(10px, 1.6vw, 16px);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-row.is-layout-flow > *,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-row p {
	margin: 0;
	line-height: 1.1;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-price {
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-weight: 800;
	color: var(--pb-hero-v2-lime);
	font-size: clamp(22px, 2.9vw, 29px);
	line-height: 1;
	letter-spacing: -.01em;
	padding: clamp(6px, 1vh, 9px) clamp(14px, 1.8vw, 18px);
	border-radius: 100px;
	border: 2px solid rgba(255, 255, 255, .38);
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-divider {
	width: 1px;
	height: 1.4em;
	align-self: center;
	background: rgba(255, 255, 255, .4);
	flex-shrink: 0;
}

.pb-landing .pb-sec--hero-v2 p.pb-hero-v2__offer-chip {
	display: inline-flex;
	align-items: center;
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: clamp(14px, 1.7vw, 17px);
	line-height: 1.2;
	letter-spacing: normal;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer .wp-block-buttons,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer .wp-block-button {
	margin: 0;
	position: relative;
	z-index: 1;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer .wp-block-buttons {
	width: auto;
	justify-content: center !important;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer .pb-hero-v2__cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: clamp(11px, 1.6vh, 14px) clamp(18px, 2.3vw, 23px);
	font-size: clamp(14px, 1.5vw, 16px);
	font-weight: 800;
	border-radius: 999px;
	box-shadow: none;
	width: auto;
	line-height: 1.2;
	font-family: var(--pb-font-sans);
	letter-spacing: normal;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer .pb-hero-v2__cta.pb-btn--lime .wp-block-button__link {
	box-shadow: none;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer .pb-hero-v2__cta .wp-block-button__link::after {
	content: none;
}

.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-note {
	font-size: clamp(10px, 1.05vw, 12px);
	line-height: 1.4;
	color: rgba(23, 22, 25, .55);
	margin: 0;
	text-align: center;
}

@media (max-width: 900px) {
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q2,
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q3,
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__q4 {
		font-size: clamp(15px, 4.7vw, 18px);
	}
	.pb-landing .pb-sec--hero-v2 h1.pb-hero-v2__q1 {
		font-size: clamp(15px, 4.7vw, 18px);
	}
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story {
		font-size: clamp(11.5px, 3.6vw, 13.5px);
	}
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story .pb-hero-v2__title-grad {
		font-size: clamp(13.5px, 4.2vw, 15.5px);
	}
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story-big,
	.pb-landing .pb-sec--hero-v2 h2.pb-hero-v2__story-big {
		font-size: clamp(13px, 4vw, 15.5px);
	}
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__lower {
		margin-top: clamp(7px, 1.4vh, 12px);
		margin-block-start: clamp(7px, 1.4vh, 12px);
	}
}

@media (max-width: 640px) {
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__lower {
		grid-template-columns: 1fr;
		grid-template-areas: "text" "offer";
	}
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__photo {
		display: none;
	}
	.pb-landing .pb-sec--hero-v2 .pb-hero-v2__cta-arrow {
		display: none;
	}
	.pb-landing .pb-sec--hero-v2 p.pb-hero-v2__offer-chip {
		font-size: clamp(12px, 3.2vw, 14px);
		line-height: 1.2;
	}
}

/* Gutenberg flow reset dentro del hero v2. */
.pb-landing .pb-sec--hero-v2.is-layout-flow > *,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__screen.is-layout-flow > *,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__inner.is-layout-flow > *:not(.pb-hero-v2__lower),
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__lower.is-layout-flow > *,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__story-text.is-layout-flow > *,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-wrap.is-layout-flow > *,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer.is-layout-flow > *,
.pb-landing .pb-sec--hero-v2 .pb-hero-v2__offer-row.is-layout-flow > * {
	margin-block-start: 0;
}
