/*
Theme Name: EBC AI
Theme URI: https://ebcai.com.mx
Description: Tema hijo de Twenty Twenty-Five para EBC AI (Evolution Business & Consulting).
Author: EBC AI
Template: twentytwentyfive
Version: 0.2.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: becai
*/

:root {
	--becai-cobalt: #1f14ae;
	--becai-blue: #3e82cd;
	--becai-cyan: #50bbdb;
	--becai-gradient: linear-gradient(90deg, var(--becai-cobalt) 0%, var(--becai-blue) 55%, var(--becai-cyan) 100%);
	/* Versión más clara para texto sobre negro (el cobalto puro no contrasta) */
	--becai-gradient-text: linear-gradient(90deg, #6d7bff 0%, #5aa3e6 50%, var(--becai-cyan) 100%);
	--becai-line: rgba(255, 255, 255, 0.08);
	--becai-line-strong: rgba(255, 255, 255, 0.16);
	--becai-muted: #a1a1aa;
	--becai-surface: rgba(255, 255, 255, 0.025);
	--becai-grid: 56px;
	--becai-mono: var(--wp--preset--font-family--fira-code, ui-monospace, monospace);
}

/* ---------- Base ---------- */

/* Sin franjas entre encabezado, contenido y pie */
.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4,
.wp-block-heading {
	font-weight: 600;
	letter-spacing: -0.025em;
}

a {
	color: var(--becai-cyan);
	text-decoration: none;
	transition: color 0.2s ease;
}
a:hover {
	color: #fff;
}

::selection {
	background: rgba(80, 187, 219, 0.35);
	color: #fff;
}

.becai-gradient-text {
	background: var(--becai-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Encabezado ---------- */

header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}
/* El desenfoque va en un pseudo-elemento: si estuviera en el header, el menú
   móvil (position: fixed) quedaría atrapado dentro de su altura */
header.wp-block-template-part::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.65);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	pointer-events: none;
}
header.wp-block-template-part > .wp-block-group {
	border-bottom-color: var(--becai-line) !important;
}

.becai-brand {
	color: #fff !important;
}
.becai-brand__name {
	line-height: 1;
}
.becai-brand__meaning {
	line-height: 1.2;
}

header .wp-block-navigation a {
	color: var(--becai-muted);
	font-size: 0.95rem;
}
header .wp-block-navigation a:hover,
header .wp-block-navigation .current-menu-item a {
	color: #fff;
}

/* Menú móvil: botón de dos líneas y panel a pantalla completa */
header .wp-block-navigation__responsive-container-open,
header .wp-block-navigation__responsive-container-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--becai-line-strong);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	color: #fff;
}
header .wp-block-navigation__responsive-container-open svg,
header .wp-block-navigation__responsive-container-close svg {
	width: 22px;
	height: 22px;
}
header .wp-block-navigation__responsive-container.is-menu-open {
	z-index: 1000;
	padding: 20px 24px 32px;
	background-color: #000 !important;
	background-image:
		radial-gradient(ellipse 80% 45% at 30% 0%, rgba(31, 20, 174, 0.45), transparent 70%),
		radial-gradient(ellipse 60% 35% at 80% 0%, rgba(80, 187, 219, 0.15), transparent 70%);
	overflow-y: auto;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
	max-width: none;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: 20px;
	right: 24px;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 88px !important;
	align-items: stretch !important;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0 !important;
	align-items: stretch !important;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--becai-line);
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 18px 0 !important;
	color: #fff;
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-align: left;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item .wp-block-navigation-item__content {
	color: var(--becai-cyan);
}
/* "Agendar llamada" solo dentro del panel móvil (en escritorio ya está el botón del header) */
header .wp-block-navigation .becai-nav-cta {
	display: none !important;
}
header .wp-block-navigation__responsive-container.is-menu-open .becai-nav-cta {
	display: block !important;
	margin-top: 32px;
	border-bottom: 0 !important;
}
header .wp-block-navigation__responsive-container.is-menu-open .becai-nav-cta .wp-block-navigation-item__content {
	padding: 16px 20px !important;
	border-radius: 10px;
	background: var(--becai-gradient);
	font-size: 1.05rem;
	text-align: center;
	box-shadow: 0 8px 30px -12px rgba(62, 130, 205, 0.6);
}
header .wp-block-navigation__responsive-container.is-menu-open .becai-nav-cta .wp-block-navigation-item__content:hover {
	color: #fff;
}
/* Tablets: los enlaces no caben en una línea, así que también usan el panel */
@media (min-width: 600px) and (max-width: 1023px) {
	header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
	header .wp-block-buttons.becai-header-cta {
		display: none !important;
	}
	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		max-width: 560px;
		margin: 0 auto;
	}
}
/* La barra del menú no debe quedar debajo del botón flotante de WhatsApp */
html.has-modal-open .becai-whatsapp-float {
	display: none;
}

