:root {
	--primary: #7971ea;
	--primary-dark: #6057d5;
	--secondary: #1c4b82;
	--text-dark: #333333;
	--text-body: #555555;
	--bg-light: #f8f9fa;
	--spacing-unit: 1rem;
	--transition-default: all 0.3s ease;
}

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Roboto:wght@300;400;500&display=swap');

/* Base */
body {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--text-body);
	font-weight: 400;
	line-height: 1.7;
	font-size: 1.1rem;
}

::-moz-selection {
	background: var(--primary);
	color: #fff;
}

::selection {
	background: var(--primary);
	color: #fff;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 700;
	color: var(--text-dark);
}

p {
	margin-bottom: 1.5rem;
}

.text-black {
	color: #000 !important;
}

.bg-black {
	background: #000 !important;
}

.color-black-opacity-5 {
	color: rgba(0, 0, 0, 0.5);
}

.color-white-opacity-5 {
	color: rgba(255, 255, 255, 0.5);
}

.line-height-1 {
	line-height: 1 !important;
}

/* Enlaces y botones */
a {
	color: var(--primary);
	transition: var(--transition-default);
	text-decoration: none;
}

a:hover {
	color: var(--primary-dark);
	text-decoration: none;
}

.btn {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 900;
	padding: 14px 30px;
}

.btn:hover,
.btn:active,
.btn:focus {
	outline: none;
	box-shadow: none !important;
}

.btn-primary {
	background-color: var(--primary);
	border-color: var(--primary);
	font-weight: 600;
	letter-spacing: 0.5px;
	transition: var(--transition-default);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(121, 113, 234, 0.3);
}

.btn.btn-pill {
	border-radius: 30px;
}

/* Formularios */
.form-control {
	height: 48px;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	border-radius: 6px;
	border: 1px solid #e5e5e5;
	padding: 0.75rem 1rem;
	transition: all 0.3s ease;
}

.form-control:active,
.form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(121, 113, 234, 0.25);
}

/* Site wrap y contenedor principal */
.site-wrap {
	position: relative;
	overflow: hidden;
}

/* Estilos para el header */
#site-header {
	background-color: transparent;
	transition: background-color 0.3s ease, padding 0.3s ease;
}

#site-header.is-sticky {
	background-color: white !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navegación - ajustes adicionales */
.site-navbar {
	position: fixed;
	width: 100%;
	z-index: 1000;
	transition: background-color 0.4s ease, padding 0.3s ease;
	margin-bottom: 0px;
	padding: 1.2rem 0;
	background-color: transparent;
}

.site-navbar .container-fluid {
	padding-left: 2rem;
	padding-right: 2rem;
}

.site-logo {
	position: relative;
	font-weight: 900;
	font-size: 1.3rem;
}

.site-logo a {
	color: #fff;
	transition: color 0.3s ease;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.site-navbar .site-navigation .site-menu {
	margin-bottom: 0;
}

.site-navbar .site-navigation .site-menu > li {
	position: relative;
	display: inline-block;
}

.site-navbar .site-navigation .site-menu > li > a {
	font-weight: 600;
	letter-spacing: 0.5px;
	position: relative;
	color: white !important;
	transition: color 0.3s ease;
	padding: 0.5rem 0.7rem;
	display: inline-block;
	text-decoration: none !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.site-navbar .site-navigation .site-menu > li > a:hover {
	color: white !important;
	opacity: 1;
}

.site-navbar .site-navigation .site-menu > li > a:after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 50%;
	background-color: white;
	transition: width 0.3s ease, left 0.3s ease;
	border-radius: 1px;
}

.site-navbar .site-navigation .site-menu > li:hover > a:after,
.site-navbar .site-navigation .site-menu > li.active > a:after {
	width: 80%;
	left: 10%;
}

/* Menú sticky - ajustes adicionales */
.js-sticky-header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 2000;
	transition: all 0.3s ease-in-out;
}

.js-sticky-header.is-sticky {
	background-color: white !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.js-sticky-header.is-sticky .site-logo a {
	color: var(--text-dark) !important;
	text-shadow: none;
}

.js-sticky-header.is-sticky .site-navigation .site-menu > li > a {
	color: var(--text-dark) !important;
	text-shadow: none;
}

.js-sticky-header.is-sticky .site-navigation .site-menu > li > a:hover {
	color: var(--primary) !important;
}

.js-sticky-header.is-sticky .site-navigation .site-menu > li > a:after {
	background-color: var(--primary);
}

/* Botón WhatsApp */
.site-menu .cta a {
	color: #fff !important;
	background: var(--primary);
	border-radius: 30px;
	padding: 10px 20px !important;
	transition: all 0.3s ease;
	opacity: 1 !important;
	text-shadow: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	border: 2px solid var(--primary);
}

.site-menu .cta a:hover {
	background: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(121, 113, 234, 0.4);
}

.js-sticky-header.is-sticky .site-menu .cta a {
	color: #fff !important;
	background: var(--primary);
}

.js-sticky-header.is-sticky .site-menu .cta a:hover {
	background: var(--primary-dark);
}

/* Secciones */
.site-section {
	padding: 5rem 0;
	position: relative;
	background-color: white;
}

#inicio {
	padding-top: 0 !important;
	margin-top: 0;
}

