/*
 * Bemol Akademi — "Bemol Harmonic System" tasarım dili
 * HTML şablonundan (src/App.tsx + index.css) birebir uyarlanmıştır.
 * Vanilla CSS, derleme adımı yok.
 */

:root {
	/* Colors — HTML template'deki @theme ile birebir */
	--bemol-color-primary:                #001736;
	--bemol-color-on-primary:             #ffffff;
	--bemol-color-secondary:              #775a19;
	--bemol-color-secondary-container:    #fed488;   /* secondary-light */
	--bemol-color-surface:                #fcf9f8;   /* background-warm */
	--bemol-color-surface-container-lowest: #ffffff;
	--bemol-color-surface-container:      #f0eded;
	--bemol-color-surface-container-high: #eae7e7;
	--bemol-color-text:                   #001736;   /* primary as body text */
	--bemol-color-text-muted:             #43474f;   /* on-surface-variant */
	--bemol-color-outline:                #747780;
	--bemol-color-outline-variant:        #c4c6d0;
	--bemol-whatsapp:                     #25D366;

	/* Typography */
	--bemol-font-heading: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
	--bemol-font-body:    'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;

	/* Shape */
	--bemol-radius-sm:   0.125rem;
	--bemol-radius:      0.25rem;
	--bemol-radius-md:   0.375rem;
	--bemol-radius-lg:   0.5rem;
	--bemol-radius-xl:   0.75rem;
	--bemol-radius-2xl:  1rem;
	--bemol-radius-3xl:  1.5rem;
	--bemol-radius-full: 9999px;

	/* Elevation */
	--bemol-shadow:       0 4px 16px rgba(0, 23, 54, 0.06);
	--bemol-shadow-md:    0 8px 32px rgba(0, 23, 54, 0.10);
	--bemol-shadow-lg:    0 12px 40px rgba(0, 23, 54, 0.14);
	--bemol-shadow-xl:    0 20px 60px rgba(0, 23, 54, 0.18);

	/* Spacing */
	--bemol-container-max:    1280px;
	--bemol-margin-desktop:   32px;
	--bemol-margin-mobile:    16px;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--bemol-font-body);
	font-size: 16px;
	color: var(--bemol-color-primary);
	background: var(--bemol-color-surface);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--bemol-font-heading);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 0.5em;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.screen-reader-text { position: absolute; left: -9999px; }

.skip-link:focus {
	left: 1rem; top: 1rem; position: fixed;
	background: #fff; padding: .5rem 1rem;
	border-radius: var(--bemol-radius-full); z-index: 9999;
}

/* ===== Container ===== */
.container {
	max-width: var(--bemol-container-max);
	margin: 0 auto;
	padding: 0 var(--bemol-margin-mobile);
}
@media (min-width: 640px) {
	.container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
	.container { padding: 0 2rem; }
}

/* ===== Section base ===== */
.section { padding: 96px 0; }
@media (min-width: 640px) { .section { padding: 128px 0; } }

.section--warm { background: var(--bemol-color-surface); }
.section--white { background: var(--bemol-color-surface-container-lowest); }

/* Eyebrow label */
.section__eyebrow {
	display: block;
	font-family: var(--bemol-font-body);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--bemol-color-secondary);
	margin-bottom: 0.625rem;
}

/* Section heading */
.section__title {
	font-family: var(--bemol-font-heading);
	font-size: clamp(1.875rem, 4vw, 3rem);
	font-weight: 400;
	color: var(--bemol-color-primary);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0;
}

/* Gold rule bar under headings */
.section__rule {
	width: 80px;
	height: 4px;
	background: var(--bemol-color-secondary);
	border-radius: var(--bemol-radius-full);
	margin-top: 1rem;
}

.section__rule--center { margin-left: auto; margin-right: auto; }

.section__header {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto 4rem;
}

.section__header--left { text-align: left; }
.section__header--left .section__rule { margin-left: 0; }

/* ===== Typography utilities ===== */
.label-caps {
	display: inline-block;
	font-family: var(--bemol-font-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bemol-color-text-muted);
}
.label-caps--gold    { color: var(--bemol-color-secondary-container); }
.label-caps--accent  { color: var(--bemol-color-secondary); }
.label-caps--inverse { color: rgba(255,255,255,0.85); }