/* ---------- Botones ---------- */

.wp-block-button .wp-block-button__link {
	border-radius: 8px;
	font-weight: 600;
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--becai-gradient);
	color: #fff;
	border: 0;
	box-shadow: 0 0 0 1px rgba(80, 187, 219, 0.25), 0 8px 30px -12px rgba(62, 130, 205, 0.6);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	box-shadow: 0 0 0 1px rgba(80, 187, 219, 0.6), 0 10px 40px -8px rgba(80, 187, 219, 0.55);
	transform: translateY(-1px);
	color: #fff;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--becai-line-strong);
	background: var(--becai-surface);
	color: #fff;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: rgba(80, 187, 219, 0.6);
	background: rgba(80, 187, 219, 0.06);
}

/* ---------- Secciones ---------- */

.wp-block-post-content > section.wp-block-group {
	position: relative;
}
.wp-block-post-content > section.has-accent-5-background-color {
	border-top: 1px solid var(--becai-line);
	border-bottom: 1px solid var(--becai-line);
}

/* Etiqueta sobre los títulos: monoespaciada, con trazo de acento */
.becai-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 0.75rem;
	font-family: var(--becai-mono);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--becai-cyan);
}
.becai-eyebrow::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--becai-gradient);
}

/* Cuadrícula tecnológica: se desvanece hacia los bordes */
.becai-hero,
.becai-cta {
	overflow: hidden;
	isolation: isolate;
}
.becai-hero::before,
.becai-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
	background-size: var(--becai-grid) var(--becai-grid);
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 0%, #000 25%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 75% at 50% 0%, #000 25%, transparent 75%);
	pointer-events: none;
}
.becai-hero::after,
.becai-cta::after {
	/* Resplandor cobalto/cian que nace del borde superior */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 45% 55% at 38% 0%, rgba(31, 20, 174, 0.55), transparent 70%),
		radial-gradient(ellipse 40% 45% at 66% 0%, rgba(80, 187, 219, 0.2), transparent 70%);
	pointer-events: none;
}

/* Portada de cada página: centrada y con más aire */
.becai-hero {
	text-align: center;
	padding-top: clamp(96px, 14vw, 180px) !important;
	padding-bottom: clamp(80px, 11vw, 140px) !important;
	border-bottom: 1px solid var(--becai-line);
}
.becai-hero .becai-eyebrow {
	width: fit-content;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 6px 14px;
	border: 1px solid rgba(80, 187, 219, 0.3);
	border-radius: 999px;
	background: rgba(80, 187, 219, 0.06);
	letter-spacing: 0.14em;
}
.becai-hero .becai-eyebrow::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--becai-cyan);
	box-shadow: 0 0 10px var(--becai-cyan);
}
.becai-hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
	line-height: 1.05;
	letter-spacing: -0.04em;
	background: linear-gradient(180deg, #fff 30%, #b4b4bd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.becai-hero h1 .becai-gradient-text {
	background: var(--becai-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
}
.becai-hero > p:not(.becai-eyebrow):not(.becai-trust) {
	color: var(--becai-muted);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem) !important;
	line-height: 1.6;
}
.becai-hero .wp-block-buttons,
.becai-cta .wp-block-buttons {
	justify-content: center;
}

