/* ==========================================================
   Tayyba Glass Blocks
   Rule kept everywhere: no purple glow or purple blur behind purple text.
   Light sections use white frosted glass with peach / pink / sky light;
   purple-tinted light appears only behind photos or behind white text.
   ========================================================== */

:root {
	--tqa-ink: #3E2F63;
	--tqa-text: #4A4458;
	--tqa-brand: #5B2A86;
	--tqa-accent: #7B68B5;
	--tqa-lavender: #B8A4E3;
	--tqa-blush: #F6CFE0;
	--tqa-peach: #FFD9C7;
	--tqa-sky: #CFE0F7;
	--tqa-night: #2A1F47;
	--tqa-wa: #1FA855;
	--tqa-r: 22px;
	--tqa-r-lg: 32px;
	--tqa-section: clamp(3.5rem, 8vw, 6.5rem);
	--tqa-glass: rgba(255, 255, 255, 0.62);
	--tqa-glass-border: rgba(255, 255, 255, 0.85);
	--tqa-shadow: 0 12px 40px rgba(62, 47, 99, 0.10);
	--tqa-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--tqa-ico-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .1-1.3c0-.1-.2-.2-.5-.3Z'/%3E%3C/svg%3E");
	--tqa-ico-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5v-15ZM4 20.5A2.5 2.5 0 0 0 6.5 21H20' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
	--tqa-ico-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.4-7.5-10A4.5 4.5 0 0 1 12 7a4.5 4.5 0 0 1 7.5 3c0 5.6-7.5 10-7.5 10Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
	--tqa-ico-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
	--tqa-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Crect x='34' y='34' width='132' height='132'/%3E%3Crect x='34' y='34' width='132' height='132' transform='rotate(45 100 100)'/%3E%3Ccircle cx='100' cy='100' r='46'/%3E%3Ccircle cx='100' cy='100' r='30' stroke-dasharray='3 6'/%3E%3C/g%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--tqa-accent); outline-offset: 3px; }