#clases {
	padding-top: 7rem !important;
}

.section-title {
	font-weight: 800;
	position: relative;
	margin-bottom: calc(var(--spacing-unit) * 2);
	font-size: 3rem;
	color: #000;
}

.section-title:after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -15px;
	width: 50px;
	height: 3px;
	background-color: var(--primary);
	transform: translateX(-50%);
}

/* Tarjetas de servicios */
.course {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	height: 100%;
	background-color: white;
	transition: var(--transition-default);
	position: relative;
}

.course:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.course figure.m-0 {
	width: 100%;
	height: 230px;
	border-radius: 5px 5px 0 0;
	overflow: hidden;
}

.course figure.m-0 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.course:hover figure.m-0 img {
	transform: scale(1.05);
}

.course-inner-text {
	flex: 1;
	padding: 1.8rem;
	padding-top: 2rem;
	position: relative;
}

.course-inner-text h3 {
	font-size: 1.25rem;
	margin-bottom: 0.7rem;
	font-weight: 700;
}

.course-inner-text .meta {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
}

.course-inner-text .meta .icon-clock-o {
	margin-right: 0.5rem;
	color: var(--primary);
}

.course-price {
	position: absolute;
	top: 200px;
	right: 15px;
	background-color: var(--primary);
	color: white;
	padding: 8px 16px;
	min-width: 85px;
	text-align: center;
	font-weight: bold;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 3;
	transform: translateY(50%);
	transition: var(--transition-default);
}

/* Preguntas frecuentes */
.site-section.pb-0#preguntas-frecuentes {
	position: relative;
}

.site-section.pb-0#preguntas-frecuentes h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	transition: var(--transition-default);
	padding: 1.2rem 0;
	margin: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.site-section.pb-0#preguntas-frecuentes h3:hover {
	color: var(--primary);
}

.site-section.pb-0#preguntas-frecuentes h3 span {
	font-size: 1.2rem;
	font-weight: 300;
	color: var(--primary);
	transition: transform 0.3s ease;
}

.site-section.pb-0#preguntas-frecuentes div[x-show='open'] {
	padding: 1.2rem 0;
	color: var(--text-body);
	font-family: 'Roboto', sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Intro section */
.intro-section {
	position: relative;
	height: 100vh;
	min-height: 700px;
	display: flex;
	align-items: center;
}

.intro-section .container {
	position: relative;
	z-index: 2;
	padding-top: 7rem;
}

.intro-section .slide-1 {
	background-size: cover;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.intro-section .slide-1:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
	z-index: 1;
}

.intro-section h1 {
	font-weight: 800;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	letter-spacing: 0.5px;
	color: white;
	font-size: 3rem;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.intro-section p {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	max-width: 600px;
	color: white;
	font-size: 1.1rem;
}

/* Botón de reserva en el hero */
.btn-reservar {
	background-color: var(--primary);
	color: white;
	padding: 1rem 2rem;
	border-radius: 30px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	display: inline-block;
	transition: all 0.3s ease;
	border: 2px solid var(--primary);
}

.btn-reservar:hover {
	background-color: transparent;
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer-section {
	background-color: var(--bg-light) !important;
	padding-top: 3rem;
	padding: 4em 0;
}

.footer-heading {
	font-size: 1.25rem;
	position: relative;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
}

.footer-heading:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background-color: var(--primary);
}

.footer-section ul.list-unstyled li {
	margin-bottom: 0.75rem;
}

.footer-section ul.list-unstyled li a {
	color: var(--text-body);
	transition: all 0.3s ease;
	display: inline-block;
}

.footer-section ul.list-unstyled li a:hover {
	color: var(--primary);
	transform: translateX(5px);
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--primary);
	color: white !important;
	transition: all 0.3s ease;
}

.social-icon:hover {
	background-color: var(--primary-dark);
	transform: translateY(-3px);
}

/* Sobre mi */
.teacher {
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	border: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	padding: 2rem;
	margin-bottom: 2rem;
}

.teacher:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.teacher img.rounded-circle {
	border: 5px solid white;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	max-width: 200px;
	margin: 0 auto 1.5rem;
	display: block;
}

/* Efectos y animaciones */
.future-blobs {
	overflow: hidden;
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	top: 0;
	pointer-events: none;
}