/* Llamada final */
.becai-cta {
	text-align: center;
	border-top: 1px solid var(--becai-line);
}
.becai-cta::before {
	-webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 100%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 90% at 50% 100%, #000 20%, transparent 75%);
	background-position: center bottom;
}
.becai-cta::after {
	transform: scaleY(-1);
	opacity: 0.8;
}
.becai-cta h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* Página legal: texto sobrio */
.becai-legal h2 {
	margin-top: 2.5rem;
}
.becai-legal p {
	color: #d4d4d8;
}

/* ---------- Tarjetas ---------- */

.becai-card {
	position: relative;
	height: 100%;
	box-sizing: border-box;
	border: 1px solid var(--becai-line);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.becai-card::before {
	/* Línea de luz en el borde superior */
	content: "";
	position: absolute;
	top: -1px;
	left: 20%;
	right: 20%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(80, 187, 219, 0.7), transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.becai-card:hover {
	border-color: rgba(80, 187, 219, 0.35);
	transform: translateY(-3px);
	box-shadow: 0 20px 50px -25px rgba(31, 20, 174, 0.7);
}
.becai-card:hover::before {
	opacity: 1;
}
.becai-card h3 {
	font-size: 1.2rem !important;
}
.becai-card p {
	font-size: 0.95rem;
}

/* ---------- Aparición suave al hacer scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
	.becai-js .becai-reveal {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
	}
	.becai-js .becai-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Pie ---------- */

footer.wp-block-template-part > .wp-block-group {
	border-top-color: var(--becai-line) !important;
	background: linear-gradient(180deg, rgba(31, 20, 174, 0.06), transparent 60%);
}
footer .wp-block-navigation a,
footer p a {
	color: var(--becai-muted);
	font-size: 0.95rem;
}
footer .wp-block-navigation a:hover,
footer p a:hover {
	color: #fff;
}
footer h2 {
	font-family: var(--becai-mono);
	font-size: 0.8rem !important;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--becai-muted);
}

/* ---------- Marcadores de contenido pendiente ---------- */

.becai-placeholder {
	border: 1px dashed var(--becai-line-strong);
	border-radius: 12px;
	padding: var(--wp--preset--spacing--40);
	color: var(--becai-muted);
	text-align: center;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 28px 28px;
}

/* ---------- WhatsApp flotante ---------- */

.becai-whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
	transition: transform 0.2s ease;
}
.becai-whatsapp-float:hover {
	transform: scale(1.06);
	color: #fff;
}
.becai-whatsapp-float svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}

/* ---------- Formulario (Contact Form 7) ---------- */

.wpcf7-form label {
	display: block;
	margin-bottom: var(--wp--preset--spacing--30);
	font-size: 0.9rem;
	color: #d4d4d8;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid var(--becai-line-strong);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	color: #fff;
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--becai-cyan);
	box-shadow: 0 0 0 3px rgba(80, 187, 219, 0.18);
}
.wpcf7-form .wpcf7-list-item {
	margin: 0;
}
.wpcf7-form .wpcf7-submit {
	padding: 12px 26px;
	border: 0;
	border-radius: 8px;
	background: var(--becai-gradient);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(80, 187, 219, 0.25), 0 8px 30px -12px rgba(62, 130, 205, 0.6);
}

/* ---------- Celulares ---------- */

@media (max-width: 600px) {
	header .wp-block-buttons.becai-header-cta {
		display: none !important;
	}
	.becai-brand img {
		width: 40px !important;
	}
	.becai-brand__name {
		font-size: 1.25rem !important;
	}
	.becai-brand__meaning {
		max-width: 170px;
		font-size: 0.625rem !important;
	}
	:root {
		--becai-grid: 40px;
	}
}

/* ---------- Video de fondo en portadas ---------- */

.becai-hero-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0 !important;
	max-width: none !important;
	pointer-events: none;
}
.becai-hero-media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}
/* Oscurece el centro y funde los bordes para que el texto se lea */
.becai-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 62% at 50% 55%, rgba(0, 0, 0, 0.85) 20%, transparent 85%),
		linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 25%, transparent 70%, #000 100%);
}

@media (max-width: 600px) {
	/* En vertical el centro del video está vacío: se encuadra la red de la izquierda */
	.becai-hero-media video {
		object-position: 18% center;
		opacity: 0.7;
	}
}

