/* Comunidad Fucsia: estilos del contenido.
 * Todo vive bajo .cf para no chocar con el tema ni con Elementor (el mismo CSS sirve para el shortcode
 * dentro de una página de WordPress y para la página de respaldo). Tokens del sistema de diseño de Atlético Escobar. */
.cf {
	--ae-black: #000;
	--ae-fucsia: #F40090;
	--ae-fucsia-hover: #D2007A;
	--ae-white: #fff;
	--ae-surface: #111;
	--ae-border: #262626;
	--ae-text-on-white: #3A3A3A;
	--ae-muted: #CCC;
	--ae-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	--ae-text: Roboto, Arial, Helvetica, sans-serif;
	color: var(--ae-white);
	font: 400 16px/1.6 var(--ae-text);
	text-align: left;
	-webkit-text-size-adjust: 100%;
}
.cf *, .cf *::before, .cf *::after { box-sizing: border-box; }
.cf img { max-width: 100%; height: auto; border: 0; }
.cf a { color: inherit; }
.cf ul, .cf ol { list-style: none; margin: 0; padding: 0; }
.cf h1, .cf h2, .cf h3, .cf p { margin: 0; padding: 0; }
.cf [hidden] { display: none !important; }
.cf :focus-visible { outline: 2px solid var(--ae-fucsia); outline-offset: 2px; }
/* Las secciones a ancho completo usan márgenes de 50vw: evita el scroll horizontal por la barra de scroll. */
body:has(.cf-section) { overflow-x: clip; }

.cf .cf-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

.cf .cf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 28px;
	border: 0;
	border-radius: 3px;
	background: var(--ae-fucsia);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	font: 400 24px/1 var(--ae-display);
	text-transform: uppercase;
	letter-spacing: .3px;
	transition: background .15s, color .15s;
}

.cf .cf-btn:hover {
	background: var(--ae-fucsia-hover);
}

.cf .cf-btn[disabled] {
	opacity: .6;
	cursor: wait;
}

.cf .cf-btn--block {
	width: 100%;
}

.cf .cf-btn--lg {
	min-height: 52px;
	padding: 12px 36px;
	font-size: 28px;
}

.cf .cf-btn--sm {
	min-height: 36px;
	padding: 8px 16px;
	font-size: 20px;
}

.cf .cf-btn--light {
	background: #fff;
	color: #000;
	border-radius: 2px;
}

.cf .cf-btn--light:hover {
	background: var(--ae-fucsia);
	color: #fff;
}

.cf .cf-btn--ghost {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 2px var(--ae-border);
}

.cf .cf-btn--ghost:hover {
	background: transparent;
	color: var(--ae-fucsia);
}

.cf .cf-section {
	padding-top: 96px;
	padding-bottom: 96px;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
	background: var(--ae-black);
}

.cf .cf-section--alt {
	background: var(--ae-surface);
}

.cf .cf-title {
	font: 400 72px/.9 var(--ae-display);
	color: var(--ae-fucsia);
	text-transform: uppercase;
}

/* Hero: foto + credencial. La foto es TEMPORAL (hero-temporal.jpg): reemplazar por la que elija el club. */
.cf .cf-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: 88px;
	padding-bottom: 96px;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
	background: var(--ae-black);
}

.cf .cf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: url("../img/hero-temporal.jpg") 48% 28% / cover no-repeat;
}

.cf .cf-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, #000 0%, rgba(0,0,0,.9) 32%, rgba(0,0,0,.3) 60%, rgba(244,0,144,.6) 100%);
}

.cf .cf-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	align-items: center;
}

.cf .cf-hero__copy {
	max-width: 460px;
}

.cf .cf-hero__kicker {
	font: 400 28px/1 var(--ae-display);
	letter-spacing: 4px;
}

.cf .cf-hero__logo {
	display: block;
	width: 100%;
	max-width: 460px;
	margin: 8px 0 0;
}

.cf .cf-hero__lead {
	margin: 24px 0 28px;
	font-size: 18px;
	color: #fff;
}

.cf .cf-hero__card {
	position: relative;
	z-index: 0;
	justify-self: end;
	width: 300px;
	transform: rotate(4deg);
}

.cf .cf-hero__card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	transform: translate(14px, 14px);
	border-radius: 16px;
	background: var(--ae-fucsia);
}

.cf .cf-hero__card img {
	display: block;
	width: 100%;
	border-radius: 16px;
}

