/* ==========================================================================
   The Fan Lab — sistema de diseño
   ========================================================================== */

:root {
	--tfl-ink: #111111;
	--tfl-white: #ffffff;
	--tfl-frame: #DBF074;
	--tfl-lime: #D4F25C;
	--tfl-lime-soft: #E6F99A;
	--tfl-orange: #FF6600;
	--tfl-orange-soft: #FFB08F;
	--tfl-lilac: #C9B6FF;
	--tfl-lilac-soft: #DCCFFF;
	--tfl-pink: #FFB8D2;
	--tfl-pink-soft: #FFD3E3;
	--tfl-cream: #F3F1EC;
	--tfl-ink-2: #2A2A2A;
	--tfl-muted: #4A4A4A;
	--tfl-gutter: 40px;
	--tfl-radius-page: 56px;
	--tfl-radius-xl: 48px;
	--tfl-radius-lg: 40px;
	--tfl-radius-md: 32px;
	--tfl-font: "M PLUS Rounded 1c", system-ui, sans-serif;
}

@media (max-width: 720px) {
	:root {
		--tfl-gutter: 20px;
		--tfl-radius-page: 32px;
		--tfl-radius-xl: 32px;
		--tfl-radius-lg: 28px;
		--tfl-radius-md: 24px;
	}
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--tfl-frame);
	color: var(--tfl-ink);
	font-family: var(--tfl-font);
	font-size: 17px;
	line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tfl-ink); }
a:hover { opacity: .85; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--tfl-orange);
	outline-offset: 3px;
}

.screen-reader-text, .tfl-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100;
	width: auto; height: auto; clip: auto;
	padding: 12px 20px; background: var(--tfl-ink); color: var(--tfl-white);
	border-radius: 999px; text-decoration: none; font-weight: 800;
}

/* ---------- Marco y página ---------- */

.tfl-frame {
	min-height: 100vh;
	padding: 20px 16px 40px;
}

.tfl-page {
	max-width: 1400px;
	margin: 0 auto;
	background: var(--tfl-white);
	border-radius: var(--tfl-radius-page);
	overflow: hidden;
	padding-bottom: var(--tfl-gutter);
}

.tfl-wrap { padding-left: var(--tfl-gutter); padding-right: var(--tfl-gutter); }
.tfl-section { padding: 96px var(--tfl-gutter) 0; }
.tfl-section--tight { padding-top: 16px; }
.tfl-section--flush { padding-left: 0; padding-right: 0; }

@media (max-width: 720px) {
	.tfl-section { padding-top: 64px; }
}

/* ---------- Tipografía ---------- */

.tfl-h1, .tfl-h2, .tfl-h3 { margin: 0; font-weight: 900; letter-spacing: -0.05em; line-height: .95; }
.tfl-h1 { font-size: clamp(44px, 6vw, 84px); }
.tfl-h1--xl { font-size: clamp(64px, 11vw, 160px); line-height: .86; letter-spacing: -0.06em; }
.tfl-h1--l { font-size: clamp(48px, 7vw, 96px); }
.tfl-h2 { font-size: clamp(40px, 5vw, 72px); }
.tfl-h2--xxl { font-size: clamp(64px, 9vw, 128px); line-height: .88; letter-spacing: -0.06em; }
.tfl-h3 { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.04em; line-height: 1; }
.tfl-lead { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 600px; }
.tfl-small { font-size: 15px; }
.tfl-h1, .tfl-h2 { isolation: isolate; }
.tfl-mark {
	--tfl-mark-bg: var(--tfl-lime);
	position: relative;
	padding: 0 .16em;
	white-space: nowrap;
}
/* El fondo va detrás de todas las líneas: no tapa los trazos de la línea de arriba ni la de abajo. */
.tfl-mark::before {
	content: "";
	position: absolute;
	inset: .1em 0 -.04em;
	background: var(--tfl-mark-bg);
	border-radius: .28em;
	z-index: -1;
}
.tfl-lime-text { color: var(--tfl-lime); }