/* ===== Buttons ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	border-radius: var(--bemol-radius-full);
	font-family: var(--bemol-font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease,
	            background-color 0.15s ease, color 0.15s ease,
	            border-color 0.15s ease;
}

.btn:hover   { transform: scale(1.03); }
.btn:active  { transform: scale(0.98); }

.btn svg {
	flex-shrink: 0;
	width: 1.2em;
	height: 1.2em;
}

/* Primary */
.btn--primary {
	background: var(--bemol-color-primary);
	color: #ffffff;
}
.btn--primary:hover {
	background: var(--bemol-color-secondary);
	box-shadow: var(--bemol-shadow-md);
}

/* Outline */
.btn--outline {
	background: transparent;
	border-color: rgba(255,255,255,0.4);
	color: #ffffff;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	background: rgba(255,255,255,0.10);
}
.btn--outline:hover { background: rgba(255,255,255,0.22); }

/* Outline on light BG */
.btn--outline-dark {
	background: transparent;
	border-color: var(--bemol-color-primary);
	color: var(--bemol-color-primary);
}
.btn--outline-dark:hover { background: rgba(0,23,54,0.06); }

/* Ghost */
.btn--ghost {
	background: transparent;
	border-color: var(--bemol-color-primary);
	color: var(--bemol-color-primary);
}
.btn--ghost:hover { background: rgba(0,23,54,0.06); }

/* WhatsApp */
.btn--whatsapp {
	background: var(--bemol-whatsapp);
	color: #fff;
	box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.btn--whatsapp:hover { background: #20ba59; box-shadow: 0 12px 28px rgba(37,211,102,0.45); }

/* Header nav CTA */
.btn--nav {
	background: var(--bemol-color-primary);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.6rem 1.25rem;
}
.btn--nav:hover { background: var(--bemol-color-secondary); }

@keyframes bemol-whatsapp-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
	70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
	100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Header / Navigation ===== */
.site-header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 40;
	transition: padding 0.3s ease;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 4px rgba(0,23,54,0.07);
	border-bottom: 1px solid rgba(196,198,208,0.15);
	padding: 1.25rem 0;
}

.site-header.is-scrolled {
	padding: 0.875rem 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 0;
}

/* Logo */
.site-branding {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.site-branding__link {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	text-decoration: none;
}

.site-branding__icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--bemol-radius-full);
	background: var(--bemol-color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.25s ease;
}

.site-branding__link:hover .site-branding__icon {
	background: var(--bemol-color-secondary);
}

.site-branding__name {
	font-family: var(--bemol-font-heading);
	font-weight: 700;
	font-size: 1.375rem;
	letter-spacing: -0.02em;
	color: var(--bemol-color-primary);
	white-space: nowrap;
	line-height: 1;
}

.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 40px; width: auto; }

/* Primary nav */
.primary-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.nav-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	font-family: var(--bemol-font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bemol-color-primary);
	opacity: 0.8;
	padding-bottom: 0.25rem;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	color: var(--bemol-color-secondary);
	opacity: 1;
	border-bottom-color: var(--bemol-color-secondary);
}

/* Hamburger */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	margin-left: auto;
	border-radius: var(--bemol-radius-full);
	color: var(--bemol-color-primary);
	transition: background 0.15s;
}
.menu-toggle:hover { background: rgba(0,23,54,0.05); }

.menu-toggle__bar {
	width: 24px; height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Hero ===== */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: 6rem;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(0,23,54,0.95) 0%,
		rgba(0,23,54,0.80) 40%,
		rgba(0,23,54,0.40) 70%,
		rgba(0,23,54,0.10) 100%
	);
}

.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 4rem 0;
}

.hero__content {
	max-width: 42rem;
	color: #fff;
}

/* Pill badge eyebrow */
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(119,90,25,0.2);
	border: 1px solid rgba(254,212,136,0.3);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 0.5rem 1rem;
	border-radius: var(--bemol-radius-full);
	margin-bottom: 1.5rem;
}