/* Banda de color plano: la pausa de la página (el lenguaje de las piezas de IG). */
.cf .cf-band {
	padding-top: 32px;
	padding-bottom: 32px;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
	background: var(--ae-fucsia) url("../img/grano.png") repeat;
	color: #fff;
}

.cf .cf-band p {
	max-width: 980px;
	font: 400 clamp(30px, 4.4vw, 56px)/1 var(--ae-display);
	text-transform: uppercase;
}

/* Beneficios: dos destacados + lista. Aguanta tener 3 o 12 sin rehacer el diseño. */
.cf .cf-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.cf .cf-feature {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 260px;
	padding: 36px 32px 32px;
	border-radius: 16px;
}

.cf .cf-feature--fucsia {
	background: var(--ae-fucsia);
	color: #fff;
}

.cf .cf-feature--white {
	background: #fff;
	color: #000;
}

.cf .cf-feature h3 {
	font: 400 56px/.95 var(--ae-display);
	text-transform: uppercase;
}

.cf .cf-feature p {
	max-width: 34ch;
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.5;
}

.cf .cf-feature--white p {
	color: var(--ae-text-on-white);
}

.cf .cf-benefits__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 48px;
	margin-top: 28px;
	border-top: 2px solid var(--ae-border);
}

.cf .cf-benefits__list li {
	display: grid;
	grid-template-columns: 8px minmax(0, 1fr);
	gap: 0 16px;
	padding: 20px 0;
	border-bottom: 2px solid var(--ae-border);
}

.cf .cf-benefits__list li::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: 9px;
	background: var(--ae-fucsia);
}

.cf .cf-benefits__list h3 {
	font: 400 28px/1.1 var(--ae-display);
	text-transform: uppercase;
}

.cf .cf-benefits__list p {
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ae-muted);
}

.cf .cf-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 4px 10px 2px;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font: 400 14px/1 var(--ae-display);
	letter-spacing: .5px;
	vertical-align: middle;
}

.cf .cf-join {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	margin-top: 32px;
	align-items: start;
}

.cf .cf-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cf .cf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 12px 10px;
}

.cf .cf-field label,
.cf .cf-label {
	display: block;
	margin-bottom: 4px;
	font: 400 24px/1 var(--ae-display);
	text-transform: uppercase;
}

.cf .cf-label em {
	font-style: normal;
	font-size: 16px;
	color: var(--ae-muted);
}

.cf .cf-field input[type="text"],
.cf .cf-field input[type="email"],
.cf .cf-field input[type="tel"] {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 3px;
	color: #111;
	font: 400 15px var(--ae-text);
	outline: none;
	transition: border-color .15s;
}

.cf .cf-field input::placeholder {
	color: #6b6b6b;
}

.cf .cf-field input:focus {
	border-color: var(--ae-fucsia);
}

.cf .cf-field input.is-invalid {
	border-color: var(--ae-fucsia);
	box-shadow: 0 0 0 2px rgba(244,0,144,.35);
}

.cf .cf-hint {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: #AAA;
}

.cf .cf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cf .cf-photo__row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.cf .cf-photo__preview {
	width: 88px;
	height: 88px;
	flex: none;
	border-radius: 50%;
	background: #1b1b1b center/cover no-repeat;
	border: 3px solid var(--ae-border);
	position: relative;
}

.cf .cf-photo__preview:not(.has-photo)::after {
	content: "";
	position: absolute;
	inset: 22px;
	background: url("../img/logo-atletico-escobar.webp") center/contain no-repeat;
	opacity: .8;
}

.cf .cf-photo__preview.has-photo {
	border-color: var(--ae-fucsia);
}

.cf .cf-photo__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cf .cf-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font: 400 14px/1.45 var(--ae-text);
	color: var(--ae-muted);
	cursor: pointer;
}

.cf .cf-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	flex: none;
	accent-color: var(--ae-fucsia);
}

.cf .cf-link {
	padding: 0;
	background: none;
	border: 0;
	color: #fff;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.cf .cf-link:hover {
	color: var(--ae-fucsia);
}

.cf .cf-error {
	min-height: 20px;
	font: 400 14px/1.4 var(--ae-text);
	color: var(--ae-fucsia);
}

.cf .cf-done {
	border: 2px solid var(--ae-fucsia);
	border-radius: 16px;
	padding: 28px 24px;
}