.tfl-head-row {
	display: flex; flex-wrap: wrap; gap: 20px;
	align-items: flex-end; justify-content: space-between;
	margin-bottom: 32px;
}
.tfl-head-row p { margin: 0; max-width: 440px; font-size: 18px; }

/* ---------- Header ---------- */

.tfl-header {
	padding: 36px var(--tfl-gutter) 24px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.tfl-logo { display: inline-flex; align-items: center; text-decoration: none; }
.tfl-logo svg { display: block; height: 90px; width: auto; }
@media (max-width: 720px) { .tfl-logo svg { height: 64px; } }

.tfl-nav {
	display: flex; flex-wrap: wrap; gap: 4px;
	padding: 6px; background: var(--tfl-cream); border-radius: 999px;
	margin: 0; list-style: none;
}
.tfl-nav a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border-radius: 999px; text-decoration: none; font-weight: 700;
}
.tfl-nav a[aria-current="page"] { background: var(--tfl-ink); color: var(--tfl-white); font-weight: 800; }
.tfl-header__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

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

.tfl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 56px; padding: 0 28px;
	border: 2px solid transparent; border-radius: 999px;
	font: inherit; font-weight: 800; font-size: 17px; line-height: 1.1;
	text-decoration: none; cursor: pointer;
	background: var(--tfl-ink); color: var(--tfl-white);
}
.tfl-btn:hover { opacity: .9; }
.tfl-btn--sm { min-height: 48px; padding: 0 20px; font-size: 16px; }
.tfl-btn--lg { min-height: 64px; padding: 0 32px; font-size: 18px; }
.tfl-btn--arrow { padding-right: 8px; }
.tfl-btn--orange { background: var(--tfl-orange); color: var(--tfl-ink); }
.tfl-btn--lime { background: var(--tfl-lime); color: var(--tfl-ink); }
.tfl-btn--white { background: var(--tfl-white); color: var(--tfl-ink); }
.tfl-btn--cream { background: var(--tfl-cream); color: var(--tfl-ink); }
.tfl-btn--ghost { background: transparent; color: var(--tfl-ink); }
.tfl-btn--outline { background: transparent; color: var(--tfl-ink); border-color: var(--tfl-ink); }
.tfl-btn--outline-light { background: transparent; color: var(--tfl-white); border-color: var(--tfl-white); }
.tfl-btn--block { width: 100%; }

.tfl-arrow {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--tfl-ink); color: var(--tfl-white);
}
.tfl-arrow svg { width: 18px; height: 18px; }
.tfl-arrow--lime { background: var(--tfl-lime); color: var(--tfl-ink); }
.tfl-arrow--orange { background: var(--tfl-orange); color: var(--tfl-ink); }
.tfl-arrow--white { background: var(--tfl-white); color: var(--tfl-ink); }
.tfl-arrow--lg { width: 52px; height: 52px; }

/* ---------- Chips ---------- */

.tfl-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 12px; border: 2px solid currentColor; border-radius: 999px;
	font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
	line-height: 1.3;
}
.tfl-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	font-size: 14px; font-weight: 800; line-height: 1.3;
	background: var(--tfl-white); color: var(--tfl-ink);
}
.tfl-pill--ink { background: var(--tfl-ink); color: var(--tfl-white); }
.tfl-pill--orange { background: var(--tfl-orange); color: var(--tfl-ink); }
.tfl-pill--lime { background: var(--tfl-lime); color: var(--tfl-ink); }
.tfl-pill--cream { background: var(--tfl-cream); color: var(--tfl-ink); }
.tfl-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Superficies ---------- */

.tfl-card { border-radius: var(--tfl-radius-lg); overflow: hidden; }
.tfl-panel { border-radius: var(--tfl-radius-xl); padding: 48px; }
@media (max-width: 720px) { .tfl-panel { padding: 28px; } }

