/*
Theme Name: FlowFitt
Theme URI: https://flowfitt.co
Author: FlowFitt
Description: Tema para Flowfitt x Ritmo Vivo (clases de jumping en trampolín). Fondo morado oscuro, amarillo y Montserrat, armado según el diseño aprobado. Todas las secciones de la portada son filas de Pagelayer editables. Incluye importador de contenido, carrusel principal, horarios, planes, menú saludable, botón flotante de WhatsApp y opciones en el Personalizador.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flowfitt
Tags: one-column, custom-logo, custom-menu, custom-colors, featured-images, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   1. Tokens (colores del diseño)
   ========================================================================== */
:root {
	--ff-bg: #08062b;
	--ff-bg-alt: #0e0a33;
	--ff-bg-deep: #050420;
	--ff-card: #120c3b;
	--ff-card-2: #1b1249;
	--ff-border: rgba(132, 104, 235, .38);
	--ff-border-soft: rgba(160, 128, 235, .18);
	--ff-text: #ffffff;
	--ff-muted: #b9b4d6;
	--ff-yellow: #fec93b;
	--ff-yellow-ink: #120c3b;
	--ff-lilac: #a080eb;

	--ff-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ff-wrap: 1200px;
	--ff-gutter: clamp(16px, 4vw, 40px);
	--ff-radius: 16px;
	--ff-section-y: clamp(56px, 7vw, 96px);
	--ff-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--ff-bg);
	color: var(--ff-text);
	font-family: var(--ff-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--ff-yellow); text-decoration: none; transition: color .2s var(--ff-ease); }
a:hover { color: var(--ff-text); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ff-font);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -.005em;
	margin: 0 0 .45em;
	color: var(--ff-text);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.ff-y, h1 em, h2 em, h3 em { color: var(--ff-yellow); font-style: normal; }
.ff-outline {
	/* Letra calada: el relleno usa el color del fondo y tapa la mitad interna del trazo,
	   así no se ven los cruces internos de la tipografía variable. */
	color: var(--ff-outline-fill, var(--ff-bg)) !important;
	-webkit-text-stroke: 3px var(--ff-text);
	paint-order: stroke fill;
}
.ff-upper { text-transform: uppercase; }

::selection { background: var(--ff-yellow); color: var(--ff-yellow-ink); }
:focus-visible { outline: 2px solid var(--ff-yellow); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px; background: var(--ff-yellow); color: var(--ff-yellow-ink);
}
.ff-wrap { max-width: var(--ff-wrap); margin: 0 auto; padding: 0 var(--ff-gutter); }

/* ==========================================================================
   3. Botones
   ========================================================================== */
.ff-btn, .wp-block-button__link, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: 1em 1.7em;
	border: 2px solid var(--ff-yellow);
	border-radius: 999px;
	background: var(--ff-yellow);
	color: var(--ff-yellow-ink) !important;
	font-family: var(--ff-font);
	font-weight: 800;
	font-size: .82rem;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: transform .25s var(--ff-ease), box-shadow .25s var(--ff-ease), background .25s, color .25s, border-color .25s;
}
.ff-btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px -10px rgba(254, 201, 59, .55);
	color: var(--ff-yellow-ink) !important;
}
.ff-btn--outline {
	background: transparent;
	color: var(--ff-text) !important;
	border-color: var(--ff-yellow);
}
.ff-btn--outline:hover { background: var(--ff-yellow); color: var(--ff-yellow-ink) !important; }
.ff-btn--lilac {
	background: transparent;
	color: var(--ff-text) !important;
	border-color: var(--ff-lilac);
	text-transform: none;
	font-size: .9rem;
}
.ff-btn--lilac.ff-upper { text-transform: uppercase; letter-spacing: .12em; }
.ff-btn--lilac:hover { background: var(--ff-lilac); color: var(--ff-bg) !important; box-shadow: 0 12px 30px -12px rgba(160, 128, 235, .6); }
.ff-btn--white {
	background: transparent; color: var(--ff-text) !important; border: 1.5px solid var(--ff-text);
}
.ff-btn--white:hover { background: var(--ff-text); color: var(--ff-bg) !important; box-shadow: none; }
.ff-btn--block { width: 100%; }
.ff-btn .ff-ico { width: 1.15em; height: 1.15em; flex: none; }
.ff-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ff-legal { font-size: .72rem; color: var(--ff-muted); margin-top: 18px; }
.ff-legal a { color: var(--ff-muted); text-decoration: underline; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.ff-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid var(--ff-border-soft);
}
/* El desenfoque va en una capa aparte: si estuviera en el propio encabezado,
   el menú del celular (position: fixed) quedaría encerrado en la barra. */