.hero__badge-icon {
	width: 1rem; height: 1rem;
	color: var(--bemol-color-secondary-container);
	flex-shrink: 0;
}

.hero__badge-text {
	font-family: var(--bemol-font-body);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--bemol-color-secondary-container);
}

.hero__title {
	font-family: var(--bemol-font-heading);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #ffffff;
	margin: 0 0 1.25rem;
}

.hero__subtitle {
	font-family: var(--bemol-font-body);
	font-size: clamp(1rem, 2vw, 1.25rem);
	line-height: 1.65;
	color: rgba(255,255,255,0.88);
	max-width: 36rem;
	margin: 0 0 2.5rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero__watermark {
	position: absolute;
	bottom: 2.5rem;
	right: 2.5rem;
	font-family: var(--bemol-font-body);
	font-size: 0.8125rem;
	color: rgba(255,255,255,0.15);
	user-select: none;
	pointer-events: none;
	display: none;
}
@media (min-width: 1024px) { .hero__watermark { display: block; } }

/* ===== Courses / Lesson grid ===== */
.lesson-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.lesson-card {
	background: var(--bemol-color-surface-container-lowest);
	border-radius: var(--bemol-radius-2xl);
	border-top: 4px solid var(--bemol-color-secondary);
	overflow: hidden;
	box-shadow: var(--bemol-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.lesson-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bemol-shadow-xl);
}

.lesson-card__thumb {
	height: 14rem;
	overflow: hidden;
	position: relative;
}

.lesson-card__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.lesson-card:hover .lesson-card__thumb img { transform: scale(1.05); }

.lesson-card__thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.lesson-card__thumb-placeholder {
	width: 100%; height: 100%;
	background: var(--bemol-color-surface-container);
}

.lesson-card__body {
	padding: 2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.lesson-card__title {
	font-family: var(--bemol-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--bemol-color-primary);
	margin: 0 0 0.75rem;
}

.lesson-card__excerpt {
	color: var(--bemol-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
	flex: 1;
	margin: 0 0 1.5rem;
}

.lesson-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-family: var(--bemol-font-body);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bemol-color-primary);
	border-bottom: 2px solid rgba(0,23,54,0.2);
	padding-bottom: 0.375rem;
	transition: color 0.15s ease, border-color 0.15s ease;
	align-self: flex-start;
}

.lesson-card__link:hover {
	color: var(--bemol-color-secondary);
	border-bottom-color: var(--bemol-color-secondary);
}

.lesson-card__link svg {
	width: 1rem; height: 1rem;
	flex-shrink: 0;
}

/* ===== Instructor spotlight ===== */
.instructor-spotlight__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.instructor-spotlight__media {
	position: relative;
}

.instructor-spotlight__media img {
	width: 100%;
	border-radius: var(--bemol-radius-2xl);
	box-shadow: var(--bemol-shadow-xl);
	transition: transform 0.5s ease;
}
.instructor-spotlight__media:hover img { transform: scale(1.02); }

.instructor-spotlight__media-placeholder {
	width: 100%;
	aspect-ratio: 4/5;
	border-radius: var(--bemol-radius-2xl);
	background: var(--bemol-color-surface-container);
}

.quote-card {
	position: absolute;
	right: -1.5rem;
	bottom: -2rem;
	max-width: 280px;
	background: var(--bemol-color-secondary-container);
	padding: 1.5rem 2rem;
	border-radius: var(--bemol-radius-2xl);
	box-shadow: var(--bemol-shadow-xl);
	border: 1px solid rgba(119,90,25,0.1);
	z-index: 2;
}

.quote-card p {
	font-family: var(--bemol-font-heading);
	font-style: italic;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--bemol-color-primary);
	margin: 0 0 0.75rem;
}

.quote-card__rule {
	width: 3rem; height: 2px;
	background: var(--bemol-color-secondary);
	border-radius: var(--bemol-radius-full);
}

/* Decorative circle */
.instructor-spotlight__decor {
	position: absolute;
	top: -2.5rem;
	left: -2.5rem;
	width: 10rem;
	height: 10rem;
	background: var(--bemol-color-surface);
	border-radius: var(--bemol-radius-full);
	z-index: -1;
}

