/*
Theme Name:        BN Academy Theme
Theme URI:         https://cursos.bluenova.com.ec/
Description:       Child theme de Hello Elementor para la Academia Blue Nova. Aporta la identidad visual oscura de Blue Nova sobre las plantillas de Tutor LMS.
Author:            Blue Nova
Author URI:        https://www.bluenova.com.ec/
Template:          hello-elementor
Version:           0.2.0
Requires at least: 6.5
Requires PHP:      8.1
License:           GPL-2.0-or-later
Text Domain:       bn-academy-theme
*/

:root {
	--bn-bg: #0a0a0a;
	--bn-surface: #141414;
	--bn-elev: #101017;
	--bn-footer: #0b0d15;
	--bn-border: #262626;
	--bn-hairline: rgba(142, 169, 232, 0.14);
	--bn-accent: #4a7bf7;
	--bn-accent-soft: rgba(74, 123, 247, 0.14);
	--bn-iso: #8ea9e8;
	--bn-text: #f5f5f5;
	--bn-text-muted: #a3a3a3;
	--bn-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
	background-color: var(--bn-bg);
	color: var(--bn-text);
	font-family: var(--bn-font);
}

a {
	color: var(--bn-accent);
}

/* ------------------------------------------------------------------ buttons */

.bn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bn-accent);
	color: #ffffff;
	border: 1px solid var(--bn-accent);
	border-radius: 9px;
	padding: 9px 20px;
	font-family: var(--bn-font);
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.bn-btn:hover {
	background: #3a68e0;
	color: #ffffff;
	transform: translateY(-1px);
}

.bn-btn--ghost {
	background: transparent;
	border-color: var(--bn-border);
	color: var(--bn-text);
}

.bn-btn--ghost:hover {
	background: transparent;
	border-color: var(--bn-iso);
	color: #ffffff;
}

/* ------------------------------------------------------------------- header */

.bn-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 10, 10, 0.82);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--bn-hairline);
}

.bn-header__inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bn-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
}

.bn-header__mark {
	height: 30px;
	width: auto;
	display: block;
}

.bn-header__name {
	color: #ffffff;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.01em;
}

.bn-header__nav {
	display: flex;
	align-items: center;
	gap: 18px;
}

.bn-header__link {
	color: var(--bn-text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.bn-header__link:hover {
	color: #ffffff;
}

/* ------------------------------------------------------------------- footer */

.bn-footer {
	background: var(--bn-footer);
	border-top: 1px solid var(--bn-hairline);
	color: var(--bn-text-muted);
}

.bn-footer__inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 56px 24px 28px;
}

.bn-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 48px;
}

.bn-footer__logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bn-footer__logo img {
	height: 40px;
	width: auto;
}

.bn-footer__logo span {
	color: #ffffff;
	font-weight: 600;
	font-size: 18px;
}

.bn-footer__tagline {
	margin: 16px 0 20px;
	font-size: 14px;
	line-height: 1.6;
	max-width: 300px;
}

.bn-footer__socials {
	display: flex;
	gap: 10px;
}

.bn-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: rgba(142, 169, 232, 0.08);
	border: 1px solid var(--bn-hairline);
	color: var(--bn-text-muted);
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.bn-footer__socials a:hover {
	color: #ffffff;
	background: var(--bn-accent);
	border-color: var(--bn-accent);
}

.bn-footer__label {
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 18px;
}

.bn-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bn-footer__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.bn-footer__list a {
	color: var(--bn-text-muted);
	text-decoration: none;
}

.bn-footer__list a:hover {
	color: var(--bn-iso);
}

.bn-ico {
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--bn-iso);
}

.bn-footer__bottom {
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--bn-hairline);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.bn-footer__copy {
	margin: 0;
	font-size: 13px;
}

.bn-footer__legal {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 13px;
}

.bn-footer__legal a {
	color: var(--bn-text-muted);
	text-decoration: none;
}

.bn-footer__legal a:hover {
	color: var(--bn-iso);
}

.bn-footer__sep {
	color: var(--bn-border);
}

@media (max-width: 860px) {
	.bn-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.bn-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ------------------------------------------------------------- front page */

.bn-hero {
	min-height: 82vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(ellipse 60% 50% at 70% 20%, rgba(74, 123, 247, 0.16), transparent),
		var(--bn-bg);
	padding: 60px 20px;
}

.bn-hero__inner {
	max-width: 760px;
	text-align: center;
}

.bn-hero__logo {
	display: block;
	height: 80px;
	width: auto;
	margin: 0 auto 20px;
}

.bn-hero__eyebrow {
	color: var(--bn-iso);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 18px;
}

.bn-hero__title {
	color: #ffffff;
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 20px;
}

.bn-hero__text {
	color: var(--bn-text-muted);
	font-size: 18px;
	line-height: 1.6;
	margin: 0 auto 30px;
	max-width: 560px;
}

.bn-hero__cta {
	display: inline-block;
	background: var(--bn-accent);
	color: #ffffff;
	font-weight: 600;
	font-size: 16px;
	padding: 14px 36px;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.bn-hero__cta:hover {
	background: #3a68e0;
	color: #ffffff;
	transform: translateY(-2px);
}

.bn-hero__note {
	color: #6b6b6b;
	font-size: 13px;
	margin-top: 26px;
}

/* -------------------------------------------- Tutor LMS dark skin (base) */
/* Course archive and single-course screens render inside the theme; the
 * classes below target Tutor's real .tutor-* markup. Refined iteratively. */

.tutor-course-archive-page,
.tutor-wrap {
	color: var(--bn-text);
}

.tutor-card,
.tutor-course-card {
	background: var(--bn-surface);
	border: 1px solid var(--bn-border);
	border-radius: 14px;
	overflow: hidden;
}

.tutor-card .tutor-course-name a,
.tutor-course-name a {
	color: #ffffff;
}

.tutor-card .tutor-course-name a:hover,
.tutor-course-name a:hover {
	color: var(--bn-accent);
}

.tutor-btn.tutor-btn-primary,
a.tutor-btn.tutor-btn-primary {
	background: var(--bn-accent);
	border-color: var(--bn-accent);
	color: #ffffff;
}

.tutor-btn.tutor-btn-primary:hover,
a.tutor-btn.tutor-btn-primary:hover {
	background: #3a68e0;
	border-color: #3a68e0;
}

.tutor-progress-bar {
	background-color: #262626;
}

.tutor-progress-bar .tutor-progress-value {
	background-color: var(--bn-accent);
}