.ff-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(8, 6, 43, .9);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.admin-bar .ff-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ff-header { top: 46px; } }
.ff-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.ff-logo { display: inline-flex; align-items: center; }
.ff-logo img, .custom-logo-link img { height: 52px; width: auto; display: block; }
.ff-logo__text { font-weight: 900; font-size: 1.6rem; color: var(--ff-text); }
.ff-logo__text span { color: var(--ff-yellow); }

.ff-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(8px, 2vw, 28px); }
.ff-nav li { position: relative; }
.ff-nav a {
	display: block; padding: 8px 0;
	color: var(--ff-text);
	font-weight: 700; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase;
	border-bottom: 2px solid transparent;
}
.ff-nav a:hover,
.ff-nav .current-menu-item > a,
.ff-nav .is-active > a { color: var(--ff-yellow); border-bottom-color: var(--ff-yellow); }
.ff-nav .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 220px; display: block; padding: 10px 16px;
	background: var(--ff-card); border: 1px solid var(--ff-border); border-radius: 12px;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ff-ease);
}
.ff-nav li:hover > .sub-menu, .ff-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.ff-header__cta { display: flex; align-items: center; gap: 12px; }
.ff-header__cta .ff-btn { padding: .9em 1.4em; }
.ff-user {
	width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--ff-border); color: var(--ff-text);
}
.ff-user:hover { border-color: var(--ff-yellow); color: var(--ff-yellow); }
.ff-user svg { width: 18px; height: 18px; }

.ff-burger {
	display: none; width: 46px; height: 46px; border-radius: 50%;
	background: transparent; border: 1.5px solid var(--ff-border); color: var(--ff-text);
	cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.ff-burger span, .ff-burger span::before, .ff-burger span::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative;
	transition: transform .25s var(--ff-ease), background .25s;
}
.ff-burger span::before, .ff-burger span::after { content: ""; position: absolute; left: 0; }
.ff-burger span::before { top: -6px; }
.ff-burger span::after { top: 6px; }
.ff-nav-open .ff-burger span { background: transparent; }
.ff-nav-open .ff-burger span::before { transform: translateY(6px) rotate(45deg); }
.ff-nav-open .ff-burger span::after { transform: translateY(-6px) rotate(-45deg); }
.ff-nav__mobile-cta { display: none; }

@media (max-width: 1024px) {
	.ff-burger { display: inline-flex; }
	.ff-header__cta .ff-btn, .ff-header__cta .ff-user { display: none; }
	.ff-nav {
		position: fixed; top: 80px; left: 0; right: 0; bottom: 0; height: calc(100vh - 80px); height: calc(100dvh - 80px);
		z-index: 49; background: var(--ff-bg);
		padding: 24px var(--ff-gutter) 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ff-ease);
	}
	.admin-bar .ff-nav { top: 126px; height: calc(100dvh - 126px); }
	.ff-nav-open { overflow: hidden; }
	.ff-nav-open .ff-nav { opacity: 1; visibility: visible; transform: none; }
	.ff-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.ff-nav a { font-size: 1.3rem; font-weight: 900; padding: 16px 0; border-bottom: 1px solid var(--ff-border-soft); }
	.ff-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 0 16px; }
	.ff-nav__mobile-cta { display: block; margin-top: 28px; }
	.ff-nav .ff-nav__mobile-cta .ff-btn { display: flex; width: 100%; font-size: .9rem; font-weight: 800; padding: 1.1em 1.4em; border-bottom: 2px solid var(--ff-yellow); color: var(--ff-yellow-ink) !important; }
	.ff-nav-open .ff-wa { opacity: 0; pointer-events: none; }
}

/* ==========================================================================
   5. Secciones (filas de Pagelayer con clases propias)
   ========================================================================== */
.ff-main { display: block; }
.ff-section {
	position: relative;
	padding-top: var(--ff-section-y) !important;
	padding-bottom: var(--ff-section-y) !important;
}
.ff-section > .pagelayer-row-holder {
	max-width: var(--ff-wrap) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: max(0px, calc(var(--ff-gutter) - 12px));
	padding-right: max(0px, calc(var(--ff-gutter) - 12px));
	align-items: center;
}
.ff-section--alt { background: var(--ff-bg-alt); }
.ff-section--deep { background: var(--ff-bg-deep); }
.ff-section--tight { padding-top: clamp(36px, 5vw, 56px) !important; padding-bottom: clamp(36px, 5vw, 56px) !important; }
.ff-section--line { border-top: 1px solid var(--ff-border-soft); border-bottom: 1px solid var(--ff-border-soft); }
.ff-section--top-0 { padding-top: 0 !important; }