/* Checklist — circle style */
.checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.checklist__item {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	background: var(--bemol-color-surface);
	padding: 0.875rem 1rem;
	border-radius: var(--bemol-radius-xl);
	border: 1px solid rgba(196,198,208,0.15);
}

.checklist__icon {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: var(--bemol-radius-full);
	background: rgba(119,90,25,0.12);
	color: var(--bemol-color-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.checklist__icon svg {
	width: 0.875rem;
	height: 0.875rem;
}

.checklist__item-text {
	font-family: var(--bemol-font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--bemol-color-primary);
	margin: 0;
}

/* Detailed checklist (why-us features) */
.checklist--detailed {
	gap: 2.5rem;
}

.checklist--detailed .checklist__item {
	background: transparent;
	padding: 0;
	border: none;
	border-radius: 0;
	align-items: flex-start;
}

.checklist--detailed .checklist__icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: var(--bemol-radius-2xl);
	background: rgba(254,212,136,0.35);
	color: var(--bemol-color-primary);
	transition: background 0.3s ease, color 0.3s ease;
}

.checklist--detailed .checklist__icon svg {
	width: 1.75rem;
	height: 1.75rem;
}

.checklist--detailed .checklist__item:hover .checklist__icon {
	background: var(--bemol-color-secondary);
	color: #fff;
}

.checklist__content { flex: 1; }

.checklist__title {
	display: block;
	font-family: var(--bemol-font-heading);
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--bemol-color-primary);
	margin: 0 0 0.375rem;
}

.checklist__text {
	margin: 0;
	color: var(--bemol-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* ===== Gallery band ===== */
.gallery-band__img-wrap {
	position: relative;
	border-radius: var(--bemol-radius-3xl);
	overflow: hidden;
	box-shadow: var(--bemol-shadow-xl);
	max-width: 64rem;
	margin: 0 auto;
}

.gallery-band__img-wrap img {
	width: 100%;
	max-height: 600px;
	object-fit: cover;
	display: block;
	transition: transform 1s ease;
}

.gallery-band__img-wrap:hover img { transform: scale(1.03); }

.gallery-band__img-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,23,54,0.20);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.gallery-band__img-wrap:hover .gallery-band__img-overlay { opacity: 1; }

.gallery-band__overlay-label {
	background: rgba(255,255,255,0.90);
	backdrop-filter: blur(8px);
	padding: 0.75rem 1.5rem;
	border-radius: var(--bemol-radius-full);
	font-family: var(--bemol-font-body);
	font-weight: 700;
	color: var(--bemol-color-primary);
	box-shadow: var(--bemol-shadow-lg);
	font-size: 0.9375rem;
}

.gallery-band__media-placeholder {
	width: 100%; height: 420px;
	background: var(--bemol-color-surface-container);
	border-radius: var(--bemol-radius-3xl);
}

.gallery-band__caption {
	max-width: 48rem;
	margin: 2.5rem auto 0;
	text-align: center;
	color: var(--bemol-color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* ===== Why us ===== */
.why-us__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
	align-items: center;
}

.why-us__media {
	position: relative;
}

.why-us__media img {
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
	border-radius: var(--bemol-radius-3xl);
	box-shadow: var(--bemol-shadow-xl);
	filter: grayscale(100%) brightness(0.95);
	transition: filter 0.7s ease;
}

.why-us__media:hover img { filter: none; }

.why-us__media-placeholder {
	width: 100%;
	aspect-ratio: 4/5;
	border-radius: var(--bemol-radius-3xl);
	background: var(--bemol-color-surface-container);
}

.why-us__decor-1 {
	position: absolute;
	bottom: -2rem;
	left: -2rem;
	width: 11rem;
	height: 11rem;
	background: rgba(254,212,136,0.4);
	border-radius: var(--bemol-radius-full);
	filter: blur(2rem);
	z-index: -1;
}

.why-us__decor-2 {
	position: absolute;
	top: -2rem;
	right: -2rem;
	width: 8rem;
	height: 8rem;
	background: rgba(0,23,54,0.05);
	border-radius: var(--bemol-radius-full);
	z-index: -1;
}

/* ===== FAQ Accordion ===== */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 52rem;
	margin: 0 auto;
}

.faq-item {
	background: var(--bemol-color-surface-container-lowest);
	border-radius: var(--bemol-radius-2xl);
	border: 1px solid rgba(196,198,208,0.25);
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.faq-item.is-open { box-shadow: var(--bemol-shadow-md); }

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	padding: 1.375rem 1.5rem;
	background: none;
	border: none;
	cursor: pointer;
	gap: 1rem;
	transition: background 0.15s ease;
}

.faq-question:hover { background: rgba(0,23,54,0.03); }

.faq-question__text {
	font-family: var(--bemol-font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--bemol-color-primary);
	line-height: 1.3;
}

.faq-question__icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	color: var(--bemol-color-secondary);
	transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question__icon { transform: rotate(180deg); }

.faq-answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}