/* Sections sit edge to edge, no gaps between them */
.wp-site-blocks > * { margin-block: 0; }
.tqa-main { margin-block: 0 !important; padding: 0 !important; }
.tqa-main > .wp-block-post-content > .alignfull,
.tqa-main > .alignfull { margin-block: 0 !important; }
.tqa-center { text-align: center; }
.tqa-center > * { margin-inline: auto; }
.tqa-center-buttons { justify-content: center; }
.tqa-muted { color: #7A728C; }

/* ---------- Section spacing ---------- */
.tqa-section, .tqa-hero, .tqa-page-hero, .tqa-courses, .tqa-faq, .tqa-warm, .tqa-cta, .tqa-mission { position: relative; isolation: isolate; overflow: hidden; }
.tqa-section, .tqa-courses, .tqa-faq, .tqa-warm { padding-block: var(--tqa-section) !important; }
.tqa-flush-top { padding-top: 0 !important; }
.tqa-tint { background: linear-gradient(180deg, #F3EEFB, rgba(248, 245, 253, 0)); }
.tqa-head { max-width: 680px; margin-bottom: clamp(1.8rem, 4vw, 3rem) !important; }
.tqa-head > p { font-size: 1.05rem; }

/* ==========================================================
   Glass
   ========================================================== */
.is-style-glass {
	background: var(--tqa-glass);
	border: 1px solid var(--tqa-glass-border);
	border-radius: var(--tqa-r);
	box-shadow: var(--tqa-shadow);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	padding: clamp(1.4rem, 3vw, 2rem);
}
.is-style-glass-dark {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--tqa-r);
	box-shadow: 0 16px 50px rgba(10, 5, 30, 0.35);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	padding: clamp(1.4rem, 3vw, 2rem);
	color: #E9E2F8;
}
.is-style-glass-dark :where(h1, h2, h3, h4, a) { color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.is-style-glass { background: rgba(255, 255, 255, 0.92); }
	.is-style-glass-dark { background: rgba(62, 47, 99, 0.9); }
}

/* Soft glow section: peach, pink and sky light at the edges only (never purple behind the text) */
.is-style-glow-bg {
	position: relative; isolation: isolate; overflow: hidden;
	background: linear-gradient(135deg, #FFF4EE 0%, #F8F5FD 45%, #EEF4FD 100%);
}
.is-style-glow-bg::before,
.is-style-glow-bg::after {
	content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
	filter: blur(70px);
}
.is-style-glow-bg::before { width: min(520px, 70vw); height: min(520px, 70vw); background: rgba(255, 217, 199, 0.75); top: -18%; left: -14%; }
.is-style-glow-bg::after  { width: min(460px, 60vw); height: min(460px, 60vw); background: rgba(207, 224, 247, 0.85); bottom: -20%; right: -10%; }
.tqa-warm::before { background: rgba(246, 207, 224, 0.7); }

/* Night lavender band: white text on deep lavender */
.is-style-dark-band {
	position: relative; isolation: isolate; overflow: hidden;
	background:
		radial-gradient(1100px 480px at 50% -10%, rgba(123, 104, 181, 0.45), transparent 60%),
		linear-gradient(160deg, #2A1F47 0%, #3E2F63 55%, #4B2A70 100%);
	color: #E0D7F4;
	padding-block: var(--tqa-section) !important;
}
.is-style-dark-band :where(h1, h2, h3) { color: #fff; }
.is-style-dark-band::before,
.is-style-dark-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.is-style-dark-band::before { width: 480px; height: 480px; top: -140px; left: -120px; background: rgba(123, 104, 181, 0.55); }
.is-style-dark-band::after { width: 420px; height: 420px; bottom: -160px; right: -100px; background: rgba(214, 120, 170, 0.32); }

/* Decorative star and sparkles (the empty "tqa-decor" group; safe to delete) */
.tqa-decor { position: absolute !important; inset: 0; margin: 0 !important; max-width: none !important; z-index: -1; pointer-events: none; }
.tqa-decor::before {
	content: ""; position: absolute; width: 540px; height: 540px; right: 2%; top: 50%; margin-top: -270px;
	background: var(--tqa-lavender);
	-webkit-mask: var(--tqa-star) center / contain no-repeat; mask: var(--tqa-star) center / contain no-repeat;
	opacity: 0.4;
}
.tqa-decor::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(3px 3px at 12% 20%, #fff, transparent 70%),
		radial-gradient(3px 3px at 8% 72%, #fff, transparent 70%),
		radial-gradient(2px 2px at 56% 12%, #fff, transparent 70%),
		radial-gradient(3px 3px at 46% 86%, #fff, transparent 70%),
		radial-gradient(2px 2px at 92% 30%, #fff, transparent 70%),
		radial-gradient(3px 3px at 70% 64%, #fff, transparent 70%);
	filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px rgba(255, 217, 199, 0.9));
}
.tqa-decor--page::before { width: 360px; height: 360px; margin-top: -180px; right: -70px; opacity: 0.3; }
.tqa-decor--dark::before { background: #fff; opacity: 0.07; left: -140px; right: auto; }
.tqa-decor--dark::after { opacity: 0.6; filter: drop-shadow(0 0 6px rgba(246, 207, 224, 0.9)); }

/* ==========================================================
   Buttons: light glows behind, a shine passes over
   (glow colours are peach, pink and sky, never purple)
   ========================================================== */
.wp-block-button .wp-block-button__link { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease; }
.wp-block-button.is-style-glow,
.wp-block-button.is-style-glow-whatsapp { position: relative; isolation: isolate; }
.wp-block-button.is-style-glow::before,
.wp-block-button.is-style-glow-whatsapp::before {
	content: ""; position: absolute; inset: -7px; z-index: -1; border-radius: 999px;
	background: linear-gradient(90deg, #FFD9C7, #F6CFE0, #CFE0F7, #FFD9C7);
	background-size: 300% 100%;
	filter: blur(16px); opacity: 0.85; pointer-events: none;
}
.is-style-glow .wp-block-button__link,
.is-style-glow-whatsapp .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 0.55em;
	color: #fff;
	background-color: var(--tqa-brand);
	background-image:
		linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%),
		linear-gradient(135deg, #8E6CD1 0%, #5B2A86 55%, #4A2272 100%);
	background-size: 250% 100%, 100% 100%;
	background-position: 150% 0, 0 0;
	background-repeat: no-repeat;
	box-shadow: 0 8px 22px rgba(91, 42, 134, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.is-style-glow .wp-block-button__link:hover,
.is-style-glow-whatsapp .wp-block-button__link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(91, 42, 134, 0.38); }
.is-style-glow-whatsapp .wp-block-button__link::before {
	content: ""; width: 1.2em; height: 1.2em; flex: none; background: currentColor;
	-webkit-mask: var(--tqa-ico-wa) center / contain no-repeat; mask: var(--tqa-ico-wa) center / contain no-repeat;
}
.is-style-glass .wp-block-button__link {
	background: rgba(255, 255, 255, 0.7); color: var(--tqa-ink);
	border: 1px solid rgba(123, 104, 181, 0.35);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.is-style-glass .wp-block-button__link:hover { background: #fff; color: var(--tqa-ink); transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(255, 217, 199, 0.6), 0 10px 26px rgba(62, 47, 99, 0.15); }
.wp-block-button.is-style-glass { background: none; border: 0; box-shadow: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-style-light .wp-block-button__link {
	background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.is-style-light .wp-block-button__link:hover { background: #fff; color: var(--tqa-ink); box-shadow: 0 0 30px rgba(255, 217, 199, 0.6); }

/* ==========================================================
   Images
   ========================================================== */
/* Mehrab arch with a light running around the edge (light sits behind the photo, not text) */
.wp-block-image.is-style-arch {
	position: relative; overflow: hidden; isolation: isolate;
	padding: 5px; margin-inline: auto; max-width: 440px;
	border-radius: 999px 999px 36px 36px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 30px 70px rgba(62, 47, 99, 0.22);
}
.wp-block-image.is-style-arch::before {
	content: ""; position: absolute; inset: -60%; z-index: 0;
	background: conic-gradient(from 0deg, transparent 0 55%, #ffffff 64%, #FFD9C7 70%, #F6CFE0 78%, transparent 88%);
}
.wp-block-image.is-style-arch img {
	position: relative; z-index: 1; display: block;
	width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
	border-radius: 999px 999px 31px 31px;
}
.wp-block-image.is-style-circle { margin-inline: auto; width: 156px; position: relative; }
.wp-block-image.is-style-circle img {
	width: 156px; height: 156px; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 40px rgba(255, 217, 199, 0.35);
	transition: transform .5s ease, box-shadow .5s ease;
}
.wp-block-image.is-style-circle::before {
	content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none;
	background: conic-gradient(from 0deg, transparent 0 40%, #FFD9C7 55%, #F6CFE0 70%, #CFE0F7 82%, transparent 92%);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
	opacity: 0.6;
}
.wp-block-image.is-style-frame { border-radius: var(--tqa-r-lg); overflow: hidden; border: 6px solid rgba(255, 255, 255, 0.85); box-shadow: 0 24px 60px rgba(62, 47, 99, 0.16); }
.wp-block-image.is-style-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s ease; }
.wp-block-image.is-style-frame:hover img { transform: scale(1.05); }

/* Background photo inside a section (mission, closing CTA) */
.tqa-bg-image { position: absolute !important; inset: 0; margin: 0 !important; max-width: none !important; z-index: -2; overflow: hidden; }
.tqa-bg-image img { width: 100%; height: 100%; object-fit: cover; }

/* Check list */
.is-style-check { list-style: none; padding-left: 0; display: grid; gap: 0.6rem; }
.is-style-check li { position: relative; padding-left: 2rem; }
.is-style-check li::before {
	content: ""; position: absolute; left: 0; top: 0.3em; width: 1.3em; height: 1.3em; border-radius: 50%;
	background: var(--tqa-accent);
}
.is-style-check li::after {
	content: ""; position: absolute; left: 0.25em; top: 0.55em; width: 0.8em; height: 0.8em; background: #fff;
	-webkit-mask: var(--tqa-ico-check) center / contain no-repeat; mask: var(--tqa-ico-check) center / contain no-repeat;
}

/* ==========================================================
   Header
   ========================================================== */
.tqa-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .tqa-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tqa-site-header { top: 46px; } }
.tqa-topbar {
	background: var(--tqa-ink); color: #EDE6FA; font-size: 0.86rem;
	padding: 0.45rem clamp(18px, 4vw, 40px) !important; margin: 0 !important;
	max-height: 60px; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
}
.tqa-topbar p { margin: 0; }
.tqa-live { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tqa-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF5C8A; flex: none; }
.tqa-topbar a { color: #fff; font-weight: 500; }
.tqa-social-top { gap: 0.4rem !important; }
.tqa-social-top .wp-social-link { color: #fff !important; }
.tqa-header {
	background: rgba(248, 245, 253, 0.78);
	-webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
	border-bottom: 1px solid rgba(184, 164, 227, 0.35);
	padding: 0.7rem clamp(18px, 4vw, 40px) !important; margin: 0 !important;
	transition: box-shadow .25s ease;
}
.is-scrolled .tqa-topbar { max-height: 0; padding-block: 0 !important; }
.is-scrolled .tqa-header { box-shadow: 0 6px 24px rgba(62, 47, 99, 0.08); }
.tqa-brand { gap: 0.7rem; }
.tqa-brand .wp-block-site-title a { text-decoration: none; color: var(--tqa-ink); }
.tqa-nav a { text-decoration: none; color: var(--tqa-ink); position: relative; }
.tqa-nav .wp-block-navigation-item__content { padding-block: 6px; }
.tqa-nav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, #FFD9C7, #7B68B5); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.tqa-nav .wp-block-navigation-item__content:hover::after,
.tqa-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.tqa-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(255, 255, 255, 0.96) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.tqa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.2rem; }
.tqa-header-cta .wp-block-button__link { padding: 0.6em 1.2em; font-size: 0.92rem; }
@media (max-width: 600px) {
	.tqa-social-top { display: none !important; }
	.tqa-brand .wp-block-site-title { display: none; }
	.tqa-header-cta { display: none !important; }
}

/* ==========================================================
   Hero
   ========================================================== */
.tqa-hero { padding-block: clamp(2.4rem, 6vw, 5rem) clamp(4.5rem, 9vw, 7.5rem) !important; }
.tqa-hero .wp-block-columns { max-width: 1200px !important; gap: clamp(2rem, 5vw, 4.5rem); }
.tqa-hero h1 { font-variation-settings: 'opsz' 144; margin-block: 0.2em 0.35em; }
.tqa-badge {
	display: inline-flex !important; align-items: center; gap: 0.6rem;
	padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.88rem; color: var(--tqa-ink);
	background: rgba(255, 255, 255, 0.75); border: 1px solid #fff; box-shadow: 0 6px 20px rgba(62, 47, 99, 0.08);
}
.tqa-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF5C8A; flex: none; }
.tqa-badge--plain::before { display: none; }
.tqa-teacher { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--tqa-accent); }
.tqa-lead { font-size: 1.08rem; max-width: 36em; }
.tqa-hero .wp-block-column:last-child { position: relative; }
.tqa-breadcrumb a { color: var(--tqa-accent); text-decoration: none; font-size: 0.92rem; }

/* Numbers card */
.tqa-stats {
	gap: 0 !important; padding: 1rem 0.8rem !important; margin-top: -2.4rem !important;
	position: relative; z-index: 2; max-width: 440px; margin-inline: auto !important;
}
.tqa-stat { flex: 1; text-align: center; padding: 0 0.4rem; }
.tqa-stat + .tqa-stat { border-left: 1px solid rgba(123, 104, 181, 0.25); }
.tqa-stat p { margin: 0; }
.tqa-count { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--tqa-brand); line-height: 1.1; }
.tqa-stat-label { font-size: 0.8rem; line-height: 1.3; }
.tqa-story .tqa-stats { margin-top: 1.5rem !important; margin-inline: 0 !important; max-width: none; }

@media (max-width: 781px) {
	.tqa-hero .wp-block-column:last-child { margin-top: 1rem; }
	.tqa-decor::before { width: 340px; height: 340px; margin-top: 0; top: 45%; right: -120px; }
}

/* Page hero */
.tqa-page-hero { padding-block: clamp(3.8rem, 9vw, 7rem) clamp(2.8rem, 6vw, 4.5rem) !important; }
.tqa-page-hero h1 { font-variation-settings: 'opsz' 144; }

/* ==========================================================
   Courses (dark band)
   ========================================================== */
.tqa-course-card { position: relative; text-align: center; padding-top: 3.4rem !important; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.tqa-course-card > * { margin-inline: auto; }
.tqa-course-card h3 { margin-block: 1.1rem 0.4rem; }
.tqa-course-card h3 a { text-decoration: none; }
.tqa-course-card p { color: #D9CFF0; font-size: 0.95rem; }
.tqa-tag {
	position: absolute; top: 1rem; right: 1rem; margin: 0 !important;
	padding: 0.2rem 0.8rem; border-radius: 999px; font-size: 0.76rem !important; font-weight: 500;
	background: rgba(255, 217, 199, 0.16); color: #FFE3D6 !important; border: 1px solid rgba(255, 217, 199, 0.4);
}
.tqa-more a {
	color: #FFE3D6 !important; font-weight: 500; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease;
}
.tqa-more a:hover { background-size: 100% 1px; color: #fff !important; }
.tqa-course-card:hover { transform: translateY(-8px); border-color: rgba(255, 217, 199, 0.5); box-shadow: 0 24px 60px rgba(10, 5, 30, 0.5); }
.tqa-course-card:hover .is-style-circle img { transform: scale(1.05); box-shadow: 0 0 60px rgba(255, 217, 199, 0.55); }
.tqa-course-card:hover .is-style-circle::before { opacity: 1; }
.tqa-courses > .wp-block-buttons { margin-top: 2.2rem; }

@media (max-width: 1000px) { .tqa-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* Phones: swipe through the courses */
@media (max-width: 700px) {
	.tqa-course-grid {
		display: flex !important; gap: 14px !important;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		padding: 0.6rem 0 1.4rem;
	}
	.tqa-course-grid::-webkit-scrollbar { display: none; }
	.tqa-course-grid > .tqa-course-card { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Cursor spotlight on cards */
[data-tqa-spot] { overflow: hidden; }
[data-tqa-spot]::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
	background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.3), transparent 60%);
	opacity: 0; transition: opacity .3s ease;
}
[data-tqa-spot]:hover::after { opacity: 1; }
.is-style-glass, .tqa-course-card, .tqa-step, .tqa-value, .tqa-fit, .tqa-contact-card { position: relative; }

/* ==========================================================
   Slider
   ========================================================== */
.tqa-slider { position: relative; display: flex !important; gap: 0 !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; border-radius: var(--tqa-r-lg); }
.tqa-slider::-webkit-scrollbar { display: none; }
.tqa-slider > .tqa-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0 !important; max-width: none !important; }
.tqa-slide .wp-block-columns { gap: clamp(1.4rem, 4vw, 3rem); }
.tqa-slider-nav { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 1.4rem; }
.tqa-slider-nav button {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(123, 104, 181, 0.35);
	background: rgba(255, 255, 255, 0.8); color: var(--tqa-ink); cursor: pointer; font-size: 1.1rem;
	transition: background-color .2s ease, transform .2s ease;
}
.tqa-slider-nav button:hover { background: #fff; transform: translateY(-2px); }
.tqa-dots { display: flex; gap: 0.5rem; }
.tqa-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(123, 104, 181, 0.3); transition: width .3s ease, background-color .3s ease; }
.tqa-dots button[aria-current="true"] { width: 28px; background: var(--tqa-brand); }

/* ==========================================================
   Steps, values, guide
   ========================================================== */
.tqa-step, .tqa-value, .tqa-fit { transition: transform .35s ease, box-shadow .35s ease; }
.tqa-step:hover, .tqa-value:hover, .tqa-fit:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(62, 47, 99, 0.14); }
.tqa-step-num {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%; margin-bottom: 0.4rem !important;
	background: linear-gradient(135deg, #8E6CD1, #5B2A86); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem;
	box-shadow: 0 0 0 6px rgba(255, 217, 199, 0.55);
}
.tqa-step h3, .tqa-value h3 { margin-top: 0.6rem; }
.tqa-icon::before {
	content: ""; display: block; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 0.6rem;
	background: linear-gradient(135deg, #FFE9DF, #FCE3EE); box-shadow: 0 0 0 1px #fff inset;
}
.tqa-icon::after { content: ""; position: absolute; width: 24px; height: 24px; left: calc(clamp(1.4rem, 3vw, 2rem) + 16px); top: calc(clamp(1.4rem, 3vw, 2rem) + 16px); background: var(--tqa-brand); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.tqa-icon--book { --ico: var(--tqa-ico-book); }
.tqa-icon--heart { --ico: var(--tqa-ico-heart); }
.tqa-icon--globe { --ico: var(--tqa-ico-globe); }
.tqa-icon--whatsapp { --ico: var(--tqa-ico-wa); }
.tqa-icon--live { --ico: none; }
.tqa-icon--whatsapp::before { background: var(--tqa-wa); }
.tqa-icon--whatsapp::after { background: #fff; }
.tqa-icon--live::after { background: #FF5C8A; border-radius: 50%; width: 14px; height: 14px; left: calc(clamp(1.4rem, 3vw, 2rem) + 21px); top: calc(clamp(1.4rem, 3vw, 2rem) + 21px); -webkit-mask: none; mask: none; }
.tqa-fit p { margin: 0; }
.tqa-fit-course a { font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; text-decoration: none; }
@media (max-width: 781px) { .tqa-steps, .tqa-values, .tqa-fit-list { grid-template-columns: 1fr !important; } }

/* ==========================================================
   Mission, FAQ, CTA
   ========================================================== */
.tqa-mission { padding-block: clamp(5rem, 12vw, 9.5rem) !important; }
.tqa-mission::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(62, 47, 99, 0.25); }
.tqa-mission .tqa-bg-image { left: -10%; right: auto; width: 120%; }
.tqa-mission-label { color: #fff; font-weight: 500; letter-spacing: 0.04em; }
.tqa-mission-text {
	font-family: var(--wp--preset--font-family--heading); color: #fff; max-width: 820px;
	font-size: clamp(1.8rem, 4.2vw, 3.1rem); line-height: 1.2; font-variation-settings: 'opsz' 144;
}
.wp-block-details.is-style-glass { padding: 0; margin-block: 0.9rem 0 !important; max-width: 820px; margin-inline: auto; }
.wp-block-details.is-style-glass summary { list-style: none; cursor: pointer; position: relative; padding: 1.2rem 4rem 1.2rem 1.5rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.12rem; color: var(--tqa-ink); }
.wp-block-details.is-style-glass summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-glass summary::after {
	content: "+"; position: absolute; right: 1.2rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--body);
	font-size: 1.3rem; color: #fff; background: var(--tqa-accent); transition: transform .3s ease;
}
.wp-block-details.is-style-glass[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-glass[open] { box-shadow: 0 0 0 2px rgba(255, 217, 199, 0.8), var(--tqa-shadow); }
.wp-block-details.is-style-glass > :not(summary) { padding: 0 1.5rem 1.3rem; margin: 0; }
.tqa-cta { padding-block: clamp(4.5rem, 10vw, 8rem) !important; }
.tqa-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 31, 71, 0.35), rgba(42, 31, 71, 0.62)); }
.tqa-cta-card { max-width: 660px; margin-inline: auto !important; background: rgba(255, 255, 255, 0.14) !important; }
.tqa-cta-card p { color: #F2ECFB; }

/* ==========================================================
   Contact, blog, footer
   ========================================================== */
.tqa-contact { gap: clamp(1.4rem, 3vw, 2.2rem); align-items: flex-start !important; }
.tqa-contact-form .tqa-field { margin: 0 0 1rem; }
.tqa-contact-form label { display: block; font-weight: 500; color: var(--tqa-ink); margin-bottom: 0.35rem; font-size: 0.95rem; }
.tqa-contact-form input, .tqa-contact-form select, .tqa-contact-form textarea {
	width: 100%; font: inherit; color: var(--tqa-text); padding: 0.75rem 0.9rem; border-radius: 12px;
	border: 1px solid rgba(123, 104, 181, 0.35); background: rgba(255, 255, 255, 0.85); box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.tqa-contact-form :is(input, select, textarea):focus { outline: none; border-color: var(--tqa-accent); box-shadow: 0 0 0 4px rgba(255, 217, 199, 0.8); }
.tqa-contact-form input[aria-invalid="true"] { border-color: #B3261E; }
.tqa-field__error { color: #B3261E; font-size: 0.88rem; margin: -0.6rem 0 1rem; }
.tqa-submit {
	display: inline-flex; align-items: center; gap: 0.55em; cursor: pointer; border: 0; border-radius: 999px;
	padding: 0.85em 1.7em; font: 500 0.98rem/1.2 var(--wp--preset--font-family--body); color: #fff;
	background: linear-gradient(135deg, #8E6CD1 0%, #5B2A86 55%, #4A2272 100%);
	box-shadow: 0 8px 22px rgba(91, 42, 134, 0.3), 0 0 26px rgba(255, 217, 199, 0.9);
	transition: transform .25s ease;
}
.tqa-submit::before { content: ""; width: 1.2em; height: 1.2em; background: currentColor; -webkit-mask: var(--tqa-ico-wa) center / contain no-repeat; mask: var(--tqa-ico-wa) center / contain no-repeat; }
.tqa-submit:hover { transform: translateY(-2px); }
.tqa-contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem !important; margin-block: 0 0.9rem !important; transition: transform .3s ease; }
.tqa-contact-card::before { margin: 0; width: 50px; height: 50px; flex: none; }
.tqa-contact-card::after { left: calc(1.2rem + 13px); top: 50%; margin-top: -12px; }
.tqa-contact-card.tqa-icon--live::after { left: calc(1.2rem + 18px); margin-top: -7px; }
.tqa-contact-card p { margin: 0; }
.tqa-contact-card:hover { transform: translateX(6px); }
.tqa-social .wp-social-link { transform: scale(1.1); }

.tqa-post-grid { gap: clamp(1rem, 2.4vw, 1.8rem) !important; }
.tqa-post-card { padding: 0 !important; overflow: hidden; height: 100%; transition: transform .35s ease, box-shadow .35s ease; }
.tqa-post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(62, 47, 99, 0.14); }
.tqa-post-card .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.tqa-post-card .wp-block-post-featured-image img { transition: transform .6s ease; }
.tqa-post-card:hover .wp-block-post-featured-image img { transform: scale(1.06); }
.tqa-post-card__body { padding: 1.3rem 1.3rem 1.5rem; }
.tqa-post-card .wp-block-post-title a { text-decoration: none; }
.tqa-post-date { font-size: 0.84rem; color: var(--tqa-accent); }
.tqa-post-meta { gap: 0.8rem; font-size: 0.9rem; }
.tqa-post-hero-img img { border-radius: var(--tqa-r-lg); }
.tqa-prose { font-size: 1.06rem; padding-bottom: 2rem; }
.tqa-author { max-width: 780px; margin: 1rem auto 3rem !important; }
.tqa-empty { max-width: 640px; margin-inline: auto; }
@media (max-width: 1000px) { .tqa-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .tqa-post-grid { grid-template-columns: 1fr !important; } }

.tqa-footer { position: relative; overflow: hidden; background: #2A1F47; color: #DCD3F0; padding-block: clamp(3.5rem, 7vw, 5rem) 1.5rem !important; font-size: 0.95rem; }
.tqa-footer::before { content: ""; position: absolute; width: 600px; height: 300px; left: 50%; top: -150px; margin-left: -300px; background: rgba(123, 104, 181, 0.45); filter: blur(90px); border-radius: 50%; pointer-events: none; }
.tqa-footer .wp-block-columns { position: relative; }
.tqa-footer-title { font-family: var(--wp--preset--font-family--body) !important; font-size: 1rem !important; font-weight: 600 !important; color: #fff !important; }
.tqa-footer-links { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.tqa-footer a { color: #DCD3F0; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.tqa-footer-links a:hover { color: #fff; padding-left: 4px; }
.tqa-footer-logo img { background: #fff; border-radius: 50%; padding: 4px; }
.tqa-social-foot .wp-social-link { color: #fff !important; }
.tqa-copyright { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 1.3rem; margin-top: 2.5rem !important; font-size: 0.88rem; }

/* Floating WhatsApp button (edit it in the Footer) */
.tqa-wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; margin: 0 !important; }
.tqa-wa-float .wp-block-button__link {
	position: relative; width: 58px; height: 58px; padding: 0 !important; border-radius: 50%;
	background: var(--tqa-wa) !important; color: transparent !important; font-size: 0 !important; overflow: visible;
	box-shadow: 0 10px 28px rgba(31, 168, 85, 0.45);
}
.tqa-wa-float .wp-block-button__link::before {
	content: ""; position: absolute; inset: 14px; background: #fff;
	-webkit-mask: var(--tqa-ico-wa) center / contain no-repeat; mask: var(--tqa-ico-wa) center / contain no-repeat;
}
.tqa-wa-float .wp-block-button__link:hover { transform: scale(1.08); }

/* Lighter glass on phones keeps scrolling smooth */
@media (max-width: 700px) {
	.is-style-glass, .tqa-header { -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); }
	.is-style-glow-bg::before, .is-style-glow-bg::after { filter: blur(50px); }
}

/* ==========================================================
   Motion (skipped for visitors who choose "reduce motion")
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
	.wp-block-button.is-style-glow::before,
	.wp-block-button.is-style-glow-whatsapp::before { animation: tqa-glow 4s ease-in-out infinite; }
	.is-style-glow .wp-block-button__link,
	.is-style-glow-whatsapp .wp-block-button__link { animation: tqa-shine 4.5s ease-in-out infinite; }
	.tqa-live::before, .tqa-badge::before { animation: tqa-live 1.8s ease-out infinite; }

	.wp-block-image.is-style-arch::before { animation: tqa-spin 7s linear infinite; }
	.wp-block-image.is-style-arch img { animation: tqa-zoom 18s ease-in-out infinite alternate; }
	.wp-block-image.is-style-circle::before { animation: tqa-spin 8s linear infinite; }
	.tqa-course-card:hover .is-style-circle::before { animation-duration: 2.5s; }
	.tqa-decor::before { animation: tqa-spin 90s linear infinite; }
	.tqa-decor::after { animation: tqa-twinkle 3.4s ease-in-out infinite; }
	.is-style-glow-bg::before, .is-style-dark-band::before { animation: tqa-drift-a 15s ease-in-out infinite alternate; }
	.is-style-glow-bg::after, .is-style-dark-band::after { animation: tqa-drift-b 18s ease-in-out infinite alternate; }
	.tqa-stats { animation: tqa-float 6s 1.5s ease-in-out infinite; }
	.tqa-mission .tqa-bg-image img { animation: tqa-clouds 40s ease-in-out infinite alternate; }
	.tqa-cta .tqa-bg-image img { animation: tqa-zoom 24s ease-in-out infinite alternate; }
	.wp-block-details.is-style-glass[open] > :not(summary) { animation: tqa-fade .4s ease; }
	.tqa-wa-float .wp-block-button__link::after {
		content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--tqa-wa);
		animation: tqa-pulse 2.4s ease-out infinite;
	}

	/* Page-load entrance for the first section */
	.tqa-js .tqa-hero .wp-block-column:first-child > *:not(h1),
	.tqa-js .tqa-page-hero > p { animation: tqa-rise .8s ease both; }
	.tqa-js .tqa-hero .wp-block-column:first-child > *:nth-child(3) { animation-delay: .5s; }
	.tqa-js .tqa-hero .wp-block-column:first-child > *:nth-child(4) { animation-delay: .65s; }
	.tqa-js .tqa-hero .wp-block-column:first-child > *:nth-child(5) { animation-delay: .8s; }
	.tqa-js .tqa-hero .wp-block-column:first-child > *:nth-child(6) { animation-delay: .9s; }
	.tqa-js .tqa-hero .wp-block-column:last-child { animation: tqa-pop 1.1s .2s cubic-bezier(.2, .8, .2, 1) both; }

	/* Headings appear word by word */
	.tqa-js .tqa-split .w {
		display: inline-block; opacity: 0; transform: translateY(0.45em) rotate(2deg);
		animation: tqa-word .7s cubic-bezier(.2, .8, .2, 1) forwards;
		animation-delay: calc(var(--i) * 70ms + 0.1s);
	}

	/* Scroll reveal */
	.tqa-js .tqa-reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
	.tqa-js .tqa-reveal--left { transform: translateX(-40px); }
	.tqa-js .tqa-reveal--right { transform: translateX(40px); }
	.tqa-js .tqa-reveal.is-visible { opacity: 1; transform: none; }

	@keyframes tqa-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
	@keyframes tqa-pop { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
	@keyframes tqa-word { to { opacity: 1; transform: none; } }
	@keyframes tqa-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
	@keyframes tqa-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
	@keyframes tqa-spin { to { transform: rotate(360deg); } }
	@keyframes tqa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
	@keyframes tqa-drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, 50px) scale(1.15); } }
	@keyframes tqa-drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, -40px) scale(1.1); } }
	@keyframes tqa-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
	@keyframes tqa-clouds { from { transform: translateX(0); } to { transform: translateX(8%); } }
	@keyframes tqa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
	@keyframes tqa-live { 0% { box-shadow: 0 0 0 0 rgba(255, 92, 138, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(255, 92, 138, 0); } }
	@keyframes tqa-glow { 0%, 100% { opacity: .6; transform: scale(.96); background-position: 0% 50%; } 50% { opacity: 1; transform: scale(1.04); background-position: 100% 50%; } }
	@keyframes tqa-shine { 0%, 55% { background-position: 150% 0, 0 0; } 85%, 100% { background-position: -60% 0, 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Contact cards: icon on the left, text right next to it */
.tqa-contact-card > * { margin-inline: 0 !important; max-width: none !important; }
