/* ============================================================
   home.css -- Pagina principal (landing) Universitas Europea
   Reutiliza cabecera.tpl / pie.tpl. Fondo igual que el login.
   Paleta corporativa granate: #792140, #7e1538, #7b2944
   ============================================================ */

.home-main {
	position: relative;
	min-height: calc(100vh - 220px);
	background:
		linear-gradient(135deg, rgba(121, 33, 64, 0.82) 0%, rgba(74, 19, 40, 0.80) 50%, rgba(45, 11, 24, 0.85) 100%),
		url('../img/fondo_login.jpg') center / cover no-repeat fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
}

.home-overlay {
	width: 100%;
	max-width: 760px;
}

.home-inner {
	width: 100%;
}

.home-head {
	text-align: center;
	color: #ffffff;
	margin-bottom: 40px;
}

.home-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 12px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.home-subtitle {
	font-size: 1.05rem;
	font-weight: 400;
	opacity: 0.95;
	max-width: 640px;
	margin: 0 auto;
}

/* Rejilla de accesos */
.home-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.home-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	background: #ffffff;
	border-radius: 16px;
	padding: 32px 24px;
	text-decoration: none;
	color: #2d0b18;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	border: 2px solid transparent;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-card:hover,
.home-card:focus-visible {
	transform: translateY(-6px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
	border-color: #c8a84b;
	outline: none;
}

.home-card-icon {
	font-size: 2.4rem;
	line-height: 1;
}

.home-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #792140;
}

.home-card-desc {
	font-size: 0.9rem;
	color: #64748b;
}

/* -- MOVIL (<= 600px) -------------------------------------------------- */
@media (max-width: 600px) {
	.home-main {
		padding: 32px 16px;
		background-attachment: scroll;
	}

	.home-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.home-title {
		font-size: 1.5rem;
	}

	.home-subtitle {
		font-size: 0.95rem;
	}

	.home-card {
		padding: 26px 20px;
	}
}
