/* Importación de fuente de letra para nuestra página*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');
/* Reset de estilos por defecto */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
/* Estilo para todo el cuerpo de la página */
body {
	font-family: 'Space Grotesk', 'Poppins', sans-serif;
	background: #18181c;
	min-height: 100vh;
	line-height: 1.6;
}
/* Encabezado de la página con su menú de navegación */
header {
	background: linear-gradient(135deg, #941e35 0%, #BD7180 100%);
	padding: 24px 32px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	border-bottom: #F5F6EF solid 3px;
}
header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 30%, #ffffff1a 50%, transparent 70%);
}
header div {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
}
header div a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: #111217;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 2px 2px 4px #0000001a;
	text-align: center;
}
.logo-header {
	width: 60px;
	height: auto;
	transition: transform 0.3s ease;
}
header nav {
	padding: 0;
	position: relative;
	top: auto;
	z-index: 1;
	border-radius: 999px;
	overflow: hidden;
}
header nav ul {
	list-style: none;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
}
header nav ul li {
	flex: 0 0 auto;
	text-align: center;
}
header nav ul li a {
	display: block;
	color: #111217;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 16px 20px;
	transition: all 0.3s ease;
}
header nav ul li a:hover, header nav ul li a:focus {
	background: linear-gradient(135deg, #ffffff 0%, #bec0bf 100%);
	color: #111217;
	transform: translateY(-2px);
}
/* Sección de inicio y oferta formativa */
#inicio, #oferta {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}
#inicio article {
	position: relative;
	background:
		linear-gradient(#11121773, #111217b3),
		url("../img/centro-exterior.png") center center / cover no-repeat;
	min-height: 78vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
	padding: 80px 8vw;
}
#inicio article h2 {
	font-size: 54px;
	color: #fff;
	max-width: 700px;
	margin-bottom: 6px;
	text-shadow: 0 6px 24px #0000008c;
	line-height: 1.50;
	letter-spacing: 1px;
}
#inicio article p {
	max-width: 640px;
	font-size: 19px;
	line-height: 1.9;
	color: #ffffffeb;
	text-shadow: 0 3px 14px #00000080;
}
section {
	max-width: 1100px;
	margin: 48px auto;
	padding: 0 32px;
}
#oferta {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}
#oferta article {
	background: linear-gradient(135deg, #18181c 0%, #222 100%);
	border: none;
	border-radius: 0;
	box-shadow: 0 8px 32px #11111166;
	padding: 56px 8vw;
}
#oferta article h2 {
	color: #e0e0e0;
	font-size: 40px;
	border-bottom: 3px solid #941E35;
	padding-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 19px;
	line-height: 1.2;
	font-weight: 700;
}
.oferta-principal {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 0;
}
.oferta-hijo {
	display: flex;
	align-items: center;
	gap: 19px;
	padding: 29px 32px 29px 0;
}
.oferta-hijo:nth-child(even) {
	padding: 29px 0 29px 32px;
}
.oferta-hijo:nth-child(n+3) {
	border-top: 1px solid #862a1e33;
}
.oferta-hijo span {
	font-size: 72px;
	font-weight: 800;
	color: #941E35;
	line-height: 1;
	min-width: 16px;
	flex-shrink: 0;
	text-align: center;
}
.oferta-hijo p {
	color: #e0e0e0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}
/* Sección del profesorado */
#profesorado {
	max-width: 1400px;
	padding: 0 32px;
}
#profesorado h2{
	font-size: 40px;
	font-weight: 700;
	color: #e0e0e0;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 19px;
}
.profesores-general {
	display: grid;
	grid-template-columns: repeat(3, minmax(280px, 1fr));
	gap: 35px;
}
.profesor-hijo {
	background: #050505;
	border: 1.5px solid #941e35;
	border-radius: 24px;
	padding: 35px 29px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.profesor-hijo:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 28px rgba(143, 111, 255, 0.18);
	border-color: #e0e0e0;
}
.profesor-hijo img {
	width: 130px;
	height: 130px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 26px;
	display: block;
	background: linear-gradient(135deg, #941e35 0%, #BD7180 100%);
	padding: 6px;
}
.profesor-info h3 {
	color: #e0e0e0;
	font-size: 31px;
	line-height: 1.2;
	margin-bottom: 13px;
	font-weight: 700;
}
.profesor-info p {
	color: #fff;
	font-size: 17px;
	line-height: 1.5;
}
/* Sección de instalaciones */
#instalaciones {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
}
#instalaciones .principal {
	position: relative;
	background:
		linear-gradient(#171111bf, #171111d9),
		url("../img/centro-exterior.png") center center / cover no-repeat;
	min-height: 85vh;
	width: 100%;
	padding: 80px 4vw;
}
#instalaciones h2 {
	font-size: 45px;
	font-weight: 700;
	color: #F5F6EF;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 24px;
	text-shadow: 0 4px 16px #00000080;
	text-align: center;
}
.instalaciones-general {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	padding: 32px 0;
}
.instalacion-hijo {
	background: linear-gradient(135deg, #18181c 0%, #222 100%);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 8px 32px #9b9b9b;
	border: 1px solid #5e1d2a;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.instalacion-hijo:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 16px 48px #f5030340;
}
.instalacion-hijo img {
	width: 100%;
	height: 250px;
	border-bottom: 3px solid #941E35;
}
.instalacion-info {
	padding: 32px 24px;
	text-align: center;
}
.instalacion-info h3 {
	color: #F5F6EF;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid #cc5b77;
}
.instalacion-info p {
	color: #cccccc;
	font-size: 16px;
	line-height: 1.5;
}
/* Sección del formulario de contacto */
#contacto {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 64px 6vw;
	background: #0d0d12;
}
.contacto-padre {
	display: flex;
	gap: 64px;
	align-items: flex-start;
	max-width: 1300px;
	margin: 0 auto;
}
.contacto-hijo1 {
	flex: 0 0 46%;
	background: linear-gradient(150deg, #941e35 0%, #BD7180 100%);
	border-radius: 24px;
	padding: 40px 35px;
}
.contacto-hijo1 h4 {
	font-size: 25px;
	font-weight: 700;
	color: #F5F6EF;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 24px;
	text-align: center;
}
.contacto-hijo1	p {
	color: #e0e0e0;
	font-size: 17px;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 20px;
	font-weight: 600;
}
.contacto-campos {
	margin-bottom: 14px;
}
#contacto .contacto-campos input, #contacto .contacto-campos textarea {
	width: 90%;
	background: #111217;
	color: #fff;
	border-radius: 12px;
	padding: 16px 22px;
	font-size: 14px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	letter-spacing: 0.5px;
	transition: background 0.3s ease, outline 0.2s ease;
}
#contacto .contacto-campos input::placeholder, #contacto .contacto-campos textarea::placeholder {
	color: #ffffff66;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
}
#contacto .contacto-campos input:focus, #contacto .contacto-campos textarea:focus {
	outline: 2px solid #F5F6EF;
	background: #18181c;
	transform: none;
}
#contacto .contacto-campos textarea {
	min-height: 160px;
	resize: vertical;
}
.contacto-campos span {
	display: block;
	font-size: 14px;
	color: #F5F6EF;
	margin-top: 8px;
	opacity: 0.7;
	font-weight: 600;
}
.contacto-boton {
	background: #F5F6EF;
	color: #111217;
	border-radius: 999px;
	padding: 14px 40px;
	font-size: 16px;
	font-weight: 800;
	font-family: 'Space Grotesk', sans-serif;
	cursor: pointer;
	margin-top: 24px;
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px #970707b3;
}
.contacto-boton:hover {
	background: #111217;
	color: #F5F6EF;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px #970707b3;
}
.contacto-hijo2 {
	flex: 1;
	padding-top: 8px;
}
.contacto-hijo2 h2 {
	font-size: 35px;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 24px;
	line-height: 1.1;
}
.contacto-hijo2-objetos {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 40px;
}
.contacto-hijo2-objeto {
	display: inline-block;
	border: 1.5px solid #ffffff59;
	border-radius: 999px;
	padding: 13px 29px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	transition: border-color 0.3s ease, background 0.3s ease;
}
.contacto-hijo2-objeto:hover {
	border-color: #F5F6EF;
	background: #941E35;
}
.contacto-hijo2-objeto a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease;
}
.contacto-hijo2-objeto a:hover {
	opacity: 0.8;
}
.contacto-hijo-icono {
	display: flex;
	justify-content: center;
}
.contacto-hijo-icono img {
	max-width: 300px;
	width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 20px 40px #bd390559);
	animation: flotar 3s ease-in-out infinite;
}
@keyframes flotar {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
fieldset {
	border: 2px solid #111217;
	border-radius: 16px;
	padding: 32px;
	margin-top: 32px;
	background: rgba(17, 18, 23, 0.3);
}
legend {
	font-size: 22px;
	font-weight: 700;
	color: #111217;
	padding: 0 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
label {
	display: block;
	font-weight: 700;
	color: #111217;
	margin-top: 24px;
	margin-bottom: 8px;
	font-size: 18px;
	letter-spacing: 0.5px;
}
input[type="text"],input[type="email"], textarea {
	width: 100%;
	padding: 16px 19px;
	border: none;
	border-radius: 12px;
	font-size: 17px;
	font-family: 'Space Grotesk', sans-serif;
	background: #111217;
	color: #fff;
	box-shadow: 0 2px 8px #0000004d;
	transition: all 0.3s ease;
	margin-bottom: 8px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
	outline: 3px solid #111217;
	background: #18181c;
	transform: scale(1.02);
}
textarea {
	min-height: 120px;
	resize: vertical;
	font-family: 'Space Grotesk', sans-serif;
}
input[type="submit"]:hover {
	background: #000;
	color: #F5F6EF;
	transform: translateY(-3px);
	box-shadow: 0 6px 24px #a5230366;
}
/* Pie de página */
footer {
	background: #941E35;
	padding: 32px;
	text-align: center;
	font-size: 18px;
	color: #e0e0e0;
	border-top: 3px solid #F5F6EF;
}
/* Diseño responsive para dispositivos moviles*/
@media (max-width: 992px) {
	.profesores-general {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}
	.instalaciones-general {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	.contacto-padre {
		flex-direction: column;
		gap: 48px;
	}
	.contacto-hijo1 {
		flex: unset;
		width: 100%;
	}
}
@media (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: center;
		padding: 24px 20px;
		gap: 20px;
	}
	header div {
		justify-content: center;
	}
	header div a {
		font-size: 14px;
		letter-spacing: 1px;
	}
	.logo-header {
		width: 50px;
	}
	header nav {
		width: 100%;
	}
	header nav ul {
		flex-direction: column;
		gap: 0;
		width: 100%;
	}
	header nav ul li {
		width: 100%;
	}
	header nav ul li a {
		padding: 14px 16px;
		font-size: 14px;
	}
	header nav ul li a:hover, header nav ul li a:focus {
		border-bottom: none;
		transform: translateX(4px);
	}
	#inicio article {
		min-height: 60vh;
		padding: 60px 6vw;
	}
	#inicio article h2 {
		font-size: 36px;
		line-height: 1.4;
	}
	#inicio article p {
		font-size: 17px;
	}
	#oferta article {
		padding: 48px 6vw;
	}
	#oferta article h2 {
		font-size: 32px;
	}
	.oferta-principal {
		grid-template-columns: 1fr;
	}
	.oferta-hijo {
		padding: 24px 0;
	}
	.oferta-hijo:nth-child(even) {
		padding: 24px 0;
	}
	.oferta-hijo:nth-child(n+3) {
		border-top: 1px solid #862a1e33;
	}
	.oferta-hijo:nth-child(2) {
		border-top: 1px solid #862a1e33;
	}
	.oferta-hijo span {
		font-size: 56px;
	}
	#profesorado {
		padding: 0 20px;
	}
	#profesorado h2 {
		font-size: 32px;
	}
	.profesores-general {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	.profesor-hijo {
		padding: 28px 20px;
	}
	.profesor-hijo img {
		width: 110px;
		height: 110px;
	}
	.profesor-info h3 {
		font-size: 24px;
	}
	.profesor-info p {
		font-size: 15px;
	}
	#instalaciones .principal {
		padding: 60px 4vw;
	}
	#instalaciones h2 {
		font-size: 36px;
	}
	.instalaciones-general {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	.instalacion-hijo img {
		height: 200px;
	}
	.instalacion-info {
		padding: 24px 20px;
	}
	.instalacion-info h3 {
		font-size: 20px;
	}
	.instalacion-info p {
		font-size: 15px;
	}
	#contacto {
		padding: 48px 5vw;
	}
	.contacto-hijo1 {
		padding: 32px 28px;
	}
	.contacto-hijo1 h4 {
		font-size: 22px;
	}
	.contacto-hijo2 h2 {
		font-size: 28px;
	}
	.contacto-hijo-icono img {
		max-width: 250px;
	}
}
@media (max-width: 480px) {
	header {
		padding: 20px 16px;
	}
	header div a {
		font-size: 12px;
		flex-direction: column;
		gap: 8px;
	}
	.logo-header {
		width: 45px;
	}
	header nav ul li a {
		padding: 12px 14px;
		font-size: 13px;
	}
	#inicio article {
		min-height: 50vh;
		padding: 48px 5vw;
	}
	#inicio article h2 {
		font-size: 28px;
		line-height: 1.3;
	}
	#inicio article p {
		font-size: 15px;
		line-height: 1.7;
	}
	#oferta article {
		padding: 40px 5vw;
	}
	#oferta article h2 {
		font-size: 26px;
	}
	.oferta-hijo {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 20px 0;
	}
	.oferta-hijo span {
		font-size: 48px;
	}
	.oferta-hijo p {
		font-size: 15px;
	}
	#profesorado {
		padding: 0 16px;
	}
	#profesorado h2 {
		font-size: 26px;
	}
	.profesores-general {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.profesor-hijo {
		padding: 24px 16px;
	}
	.profesor-hijo img {
		width: 100px;
		height: 100px;
	}
	.profesor-info h3 {
		font-size: 20px;
	}
	.profesor-info p {
		font-size: 14px;
	}
	#instalaciones .principal {
		padding: 48px 3vw;
	}
	#instalaciones h2 {
		font-size: 28px;
	}
	.instalaciones-general {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.instalacion-hijo img {
		height: 180px;
	}
	.instalacion-info {
		padding: 20px 16px;
	}
	.instalacion-info h3 {
		font-size: 18px;
	}
	.instalacion-info p {
		font-size: 14px;
	}
	#contacto {
		padding: 40px 4vw;
	}
	.contacto-hijo1 {
		padding: 28px 20px;
	}
	.contacto-hijo1 h4 {
		font-size: 20px;
	}
	.contacto-hijo1 p {
		font-size: 15px;
	}
	#contacto .contacto-campos input, #contacto .contacto-campos textarea {
		width: 100%;
		padding: 14px 18px;
		font-size: 13px;
	}
	.contacto-boton {
		width: 100%;
		padding: 14px 24px;
		font-size: 14px;
	}
	.contacto-hijo2 h2 {
		font-size: 22px;
		letter-spacing: 1px;
	}
	.contacto-hijo2-objeto {
		font-size: 14px;
		padding: 12px 24px;
	}
	.contacto-hijo-icono img {
		max-width: 200px;
	}
	footer {
		padding: 24px 16px;
		font-size: 16px;
	}
}