.faq-answer__inner {
	padding: 0 1.5rem 1.5rem;
	border-top: 1px solid rgba(196,198,208,0.12);
	padding-top: 1rem;
}

.faq-answer p {
	margin: 0;
	color: var(--bemol-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* ===== Testimonials ===== */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.testimonial-card {
	background: var(--bemol-color-surface);
	border-radius: var(--bemol-radius-2xl);
	border: 1px solid rgba(196,198,208,0.15);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: var(--bemol-shadow);
}

.testimonial-card__stars {
	display: flex;
	gap: 0.125rem;
	color: var(--bemol-color-secondary);
	font-size: 1.125rem;
	margin-bottom: 1rem;
}

.testimonial-card__text {
	font-family: var(--bemol-font-body);
	font-style: italic;
	color: var(--bemol-color-text-muted);
	line-height: 1.7;
	margin: 0 0 1.5rem;
	flex: 1;
}

.testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(196,198,208,0.2);
}

.testimonial-card__avatar {
	width: 3rem;
	height: 3rem;
	border-radius: var(--bemol-radius-full);
	object-fit: cover;
	flex-shrink: 0;
}

.testimonial-card__name {
	font-family: var(--bemol-font-heading);
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--bemol-color-primary);
	margin: 0 0 0.125rem;
}

.testimonial-card__meta {
	font-size: 0.75rem;
	color: var(--bemol-color-text-muted);
	margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
	background: var(--bemol-color-primary);
	color: #fff;
	padding: 6rem 1.5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* Staff lines background decoration */
.cta-section__staff {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	padding: 3rem 0;
	pointer-events: none;
	opacity: 0.05;
}

.cta-section__staff-line {
	height: 1px;
	background: #fff;
	width: 100%;
}

.cta-section__inner {
	position: relative;
	z-index: 1;
	max-width: 52rem;
	margin: 0 auto;
}

.cta-section__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: var(--bemol-radius-full);
	background: var(--bemol-color-secondary-container);
	color: var(--bemol-color-primary);
	margin-bottom: 2rem;
	box-shadow: var(--bemol-shadow-md);
}

.cta-section__icon svg {
	width: 2rem;
	height: 2rem;
}

.cta-section__title {
	font-family: var(--bemol-font-heading);
	font-size: clamp(1.875rem, 4vw, 3rem);
	font-weight: 400;
	color: #fff;
	margin: 0 0 1rem;
}

.cta-section__text {
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	color: rgba(255,255,255,0.8);
	font-size: 1.0625rem;
	line-height: 1.7;
}

.cta-section__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

/* ===== Footer ===== */
.site-footer {
	background: var(--bemol-color-primary);
	color: rgba(255,255,255,0.9);
	padding-top: 4rem;
	border-top: 1px solid rgba(196,198,208,0.1);
}

@media (min-width: 640px) { .site-footer { padding-top: 5rem; } }

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	padding-bottom: 4rem;
}

@media (min-width: 768px) {
	.site-footer__inner {
		grid-template-columns: repeat(3, 1fr);
		gap: 4rem;
	}
}

/* Brand column */
.footer-brand__heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--bemol-font-heading);
	font-size: 1.375rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1rem;
}