.bg-ink { background: var(--tfl-ink); color: var(--tfl-white); }
.bg-ink a:not(.tfl-btn) { color: var(--tfl-white); }
.bg-orange { background: var(--tfl-orange); }
.bg-lime { background: var(--tfl-lime); }
.bg-lilac { background: var(--tfl-lilac); }
.bg-pink { background: var(--tfl-pink); }
.bg-cream { background: var(--tfl-cream); }
.bg-white { background: var(--tfl-white); }

.tfl-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tfl-grid--sm { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tfl-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.tfl-split > .tfl-split__main { flex: 999 1 520px; min-width: 0; }
.tfl-split > .tfl-split__side { flex: 1 1 360px; min-width: 0; }
.tfl-stack { display: flex; flex-direction: column; gap: 20px; }
.tfl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Fotos con silueta de reemplazo ---------- */

.tfl-photo {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--tfl-lilac-soft);
}
.tfl-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tfl-photo__sil { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 84%; z-index: -1; }
.tfl-photo--lime { background: var(--tfl-lime-soft); }
.tfl-photo--pink { background: var(--tfl-pink-soft); }
.tfl-photo--orange { background: var(--tfl-orange-soft); }
.tfl-photo--ink { background: #3A3A3A; }
.tfl-photo--cream { background: #E4E0D7; }

/* ---------- Hero ---------- */

.tfl-hero {
	margin: 8px var(--tfl-gutter) 40px; padding: 56px 48px;
	background: var(--tfl-lime); border-radius: var(--tfl-radius-xl);
}
.tfl-hero .tfl-mark { --tfl-mark-bg: var(--tfl-white); }
@media (max-width: 720px) { .tfl-hero { padding: 32px 24px; } }
.tfl-hero .tfl-split__main { display: flex; flex-direction: column; gap: 28px; }
.tfl-avatars { display: flex; }
.tfl-avatars span { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--tfl-lime); margin-left: -14px; }
.tfl-avatars span:first-child { margin-left: 0; }

.tfl-collage { position: relative; height: 640px; }
.tfl-collage__a { position: absolute; left: 0; top: 60px; width: 52%; height: 440px; border-radius: 999px 999px 40px 40px; transform: rotate(-4deg); }
.tfl-collage__b { position: absolute; right: 0; top: 0; width: 50%; height: 360px; border-radius: 40px; transform: rotate(3deg); }
.tfl-collage__c { position: absolute; right: 6%; bottom: 0; width: 46%; height: 300px; border-radius: 40px 40px 999px 999px; transform: rotate(-2deg); }
.tfl-collage__tube { position: absolute; left: 6%; bottom: 40px; width: 40px; height: 80px; transform: rotate(-14deg); }
.tfl-collage__tag {
	position: absolute; left: 44%; top: 46%;
	padding: 10px 16px; background: var(--tfl-white); border-radius: 999px;
	font-size: 14px; font-weight: 800; box-shadow: 0 8px 24px rgba(17,17,17,.12); transform: rotate(-6deg);
}
@media (max-width: 720px) {
	.tfl-collage { height: 440px; }
	.tfl-collage__a { height: 300px; }
	.tfl-collage__b { height: 240px; }
	.tfl-collage__c { height: 200px; }
}

.tfl-seal {
	position: absolute; left: 36%; top: 6px; width: 132px; height: 132px;
	border-radius: 50%; background: var(--tfl-ink);
}
.tfl-seal__ring { animation: tfl-spin 18s linear infinite; transform-origin: 50% 50%; }
@keyframes tfl-spin { to { transform: rotate(360deg); } }

/* ---------- Cinta de formatos ---------- */

.tfl-marquee {
	margin: 0 var(--tfl-gutter); padding: 4px 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tfl-marquee__row { display: flex; gap: 10px; width: max-content; animation: tfl-marquee 38s linear infinite; }
.tfl-marquee__row span { padding: 12px 22px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
@keyframes tfl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.tfl-marquee__row, .tfl-seal__ring { animation: none; }
}

/* ---------- Tarjetas de lado ---------- */

.tfl-side {
	display: flex; flex-direction: column; text-decoration: none;
	border-radius: var(--tfl-radius-lg); overflow: hidden;
}
.tfl-side:hover { opacity: 1; }
.tfl-side__top { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.tfl-side__meta { display: flex; justify-content: space-between; align-items: center; }
.tfl-side__title { font-weight: 900; font-size: clamp(32px, 3vw, 40px); line-height: 1; letter-spacing: -0.04em; }
.tfl-side__photo { flex: 1; min-height: 260px; border-radius: 40px 40px 0 0; }
.tfl-side__cta {
	position: absolute; left: 20px; right: 20px; bottom: 20px;
	display: flex; justify-content: space-between; align-items: center; font-weight: 800;
}

/* ---------- Tarjetas de creador ---------- */

.tfl-rail { display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--tfl-gutter) 8px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tfl-gutter); }
.tfl-rail > * { scroll-snap-align: start; }

.tfl-ccard {
	flex: 0 0 300px; display: flex; flex-direction: column;
	border-radius: var(--tfl-radius-lg); overflow: hidden; text-decoration: none;
}
.tfl-ccard[hidden] { display: none; }
.tfl-ccard__top { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.tfl-ccard__name { font-weight: 900; font-size: 28px; letter-spacing: -0.03em; line-height: 1; }
.tfl-ccard__meta { font-size: 14px; font-weight: 700; }
.tfl-ccard__photo { height: 300px; border-radius: 40px 40px 0 0; }
.tfl-ccard__photo--square { height: auto; aspect-ratio: 1 / 1; border-radius: 28px; }
.tfl-ccard__go {
	position: absolute; left: 14px; right: 14px; bottom: 14px;
	display: flex; justify-content: space-between; align-items: center;
	padding: 6px 6px 6px 16px; background: rgba(255,255,255,.92); border-radius: 999px;
	font-weight: 800; font-size: 14px;
}
.tfl-ccard__go .tfl-arrow { width: 36px; height: 36px; }

.tfl-grid-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tfl-grid-cards .tfl-ccard { flex: none; }

/* ---------- Bloque UGC Político ---------- */

.tfl-political { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 40px; }
.tfl-political__bg { position: absolute; right: -60px; top: -60px; width: 141px; height: 280px; transform: rotate(18deg); opacity: .18; }
.tfl-dict {
	background: var(--tfl-white); color: var(--tfl-ink);
	border-radius: 36px; padding: 32px; transform: rotate(2deg);
	display: flex; flex-direction: column; gap: 12px;
}
.tfl-dict__word { font-weight: 900; font-size: 30px; letter-spacing: -0.03em; }
.tfl-dict p { margin: 0; font-size: 17px; }
.tfl-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; font-weight: 700; }
.tfl-check {
	display: inline-flex; gap: 10px; align-items: center;
	padding: 12px 18px; background: var(--tfl-ink-2); border-radius: 999px; font-weight: 700; font-size: 15px;
}
.tfl-check::before { content: "✓"; color: var(--tfl-lime); font-weight: 900; }

/* ---------- Pasos ---------- */

.tfl-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tfl-steps li { border-radius: var(--tfl-radius-lg); padding: 32px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.tfl-steps__n { font-weight: 900; font-size: 88px; line-height: .8; letter-spacing: -0.05em; }
.tfl-steps__t { font-weight: 900; font-size: 24px; }

/* ---------- FAQ ---------- */

.tfl-faq { display: flex; flex-direction: column; gap: 10px; }
.tfl-faq details { background: var(--tfl-cream); border-radius: var(--tfl-radius-md); padding: 26px 30px; }
.tfl-faq summary {
	cursor: pointer; list-style: none;
	display: flex; justify-content: space-between; gap: 16px; align-items: center;
	font-weight: 900; font-size: 22px;
}
.tfl-faq summary::-webkit-details-marker { display: none; }
.tfl-faq summary::after { content: "+"; font-size: 30px; line-height: 1; transition: transform .2s; }
.tfl-faq details[open] summary::after { transform: rotate(45deg); }
.tfl-faq p { margin: 14px 0 0; max-width: 860px; }

/* ---------- Formularios ---------- */

.tfl-form { display: flex; flex-direction: column; gap: 24px; }
.tfl-field { display: flex; flex-direction: column; gap: 8px; }
.tfl-field > label, .tfl-legend { font-weight: 800; }
.tfl-help { font-size: 14px; margin: 0; }
.tfl-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tfl-fieldset > legend { font-weight: 800; margin-bottom: 10px; padding: 0; }
.tfl-fields { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.tfl-input, .tfl-select, .tfl-textarea {
	width: 100%; min-height: 56px; padding: 0 22px;
	border: 2px solid transparent; border-radius: 999px;
	background: var(--tfl-white); color: var(--tfl-ink);
	font: inherit; font-size: 17px;
}
.tfl-select { padding: 0 18px; }
.tfl-textarea { min-height: 120px; padding: 18px 22px; border-radius: 28px; resize: vertical; }
.bg-white .tfl-input, .bg-white .tfl-select, .bg-white .tfl-textarea,
.tfl-input--cream { background: var(--tfl-cream); }
.tfl-input:focus, .tfl-select:focus, .tfl-textarea:focus { border-color: var(--tfl-ink); outline: none; }

.tfl-choice {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 48px; padding: 0 20px;
	background: var(--tfl-white); border-radius: 999px; font-weight: 700; cursor: pointer;
}
.tfl-choice input { width: 18px; height: 18px; accent-color: var(--tfl-ink); }
.tfl-choice--orange { background: var(--tfl-orange); font-weight: 800; }
.tfl-choice--ink { background: var(--tfl-ink); color: var(--tfl-white); font-weight: 800; }
.tfl-choice--ink input { accent-color: var(--tfl-lime); }

.tfl-check-box {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 20px 24px; background: var(--tfl-white); border-radius: 28px;
	font-weight: 700; line-height: 1.5;
}
.tfl-check-box input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--tfl-ink); }

.tfl-segment { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--tfl-white); border-radius: 999px; align-self: flex-start; }
.tfl-segment label { position: relative; cursor: pointer; }
.tfl-segment input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tfl-segment span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 800; }
.tfl-segment input:checked + span { background: var(--tfl-ink); color: var(--tfl-white); }
.tfl-segment input[value="negocios"]:checked + span { background: var(--tfl-orange); color: var(--tfl-ink); }
.tfl-segment input:focus-visible + span { outline: 3px solid var(--tfl-orange); outline-offset: 2px; }