.cf .cf-done__title {
	font: 400 40px/1 var(--ae-display);
	color: var(--ae-fucsia);
	margin-bottom: 12px;
}

.cf .cf-done__text {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.cf .cf-done__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cf .cf-join__preview {
	perspective: 1200px;
	position: sticky;
	top: 24px;
	text-align: center;
}

.cf .cf-join__preview canvas {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 16px;
	border: 2px solid var(--ae-border);
	background: #000;
	backface-visibility: hidden;
}

.cf .cf-faq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 48px;
	align-items: start;
}

.cf .cf-faq {
	border-top: 2px solid var(--ae-border);
}

.cf .cf-faq details {
	border-bottom: 2px solid var(--ae-border);
	padding: 4px 0;
}

.cf .cf-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 40px 12px 0;
	position: relative;
	font: 400 26px/1.1 var(--ae-display);
	text-transform: uppercase;
}

.cf .cf-faq summary::-webkit-details-marker {
	display: none;
}

.cf .cf-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 12px;
	font-size: 32px;
	color: var(--ae-fucsia);
}

.cf .cf-faq details[open] summary::after {
	content: "–";
}

.cf .cf-faq summary:hover {
	color: var(--ae-fucsia);
}

.cf .cf-faq p {
	padding: 0 0 16px;
	color: var(--ae-muted);
}

.cf .cf-verify {
	padding: 96px 0;
	text-align: center;
	min-height: 60vh;
}

.cf .cf-verify__card {
	max-width: 560px;
	margin: 0 auto;
	border: 2px solid var(--ae-border);
	border-radius: 16px;
	padding: 40px 24px;
	background: var(--ae-surface);
}

.cf .cf-verify__card.is-ok {
	border-color: var(--ae-fucsia);
}

.cf .cf-verify__tag {
	display: inline-block;
	padding: 6px 16px 4px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: var(--ae-fucsia);
	font: 400 24px/1 var(--ae-display);
	letter-spacing: 1px;
}

.cf .cf-verify__tag.is-bad {
	background: #fff;
	color: #000;
}

.cf .cf-verify h1 {
	font: 400 48px/1 var(--ae-display);
}

.cf .cf-verify__num {
	margin: 8px 0 16px;
	font: 400 40px/1 var(--ae-display);
	color: var(--ae-fucsia);
	letter-spacing: 6px;
}

.cf .cf-verify__back {
	margin-top: 32px;
}

.cf .cf-dialog {
	max-width: 560px;
	width: calc(100% - 32px);
	padding: 0;
	border: 2px solid var(--ae-fucsia);
	border-radius: 16px;
	background: #111;
	color: #fff;
}

.cf .cf-dialog::backdrop {
	background: rgba(0,0,0,.8);
}

.cf .cf-dialog__box {
	padding: 24px;
}

.cf .cf-dialog h3 {
	font: 400 36px/1 var(--ae-display);
	color: var(--ae-fucsia);
	margin-bottom: 12px;
}

.cf .cf-dialog__body {
	max-height: 50vh;
	overflow: auto;
	padding-right: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ae-muted);
}

.cf .cf-dialog__body p + p {
	margin-top: 10px;
}

@media (max-width: 899px) {
	.cf .cf-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
	.cf .cf-hero__copy {
		max-width: none;
	}
	.cf .cf-hero__card {
		justify-self: center;
		width: 260px;
		margin-right: 14px;
	}
	.cf .cf-benefits,
	.cf .cf-benefits__list,
	.cf .cf-faq-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.cf .cf-faq-layout {
		gap: 24px;
	}
	.cf .cf-join {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.cf .cf-join__preview {
		position: static;
		max-width: 300px;
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	.cf .cf-section {
		padding-top: 64px;
		padding-bottom: 64px;
	}
	.cf .cf-title {
		font-size: 52px;
	}
	.cf .cf-hero {
		padding-top: 56px;
		padding-bottom: 72px;
	}
	.cf .cf-hero__kicker {
		font-size: 22px;
	}
	.cf .cf-hero__lead {
		font-size: 16px;
	}
	.cf .cf-feature {
		min-height: 200px;
		padding: 28px 24px 24px;
	}
	.cf .cf-feature h3 {
		font-size: 44px;
	}
	.cf .cf-done__title {
		font-size: 32px;
	}
	.cf .cf-verify h1 {
		font-size: 36px;
	}
	.cf .cf-faq summary {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cf * {
		transition: none !important;
		animation: none !important;
	}
}
