/* ==========================================================================
   Secciones 2026 · pill de sección, pilares, ebook, tagline, newsletter
   Consumen los tokens del sistema de diseño. Se auto-encolan vía glob.
   ========================================================================== */

/* --- Pill de sección (encabezado con regla a ambos lados) ----------------- */
.vv-section-pill {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	margin: 0 0 var(--space-10);
}

.vv-section-pill::before,
.vv-section-pill::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

.vv-section-pill > span {
	flex: 0 0 auto;
	background: var(--terra-600);
	color: #fff;
	font-family: var(--font-sans);
	font-weight: var(--fw-semibold);
	font-size: var(--text-sm);
	letter-spacing: 0.08em;
	padding: 11px 30px;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-sm);
}

.vv-section-pill--malva > span { background: var(--malva-600); }
.vv-section-pill--sage > span  { background: var(--sage-600); }
.vv-section-pill--camel > span { background: var(--camel); }

/* --- "Nuestros pilares" --------------------------------------------------- */
.vv-pillars {
	padding-block: var(--space-16);
}

.vv-pillars__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vv-pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-5);
	padding-inline: var(--space-6);
}

/* Divisor vertical corto y centrado entre pilares (como en el diseño). */
.vv-pillar:not(:first-child)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 68px;
	background: var(--line);
}

.vv-pillar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 108px;
	/* Badge tipo arco: semicírculo arriba, esquinas casi rectas abajo. */
	border-radius: 999px 999px 6px 6px;
}

.vv-pillar__icon--malva { background: var(--malva-200); }
.vv-pillar__icon--sage  { background: var(--sage-200); }
.vv-pillar__icon--terra { background: var(--terra-200); }
.vv-pillar__icon--camel { background: var(--camel-300); }

/* Icono (imagen con fondo transparente) centrado en el arco. */
.vv-pillar__img {
	width: auto;
	height: auto;
	max-width: 52px;
	max-height: 58px;
}

.vv-pillar__label {
	/* Fuente de marca Bicyclette (Adobe Fonts); Jost como respaldo. */
	font-family: "bicyclette", "Bicyclette", var(--font-sans);
	font-weight: var(--fw-medium);
	font-size: var(--text-sm);
	letter-spacing: 0.08em;
	line-height: 1.35;
	color: var(--ink-900);
	text-transform: uppercase;
	max-width: 11ch;
}

/* --- CTA "Ebook" (banda malva) -------------------------------------------- */
.vv-ebook {
	padding-top: var(--space-12);
	padding-bottom: var(--space-16);
}

.vv-ebook .vv-section-pill {
	margin-bottom: var(--space-8);
}

.vv-ebook__band {
	background: var(--malva-100);
	border-block: 1px solid var(--malva-200);
}

.vv-ebook__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: var(--space-12);
	padding-block: var(--space-12);
}

.vv-ebook__title {
	font-family: var(--font-display);
	font-weight: var(--fw-semibold);
	font-size: var(--text-2xl);
	line-height: 1.12;
	color: var(--ink-900);
	margin: 0 0 var(--space-6);
}

.vv-ebook__media {
	aspect-ratio: 16 / 10;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.vv-ebook__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vv-ebook__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--malva-200), var(--malva-300));
	color: #fff;
}

.vv-ebook__sparkle { font-size: 56px; opacity: 0.85; }

/* --- Tagline manuscrito global -------------------------------------------- */
.vv-tagline {
	text-align: center;
	padding-block: var(--space-16);
}

.vv-tagline__text {
	margin: 0;
	font-size: var(--text-3xl);
	line-height: 1.15;
	color: var(--sage-700);
}

/* --- Newsletter ----------------------------------------------------------- */
.vv-newsletter {
	background: var(--cream-200);
	border-block: 1px solid var(--line);
}

.vv-newsletter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-8);
	padding-block: var(--space-6);
	flex-wrap: wrap;
}

.vv-newsletter__label {
	font-family: var(--font-display);
	font-size: var(--text-lg);
	color: var(--ink-900);
}

.vv-newsletter__form {
	display: flex;
	align-items: center;
	gap: var(--space-6);
	flex: 1 1 420px;
	max-width: 580px;
}

.vv-newsletter__input {
	flex: 1 1 auto;
	/* Subrayado únicamente — !important para anular el borde/caja que el tema
	   padre (Hello/Woo) pone a todos los <input>. */
	border-width: 0 0 1.5px !important;
	border-style: solid !important;
	border-color: var(--gold-400) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: var(--space-2) var(--space-1);
	font-family: var(--font-body);
	font-size: var(--text-base);
	color: var(--ink-700);
}