.ff-main .pagelayer-col-holder { padding-left: 12px; padding-right: 12px; }
.ff-main .pagelayer-text-holder > h1, .ff-main .pagelayer-text-holder > h2 { margin-top: 0; margin-bottom: .45em; }
.ff-main .pagelayer-text-holder > p { margin-bottom: 1em; }
.ff-main .pagelayer-text-holder .ff-eyebrow { margin-bottom: 16px; }
.ff-main .pagelayer-text-holder > *:last-child,
.ff-main .pagelayer-heading-holder > *:last-child { margin-bottom: 0; }

.ff-eyebrow {
	display: block;
	font-size: .72rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
	color: var(--ff-lilac);
	margin: 0 0 16px;
}
.ff-center { text-align: center; }
.ff-lead { color: var(--ff-muted); font-size: 1rem; max-width: 52ch; }

/* ---------- Carrusel principal ---------- */
.ff-hero {
	overflow: hidden;
	padding-top: clamp(40px, 6vw, 72px) !important;
	padding-bottom: clamp(28px, 4vw, 44px) !important;
	background: radial-gradient(640px 360px at 74% 46%, rgba(94, 64, 200, .26), transparent 70%), var(--ff-bg);
}
.ff-hero.ff-next-row { background: var(--ff-bg); }
.ff-hero h1 { margin-bottom: .4em; }
.ff-hero h1 em { display: block; }
.ff-hero__media img, .ff-hero .pagelayer-img {
	display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain;
	-webkit-mask-image: radial-gradient(ellipse 58% 62% at 54% 50%, #000 52%, transparent 92%);
	mask-image: radial-gradient(ellipse 58% 62% at 54% 50%, #000 52%, transparent 92%);
}

.ff-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 22px; padding: 0; list-style: none; }
.ff-pills li, .ff-pill {
	display: inline-block; padding: 5px 11px; border-radius: 999px;
	border: 1.5px solid var(--ff-border); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.ff-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ff-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; font-weight: 500; }
.ff-checks li::before {
	content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
	border: 1.5px solid var(--ff-yellow);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fec93b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ff-checks--sm li { font-size: .85rem; }

/* Slider (lo arma assets/js/flowfitt.js con filas consecutivas .ff-slide) */
.ff-slider { position: relative; }
.ff-slider__track { position: relative; }
.ff-slider .ff-slide { display: none !important; }
.ff-slider .ff-slide.is-active { display: flex !important; animation: ff-fade .6s var(--ff-ease); }
@keyframes ff-fade { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.ff-slider__arrow {
	position: absolute; top: 45%; z-index: 5; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 0; color: var(--ff-text); cursor: pointer; padding: 0; opacity: .85;
}
.ff-slider__arrow:hover { color: var(--ff-yellow); opacity: 1; }
.ff-slider__arrow svg { width: 30px; height: 30px; }
.ff-slider__arrow--prev { left: 8px; }
.ff-slider__arrow--next { right: 8px; }
.ff-slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 6px; z-index: 5; }
.ff-slider__dots button {
	width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: var(--ff-lilac); opacity: .7;
	cursor: pointer; transition: width .3s var(--ff-ease), background .3s;
}
.ff-slider__dots button.is-active { width: 22px; background: var(--ff-yellow); opacity: 1; }
@media (max-width: 768px) { .ff-slider__arrow { top: auto; bottom: 6px; } }

/* ---------- Próximas clases ---------- */
.ff-next {
	display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px;
	border: 1.5px solid var(--ff-border); border-radius: 22px;
	padding: 16px 22px;
	background: rgba(18, 12, 59, .55);
}
.ff-next__label { font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: var(--ff-lilac); margin-right: 6px; text-transform: uppercase; }
.ff-next__item {
	min-width: 124px; padding: 9px 12px; border-radius: 10px;
	background: var(--ff-card); border: 1px solid var(--ff-border-soft); line-height: 1.25;
}
.ff-next__item small { display: block; font-size: .62rem; color: var(--ff-muted); }
.ff-next__item b { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 900; text-transform: uppercase; }
.ff-next__item b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ff-lilac); }
.ff-next__item span { font-size: .62rem; color: var(--ff-muted); }
.ff-next__more { margin-left: auto; font-size: .75rem; font-weight: 800; color: var(--ff-yellow); }
.ff-next__more:hover { color: var(--ff-text); }
.ff-next__item.is-today { border-color: var(--ff-yellow); }

