/* Freeby – portada (diseño Figma "Freeby | Landing Page"). */
.fl {
	--fl-coral: #ff6f61;
	--fl-coral-dark: #e85a4c;
	--fl-pink: #ffd2cc;
	--fl-ink: #123d50;
	--fl-text: #333;
	--fl-muted: #5f6368;
	--fl-gray: #f5f5f5;
	font-family: "Poppins", sans-serif;
	color: var(--fl-text);
	overflow-x: clip;
}
html:has(body.freeby-portada) { scroll-behavior: smooth; }
/* El tema separa los bloques de primer nivel con un margen: aquí cada sección va pegada a la otra. */
body.freeby-portada .wp-site-blocks > * { margin-block-start: 0; }
.fl *, .fl *::before, .fl *::after { box-sizing: border-box; }
.fl h1, .fl h2, .fl h3, .fl p { font-family: inherit; margin: 0; }
.fl img { max-width: 100%; height: auto; display: block; }
.fl section { position: relative; scroll-margin-top: 90px; }
.fl .fl-anchor { position: absolute; top: -90px; }

.fl-container {
	position: relative;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.fl-gray { background: var(--fl-gray); }
.fl-coral { background: var(--fl-coral); color: #fff; }

.fl-title {
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	color: var(--fl-text);
}
.fl-title--white { color: #fff; font-weight: 600; }
.fl .fl-title--spaced { margin-top: 96px; }
.fl-subtitle {
	max-width: 560px;
	margin: 14px auto 0 !important;
	text-align: center;
	font-size: 1rem;
	line-height: 1.6;
}
.fl-subtitle--white { color: #fff; }
.fl-subtitle strong { font-weight: 600; }

/* Botones */
.fl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 40px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.fl-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.fl-btn--white { background: #fff; color: var(--fl-coral) !important; }
.fl-btn--ink { background: var(--fl-ink); color: #fff !important; border-radius: 999px; }
.fl-btn--ink:hover { background: #0b2c3b; }
.fl-btn--coral { background: var(--fl-coral); color: #fff !important; border-radius: 999px; }
.fl-btn--coral:hover { background: var(--fl-coral-dark); }

.fl-pill {
	display: inline-block;
	padding: 3px 16px;
	border-radius: 6px;
	background: var(--fl-coral);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 500;
}

/* ---------- Hero ---------- */
.fl-hero { background: var(--fl-coral); color: #fff; overflow: hidden; }
.fl-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
	min-height: min(640px, 80vh);
}
.fl-hero__text { padding: 72px 0; max-width: 520px; }
.fl-hero h1 {
	font-size: clamp(2.3rem, 4.6vw, 3.6rem);
	font-weight: 600;
	line-height: 1.22;
	color: #fff;
}
.fl-hero__text p {
	margin: 24px 0 48px;
	font-size: 1.05rem;
	line-height: 1.65;
	text-align: justify;
	max-width: 460px;
}
.fl-hero__text p strong { font-weight: 600; }
.fl-hero__text .fl-btn { margin-left: 64px; min-width: 260px; }
.fl-hero__visual { align-self: stretch; position: relative; min-height: 420px; }
.fl-hero__visual img {
	position: absolute;
	bottom: 0;
	left: 0;
	width: auto;
	max-width: none;
	height: 100%;
	/* La imagen trae a la izquierda espacio vacío (≈48 % del ancho): se corre para que la chica
	   empiece en el borde de la columna y el círculo siga hacia la derecha. */
	transform: translateX(-48.5%);
}

/* ---------- Planes ---------- */
.fl-planes { padding: 96px 0 120px; background: #fff; }
.fl-planes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.fl-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 24px 32px;
	border: 1.5px solid var(--fl-ink);
	border-top-width: 14px;
	border-radius: 12px;
	background: #fff;
	text-align: center;
	color: var(--fl-ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fl-plan:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18, 61, 80, 0.14); }
.fl-plan h3 { font-size: 1.85rem; font-weight: 500; color: var(--fl-ink); }
.fl-plan__text { margin-top: 10px !important; min-height: 3em; font-size: 0.85rem; line-height: 1.5; font-weight: 300; color: var(--fl-text); }
.fl-plan hr { width: 85%; margin: 18px 0 22px; border: 0; border-top: 2px solid currentColor; opacity: 1; }
.fl-plan__price { font-size: 2rem; font-weight: 500; line-height: 1.1; }
.fl-plan__price .woocommerce-Price-currencySymbol { margin-right: 4px; }
.fl-plan__unit { font-size: 0.9rem; }
.fl-plan__total { margin: 14px 0 26px; min-height: 2.6em; font-size: 0.8rem; color: var(--fl-muted); line-height: 1.5; }
.fl-plan__total del { display: block; opacity: 0.7; }
.fl-plan .fl-btn { margin-top: auto; width: 100%; max-width: 220px; font-size: 0.9rem; padding: 12px 20px; min-height: 44px; }
.fl-plan__flag {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--fl-coral);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.fl-plan__flag--soft { background: #e7eef1; color: var(--fl-ink); }
.fl-plan.is-featured { border-color: var(--fl-coral); color: var(--fl-coral); }
.fl-plan.is-featured h3 { color: var(--fl-coral); }
.fl-plan.is-featured:hover { box-shadow: 0 18px 40px rgba(255, 111, 97, 0.25); }

/* ---------- Beneficios ---------- */
.fl-beneficios { padding: 120px 0 96px; }
.fl-tabs { display: flex; justify-content: center; gap: 16px; margin-top: 36px; }
.fl-tab {
	min-width: 140px;
	padding: 11px 24px;
	border: 0;
	border-radius: 10px;
	background: #dedede;
	color: var(--fl-text);
	font-family: inherit;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.fl-tab:hover { background: #d2d2d2; }
.fl-tab.is-active { background: var(--fl-coral); color: #fff; }
.fl-tab:focus-visible { outline: 3px solid var(--fl-ink); outline-offset: 2px; }
.fl-beneficios__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	margin-top: 56px;
}
.fl-beneficios__phones img { width: 100%; max-width: 520px; margin: 0 auto; }
.fl-benefit-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 260px));
	gap: 28px 32px;
	justify-content: center;
}
.fl-benefit-cards[hidden] { display: none; }
.fl-benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 240px;
	padding: 28px 22px;
	border: 1.5px solid var(--fl-coral);
	border-radius: 10px;
	color: var(--fl-coral);
	text-align: center;
	animation: fl-in 0.35s ease both;
}
.fl-benefit:nth-child(even) { transform: translateY(70px); }
.fl-benefit .fl-icon { width: 96px; height: 96px; }
.fl-benefit p { font-size: 1.15rem; font-weight: 500; line-height: 1.35; }
.fl-benefit__big { font-size: 3.6rem; font-weight: 700; line-height: 1; }
.fl-benefit-cards { padding-bottom: 70px; }
@keyframes fl-in { from { opacity: 0; } to { opacity: 1; } }

/* ¿Por qué confiar? */
.fl-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 56px;
	align-items: start;
}
.fl-trust__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	min-height: 210px;
	padding: 28px 32px 36px;
	border-radius: 12px;
	background: #fff;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fl-trust__card .fl-icon { width: 34px; height: 34px; color: var(--fl-coral); opacity: 0; margin-bottom: -10px; transition: opacity 0.25s ease; }
.fl-trust__card p { font-size: 1rem; line-height: 1.45; max-width: 260px; }
.fl-trust__card:hover,
.fl-trust__card:focus-within { transform: translateY(-24px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07); }
.fl-trust__card:hover .fl-icon { opacity: 1; }

.fl-divider { width: 80%; margin: 96px auto 72px; border: 0; border-top: 4px solid #fff; opacity: 1; }

/* Aliados */
.fl-aliados {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.fl-aliados h2 { max-width: 420px; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 500; line-height: 1.25; color: var(--fl-coral); }
.fl-aliados p { margin-top: 18px !important; max-width: 460px; font-size: 0.95rem; line-height: 1.6; }
.fl-aliados__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.fl-aliados__logos img { max-height: 72px; width: auto; }
.fl-aliado-nombre { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; color: var(--fl-coral); }

/* ---------- Freeby Coins ---------- */
.fl-coins { padding: 120px 0 112px; overflow: hidden; }
.fl-coins::before,
.fl-coins::after {
	content: "";
	position: absolute;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	pointer-events: none;
}
.fl-coins::before { width: 420px; height: 420px; top: -260px; right: -120px; box-shadow: 40px 30px 0 -1.5px var(--fl-coral), 40px 30px 0 0 rgba(255, 255, 255, 0.55); }
.fl-coins::after { width: 360px; height: 360px; bottom: -200px; left: -200px; }
.fl-coins .fl-title { max-width: 680px; margin: 0 auto; }
.fl-coins__what {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	margin-top: 64px;
	padding: 40px 64px;
	border-radius: 14px;
	background: var(--fl-pink);
	color: var(--fl-text);
}
.fl-coins__what h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--fl-ink); }
.fl-coins__what p { margin-top: 10px !important; font-size: 0.95rem; line-height: 1.55; max-width: 460px; }
.fl-coins__what img { width: 150px; justify-self: center; filter: brightness(0) invert(1); }
.fl-coins__uses {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.fl-coins__card {
	padding: 26px 32px 32px;
	border-radius: 12px;
	background: var(--fl-pink);
	color: var(--fl-text);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.fl-coins__card:hover { background: #f2b5ad; transform: translateY(-4px); }
.fl-coins__card h3 { margin-top: 12px !important; font-size: 1.1rem; font-weight: 500; color: #222; }
.fl-coins__card p { margin-top: 10px !important; font-size: 0.92rem; line-height: 1.5; }

.fl-sin { margin-top: 112px; text-align: center; }
.fl-sin h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; color: #fff; }
.fl-sin p { margin: 14px auto 32px !important; max-width: 420px; font-size: 1.05rem; line-height: 1.55; }
.fl-sin p strong { font-weight: 500; }

/* ---------- Testimonios ---------- */
.fl-testimonios { padding: 120px 0 0; background: linear-gradient(#fff 0 62%, var(--fl-gray) 62%); }
.fl-hand { position: absolute; width: 190px; pointer-events: none; }
.fl-hand--left { top: -70px; left: -60px; transform: scaleX(-1) rotate(8deg); }
.fl-hand--right { top: -60px; right: -40px; transform: rotate(-150deg); }
.fl-testimonios__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
	max-width: 1060px;
	margin: 56px auto 0;
}
.fl-testimonio {
	margin: 0;
	padding: 36px 24px 28px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease;
}
.fl-testimonio:hover { transform: translateY(-4px); }
.fl-stars { color: #f6c343; font-size: 1.4rem; letter-spacing: 2px; line-height: 1; }
.fl-testimonio h3 { margin-top: 18px !important; max-width: 220px; font-size: 1.25rem; font-weight: 500; line-height: 1.3; color: #222; }
.fl-testimonio blockquote { margin: 22px 0 32px; padding: 0; border: 0; font-size: 0.88rem; line-height: 1.5; font-style: normal; color: var(--fl-text); }
.fl-testimonio { display: flex; flex-direction: column; }
.fl-testimonio figcaption { margin-top: auto; }
.fl-testimonio figcaption img { width: 170px; }

/* ---------- Preguntas frecuentes ---------- */
.fl-faq { padding: 140px 0 96px; }
.fl-faq__list { max-width: 900px; margin: 64px auto 0; border-top: 1.5px solid #cfcfcf; }
.fl-faq__item { border-bottom: 1.5px solid #cfcfcf; }
.fl-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 20px;
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	font-weight: 600;
	color: #222;
	cursor: pointer;
	list-style: none;
}
.fl-faq__item summary::-webkit-details-marker { display: none; }
.fl-faq__plus {
	position: relative;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #d4d4d4;
	transition: background-color 0.2s ease, transform 0.25s ease;
}
.fl-faq__plus::before,
.fl-faq__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: #222;
	transform: translate(-50%, -50%);
}
.fl-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.fl-faq__item[open] .fl-faq__plus { background: var(--fl-coral); transform: rotate(45deg); }
.fl-faq__item[open] .fl-faq__plus::before,
.fl-faq__item[open] .fl-faq__plus::after { background: #fff; }
.fl-faq__answer { padding: 0 72px 26px 20px; font-size: 1rem; line-height: 1.65; color: var(--fl-muted); }

/* ---------- Descarga ---------- */
.fl-cta {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	min-height: 400px;
	margin-top: 140px;
	border-radius: 24px;
	background: #ff7060;
	color: #fff;
	overflow: hidden;
	scroll-margin-top: 90px;
}
.fl-cta__text { align-self: center; padding: 56px 0 56px 64px; }
.fl-cta h2 { max-width: 380px; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500; line-height: 1.2; color: #fff; }
.fl-cta h2 strong { font-weight: 600; }
.fl-cta p { margin: 22px 0 28px !important; max-width: 340px; font-size: 1rem; line-height: 1.6; }
.fl-cta p strong { font-weight: 600; }
.fl-stores { display: flex; flex-wrap: wrap; gap: 14px; }
.fl-stores a { display: block; border-radius: 8px; transition: transform 0.15s ease; }
.fl-stores a:hover { transform: translateY(-2px); }
.fl-stores img { width: 168px; }
/* Recorte del banner original (solo la chica y los celulares): assets/img/portada-descarga.jpg. */
.fl-cta__visual { background-repeat: no-repeat; background-size: cover; background-position: 0% 15%; min-height: 320px; }

/* ---------- Página de membresías (/membresia/) ---------- */
.fl-shop-hero {
	padding: 72px 0 150px;
	background: var(--fl-coral);
	color: #fff;
	text-align: center;
	overflow: hidden;
}
.fl-shop-hero::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	top: -240px;
	right: -100px;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
}
.fl-shop-hero__eyebrow {
	display: inline-block;
	padding: 5px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}
.fl-shop-hero h1 {
	max-width: 720px;
	margin: 18px auto 0;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}
.fl-shop-hero p { margin: 16px auto 0; max-width: 520px; font-size: 1.05rem; line-height: 1.6; }

/* Las tarjetas suben sobre el bloque coral. */
.fl-planes--shop { padding: 0 0 88px; background: transparent; }
.fl-planes--shop .fl-planes__grid { margin-top: -96px; }
.fl-planes--shop .fl-plan { box-shadow: 0 14px 34px rgba(18, 61, 80, 0.1); }
/* Sobre el fondo coral, el borde coral del plan destacado se perdería: anillo blanco. */
.fl-planes--shop .fl-plan.is-featured { box-shadow: 0 0 0 4px #fff, 0 14px 34px rgba(255, 111, 97, 0.3); }

.fl-pay {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 24px;
	margin-top: 48px;
	font-size: 0.9rem;
	color: var(--fl-muted);
}
.fl-pay img { width: 260px; }

.fl-incluye { padding: 88px 0 96px; }
.fl-incluye__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.fl-incluye__item {
	padding: 28px 24px;
	border-radius: 14px;
	background: #fff;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fl-incluye__item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06); }
.fl-incluye__item .fl-icon { width: 52px; height: 52px; margin: 0 auto; color: var(--fl-coral); }
.fl-incluye__item h3 { margin-top: 16px !important; font-size: 1.1rem; font-weight: 600; color: var(--fl-ink); }
.fl-incluye__item p { margin-top: 8px !important; font-size: 0.92rem; line-height: 1.5; color: var(--fl-muted); }
.fl-incluye__more { margin-top: 40px !important; text-align: center; font-size: 0.95rem; }
.fl-incluye__more a { color: var(--fl-coral); font-weight: 600; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.fl-incluye__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fl-planes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fl-beneficios__grid { grid-template-columns: 1fr; }
	.fl-beneficios__phones img { max-width: 400px; }
	.fl-hand { width: 130px; }
	.fl-coins__what { padding: 36px 40px; }
	.fl-cta__text { padding-left: 40px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
	.fl-shop-hero { padding: 48px 0 120px; }
	.fl-planes--shop .fl-planes__grid { margin-top: -80px; }
	.fl-incluye { padding: 64px 0 72px; }
	.fl-incluye__grid { grid-template-columns: 1fr; margin-top: 32px; }
	.fl-pay img { width: 220px; }
	.fl-container { padding: 0 16px; }
	.fl-hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.fl-hero__text { padding: 48px 0 8px; }
	.fl-hero__text .fl-btn { margin-left: 0; width: 100%; min-width: 0; }
	.fl-hero__text p { margin: 18px 0 28px; text-align: left; }
	.fl-hero__visual { min-height: 0; height: 360px; margin: 0 -16px; }
	.fl-planes { padding: 64px 0 72px; }
	.fl-planes__grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
	.fl-beneficios { padding: 72px 0 64px; }
	.fl-benefit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 0; }
	.fl-benefit:nth-child(even) { transform: none; }
	.fl-benefit { min-height: 180px; padding: 20px 12px; gap: 12px; }
	.fl-benefit .fl-icon { width: 60px; height: 60px; }
	.fl-benefit p { font-size: 0.95rem; }
	.fl-benefit__big { font-size: 2.4rem; }
	.fl .fl-title--spaced { margin-top: 64px; }
	.fl-trust { grid-template-columns: 1fr; margin-top: 32px; }
	.fl-trust__card { min-height: 0; }
	.fl-trust__card .fl-icon { display: none; }
	.fl-trust__card:hover { transform: none; }
	.fl-divider { margin: 56px auto 48px; }
	.fl-aliados { grid-template-columns: 1fr; text-align: center; }
	.fl-aliados h2, .fl-aliados p { margin-left: auto; margin-right: auto; }
	.fl-coins { padding: 72px 0; }
	.fl-coins__what { grid-template-columns: 1fr; padding: 28px 24px; text-align: center; margin-top: 40px; }
	.fl-coins__what p { margin-left: auto !important; margin-right: auto !important; }
	.fl-coins__what img { width: 100px; grid-row: 1; }
	.fl-coins__uses { grid-template-columns: 1fr; }
	.fl-sin { margin-top: 72px; }
	.fl-testimonios { padding-top: 72px; background: var(--fl-gray); }
	.fl-hand { display: none; }
	.fl-testimonios__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
	.fl-faq { padding: 72px 0 64px; }
	.fl-faq__list { margin-top: 36px; }
	.fl-faq__item summary { padding: 20px 4px; }
	.fl-faq__answer { padding: 0 4px 22px; }
	.fl-cta { grid-template-columns: 1fr; margin-top: 72px; }
	.fl-cta__text { padding: 40px 24px 8px; }
	.fl-cta__visual { min-height: 300px; background-position: 30% 15%; }
	.fl-stores img { width: 150px; }
}