.vv-newsletter__input::placeholder { color: var(--ink-500); }

.vv-newsletter__input:focus {
	outline: none;
	border-bottom-color: var(--terra-600) !important;
}

.vv-newsletter__btn {
	flex: 0 0 auto;
	border: 0 !important;
	background: none;
	font-family: var(--font-sans);
	font-weight: var(--fw-semibold);
	font-size: var(--text-sm);
	letter-spacing: 0.04em;
	color: var(--gold-700) !important;
	cursor: pointer;
	transition: color var(--dur) var(--ease-out);
}

.vv-newsletter__btn:hover { color: var(--terra-600) !important; }

/* --- Hero de la tienda ---------------------------------------------------- */
.vv-shop-hero {
	background: linear-gradient(135deg, #2C2620 0%, #5A4A38 55%, var(--gold-800) 100%);
	color: var(--text-on-brand);
	text-align: center;
}

.vv-shop-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
	padding-block: var(--space-16);
}

.vv-shop-hero__eyebrow {
	font-family: var(--font-sans);
	font-size: var(--text-xs);
	letter-spacing: var(--tracking-eyebrow);
	text-transform: uppercase;
	color: var(--gold-300);
}

.vv-shop-hero__title {
	font-family: var(--font-display);
	font-weight: var(--fw-semibold);
	font-size: var(--text-4xl);
	line-height: 1;
	color: #fff;
	margin: 0;
}

.vv-shop-hero__tagline {
	font-family: var(--font-sans);
	font-size: var(--text-sm);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

/* --- Intro del catálogo --------------------------------------------------- */
/* Pega la intro al hero (anula el padding superior generoso del archivo). */
.vv-shop-hero + .vv-archive { padding-top: 0; }
.vv-shop-hero + .vv-archive .vv-archive__inner { padding-top: var(--space-10); }

.vv-archive__intro {
	max-width: 680px;
	margin: 0 auto var(--space-8);
	text-align: center;
	font-family: var(--font-body);
	font-size: var(--text-md);
	line-height: var(--leading-relaxed);
	color: var(--ink-600);
}

/* --- Testimonios ---------------------------------------------------------- */
.vv-testimonials {
	padding-block: var(--space-16);
}

.vv-testimonials__inner {
	text-align: center;
}

.vv-testimonials__heading {
	font-family: var(--font-display);
	font-weight: var(--fw-semibold);
	font-size: var(--text-xl);
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--ink-900);
	margin: 0 0 var(--space-8);
}

.vv-testimonials__viewport {
	position: relative;
	min-height: 180px;
	max-width: 680px;
	margin: 0 auto;
}

.vv-testimonial {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dur-slow) var(--ease-out);
}

.vv-testimonial.is-active {
	opacity: 1;
	visibility: visible;
}

.vv-testimonial__stars {
	color: var(--terra-600);
	letter-spacing: 2px;
	font-size: var(--text-md);
}

.vv-testimonial__text {
	margin: 0;
	font-family: var(--font-serif-italic);
	font-style: italic;
	font-size: var(--text-lg);
	line-height: var(--leading-snug);
	color: var(--ink-700);
	max-width: 620px;
}

.vv-testimonial__name {
	font-family: var(--font-sans);
	font-weight: var(--fw-semibold);
	font-size: var(--text-sm);
	letter-spacing: 0.04em;
	color: var(--ink-900);
}

.vv-testimonials__dots {
	display: flex;
	justify-content: center;
	gap: var(--space-2);
	margin-top: var(--space-8);
}

.vv-testimonials__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0 !important;
	border-radius: var(--radius-pill);
	background: var(--gold-300);
	cursor: pointer;
	transition: background var(--dur) var(--ease-out);
}

.vv-testimonials__dot.is-active {
	background: var(--terra-600);
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
	.vv-pillars__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--space-8) var(--space-4);
	}

	/* Con 2 columnas, el divisor corto solo va en la 2.ª de cada fila. */
	.vv-pillar:not(:first-child)::before { display: none; }
	.vv-pillars__grid .vv-pillar:nth-child(even)::before { display: block; }

	.vv-ebook__inner {
		grid-template-columns: 1fr;
		gap: var(--space-8);
	}

	.vv-newsletter__inner {
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 520px) {
	.vv-tagline__text { font-size: var(--text-2xl); }
	.vv-newsletter__form { flex-wrap: wrap; }
	.vv-shop-hero__title { font-size: var(--text-3xl); }
	.vv-shop-hero__inner { padding-block: var(--space-12); }
	.vv-testimonials__viewport { min-height: 260px; }
}