/* ---------- Barra de cifras ---------- */
.ff-stats { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.15fr; gap: 24px; align-items: center; }
.ff-stats__big strong { display: block; font-size: clamp(2.8rem, 5vw, 3.8rem); font-weight: 900; color: var(--ff-yellow); line-height: 1; }
.ff-stats__big span { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ff-stats p { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
@media (max-width: 1024px) and (min-width: 561px) { .ff-stats { grid-template-columns: repeat(3, 1fr); row-gap: 18px; } .ff-stats__big { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ff-stats { grid-template-columns: 1fr; gap: 14px; } .ff-stats__big strong { font-size: 3rem; } }

/* ---------- Reto 21 días ---------- */
.ff-reto-title { text-transform: uppercase; font-size: clamp(3.6rem, 9vw, 6rem); line-height: 1; margin: 0 0 .3em; letter-spacing: -.01em; }
.ff-reto-title .ff-outline { -webkit-text-stroke-width: 3px; font-weight: 800; }
.ff-slashes { font-size: .9rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.8; }
.ff-photo {
	border-radius: 22px; overflow: hidden; display: block;
	border: 1px solid var(--ff-border-soft);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.ff-photo img, .ff-photo .pagelayer-img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }

/* ---------- Planes ---------- */
.ff-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: center; }
@media (max-width: 1024px) {
	.ff-plans { gap: 14px; }
	.ff-plan { padding: 22px 16px 20px; }
	.ff-plan--featured { padding-top: 28px; padding-bottom: 26px; }
	.ff-plan h3 { font-size: clamp(1.15rem, 2.4vw, 1.6rem); white-space: nowrap; }
	.ff-plan__price { font-size: clamp(1.5rem, 3.3vw, 2.2rem); }
	.ff-plan__price small { display: block; margin: 2px 0 0; }
	.ff-plan .ff-checks li { font-size: .78rem; }
	.ff-plan .ff-btn { padding: .95em .8em; font-size: .74rem; }
}
@media (max-width: 719px) {
	.ff-plans, .ff-width-completo .ff-plans { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; gap: 18px; }
	.ff-plan h3 { font-size: 1.8rem; }
	.ff-plan__price { font-size: 2.3rem; }
	.ff-plan__price small { display: inline; margin-left: 4px; }
	.ff-plan .ff-checks li { font-size: .88rem; }
}
.ff-plan {
	background: var(--ff-card);
	border: 1.5px solid var(--ff-border);
	border-radius: 20px;
	padding: 26px 24px 24px;
	transition: transform .3s var(--ff-ease);
}
.ff-plan:hover { transform: translateY(-4px); }
.ff-plan--featured {
	border-color: var(--ff-yellow);
	padding-top: 34px; padding-bottom: 32px;
	box-shadow: 0 0 0 1px rgba(254, 201, 59, .25), 0 20px 60px -20px rgba(254, 201, 59, .35);
}
.ff-plan__tag { font-size: .66rem; font-weight: 800; letter-spacing: .24em; color: var(--ff-lilac); text-transform: uppercase; }
.ff-plan h3 { font-size: 1.85rem; margin: 6px 0 4px; text-transform: uppercase; }
.ff-plan--featured h3 { color: var(--ff-yellow); }
.ff-plan__sub { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.ff-plan__old { font-size: .72rem; color: var(--ff-muted); text-decoration: line-through; margin: 12px 0 0; }
.ff-plan__price { font-size: clamp(2.1rem, 3.4vw, 2.6rem); font-weight: 900; line-height: 1.1; margin: 0 0 14px; white-space: nowrap; }
.ff-plan__price small { font-size: .7rem; font-weight: 700; margin-left: 4px; }
.ff-plan .ff-checks { margin-bottom: 22px; }
.ff-plan .ff-btn { width: 100%; }
.ff-plan .ff-btn--outline { border-width: 1.5px; }
.ff-note { text-align: center; font-size: .78rem; color: var(--ff-muted); margin-top: 26px; }

/* ---------- 5 clases ---------- */
.ff-head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.ff-head-split h2 { margin: 0; text-transform: uppercase; }
.ff-head-split h2 em { display: block; }
.ff-tagline { font-weight: 800; font-style: italic; font-size: 1.05rem; margin: 0; }
.ff-classes { display: flex; flex-wrap: wrap; gap: 14px; }
.ff-classes > .ff-class { flex: 1 1 0; min-width: 0; }
@media (max-width: 1024px) { .ff-classes > .ff-class { flex: 1 1 calc(33.333% - 14px); } }
@media (max-width: 640px) { .ff-classes > .ff-class { flex: 1 1 calc(50% - 14px); min-height: 150px; } }
.ff-class {
	display: flex; flex-direction: column; min-height: 168px;
	border-radius: 16px; padding: 18px 14px 16px;
	background: linear-gradient(180deg, #24175e 0%, #150e43 70%);
	border: 1px solid var(--ff-border-soft);
	transition: transform .3s var(--ff-ease), border-color .3s;
}
.ff-class:hover { transform: translateY(-4px); border-color: var(--ff-yellow); }
.ff-class__num { font-size: .68rem; font-weight: 800; color: var(--ff-lilac); }
.ff-class h3 { color: var(--ff-yellow); font-size: 1.12rem; margin: 10px 0 6px; text-transform: uppercase; }
.ff-class p { font-size: .78rem; font-weight: 700; line-height: 1.35; margin: 0; }
.ff-class small { display: block; margin-top: auto; padding-top: 18px; font-size: .68rem; color: var(--ff-muted); line-height: 1.35; }
.ff-facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 22px; font-size: .78rem; }
.ff-facts b { color: var(--ff-yellow); }
.ff-health {
	margin-top: 16px; font-size: .74rem; color: var(--ff-muted); line-height: 1.5;
	border-left: 2px solid var(--ff-lilac); padding-left: 12px; max-width: 900px;
}
.ff-health b { color: var(--ff-text); }

/* ---------- Reservar ---------- */
.ff-week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
@media (max-width: 1024px) { .ff-week { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ff-week { grid-template-columns: 1fr 1fr; gap: 10px; } .ff-day { padding: 12px 10px; } .ff-day li { flex-wrap: wrap; font-size: .68rem; } }
.ff-day { border: 1.5px solid var(--ff-border); border-radius: 14px; padding: 14px 12px; background: rgba(18, 12, 59, .4); }
.ff-day.is-today { border-color: var(--ff-yellow); }
.ff-day__name { font-size: .62rem; font-weight: 800; letter-spacing: .14em; color: var(--ff-lilac); text-transform: uppercase; display: block; }
.ff-day h3 { color: var(--ff-yellow); font-size: .95rem; margin: 6px 0 10px; text-transform: uppercase; }
.ff-day ul { list-style: none; padding: 0; margin: 0; }
.ff-day li {
	display: flex; align-items: center; justify-content: space-between; gap: 6px;
	padding: 5px 0; border-top: 1px solid var(--ff-border-soft); font-size: .72rem;
}
.ff-badge, .ff-day li a {
	display: inline-block; padding: 3px 8px; border-radius: 999px;
	background: var(--ff-yellow); color: var(--ff-yellow-ink); font-size: .58rem; font-weight: 900; letter-spacing: .04em; white-space: nowrap;
}
.ff-day li a:hover { background: var(--ff-text); color: var(--ff-yellow-ink); }
.ff-badge--full { background: #ff5d73; color: #fff; }
.ff-badge--mine { background: var(--ff-lilac); color: var(--ff-bg); }
.ff-badge--done { background: #4b4670; color: #c9c5df; }
.ff-rules { font-size: .72rem; color: var(--ff-muted); margin-top: 18px; }

/* ---------- Lanzamiento ---------- */
.ff-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
@media (max-width: 768px) { .ff-offers { grid-template-columns: 1fr; } }
.ff-offer {
	text-align: center; border: 1.5px solid var(--ff-border); border-radius: 20px;
	padding: 34px 22px; background: var(--ff-card);
}
.ff-offer h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); text-transform: uppercase; margin-bottom: 10px; }
.ff-offer { --ff-outline-fill: var(--ff-card); }
.ff-offer h3 .ff-outline { -webkit-text-stroke-width: 2.4px; }
.ff-offer__deal { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; color: var(--ff-yellow); margin: 0 0 18px; }

/* ---------- Menú saludable ---------- */
.ff-menu-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .ff-menu-cards { grid-template-columns: 1fr; } }
.ff-product { border-radius: 16px; padding: 22px 18px; border: 1.5px dashed var(--ff-border); min-height: 168px; }
.ff-product__cat { font-size: .6rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ff-lilac); }
.ff-product h3 { font-size: 1.2rem; text-transform: uppercase; margin: 8px 0 6px; }
.ff-product p { font-size: .74rem; line-height: 1.4; margin: 0 0 12px; color: var(--ff-muted); }
.ff-product__price { font-size: 1.3rem; font-weight: 900; }
.ff-product--yellow { background: var(--ff-yellow); border: 0; color: var(--ff-yellow-ink); }
.ff-product--yellow .ff-product__cat, .ff-product--yellow h3, .ff-product--yellow p, .ff-product--yellow .ff-product__price { color: var(--ff-yellow-ink); }
.ff-product__img { border-radius: 10px; overflow: hidden; margin: -6px -4px 14px; aspect-ratio: 16 / 10; }
.ff-product__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Nuestro espacio ---------- */
.ff-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ff-tile {
	aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
	background: var(--ff-card-2); border: 1px solid var(--ff-border-soft);
	display: flex; align-items: center; justify-content: center;
	font-size: .66rem; font-weight: 800; letter-spacing: .06em; color: var(--ff-lilac); text-transform: uppercase;
}
.ff-tile img, .ff-tile iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.ff-address { font-size: .8rem; margin-top: 30px; }

/* ==========================================================================
   6. Páginas y blog (sin Pagelayer)
   ========================================================================== */
.ff-entry-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 52px); border-bottom: 1px solid var(--ff-border-soft); }
.ff-entry-hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.ff-meta { color: var(--ff-muted); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; }
.ff-meta a { color: var(--ff-muted); }
.ff-content-area { padding: clamp(40px, 6vw, 80px) 0; }
.ff-prose { max-width: 760px; margin: 0 auto; }
.ff-prose > * + * { margin-top: 1.1em; }
.ff-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.4em; }
.ff-prose a { text-decoration: underline; text-underline-offset: 3px; }
.ff-prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--ff-yellow); font-size: 1.15rem; }
.ff-prose img { border-radius: 12px; }
.ff-prose table { width: 100%; border-collapse: collapse; }
.ff-prose th, .ff-prose td { border-bottom: 1px solid var(--ff-border-soft); padding: 10px; text-align: left; }
.ff-thumb-full { max-width: 1000px; margin: 0 auto 40px; border-radius: 18px; overflow: hidden; }
.ff-thumb-full img { display: block; width: 100%; }