/* ---------- Sección con video controlado por scroll ---------- */

.becai-scrub {
	position: relative;
	padding: 0 !important;
	border-top: 1px solid var(--becai-line);
}
.becai-scrub__sticky {
	position: relative;
	min-height: 90vh;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.becai-scrub__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.becai-scrub__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Funde con el negro arriba/abajo y oscurece el lado del texto */
.becai-scrub__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.82) 28%, rgba(0, 0, 0, 0.35) 45%, transparent 62%),
		linear-gradient(to bottom, #000 0%, transparent 14%, transparent 86%, #000 100%);
}
.becai-scrub__steps {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 2.5rem;
	width: min(440px, 88vw);
	margin-left: max(6vw, calc((100vw - 1200px) / 2));
	padding: 12vh 0;
}
.becai-scrub__step h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.8rem, 3.6vw, 2.8rem);
	letter-spacing: -0.03em;
}
.becai-scrub__step p:not(.becai-eyebrow) {
	margin: 0;
	color: #c4c4cc;
	font-size: 1.05rem;
	line-height: 1.6;
}

/* Modo scroll (lo activa scrub.js) */
.becai-scrub.is-scrubbing {
	height: 320vh;
}
.becai-scrub.is-scrubbing .becai-scrub__sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	min-height: 0;
}
.becai-scrub.is-scrubbing .becai-scrub__steps {
	gap: 0;
	padding: 0;
}
.becai-scrub.is-scrubbing .becai-scrub__step {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
	pointer-events: none;
}
.becai-scrub.is-scrubbing .becai-scrub__step.is-active {
	opacity: 1;
	transform: none;
}
/* Barra de avance */
.becai-scrub__bar {
	display: none;
}
.becai-scrub.is-scrubbing .becai-scrub__bar {
	display: block;
	position: absolute;
	z-index: 1;
	left: max(6vw, calc((100vw - 1200px) / 2));
	bottom: 10vh;
	width: min(220px, 50vw);
	height: 2px;
	background: var(--becai-line-strong);
	border-radius: 2px;
	overflow: hidden;
}
.becai-scrub__bar::after {
	content: "";
	position: absolute;
	inset: 0;
	transform-origin: left;
	transform: scaleX(var(--becai-progress, 0));
	background: var(--becai-gradient);
}

@media (max-width: 600px) {
	.becai-scrub__media::after {
		background:
			linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 70%),
			linear-gradient(to bottom, #000 0%, transparent 14%);
	}
	.becai-scrub.is-scrubbing .becai-scrub__sticky {
		align-items: flex-end;
	}
	.becai-scrub.is-scrubbing .becai-scrub__steps {
		margin-bottom: 16vh;
	}
	.becai-scrub.is-scrubbing .becai-scrub__bar {
		bottom: 9vh;
	}
}