.footer-brand__accent {
	width: 0.375rem;
	height: 1.5rem;
	background: var(--bemol-color-secondary);
	border-radius: var(--bemol-radius-full);
	flex-shrink: 0;
}

.footer-brand__text {
	color: rgba(255,255,255,0.7);
	font-size: 0.9375rem;
	line-height: 1.7;
	max-width: 20rem;
	margin: 0;
}

/* Explore / nav column */
.footer-nav-heading {
	font-family: var(--bemol-font-body);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--bemol-color-secondary-container);
	margin: 0 0 1.25rem;
}

.nav-menu--footer {
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.nav-menu--footer a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	color: rgba(255,255,255,0.75);
	opacity: 1;
	border-bottom: none;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	transition: color 0.15s ease;
}

.nav-menu--footer a:hover { color: #fff; border-bottom: none; }

.nav-menu--footer a::before {
	content: '';
	display: inline-block;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: var(--bemol-radius-full);
	background: var(--bemol-color-secondary);
	flex-shrink: 0;
}

/* Contact column */
.footer-contact-heading {
	font-family: var(--bemol-font-body);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--bemol-color-secondary-container);
	margin: 0 0 1.25rem;
}

.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.9375rem;
	color: rgba(255,255,255,0.75);
}

.footer-contact-list a {
	color: inherit;
	transition: color 0.15s ease;
}
.footer-contact-list a:hover { color: #fff; }

.footer-contact-list__icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--bemol-color-secondary-container);
	flex-shrink: 0;
	margin-top: 2px;
}

/* Footer bottom bar */
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 1.75rem 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	text-align: center;
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	color: rgba(255,255,255,0.5);
}

@media (min-width: 640px) {
	.site-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

.footer-bottom-links {
	display: flex;
	gap: 1.5rem;
}
.footer-bottom-links a {
	color: inherit;
	transition: color 0.15s ease;
}
.footer-bottom-links a:hover { color: #fff; }

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	background: var(--bemol-whatsapp);
	color: #fff;
	border-radius: var(--bemol-radius-full);
	display: flex;
	align-items: center;
	gap: 0;
	padding: 1.125rem;
	box-shadow: 0 8px 32px rgba(37,211,102,0.35);
	z-index: 30;
	transition: transform 0.2s ease, padding 0.3s ease, gap 0.3s ease;
	overflow: hidden;
	text-decoration: none;
}

.whatsapp-float__icon {
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

.whatsapp-float__label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	font-family: var(--bemol-font-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0;
	transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	gap: 0.5rem;
}

.whatsapp-float:hover .whatsapp-float__label {
	max-width: 8rem;
	opacity: 1;
}

/* Mobile: hide on very small (shown in tab bar instead) */
@media (max-width: 767px) { .whatsapp-float { display: none; } }

/* ===== Mobile Bottom Tab Bar ===== */
.mobile-tab-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 40;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid rgba(196,198,208,0.2);
	box-shadow: 0 -4px 20px rgba(0,23,54,0.08);
	border-radius: 1rem 1rem 0 0;
}

@media (max-width: 767px) { .mobile-tab-bar { display: flex; } }

.mobile-tab-bar__inner {
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 5rem;
	padding: 0 1rem;
}

.mobile-tab-bar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	color: rgba(0,23,54,0.75);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem 0.75rem;
	border-radius: var(--bemol-radius-lg);
	transition: color 0.15s ease, background 0.15s ease;
	min-width: 3.5rem;
}

.mobile-tab-bar__item:hover,
.mobile-tab-bar__item--active {
	color: var(--bemol-color-secondary);
	background: rgba(119,90,25,0.06);
}

.mobile-tab-bar__item--whatsapp { color: var(--bemol-whatsapp); }
.mobile-tab-bar__item--whatsapp:hover { background: rgba(37,211,102,0.08); }

.mobile-tab-bar__icon {
	width: 1.25rem;
	height: 1.25rem;
}