.ff-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.ff-post-card { display: flex; flex-direction: column; background: var(--ff-card); border: 1px solid var(--ff-border-soft); border-radius: 18px; overflow: hidden; transition: transform .3s var(--ff-ease), border-color .3s; }
.ff-post-card:hover { transform: translateY(-4px); border-color: var(--ff-yellow); }
.ff-post-card__img { aspect-ratio: 16 / 10; background: var(--ff-card-2); display: block; overflow: hidden; }
.ff-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ff-post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ff-post-card h2 { font-size: 1.3rem; margin: 0; }
.ff-post-card h2 a { color: var(--ff-text); }
.ff-post-card h2 a:hover { color: var(--ff-yellow); }
.ff-post-card p { color: var(--ff-muted); font-size: .9rem; margin: 0; }
.ff-pagination { margin-top: 44px; display: flex; justify-content: center; }
.ff-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ff-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ff-border); color: var(--ff-text); font-weight: 700; }
.ff-pagination .current, .ff-pagination .page-numbers:hover { background: var(--ff-yellow); border-color: var(--ff-yellow); color: var(--ff-yellow-ink); }
.ff-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 56px auto 0; }
.ff-post-nav a { display: block; padding: 18px; border: 1.5px solid var(--ff-border); border-radius: 14px; color: var(--ff-text); font-weight: 700; }
.ff-post-nav a:hover { border-color: var(--ff-yellow); }
.ff-post-nav small { display: block; color: var(--ff-muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.ff-post-nav .next { text-align: right; grid-column: 2; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%; padding: 13px 16px; background: var(--ff-card); color: var(--ff-text);
	border: 1.5px solid var(--ff-border); border-radius: 12px; font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ff-yellow); }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.ff-comments { max-width: 760px; margin: 60px auto 0; }
.ff-comments ol { list-style: none; padding: 0; }
.ff-comments .children { list-style: none; padding-left: 24px; }
.ff-comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--ff-border-soft); }
.ff-404 { text-align: center; padding: clamp(80px, 12vw, 150px) 0; }
.ff-404__num { font-size: clamp(7rem, 26vw, 15rem); font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--ff-yellow); }
.ff-404 .search-form { margin: 28px auto 0; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { color: var(--ff-muted); font-size: .82rem; text-align: center; }

/* ==========================================================================
   7. Footer
   ========================================================================== */
.ff-footer { background: var(--ff-bg-deep); border-top: 1px solid var(--ff-border-soft); padding: clamp(44px, 6vw, 64px) 0 36px; font-size: .78rem; }
.ff-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.ff-footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 22px clamp(24px, 4vw, 44px); }
@media (max-width: 860px) { .ff-footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ff-footer__cols { grid-template-columns: 1fr 1fr; } }
.ff-footer h4 { font-size: .72rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.ff-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ff-footer a { color: var(--ff-text); }
.ff-footer a:hover { color: var(--ff-yellow); }
.ff-social { display: flex; gap: 10px; margin-bottom: 22px; }
.ff-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ff-text); color: var(--ff-text); }
.ff-social a:hover { background: var(--ff-yellow); border-color: var(--ff-yellow); color: var(--ff-yellow-ink); }
.ff-social svg { width: 16px; height: 16px; fill: currentColor; }
.ff-footer__logo img { height: 56px; width: auto; display: block; margin-bottom: 18px; }
.ff-copy { color: var(--ff-muted); font-size: .7rem; }

