/* ==========================================================================
   CAMPUS ANIMARME — Elegí tu Pase
   El fondo es la maqueta completa (título, logo, franja inferior); las
   tarjetas reales se ubican encima en las mismas posiciones.
   ========================================================================== */

.cp {
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	background: #070402;
	color: #f6e8d0;
	font-family: var(--f-sans, "Fira Sans", system-ui, sans-serif);
	overflow-x: clip;
}

.cp__head,
.cp__foot { display: none; }

.cp__stage {
	position: relative;
	container-type: inline-size;
	width: clamp(1000px, 177.7svh, 100%);
	aspect-ratio: 1672 / 941;
	background: url("../img/campus-bg.jpg") center / 100% 100% no-repeat;
}

/* Zona sensible sobre «Volver al portal» dibujado en el fondo */
.cp__back {
	position: absolute;
	left: 1.3%;
	top: 1.4%;
	width: 11.9%;
	height: 4.4%;
	border-radius: 999px;
	transition: background-color .3s, box-shadow .3s;
}
.cp__back:hover,
.cp__back:focus-visible { background: rgba(255, 190, 80, .12); box-shadow: 0 0 1.4cqw rgba(246, 169, 61, .35); }

.cp__cards { list-style: none; margin: 0; padding: 0; }

.pass {
	position: absolute;
	top: 12.1cqw;
	height: 36.1cqw;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 2.2cqw;
	background: linear-gradient(180deg, #1b130b, #0b0805 70%);
	box-shadow: 0 0 0 1.5px rgba(246, 169, 61, .75), 0 0 1.6cqw rgba(246, 169, 61, .38), 0 1.4cqw 2.4cqw rgba(0, 0, 0, .6);
	transition: box-shadow .4s ease, translate .5s var(--an-ease, cubic-bezier(.23,.68,.18,1));
	animation: pass-in 1s var(--an-ease, cubic-bezier(.23,.68,.18,1)) backwards;
}
.pass--1 { left: 2.35cqw;  width: 23.1cqw; animation-delay: .1s; }
.pass--2 { left: 26.0cqw;  width: 23.5cqw; animation-delay: .22s; }
.pass--3 { left: 49.9cqw;  width: 24.8cqw; animation-delay: .34s; }
.pass--login { left: 75.2cqw; width: 22.6cqw; animation-delay: .46s; }

.pass:hover,
.pass:focus-within { translate: 0 -.5cqw; box-shadow: 0 0 0 1.5px #ffc464, 0 0 2.6cqw rgba(246, 169, 61, .6), 0 1.8cqw 3cqw rgba(0, 0, 0, .7); }

@keyframes pass-in {
	from { opacity: 0; translate: 0 2cqw; }
	to { opacity: 1; translate: 0 0; }
}

.pass__media { flex: none; height: 7cqw; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.pass--login .pass__media { height: 10.4cqw; }
.pass__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

.pass__body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; padding: 0 1.6cqw 1.5cqw; margin-top: -2.2cqw; text-align: center; }

.pass__title {
	margin: 0;
	font-family: var(--f-serif, Georgia, serif);
	font-weight: 600;
	font-size: 2.35cqw;
	line-height: 1.05;
	background: linear-gradient(180deg, #ffe0a0 10%, #f0a53c 95%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 .15cqw .4cqw rgba(0, 0, 0, .7));
	text-wrap: balance;
}
.pass--login .pass__title { margin-top: .6cqw; font-size: 2.45cqw; }

.pass__months {
	margin: .7cqw 0 1cqw;
	padding: .38cqw 1.7cqw;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffd27a, #e8932d);
	color: #2a1706;
	font-weight: 600;
	font-size: 1.05cqw;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.pass__list { flex: 1; list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: .62cqw; text-align: left; }
.pass__list li { display: flex; align-items: center; gap: .9cqw; font-size: max(11px, 1.1cqw); font-weight: 300; line-height: 1.2; color: #f6e8d0; }
.pass__list .ico { flex: none; width: 1.7cqw; height: 1.7cqw; min-width: 16px; min-height: 16px; color: #f2b84a; }
.pass--3 .pass__body { margin-top: -2.7cqw; padding: 0 1.45cqw 1.05cqw; }
.pass--3 .pass__title { font-size: 2.18cqw; line-height: 1.02; }
.pass--3 .pass__months { margin: .4cqw 0 .55cqw; padding: .28cqw 1.45cqw; font-size: .98cqw; }
.pass--3 .pass__list { gap: .26cqw; }
.pass--3 .pass__list li { font-size: max(10px, .97cqw); line-height: 1.14; gap: .7cqw; }
.pass--3 .pass__list .ico { width: 1.42cqw; height: 1.42cqw; min-width: 13px; min-height: 13px; }
.pass--3 .pass__price { margin: .35cqw 0 .5cqw; padding-top: .45cqw; font-size: 2.45cqw; }
.pass--3 .pass__btn { padding: .62cqw .9cqw; font-size: max(12px, 1.28cqw); }

.pass__price {
	margin: .6cqw 0 .8cqw;
	font-family: var(--f-serif, Georgia, serif);
	font-weight: 600;
	font-size: 2.7cqw;
	line-height: 1;
	color: #f2b84a;
	width: 100%;
	padding-top: .8cqw;
	border-top: 1px solid rgba(246, 169, 61, .25);
}

.pass__btn,
.pass__go {
	display: block;
	width: 100%;
	padding: .75cqw 1cqw;
	border: 1.8px solid #f6a93d;
	border-radius: 999px;
	background: rgba(0, 0, 0, .45);
	color: #f6e8d0;
	font: 500 max(13px, 1.35cqw)/1.2 var(--f-sans, system-ui);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s, color .3s, box-shadow .3s;
	box-shadow: 0 0 1cqw rgba(246, 169, 61, .25);
}
.pass__btn:hover,
.pass__btn:focus-visible { background: #f6a93d; color: #1a1208; box-shadow: 0 0 1.6cqw rgba(246, 169, 61, .6); }

/* Ingreso */
.pass__sub { margin: .5cqw 0 1.1cqw; font-size: max(14px, 1.5cqw); font-weight: 400; color: #fff; }
.pass__form { width: 100%; display: grid; gap: .9cqw; }
.field {
	display: flex;
	align-items: center;
	gap: .9cqw;
	padding: .75cqw 1.3cqw;
	border: 1.4px solid rgba(246, 169, 61, .55);
	border-radius: 999px;
	background: rgba(0, 0, 0, .45);
	color: #f2b84a;
}
.field .ico { flex: none; width: 1.7cqw; height: 1.7cqw; min-width: 16px; min-height: 16px; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #f6e8d0; font: 300 max(13px, 1.3cqw)/1.2 var(--f-sans, system-ui); }
.field input::placeholder { color: #cdb994; }
.field:focus-within { border-color: #ffc464; box-shadow: 0 0 1.2cqw rgba(246, 169, 61, .4); }
.pass__go { margin-top: .5cqw; border: 0; color: #2a1706; font-weight: 600; background: linear-gradient(180deg, #ffd27a, #e8932d); }
.pass__go:hover,
.pass__go:focus-visible { filter: brightness(1.1); box-shadow: 0 0 1.8cqw rgba(246, 169, 61, .65); }
.pass__lost { margin-top: 1.2cqw; font-size: max(12px, 1.15cqw); color: #f6e8d0; }

/* ---------------------------------------------- Pantallas angostas */
@media (max-width: 999px) {
	.cp { display: block; background: radial-gradient(120% 50% at 50% 0, #2a1a0a, #070402 70%); }

	.cp__head,
	.cp__foot { display: block; position: relative; }
	.cp__head img,
	.cp__foot img { width: 100%; height: auto; display: block; }
	.cp__back { left: 1.3%; top: 6.8%; width: 14%; height: 24%; }
	.cp__back--stage { display: none; }

	.cp__stage { container-type: normal; width: 100%; aspect-ratio: auto; background: none; padding: 1.2rem 1.1rem 1rem; }
	.cp__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto; }

	.pass { position: relative; inset: auto; width: auto; height: auto; border-radius: 22px; animation: none; box-shadow: 0 0 0 1.5px rgba(246, 169, 61, .7), 0 0 20px rgba(246, 169, 61, .25); }
	.pass--1, .pass--2, .pass--3, .pass--login { left: auto; width: auto; }
	.pass__media { height: 130px; }
	.pass--login .pass__media { height: 150px; }
	.pass__body, .pass--3 .pass__body { margin-top: -1.6rem; padding: 0 1.2rem 1.4rem; }
	.pass__title, .pass--3 .pass__title { font-size: 1.55rem; line-height: 1.08; }
	.pass__months, .pass--3 .pass__months { font-size: .78rem; padding: .35rem 1.2rem; margin: .6rem 0 1rem; }
	.pass__list, .pass--3 .pass__list { gap: .55rem; margin-bottom: 1rem; }
	.pass__list li, .pass--3 .pass__list li { font-size: .95rem; line-height: 1.25; gap: .7rem; }
	.pass__list .ico, .pass--3 .pass__list .ico { width: 1.3rem; height: 1.3rem; }
	.pass__price, .pass--3 .pass__price { font-size: 1.9rem; padding-top: .8rem; margin: .4rem 0 .9rem; }
	.pass__btn, .pass--3 .pass__btn, .pass__go { font-size: 1rem; padding: .75rem 1rem; }
	.pass__sub { font-size: 1.05rem; }
	.field { padding: .7rem 1rem; }
	.field input { font-size: 1rem; }
	.field .ico { width: 1.3rem; height: 1.3rem; }
	.pass__lost { font-size: .9rem; }
}

@media (max-width: 640px) {
	.cp__cards { grid-template-columns: 1fr; max-width: 440px; }
}