.mobile-tab-bar__label {
	font-family: var(--bemol-font-body);
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ===== Contact page ===== */
.contact-hero {
	background: var(--bemol-color-primary);
	color: #fff;
	text-align: center;
	padding: 80px 0;
}

.contact-hero__title {
	font-family: var(--bemol-font-heading);
	font-size: clamp(2rem, 4vw, 2.75rem);
}

.contact-hero__intro {
	max-width: 620px;
	margin: 0 auto 2rem;
	opacity: 0.9;
}

.contact-details__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.contact-details__map iframe {
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: var(--bemol-radius-2xl);
}

/* ===== Posts / pages ===== */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.75rem;
}

.post-card {
	background: var(--bemol-color-surface-container-lowest);
	border-radius: var(--bemol-radius-2xl);
	border-top: 4px solid var(--bemol-color-secondary);
	overflow: hidden;
	box-shadow: var(--bemol-shadow);
}

.post-card__body { padding: 1.25rem; }

.page-content__title {
	font-family: var(--bemol-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.page-content__thumb {
	border-radius: var(--bemol-radius-2xl);
	overflow: hidden;
	margin: 1.5rem 0;
}

/* Bemol-symbol lists */
.page-content__body ul, .page-content__body ol {
	padding-left: 0;
	list-style: none;
}
.page-content__body ul li, .page-content__body ol li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.5rem;
}
.page-content__body ul li::before {
	content: '\266D';
	position: absolute;
	left: 0;
	color: var(--bemol-color-secondary);
	font-weight: 700;
}
.page-content__body ol { counter-reset: bemol-list; }
.page-content__body ol li::before {
	counter-increment: bemol-list;
	content: counter(bemol-list) '\266F';
	position: absolute;
	left: 0;
	color: var(--bemol-color-secondary);
	font-weight: 700;
}

.breadcrumbs ol {
	display: flex;
	gap: 0.4rem;
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
	color: var(--bemol-color-text-muted);
}
.breadcrumbs li { padding-left: 0; }
.breadcrumbs li::before { content: none; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.4rem; }

/* ===== Forms ===== */
input[type="text"], input[type="email"], input[type="url"],
input[type="tel"], input[type="search"], textarea {
	display: block;
	width: 100%;
	border: none;
	border-bottom: 1px solid rgba(0,23,54,0.2);
	border-radius: 0;
	background: transparent;
	padding: 0.6rem 0.25rem;
	font-family: var(--bemol-font-body);
	font-size: 1rem;
	color: var(--bemol-color-text);
	transition: border-color 0.15s ease;
}
input:focus, textarea:focus {
	outline: none;
	border-bottom-color: var(--bemol-color-secondary);
}
label {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bemol-color-text-muted);
	margin-bottom: 0.4rem;
}

/* ===== Reveal animation ===== */
.is-revealed {
	animation: bemol-fade-up 0.6s ease both;
}
@keyframes bemol-fade-up {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
	.instructor-spotlight__grid,
	.why-us__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.why-us__media { order: -1; }
	.quote-card {
		position: static;
		margin-top: 1.5rem;
		max-width: none;
	}
}

@media (max-width: 767px) {
	.contact-details__grid { grid-template-columns: 1fr; }

	.primary-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bemol-color-surface-container-lowest);
		box-shadow: 0 16px 24px -8px rgba(0,23,54,0.12);
		border-bottom: 1px solid rgba(196,198,208,0.2);
		flex: none;
		justify-content: flex-start;
	}
	.primary-navigation.is-open { display: flex; }

	.nav-menu {
		flex-direction: column;
		padding: 1rem var(--bemol-margin-mobile);
		gap: 0.25rem;
		width: 100%;
	}
	.nav-menu a {
		display: block;
		padding: 0.75rem 0;
		border-bottom: 1px solid rgba(196,198,208,0.15);
		border-bottom-color: rgba(196,198,208,0.15) !important;
	}
	.nav-menu li:last-child a { border-bottom: none; }

	.menu-toggle { display: flex; }

	/* Add bottom padding for mobile tab bar */
	.site-main { padding-bottom: 5rem; }
}

@media (max-width: 640px) {
	.testimonials-grid { grid-template-columns: 1fr; }
	.lesson-grid { grid-template-columns: 1fr; }
	.hero__actions { flex-direction: column; }
	.cta-section__actions { flex-direction: column; align-items: center; }
}