/* Botón flotante de WhatsApp */
.ff-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--ff-yellow); color: var(--ff-yellow-ink);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 30px -8px rgba(254, 201, 59, .6);
	transition: transform .25s var(--ff-ease);
}
.ff-wa:hover { transform: scale(1.08); color: var(--ff-yellow-ink); }
.ff-wa svg { width: 26px; height: 26px; fill: currentColor; }

/* Aparición suave al hacer scroll */
.ff-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ff-ease), transform .7s var(--ff-ease); }
.ff-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ff-reveal { opacity: 1; transform: none; }
	.ff-slider .ff-slide.is-active { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Banner de frase (opcional: se borra como cualquier fila) ---------- */
.ff-banner {
	overflow: hidden;
	min-height: clamp(320px, 42vw, 520px);
	display: flex !important; align-items: center;
	background: var(--ff-bg-deep);
	text-align: center;
}
.ff-banner { position: relative !important; }
.ff-banner > .pagelayer-row-holder, .ff-banner .pagelayer-col, .ff-banner .pagelayer-col-holder { position: static !important; }
.ff-banner .ff-banner__bg {
	position: absolute !important; inset: 0; z-index: 0; width: 100% !important; margin: 0 !important;
}
.ff-banner .ff-banner__bg .pagelayer-image-holder, .ff-banner .ff-banner__bg img {
	width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; display: block;
}
.ff-banner .ff-banner__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8, 6, 43, .72), rgba(8, 6, 43, .88)), radial-gradient(ellipse at center, rgba(94, 64, 200, .25), transparent 70%);
}
.ff-banner .pagelayer-text { position: relative; z-index: 1; }
.ff-banner { --ff-outline-fill: rgba(8, 6, 43, .9); }
.ff-banner__title {
	font-size: clamp(2.4rem, 7.5vw, 6.2rem) !important; text-transform: uppercase; line-height: .98; margin: 0 0 .35em !important;
}
.ff-banner__title .ff-outline { display: block; -webkit-text-stroke-width: 3px; }
.ff-banner__sub { font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 700; max-width: 40ch; margin: 0 auto !important; }
.ff-banner__sub em { font-style: normal; color: var(--ff-yellow); }

