/* XenkZone Buzón · estilos del formulario (mismo lenguaje visual de la portada) */
.xzb {
	--xzb-bg: #050505;
	--xzb-card: #111111;
	--xzb-line: rgba(255, 255, 255, .12);
	--xzb-line-2: rgba(255, 255, 255, .22);
	--xzb-text: #ffffff;
	--xzb-muted: #b0b0b0;
	--xzb-soft: #8a8a8a;
	--xzb-error: #ff6b6b;
	--xzb-ok: #4ade80;
	position: relative;
	isolation: isolate;
	width: min(100%, 720px);
	margin: 0 auto;
	padding: 34px 0 120px;
	color: var(--xzb-text);
	font-family: inherit;
	text-align: left;
}
.xzb *,
.xzb *::before,
.xzb *::after { box-sizing: border-box; }
.xzb [hidden] { display: none !important; }

.xzb::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -40px -20vw auto auto;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 62%);
	pointer-events: none;
}

/* Encabezado */
.xzb-head { margin: 0 0 22px; }
.xzb .xzb-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 999px;
	background: rgba(255, 255, 255, .11);
	color: #f2f2f3;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
}
.xzb .xzb-kicker::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
}
.xzb .xzb-title {
	margin: 16px 0 12px;
	padding: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(34px, 9.5vw, 58px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: -.045em;
	text-wrap: balance;
}
.xzb .xzb-grad {
	background: linear-gradient(90deg, #fff 0, #e1e1e4 46%, #bfc0c6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.xzb .xzb-intro {
	max-width: 620px;
	margin: 0;
	color: #c9c9c9;
	font-size: 16px;
	line-height: 1.62;
}

/* Tarjeta */
.xzb .xzb-card {
	position: relative;
	padding: 22px 18px;
	background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .09), transparent 44%), linear-gradient(145deg, #171717, #0f0f0f);
	border: 1px solid var(--xzb-line-2);
	border-radius: 22px;
}
@media (min-width: 640px) {
	.xzb { padding-top: 48px; }
	.xzb .xzb-card { padding: 30px 28px; }
}

/* Campos */
.xzb .xzb-field {
	min-width: 0;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}
.xzb .xzb-label {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}
.xzb .xzb-label small {
	margin-left: 6px;
	color: var(--xzb-soft);
	font-size: 12px;
	font-weight: 600;
}

/* Opciones tipo píldora */
.xzb .xzb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.xzb .xzb-chip {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.xzb .xzb-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}
.xzb .xzb-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid var(--xzb-line-2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .045);
	color: #e8e8e8;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.xzb .xzb-chips-sm .xzb-chip span { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.xzb .xzb-chip:hover span { border-color: rgba(255, 255, 255, .5); }
.xzb .xzb-chip input:checked + span {
	background: linear-gradient(135deg, #d9d9df, #fff);
	border-color: #fff;
	color: #090909;
	box-shadow: 0 8px 22px rgba(255, 255, 255, .16);
}
.xzb .xzb-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.xzb .xzb-chip:active span { transform: scale(.97); }

/* Inputs */
.xzb .xzb-input {
	display: block;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--xzb-line-2);
	border-radius: 14px;
	background: #0a0a0a;
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.45;
	transition: border-color .18s ease, background .18s ease;
	-webkit-appearance: none;
	appearance: none;
}
.xzb .xzb-textarea { min-height: 140px; resize: vertical; }
.xzb .xzb-input::placeholder { color: #767676; opacity: 1; }
.xzb .xzb-input:hover { border-color: rgba(255, 255, 255, .34); }
.xzb .xzb-input:focus {
	outline: none;
	border-color: #fff;
	background: #0d0d0d;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}
.xzb .xzb-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
	color: var(--xzb-soft);
	font-size: 12.5px;
	line-height: 1.4;
}
.xzb .xzb-count { flex: none; font-variant-numeric: tabular-nums; }
.xzb .xzb-count-alto { color: #ffcf6b; }

/* Errores */
.xzb .xzb-error {
	margin: 8px 0 0;
	color: var(--xzb-error);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}
.xzb .xzb-invalido .xzb-input { border-color: var(--xzb-error); }
.xzb .xzb-invalido .xzb-chip span { border-color: rgba(255, 107, 107, .55); }

/* Campo trampa para bots */
.xzb .xzb-trampa {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Botón */
.xzb .xzb-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	margin: 6px 0 0;
	padding: 13px 20px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: linear-gradient(135deg, #d9d9df, #fff);
	box-shadow: 0 13px 30px rgba(255, 255, 255, .22);
	color: #090909;
	font-family: inherit;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.xzb .xzb-btn:hover,
.xzb .xzb-btn:focus { color: #090909; background: linear-gradient(135deg, #e4e4e9, #fff); filter: brightness(1.03); }
.xzb .xzb-btn:hover { transform: translateY(-2px); }
.xzb .xzb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.xzb .xzb-btn:disabled { cursor: wait; transform: none; filter: grayscale(.2) brightness(.92); }
.xzb .xzb-btn-ghost {
	width: auto;
	margin: 18px auto 0;
	padding: 12px 20px;
	background: rgba(255, 255, 255, .055);
	border-color: rgba(255, 255, 255, .2);
	box-shadow: none;
	color: #fff;
}
.xzb .xzb-btn-ghost:hover,
.xzb .xzb-btn-ghost:focus { color: #fff; background: rgba(255, 255, 255, .1); }

.xzb .xzb-spin {
	display: none;
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(9, 9, 9, .25);
	border-top-color: #090909;
	border-radius: 50%;
	animation: xzb-girar .7s linear infinite;
}
.xzb .xzb-cargando .xzb-spin { display: inline-block; }
@keyframes xzb-girar { to { transform: rotate(360deg); } }

.xzb .xzb-status {
	min-height: 0;
	margin: 12px 0 0;
	color: var(--xzb-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}
.xzb .xzb-status:empty { display: none; }
.xzb .xzb-status-error { color: var(--xzb-error); }

.xzb .xzb-legal {
	margin: 16px 0 0;
	color: var(--xzb-soft);
	font-size: 12.5px;
	line-height: 1.5;
	text-align: center;
}
.xzb .xzb-legal a { color: #d6d6d6; text-decoration: underline; text-underline-offset: 2px; }

/* Confirmación */
.xzb .xzb-done {
	padding-top: 34px;
	padding-bottom: 30px;
	text-align: center;
	outline: none;
	animation: xzb-entrar .45s ease both;
}
.xzb .xzb-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, #d9d9df, #fff);
	box-shadow: 0 12px 30px rgba(255, 255, 255, .2);
	color: #090909;
}
.xzb .xzb-done-title {
	margin: 0 0 8px;
	color: #fff;
	font-family: inherit;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -.02em;
}
.xzb .xzb-done-text {
	max-width: 440px;
	margin: 0 auto;
	color: #c9c9c9;
	font-size: 15.5px;
	line-height: 1.6;
}
@keyframes xzb-entrar {
	from { opacity: 0; transform: translateY(10px) scale(.98); }
	to { opacity: 1; transform: none; }
}

/* Enlace cruzado */
.xzb .xzb-cruce {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-top: 16px;
	padding: 16px 18px;
	border: 1px solid var(--xzb-line);
	border-radius: 16px;
	background: #0c0c0c;
	color: var(--xzb-muted);
	font-size: 14.5px;
	line-height: 1.4;
}
.xzb .xzb-cruce a {
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}
.xzb .xzb-cruce a:hover { text-decoration: underline; text-underline-offset: 3px; }

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