.future-blobs .blob_1 {
	top: 0;
	right: -10rem;
	position: absolute;
	opacity: 0.7;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.future-blobs .blob_2 {
	bottom: 0;
	left: -10rem;
	position: absolute;
	opacity: 0.7;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

#preguntas-frecuentes:hover .blob_1 {
	transform: translateX(-10px);
	opacity: 0.9;
}

#preguntas-frecuentes:hover .blob_2 {
	transform: translateX(10px);
	opacity: 0.9;
}

/* Media Queries */
@media (min-width: 1400px) {
	.site-navbar .site-navigation .site-menu > li > a {
		padding: 0.5rem 1rem;
		font-size: 1rem;
	}

	.site-navbar .container-fluid {
		padding-left: 4rem;
		padding-right: 4rem;
	}
}

@media (min-width: 992px) and (max-width: 1399px) {
	.site-navbar .site-navigation .site-menu > li > a {
		padding: 0.5rem 0.7rem;
		font-size: 0.95rem;
	}

	.site-logo {
		font-size: 1.1rem;
	}
}

@media (max-width: 991px) {
	.site-navbar .container-fluid {
		padding-left: 15px;
		padding-right: 15px;
	}

	.section-title {
		font-size: 2.5rem;
	}

	.site-navigation .main-menu.d-none.d-lg-block {
		display: none !important;
	}

	.site-menu-toggle.d-lg-none {
		display: inline-block !important;
	}

	.intro-section h1 {
		font-size: 2.5rem;
	}
}

@media (max-width: 767px) {
	.site-section {
		padding: 3rem 0;
	}

	.intro-section {
		min-height: 600px;
	}

	.intro-section .container {
		padding-top: 5rem;
	}

	.intro-section h1 {
		font-size: 2rem;
	}

	.site-navbar {
		padding: 0.5rem 0;
	}

	.course figure.m-0 {
		height: 200px;
	}

	.section-title {
		font-size: 2rem;
	}

	.js-sticky-header.is-sticky {
		padding-top: 5px !important;
		padding-bottom: 5px !important;
	}

	.footer-section .col-md-4 {
		margin-bottom: 2rem;
	}

	.footer-heading {
		margin-bottom: 1rem;
	}

	.teacher {
		padding: 1.5rem;
	}

	#servicios .row .col-md-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Accesibilidad */
a:focus,
button:focus {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

.skip-link {
	background: var(--primary);
	color: white;
	font-weight: 700;
	left: 50%;
	padding: 8px 15px;
	position: absolute;
	transform: translateY(-100%) translateX(-50%);
	transition: transform 0.3s;
	z-index: 100;
}

.skip-link:focus {
	transform: translateY(0%) translateX(-50%);
}

/* Animaciones */
.fade-in-element {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Delays para animaciones */
.fade-in-element:nth-child(1) {
	transition-delay: 0.1s;
}
.fade-in-element:nth-child(2) {
	transition-delay: 0.2s;
}
.fade-in-element:nth-child(3) {
	transition-delay: 0.3s;
}
.fade-in-element:nth-child(4) {
	transition-delay: 0.4s;
}
.fade-in-element:nth-child(5) {
	transition-delay: 0.5s;
}
.fade-in-element:nth-child(6) {
	transition-delay: 0.6s;
}

/* Mobile menu */
.site-mobile-menu {
	width: 300px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 2000;
	padding-top: 20px;
	background: #fff;
	height: 100vh;
	transform: translateX(110%);
	box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
	transition: 0.3s all ease-in-out;
}

.offcanvas-menu .site-mobile-menu {
	transform: translateX(0%);
}

.site-mobile-menu .site-mobile-menu-header {
	width: 100%;
	float: left;
	padding: 20px;
}

.site-mobile-menu .site-mobile-menu-close {
	float: right;
	margin: 0;
	padding: 0;
}

.site-mobile-menu .site-mobile-menu-close span {
	font-size: 20px;
	display: inline-block;
	padding: 10px;
	cursor: pointer;
	transition: 0.3s all ease;
	color: var(--text-dark);
}

.site-mobile-menu .site-mobile-menu-close span:hover {
	color: var(--primary);
}

.site-mobile-menu .site-mobile-menu-body {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	padding: 20px;
	height: calc(100vh - 70px);
}

/* Estilos para el menú dentro del offcanvas */
.site-mobile-menu .site-nav-wrap {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-mobile-menu .site-nav-wrap a {
	padding: 12px 0;
	display: block;
	position: relative;
	color: var(--text-dark);
	font-size: 1rem;
	font-weight: 500;
	border-bottom: 1px solid #f0f0f0;
}

.site-mobile-menu .site-nav-wrap a:hover {
	color: var(--primary);
}

.site-mobile-menu .site-nav-wrap li:last-child a {
	border-bottom: none;
}

.site-mobile-menu .site-mobile-menu-header .site-logo {
	font-size: 1.2rem;
	color: var(--text-dark);
	text-shadow: none;
}