/* ---------- Botón de cierre (opcional) ---------- */
.ff-closer { text-align: center; border-top: 1px solid var(--ff-border-soft); }
.ff-btn--big { font-size: clamp(.9rem, 1.6vw, 1.1rem); padding: 1.2em 2.2em; }

/* ==========================================================================
   9. Pantallas grandes y modo "todo el ancho"
   ========================================================================== */
/* En monitores grandes todo crece un poco (los tamaños usan rem). */
@media (min-width: 1680px) { html { font-size: 17px; } }
@media (min-width: 2200px) { html { font-size: 18.5px; } }

/* Bloques que no conviene estirar infinito: se centran con un tope cómodo. */
.ff-width-completo .ff-plans { max-width: 1320px; margin-left: auto; margin-right: auto; }
.ff-width-completo .ff-hero__media img,
.ff-width-completo .ff-hero .pagelayer-img { max-height: min(62vh, 640px); }
.ff-width-completo .ff-photo img,
.ff-width-completo .ff-photo .pagelayer-img { max-height: 620px; }

/* ==========================================================================
   10. Tablets y celulares: cuando las columnas se apilan
   ========================================================================== */
@media (max-width: 768px) {
	.ff-hero__media img, .ff-hero .pagelayer-img,
	.ff-width-completo .ff-hero__media img, .ff-width-completo .ff-hero .pagelayer-img { max-height: 360px; margin: 8px auto 0; }
	.ff-photo img, .ff-photo .pagelayer-img,
	.ff-width-completo .ff-photo img, .ff-width-completo .ff-photo .pagelayer-img { aspect-ratio: 4 / 3; max-height: 440px; object-position: center 20%; }
	.ff-hero h1 em { display: inline; }
	.ff-head-split { flex-direction: column; align-items: flex-start; }
	.ff-gallery .ff-tile { aspect-ratio: 16 / 10; }
	.ff-next__more { margin-left: 0; width: 100%; text-align: right; }
}
@media (max-width: 480px) {
	.ff-actions { flex-direction: column; align-items: stretch; }
	.ff-actions .ff-btn { width: 100%; }
	.ff-next { padding: 14px; gap: 10px; }
	.ff-next__label { width: 100%; }
	.ff-next__item { flex: 1 1 calc(33.333% - 10px); min-width: 0; }
	.ff-next__item b { font-size: .72rem; }
	.ff-offer { padding: 26px 16px; }
}
.ff-photo img, .ff-photo .pagelayer-img { object-position: center 20%; }