/* Imagen a sangre en la parte superior de una tarjeta */
.becai-card:has(.becai-card__media) {
	overflow: hidden;
}
.becai-card__media {
	margin: calc(-1 * var(--wp--preset--spacing--40)) calc(-1 * var(--wp--preset--spacing--40)) 1.25rem !important;
	max-width: none !important;
}
.becai-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
	mask-image: linear-gradient(to bottom, #000 65%, transparent);
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.becai-card:hover .becai-card__media img {
	transform: scale(1.04);
}

/* Número grande en tarjetas (01, 02, 03) */
.becai-card .becai-card__num {
	margin: 0 0 0.5rem;
	font-family: var(--becai-mono);
	font-size: 2.25rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	background: var(--becai-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Lista con palomitas en recuadros (sección Diagnóstico) */
.becai-checks {
	margin-bottom: var(--wp--preset--spacing--30) !important;
}
.becai-checks .wp-block-column {
	display: flex;
}
.becai-check {
	position: relative;
	flex: 1;
	margin: 0;
	padding: 18px 20px 18px 50px;
	border: 1px solid var(--becai-line);
	border-radius: 12px;
	background: var(--becai-surface);
	color: #e4e4e7;
	line-height: 1.45;
	transition: border-color 0.3s ease;
}
.becai-check:hover {
	border-color: rgba(80, 187, 219, 0.35);
}
.becai-check::before {
	content: "✓";
	position: absolute;
	left: 20px;
	top: 18px;
	font-weight: 700;
	background: var(--becai-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Datos destacados (Duración / Precio), lado a lado */
.becai-stats {
	margin-top: var(--wp--preset--spacing--60) !important;
	gap: var(--wp--preset--spacing--40) clamp(3rem, 8vw, 6rem) !important;
}
.becai-stat {
	margin-top: var(--wp--preset--spacing--60) !important;
	text-align: center;
}
.becai-stats .becai-stat {
	margin-top: 0 !important;
}
.becai-stat .becai-stat__label {
	margin: 0;
	color: var(--becai-muted);
	font-size: 1rem;
}
.becai-stat .becai-stat__value {
	margin: 0.25rem 0 0;
	font-size: clamp(2.2rem, 4.5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	background: var(--becai-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
@media (max-width: 781px) {
	.becai-checks {
		gap: 12px !important;
		margin-bottom: 12px !important;
	}
}

/* Preguntas frecuentes (.becai-faq): cada <h3> es una pregunta y el párrafo siguiente, su respuesta. aeo.php genera el schema FAQPage a partir de aquí. */
.becai-faq h3 {
	margin-top: var(--wp--preset--spacing--40) !important;
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--becai-line);
}
.becai-faq h2 + h3 {
	margin-top: var(--wp--preset--spacing--50) !important;
}
.becai-faq h3 + p {
	margin-top: 0.5rem;
}

/* ---------- Landing (plantilla sin menú) ---------- */

/* Sellos de confianza bajo el botón de la portada */
.becai-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin-top: var(--wp--preset--spacing--40) !important;
	color: var(--becai-muted);
	font-family: var(--becai-mono);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.becai-trust span::before {
	content: "✓ ";
	color: var(--becai-cyan);
}

/* Que el encabezado fijo no tape lo que queda arriba al saltar a un ancla o al calendario */
.wp-block-post-content [id],
.becai-booking__calendar {
	scroll-margin-top: 110px;
}

/* Reserva en dos pasos: formulario → Calendly */
.becai-booking {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(20px, 4vw, 40px);
	border: 1px solid var(--becai-line-strong);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.025);
	box-shadow: 0 0 0 1px rgba(80, 187, 219, 0.08), 0 30px 80px -40px rgba(62, 130, 205, 0.55);
}
.becai-booking__steps {
	display: flex;
	gap: 10px;
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 0;
	list-style: none;
	counter-reset: becai-step;
}
.becai-booking__steps li {
	flex: 1;
	padding-top: 10px;
	border-top: 2px solid var(--becai-line-strong);
	color: var(--becai-muted);
	font-size: 0.85rem;
	counter-increment: becai-step;
}
.becai-booking__steps li::before {
	content: "Paso " counter(becai-step) " · ";
	font-family: var(--becai-mono);
}
.becai-booking__steps li.is-active {
	border-image: var(--becai-gradient) 1;
	color: #fff;
}
.becai-booking__steps li.is-done {
	border-top-color: var(--becai-cyan);
}
.becai-booking__thanks {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-size: 1.15rem;
	font-weight: 600;
	outline: none;
}
.becai-booking__widget {
	min-height: 0;
}
.becai-booking__widget:not(:empty) {
	height: 700px;
	margin-inline: calc(-1 * clamp(20px, 4vw, 40px));
}
.becai-booking__widget iframe {
	border-radius: 0 0 16px 16px;
}
.becai-booking__fallback {
	color: var(--becai-muted);
}
.becai-booking .wpcf7-form .wpcf7-submit {
	width: 100%;
	padding: 14px 26px;
	font-size: 1.05rem;
}

@media (max-width: 600px) {
	.becai-landing-cta .wp-block-button__link {
		padding: 8px 12px !important;
		font-size: 0.8rem !important;
		white-space: nowrap;
	}
	.becai-trust {
		gap: 6px 14px;
		font-size: 0.7rem;
		letter-spacing: 0.04em;
	}
	.becai-booking__widget:not(:empty) {
		height: 1000px;
	}
}