.tfl-repeat { display: flex; flex-direction: column; gap: 10px; }
.tfl-repeat__row { display: grid; gap: 10px; grid-template-columns: 1.2fr 1.6fr 1fr 1fr auto; align-items: center; }
@media (max-width: 900px) { .tfl-repeat__row { grid-template-columns: 1fr 1fr; } }
.tfl-redes__row { display: grid; gap: 10px; grid-template-columns: 140px 1fr 1fr; align-items: center; }
@media (max-width: 640px) { .tfl-redes__row { grid-template-columns: 1fr 1fr; } .tfl-redes__row > :first-child { grid-column: 1 / -1; } }
.tfl-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: var(--tfl-white); cursor: pointer; font: inherit; font-weight: 900; font-size: 20px;
}

.tfl-notice { padding: 18px 24px; border-radius: 28px; font-weight: 700; margin: 0 0 20px; }
.tfl-notice--ok { background: var(--tfl-lime); }
.tfl-notice--error { background: var(--tfl-pink); }
.tfl-notice--info { background: var(--tfl-cream); }
.tfl-notice ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------- Listas de panel ---------- */

.tfl-rows { display: flex; flex-direction: column; gap: 8px; }
.tfl-rowlink {
	display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
	padding: 18px 26px; background: var(--tfl-white); border-radius: 999px; text-decoration: none;
}
@media (max-width: 720px) { .tfl-rowlink { border-radius: 28px; } }
.bg-white .tfl-rowlink { background: var(--tfl-cream); }
.tfl-rowlink__main { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.tfl-rowlink__side { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

.tfl-stat { border-radius: var(--tfl-radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.tfl-stat__n { font-weight: 900; font-size: 52px; letter-spacing: -0.04em; line-height: 1; }

.tfl-dl { margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tfl-dl dt { font-size: 14px; font-weight: 700; }
.tfl-dl dd { margin: 0; font-size: 19px; font-weight: 800; }

.tfl-contact { background: var(--tfl-lime); border-radius: 28px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.bg-lime .tfl-contact, .bg-cream > .tfl-contact { background: var(--tfl-white); }
.tfl-contact__title { font-size: 17px; }
.tfl-contact__dl { margin: 0; display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.tfl-contact__dl dt { font-size: 13px; font-weight: 700; }
.tfl-contact__dl dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.tfl-contact__dl a { color: inherit; }
.tfl-proposal { background: var(--tfl-white); border-radius: 36px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tfl-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--tfl-lilac-soft); }

/* ---------- Perfil ---------- */

.tfl-profile-photo { min-height: 420px; border-radius: 999px 999px 48px 48px; }
.tfl-rates { display: flex; flex-direction: column; gap: 14px; }
.tfl-rates__row { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; padding-bottom: 14px; border-bottom: 2px solid currentColor; }
.tfl-rates__row:last-child { border-bottom: 0; padding-bottom: 0; }
.tfl-rates__mode { font-size: 14px; font-weight: 700; }

/* ---------- Contenido editorial (términos, páginas) ---------- */

.tfl-prose { max-width: 820px; font-size: 17px; line-height: 1.7; }
.tfl-prose h2 { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; margin: 40px 0 10px; line-height: 1.1; }
.tfl-prose h3 { font-size: 21px; font-weight: 900; margin: 28px 0 8px; }
.tfl-prose ul, .tfl-prose ol { padding-left: 22px; }
.tfl-prose a { font-weight: 700; }

/* ---------- Footer ---------- */

.tfl-footer {
	margin: 96px var(--tfl-gutter) 0;
	background: var(--tfl-ink); color: var(--tfl-white);
	border-radius: var(--tfl-radius-lg); padding: 40px;
	display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.tfl-footer svg { height: 64px; width: auto; display: block; }
.tfl-footer p { margin: 14px 0 0; font-size: 14px; line-height: 1.65; color: #D4D4D4; max-width: 620px; }
.tfl-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; font-weight: 700; }
.tfl-footer a { color: var(--tfl-white); }
.tfl-footer--tight { margin-top: 40px; }

/* ---------- Utilidades ---------- */

.tfl-mt-0 { margin-top: 0; }
.tfl-center { text-align: center; }
.tfl-empty { padding: 40px; border-radius: var(--tfl-radius-lg); background: var(--tfl-cream); text-align: center; font-weight: 700; }
.tfl-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }
.tfl-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px;
	background: var(--tfl-cream); text-decoration: none; font-weight: 800;
}
.tfl-pagination .page-numbers.current { background: var(--tfl-ink); color: var(--tfl-white); }

.tfl-blob { width: 100%; max-width: 420px; height: 400px; border-radius: 58% 42% 0 0 / 46% 50% 0 0; }
.tfl-card > .tfl-photo { height: 220px; border-radius: 40px 40px 0 0; margin-top: auto; }

[hidden] { display: none !important; }

/* Tarjetas de tipo de cuenta (registro) */
.tfl-rolecard { position: relative; display: block; cursor: pointer; }
.tfl-rolecard input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tfl-rolecard > span {
	display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
	min-height: 190px; padding: 34px; border-radius: var(--tfl-radius-xl);
	background: var(--tfl-cream); color: var(--tfl-ink);
}
.tfl-rolecard strong { font-weight: 900; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.tfl-rolecard input:checked + span { background: var(--tfl-ink); color: var(--tfl-white); }
.tfl-rolecard input:focus-visible + span { outline: 3px solid var(--tfl-orange); outline-offset: 3px; }

.tfl-panel.tfl-fieldset { padding: 48px; }
@media (max-width: 720px) { .tfl-panel.tfl-fieldset { padding: 28px; } }

/* Header en celular: logo y acciones arriba, menú deslizable abajo */
@media (max-width: 720px) {
	.tfl-header { padding-top: 24px; gap: 14px; }
	.tfl-logo svg { height: 56px; }
	.tfl-header > nav { order: 3; width: 100%; overflow-x: auto; }
	.tfl-nav { flex-wrap: nowrap; width: max-content; }
	.tfl-nav a { white-space: nowrap; padding: 0 14px; }
	.tfl-header__actions { gap: 4px; }
	.tfl-header__actions .tfl-btn { min-height: 44px; font-size: 15px; }
	.tfl-header__actions .tfl-btn--ghost { padding: 0 10px; }
	.tfl-header__actions .tfl-btn--arrow { padding-left: 16px; padding-right: 4px; }
	.tfl-header__actions .tfl-arrow { width: 36px; height: 36px; }
}

/* Selector de creadores (a quién le llega el brief) */
.tfl-picker { display: flex; flex-direction: column; gap: 12px; }
.tfl-picker__bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tfl-picker__bar .tfl-input { flex: 1 1 240px; }
.tfl-picker__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; max-height: 360px; overflow-y: auto; padding: 2px; overscroll-behavior: contain; }
.tfl-pick { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: var(--tfl-white); border-radius: 999px; cursor: pointer; border: 2px solid transparent; transition: border-color .15s, background .15s; }
.tfl-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tfl-pick__avatar { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
.tfl-pick__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tfl-pick__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tfl-pick__text strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfl-pick__text span { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfl-pick__check { margin-left: auto; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; border: 2px solid var(--tfl-ink); color: transparent; }
.tfl-pick:has(input:checked) { background: var(--tfl-lime); border-color: var(--tfl-ink); }
.tfl-pick:has(input:checked) .tfl-pick__check { background: var(--tfl-ink); color: var(--tfl-lime); }
.tfl-pick:has(input:focus-visible) { outline: 3px solid var(--tfl-ink); outline-offset: 2px; }
.tfl-pick:has(input[data-tfl-locked]) { cursor: default; }
.bg-cream .tfl-picker .tfl-input { background: var(--tfl-white); }

/* Invitados en el brief */
.tfl-invited { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tfl-invited li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--tfl-white); border-radius: 999px; padding: 8px 8px 8px 18px; }
.tfl-invited a { font-weight: 800; color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfl-pill--white { background: var(--tfl-cream); }
.tfl-invite-more > summary { list-style: none; }
.tfl-invite-more > summary::-webkit-details-marker { display: none; }
.tfl-invite-more .tfl-picker__list { grid-template-columns: 1fr; max-height: 300px; }
.tfl-invite-inline { gap: 10px; }

/* Aviso para administradores en modo "Muy pronto" */
.tfl-admin-badge { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; background: var(--tfl-ink); color: var(--tfl-lime); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
@media (max-width: 600px) { .tfl-admin-badge { white-space: normal; text-align: center; width: calc(100% - 32px); } }