/* Engranaje del panel administrativo (junto a "Inscríbete ya") */
.ff-gear {
	width: 34px; height: 34px; border-radius: 50%; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--ff-muted); opacity: .75;
	transition: color .2s, opacity .2s, transform .4s var(--ff-ease);
}
.ff-gear svg { width: 18px; height: 18px; }
.ff-gear:hover, .ff-gear:focus-visible { color: var(--ff-yellow); opacity: 1; transform: rotate(60deg); }
@media (max-width: 1024px) { .ff-gear { width: 38px; height: 38px; } }

/* Planes, clases y horario armados desde el panel de FlowFitt Studio */
.ff-plans.ff-plans--n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ff-plans.ff-plans--n2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.ff-plans.ff-plans--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .ff-plans.ff-plans--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 719px) { .ff-plans[class*="ff-plans--n"] { grid-template-columns: 1fr; } }
.ff-plan { display: flex; flex-direction: column; }
.ff-plan .ff-checks { flex: 1; }
.ff-class__icon { font-size: .95em; }
.ff-day__svc { font-style: normal; font-size: .6rem; color: var(--ff-lilac); margin-left: auto; margin-right: 6px; }
.ff-week a.ff-badge--full { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #ff5d73; color: #fff; font-size: .58rem; font-weight: 900; white-space: nowrap; }
.ff-offer__price { font-size: .95rem; font-weight: 800; color: var(--ff-muted); margin: -8px 0 18px; }
.ff-offer__price s { font-weight: 600; opacity: .7; margin-right: 6px; }
.ff-offer__price { color: var(--ff-text) !important; }

/* Etiqueta de descuento en la tarjeta del plan */
.ff-plan { position: relative; }
.ff-plan__off {
	position: absolute; top: 16px; right: 16px;
	background: #ff5d73; color: #fff; font-weight: 900; font-size: .78rem;
	padding: 5px 10px; border-radius: 999px; letter-spacing: .02em;
}

/* Cuenta regresiva de la promoción (sección Lanzamiento) */
.ff-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -6px 0 24px; }
.ff-countdown__label { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ff-lilac); margin-right: 4px; }
.ff-countdown__box {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 64px; padding: 8px 10px; border-radius: 12px;
	background: var(--ff-card); border: 1.5px solid var(--ff-border);
}
.ff-countdown__box b { font-size: 1.5rem; font-weight: 900; color: var(--ff-yellow); line-height: 1; font-variant-numeric: tabular-nums; }
.ff-countdown__box small { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ff-muted); margin-top: 4px; }
@media (max-width: 480px) { .ff-countdown__box { min-width: 54px; padding: 6px 8px; } .ff-countdown__box b { font-size: 1.2rem; } }
