/* ==========================================================================
   MINHA QUR'AN ACADEMY — Design System
   Fonts: Cormorant Garamond (display) · Manrope (body) · Amiri (Arabic) · Fredoka (kids)
   ========================================================================== */

:root {
  /* Brand */
  --emerald-950: #06241c;
  --emerald-900: #0a3328;
  --emerald-800: #0e4536;
  --emerald-700: #135a46;
  --emerald-600: #1a7259;
  --emerald-100: #e3efe9;
  --emerald-50: #f1f7f4;

  --gold-600: #a8823e;
  --gold-500: #c39b52;
  --gold-400: #d6b574;
  --gold-300: #e2c58a;
  --gold-200: #efe0bf;
  --gold-100: #f8f0de;

  --ivory: #fbf8f2;
  --cream: #f5efe3;
  --white: #ffffff;
  --ink: #14201b;
  --body: #3e4b45;
  --muted: #6c7a73;
  --line: #e6dfd1;

  /* Kids palette */
  --k-coral: #ff7b6b;
  --k-sun: #ffc23d;
  --k-sky: #4fb3e8;
  --k-mint: #2fbf8f;
  --k-lilac: #8f7cf6;
  --k-pink: #ff8fb8;

  /* Type */
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-arabic: "Amiri", "Noto Naskh Arabic", serif;
  --f-kids: "Fredoka", "Manrope", sans-serif;

  /* Layout */
  --header-h: 82px;
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(10, 51, 40, .06);
  --shadow: 0 18px 40px -18px rgba(10, 51, 40, .25);
  --shadow-lg: 0 40px 80px -30px rgba(6, 36, 28, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c39b52' stroke-width='1' opacity='.55'%3E%3Cpath d='M40 8l9.4 22.6L72 40l-22.6 9.4L40 72l-9.4-22.6L8 40l22.6-9.4z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
}

h3 {
  font-size: 1.55rem;
}

h4 {
  font-size: 1.25rem;
}

.arabic {
  font-family: var(--f-arabic);
  direction: rtl;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 860px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform .35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--emerald-950);
  box-shadow: 0 10px 24px -10px rgba(168, 130, 62, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(168, 130, 62, .9);
}

.btn-emerald {
  background: var(--emerald-800);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(14, 69, 54, .8);
}

.btn-emerald:hover {
  background: var(--emerald-700);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--emerald-800);
  color: var(--emerald-800);
}

.btn-outline:hover {
  background: var(--emerald-800);
  color: var(--white);
}

.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--gold-400);
}

.btn-wa {
  background: #1fa855;
  color: #fff;
}

.btn-wa:hover {
  background: #18914a;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: .86rem;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--emerald-700);
  font-size: .92rem;
}

.link-arrow::after {
  content: "→";
  transition: transform .3s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}

body.menu-open .site-header {
  background: var(--ivory);
  border-bottom-color: var(--line);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(10, 51, 40, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h, 82px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold-200);
}

.brand-name {
  display: block;
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--emerald-900);
  line-height: 1;
}

.brand-sub {
  display: block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gold-600);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--body);
  transition: color .25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--emerald-800);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-wa {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--emerald-50);
  color: #1fa855;
  border: 1px solid var(--emerald-100);
  transition: .3s;
}

.icon-wa:hover {
  background: #1fa855;
  color: #fff;
}

.icon-wa svg {
  width: 20px;
  height: 20px;
}

/* ---------- Mobile Navigation & Toggle ---------- */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  position: relative;
  background: #ffffff;
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
  border-color: var(--gold-400);
  box-shadow: 0 4px 12px rgba(10, 51, 40, .08);
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2.2px;
  background: var(--emerald-900);
  border-radius: 3px;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1),
              top .35s cubic-bezier(.16, 1, .3, 1),
              background .25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 26px;
}

body.menu-open .menu-toggle {
  background: var(--gold-100);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(195, 155, 82, .2);
  transform: rotate(90deg);
}

body.menu-open .menu-toggle span {
  background: var(--emerald-950);
}

body.menu-open .menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile Drawer Container */
.mobile-menu-drawer {
  display: none;
}

@media (max-width: 1180px) {
  .mobile-menu-drawer {
    display: block;
  }
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 36, 28, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

body.menu-open .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Mobile Menu Panel with Top-Corner Animation */
.mobile-menu-panel {
  position: fixed;
  top: var(--header-h, 82px);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h, 82px));
  background: var(--ivory);
  background-image:
    radial-gradient(ellipse at top right, rgba(195, 155, 82, .14) 0%, transparent 60%),
    radial-gradient(ellipse at top left, rgba(19, 90, 70, .08) 0%, transparent 50%),
    var(--pattern);
  border-bottom: 2px solid var(--gold-200);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 30px 70px -15px rgba(6, 36, 28, .45);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Closed State: clipped from top corner */
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: clip-path .48s cubic-bezier(.22, 1, .36, 1),
              transform .42s cubic-bezier(.22, 1, .36, 1),
              opacity .28s ease,
              visibility .48s ease;
}

body.menu-open .mobile-menu-panel {
  /* Open State: Unfolds from top-left to top-right corner downward */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Top-Left to Top-Right Corner Animated Glowing Line */
.mobile-corner-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #c39b52 0%, #10b981 32%, #ffd778 68%, #c39b52 100%);
  background-size: 250% 100%;
  transform: scaleX(0);
  transform-origin: left top;
  box-shadow: 0 0 16px rgba(195, 155, 82, .75);
  z-index: 20;
}

body.menu-open .mobile-corner-glow {
  transform: scaleX(1);
  transition: transform .48s cubic-bezier(.16, 1, .3, 1);
  animation: shimmerSweep 3s infinite linear;
}

@keyframes shimmerSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Scroll Container */
.mobile-menu-scroll {
  padding: 16px 18px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Bismillah Motif */
.mobile-menu-bismillah {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: rgba(195, 155, 82, .1);
  border: 1px dashed rgba(195, 155, 82, .4);
  border-radius: 999px;
  color: var(--emerald-900);
  font-family: var(--f-arabic);
  font-size: 1.15rem;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s ease, transform .35s ease;
}

body.menu-open .mobile-menu-bismillah {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .05s;
}

/* Mobile Nav List */
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Staggered Navigation Items */
.m-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(230, 223, 209, .85);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(10, 51, 40, .03);

  /* Closed: shifted left and transparent */
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity .35s ease,
              transform .4s cubic-bezier(.16, 1, .3, 1),
              background .2s ease,
              border-color .2s ease,
              box-shadow .2s ease;
}

body.menu-open .m-nav-item {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(var(--item-index, 1) * .035s + .06s);
}

.m-nav-item:active,
.m-nav-item:hover {
  background: #ffffff;
  border-color: var(--gold-400);
  box-shadow: 0 4px 14px rgba(10, 51, 40, .06);
}

.m-nav-item.active {
  background: #ffffff;
  border-color: var(--gold-500);
  box-shadow: 0 4px 16px rgba(195, 155, 82, .18);
}

.m-nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold-500);
  border-radius: 0 4px 4px 0;
}

.m-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--emerald-50);
  color: var(--emerald-800);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.m-nav-icon svg {
  width: 19px;
  height: 19px;
}

.m-nav-item.active .m-nav-icon {
  background: var(--emerald-900);
  color: var(--gold-400);
}

.m-nav-item:hover .m-nav-icon {
  transform: scale(1.08);
}

.m-nav-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.m-nav-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-nav-label {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-950);
  line-height: 1.2;
}

.m-nav-item.active .m-nav-label {
  color: var(--gold-600);
}

.m-nav-sub {
  font-size: .74rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 2px;
}

.m-nav-badge {
  font-size: .62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.m-nav-badge-popular {
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid var(--gold-200);
}

.m-nav-badge-fun {
  background: #e8f7ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.m-nav-badge-cert {
  background: var(--emerald-100);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-100);
}

.m-nav-arrow {
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: transform .2s ease, color .2s ease;
  flex-shrink: 0;
}

.m-nav-arrow svg {
  width: 17px;
  height: 17px;
}

.m-nav-item:hover .m-nav-arrow,
.m-nav-item.active .m-nav-arrow {
  transform: translateX(3px);
  color: var(--gold-600);
}

/* Action Buttons */
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}

body.menu-open .mobile-nav-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--item-index, 9) * .035s + .06s);
}

.mobile-enroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 10px 22px -6px rgba(195, 155, 82, .45);
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, .4);
}

.mobile-wa-btn:hover {
  background: #20bd5a;
}

.mobile-wa-btn svg {
  width: 20px;
  height: 20px;
}

/* Direct Contacts */
.mobile-menu-contacts {
  padding: 12px 14px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}

body.menu-open .mobile-menu-contacts {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--item-index, 10) * .035s + .06s);
}

.mobile-contacts-header {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.mobile-contacts-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--emerald-900);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--cream);
  transition: background .2s ease, color .2s ease;
}

.mobile-contact-pill:hover {
  background: var(--emerald-50);
  color: var(--emerald-700);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--emerald-900);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark::before,
.page-hero::before,
.hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 80px;
  opacity: .07;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
}

.section-dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  color: var(--gold-400);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
}

.section-head p {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, .7);
}

.gold-text {
  color: var(--gold-500);
  font-style: italic;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-500);
  margin: 0 auto 20px;
}

.divider-ornament::before,
.divider-ornament::after {
  content: "";
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.divider-ornament::after {
  transform: scaleX(-1);
}

/* ---------- Home Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, var(--emerald-700) 0%, var(--emerald-900) 45%, var(--emerald-950) 100%);
  color: rgba(255, 255, 255, .8);
  padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 10vw, 130px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--gold-400);
  font-weight: 500;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges span::before {
  content: "✦";
  color: var(--gold-400);
  font-size: .8rem;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(214, 181, 116, .5);
  outline-offset: 12px;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}

.hero-arabic {
  position: absolute;
  top: -18px;
  right: -10px;
  font-family: var(--f-arabic);
  font-size: 2.2rem;
  color: var(--gold-400);
  opacity: .9;
  direction: rtl;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}

.float-card .fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--gold-100);
}

.float-card strong {
  display: block;
  font-size: .92rem;
  color: var(--emerald-900);
  line-height: 1.3;
}

.float-card small {
  color: var(--muted);
  font-size: .78rem;
}

.float-card.fc-1 {
  left: -40px;
  bottom: 60px;
}

.float-card.fc-2 {
  right: -24px;
  top: 90px;
  animation-delay: -3s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Inner Page Hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(100% 120% at 50% 0%, var(--emerald-700) 0%, var(--emerald-900) 55%, var(--emerald-950) 100%);
  color: rgba(255, 255, 255, .78);
  padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 8vw, 104px);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.page-hero h1 em {
  color: var(--gold-400);
  font-weight: 500;
}

.page-hero p {
  max-width: 680px;
  margin-inline: auto;
  font-size: 1.12rem;
}

.page-hero .hero-ctas {
  justify-content: center;
  margin: 32px 0 0;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .55);
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb span:last-child {
  color: var(--gold-400);
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split.wide-left {
  grid-template-columns: 1.15fr .85fr;
}

/* ---------- Image frame ---------- */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3.2;
  transition: transform 1.2s var(--ease);
}

.img-frame:hover img {
  transform: scale(1.04);
}

.img-accent {
  position: relative;
}

.img-accent::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-200);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.card p {
  font-size: .97rem;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(145deg, var(--emerald-50), var(--gold-100));
  border: 1px solid var(--gold-200);
  margin-bottom: 22px;
}

.card-num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 12px;
}

/* Course list & detail cards */
.course-list {
  display: grid;
  gap: 26px;
}

.course-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}

.course-detail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-400);
}

.cd-side {
  position: relative;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(150deg, var(--emerald-800), var(--emerald-950));
  color: var(--white);
  overflow: hidden;
}

.cd-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 60px;
  opacity: .12;
}

.cd-side>* {
  position: relative;
  z-index: 1;
}

.cd-num {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: .08em;
}

.cd-ar {
  position: absolute;
  right: 20px;
  top: 20px;
  font-family: var(--f-arabic);
  font-size: 2.8rem;
  color: rgba(214, 181, 116, .28);
  line-height: 1;
}

.cd-side h3 {
  color: var(--white);
  margin: 18px 0 14px;
  font-size: 1.55rem;
}

.cd-main {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cd-main p {
  font-size: 1.05rem;
  color: var(--body);
}

@media (max-width: 860px) {
  .course-detail {
    grid-template-columns: 1fr;
  }

  .cd-side {
    padding: 28px 24px;
  }

  .cd-main {
    padding: 24px;
  }
}

/* Course cards */
.course-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.course-card .cc-top {
  position: relative;
  padding: 30px 30px 24px;
  background: linear-gradient(150deg, var(--emerald-800), var(--emerald-950));
  color: var(--white);
  overflow: hidden;
}

.course-card .cc-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 60px;
  opacity: .12;
}

.course-card .cc-num {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--gold-400);
  letter-spacing: .1em;
}

.course-card .cc-ar {
  position: absolute;
  z-index: 1;
  right: 24px;
  top: 16px;
  font-family: var(--f-arabic);
  font-size: 2.4rem;
  color: rgba(214, 181, 116, .35);
}

.course-card h3 {
  position: relative;
  z-index: 1;
  color: var(--white);
  margin: 10px 0 0;
}

.course-card .cc-body {
  padding: 26px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 18px;
}

.course-card .cc-body p {
  flex: 1;
}

.course-card .cc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-100);
}

.tag-gold {
  background: var(--gold-100);
  color: var(--gold-600);
  border-color: var(--gold-200);
}

.cc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Program feature (big cards) */
.program {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.program-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.program.dark {
  background: var(--emerald-900);
  border: 0;
  color: rgba(255, 255, 255, .78);
}

.program.dark h2,
.program.dark h3 {
  color: var(--white);
}

/* ---------- Lists ---------- */
.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.check-list.gold li::before {
  background-color: var(--gold-500);
}

.check-list.two-col {
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem;
  transition: .35s var(--ease);
}

.why-item:hover {
  border-color: var(--gold-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.why-item i {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 1rem;
}

.section-dark .why-item {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .1);
  color: var(--white);
}

.section-dark .why-item i {
  background: rgba(214, 181, 116, .15);
  color: var(--gold-400);
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--emerald-800);
  font-size: .95rem;
  transition: .3s var(--ease);
}

.chip:hover {
  background: var(--emerald-800);
  color: var(--white);
  border-color: var(--emerald-800);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-100);
}

.section-dark .pill-row span {
  background: rgba(255, 255, 255, .06);
  color: var(--gold-200);
  border-color: rgba(255, 255, 255, .12);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 6px, transparent 6px 12px);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step-num {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--ivory);
  color: var(--emerald-800);
  border: 1.5px solid var(--gold-400);
  box-shadow: 0 0 0 8px var(--ivory);
}

.section-cream .step-num {
  background: var(--cream);
  box-shadow: 0 0 0 8px var(--cream);
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.step p {
  font-size: .94rem;
  color: var(--muted);
}

/* ---------- Mission / quote ---------- */
.quote-block {
  position: relative;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--emerald-800), var(--emerald-950));
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}

.quote-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 70px;
  opacity: .1;
}

.quote-block>* {
  position: relative;
}

.quote-block h3 {
  color: var(--white);
  margin-bottom: 14px;
}

.verse {
  text-align: center;
}

.verse .arabic {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-400);
  line-height: 1.8;
}

.verse p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--white);
  margin-top: 8px;
}

.verse small {
  display: block;
  margin-top: 12px;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
}

/* ---------- Kids Zone ---------- */
.kids-zone {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff8ec 0%, #fff3f0 55%, #f0f8ff 100%);
}

.kids-zone .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  pointer-events: none;
}

.kids-zone .b1 {
  width: 380px;
  height: 380px;
  background: var(--k-sun);
  top: -120px;
  left: -100px;
}

.kids-zone .b2 {
  width: 320px;
  height: 320px;
  background: var(--k-pink);
  bottom: -100px;
  right: -80px;
}

.kids-zone .b3 {
  width: 260px;
  height: 260px;
  background: var(--k-sky);
  top: 40%;
  left: 55%;
  opacity: .25;
}

.kids-zone .container {
  position: relative;
}

.kids-zone .eyebrow {
  color: var(--k-coral);
}

.kids-zone h2,
.kids-title {
  font-family: var(--f-kids);
  font-weight: 600;
  letter-spacing: -.01em;
}

.kids-zone h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--k-coral), var(--k-lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kids-zone h3 {
  font-family: var(--f-kids);
  font-weight: 600;
  font-size: 1.35rem;
}

.parent-quote {
  display: inline-block;
  position: relative;
  padding: 18px 26px 18px 54px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--ink);
  font-style: italic;
  margin: 6px 0 22px;
}

.parent-quote::before {
  content: "“";
  position: absolute;
  left: 18px;
  top: 2px;
  font-family: var(--f-display);
  font-size: 3.4rem;
  color: var(--k-coral);
  line-height: 1;
}

.kid-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 12px 30px -18px rgba(60, 40, 20, .35);
  border: 2px solid transparent;
  transition: transform .4s var(--ease), border-color .3s;
}

.kid-card:hover {
  transform: translateY(-6px) rotate(-.4deg);
}

.kid-card .k-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.kid-card p {
  font-size: .96rem;
}

.kid-card ul {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kid-card ul li {
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ivory);
}

.kc-coral .k-icon {
  background: #ffe6e2;
}

.kc-coral:hover {
  border-color: var(--k-coral);
}

.kc-coral ul li {
  background: #fff0ee;
  color: #c44b3c;
}

.kc-sun .k-icon {
  background: #fff2cf;
}

.kc-sun:hover {
  border-color: var(--k-sun);
}

.kc-sun ul li {
  background: #fff7e0;
  color: #a87400;
}

.kc-sky .k-icon {
  background: #dff1fb;
}

.kc-sky:hover {
  border-color: var(--k-sky);
}

.kc-sky ul li {
  background: #ebf6fd;
  color: #1f7bb0;
}

.kc-mint .k-icon {
  background: #dcf5ec;
}

.kc-mint:hover {
  border-color: var(--k-mint);
}

.kc-mint ul li {
  background: #e9f9f3;
  color: #16835f;
}

.kc-lilac .k-icon {
  background: #ebe7ff;
}

.kc-lilac:hover {
  border-color: var(--k-lilac);
}

.kc-lilac ul li {
  background: #f2efff;
  color: #5b46c9;
}

.kc-pink .k-icon {
  background: #ffe4ef;
}

.kc-pink:hover {
  border-color: var(--k-pink);
}

.kc-pink ul li {
  background: #fff0f6;
  color: #c2457a;
}

.kids-photo {
  position: relative;
}

.kids-photo .img-frame {
  border-radius: 32px;
  border: 8px solid var(--white);
  box-shadow: 0 30px 60px -28px rgba(60, 40, 20, .5);
}

.sticker {
  position: absolute;
  font-family: var(--f-kids);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floaty 5s ease-in-out infinite;
}

.sticker.s1 {
  top: 24px;
  left: -22px;
  color: var(--k-coral);
}

.sticker.s2 {
  bottom: 40px;
  right: -18px;
  color: var(--k-mint);
  animation-delay: -2.5s;
}

.sticker.s3 {
  top: -18px;
  right: 40px;
  color: var(--k-lilac);
  animation-delay: -1.2s;
}

.feel-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.feel {
  padding: 30px;
  border-radius: 24px;
  text-align: center;
  font-family: var(--f-kids);
  font-size: 1.3rem;
  font-weight: 600;
}

.feel small {
  display: block;
  font-family: var(--f-body);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
}

.feel.no {
  background: #f1efec;
  color: #8a8580;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 123, 107, .6);
}

.feel.yes {
  background: linear-gradient(135deg, var(--k-sun), var(--k-coral));
  color: var(--white);
  box-shadow: 0 20px 40px -18px rgba(255, 123, 107, .8);
}

.feel-arrow {
  font-size: 2rem;
  color: var(--k-coral);
}

.word-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.word-flow span {
  font-family: var(--f-kids);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--white);
}

.word-flow span:nth-child(6n+1) {
  background: var(--k-coral);
}

.word-flow span:nth-child(6n+2) {
  background: var(--k-sun);
  color: #5a4100;
}

.word-flow span:nth-child(6n+3) {
  background: var(--k-mint);
}

.word-flow span:nth-child(6n+4) {
  background: var(--k-sky);
}

.word-flow span:nth-child(6n+5) {
  background: var(--k-lilac);
}

.word-flow span:nth-child(6n+6) {
  background: var(--k-pink);
}

/* Letter game */
.letter-game {
  background: var(--white);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 50px -28px rgba(60, 40, 20, .45);
}

.letter-game-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.letter-game-head strong {
  font-family: var(--f-kids);
  font-size: 1.2rem;
  color: var(--ink);
}

.score {
  font-family: var(--f-kids);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff2cf;
  color: #a87400;
  font-size: .9rem;
}

.game-prompt {
  text-align: center;
  padding: 18px;
  border-radius: 18px;
  background: #f0f8ff;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--ink);
}

.game-prompt b {
  font-family: var(--f-kids);
  font-size: 1.4rem;
  color: var(--k-sky);
}

.letters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.letter {
  aspect-ratio: 1;
  border-radius: 18px;
  font-family: var(--f-arabic);
  font-size: 2.3rem;
  color: var(--ink);
  background: var(--ivory);
  border: 2px solid var(--line);
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}

.letter:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--k-sky);
}

.letter.correct {
  background: #dcf5ec;
  border-color: var(--k-mint);
  animation: pop .4s var(--ease);
}

.letter.wrong {
  background: #ffe6e2;
  border-color: var(--k-coral);
  animation: shake .35s;
}

@keyframes pop {
  50% {
    transform: scale(1.12);
  }
}

@keyframes shake {
  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.game-msg {
  text-align: center;
  margin-top: 14px;
  min-height: 1.6em;
  font-weight: 700;
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Teacher Training ---------- */
.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: .4s var(--ease);
}

.module:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow);
}

.module .card-icon {
  margin: 0;
}

.module h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.module ul {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module ul li {
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--body);
}

.notice {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--gold-200);
  background: var(--gold-100);
  color: #6b5022;
  font-size: .94rem;
}

.notice::before {
  content: "ⓘ";
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--gold-600);
}

.section-dark .notice {
  background: rgba(214, 181, 116, .1);
  border-color: rgba(214, 181, 116, .3);
  color: var(--gold-200);
}

.section-dark .notice::before {
  color: var(--gold-400);
}

.outcome-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.outcome-tags span {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(214, 181, 116, .4);
  color: var(--gold-200);
  font-weight: 600;
  font-size: .92rem;
}

.big-lines {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  line-height: 1.3;
  text-align: center;
  margin-top: 40px;
}

.big-lines span {
  display: block;
}

.big-lines span:nth-child(2) {
  color: var(--gold-400);
  font-style: italic;
}

/* ---------- Teachers ---------- */
.founder {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.founder-photo {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(160deg, var(--emerald-800), var(--emerald-950));
  color: var(--gold-200);
  padding: 30px;
}

.founder-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 70px;
  opacity: .12;
}

.founder-photo .avatar {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(214, 181, 116, .6);
  font-family: var(--f-display);
  font-size: 3rem;
  color: var(--gold-400);
  margin: 0 auto 14px;
}

.founder-photo small {
  position: relative;
  font-size: .8rem;
  opacity: .8;
}

.founder-body {
  padding: clamp(30px, 4vw, 50px);
}

.founder-body .role {
  color: var(--gold-600);
  font-weight: 700;
  font-size: .92rem;
  margin: 6px 0 22px;
}

.profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.profile-fields div {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ivory);
  border: 1px dashed var(--line);
}

.profile-fields dt {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-fields dd {
  font-size: .92rem;
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
}

.placeholder {
  color: var(--gold-600);
  font-style: italic;
}

.review-card {
  background: var(--white);
  border: 1px dashed var(--gold-400);
  border-radius: var(--radius);
  padding: 30px;
}

.review-card .stars {
  color: var(--gold-500);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.review-card blockquote {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}

.review-card footer {
  margin-top: 18px;
  font-size: .86rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}

.faq-item[open] {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--emerald-50);
  color: var(--emerald-800);
  font-size: 1.3rem;
  font-weight: 500;
  transition: transform .35s var(--ease), background .3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--gold-100);
  color: var(--gold-600);
}

.faq-item .faq-a {
  padding: 0 26px 24px;
  color: var(--body);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
}

.field label .req {
  color: var(--k-coral);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--ivory);
  font-size: .95rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 114, 89, .12);
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success.show {
  display: block;
}

.form-success .tick {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-size: 2rem;
  border: 1px solid var(--emerald-100);
}

.form-error {
  display: none;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.45;
}

.form-error.show {
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Contact ---------- */
.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: .3s var(--ease);
}

.contact-item:hover {
  border-color: var(--gold-400);
  transform: translateX(4px);
}

.contact-item .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--emerald-50);
  flex-shrink: 0;
}

.contact-item small {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

.contact-item strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px);
  background: radial-gradient(120% 140% at 0% 0%, var(--emerald-700), var(--emerald-950));
  color: rgba(255, 255, 255, .8);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 30px;
  align-items: center;
}

.cta-band>* {
  position: relative;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band .hero-ctas {
  margin: 0;
  justify-content: flex-end;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, .66);
  padding: 84px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 80px;
  opacity: .04;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr;
  gap: 44px;
  padding-bottom: 60px;
}

.site-footer .brand-name {
  color: var(--white);
}

.site-footer .footer-tag {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-400);
  margin: 20px 0 12px;
  line-height: 1.35;
}

.site-footer p {
  font-size: .92rem;
}

.site-footer h4 {
  font-family: var(--f-body);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: .92rem;
}

.footer-links a {
  transition: color .25s, padding .25s;
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: .3s;
}

.socials a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--emerald-950);
}

.socials svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(195, 155, 82, .3);
  color: var(--gold-400);
  font-size: .82rem;
  cursor: pointer;
  transition: all .25s var(--ease);
  padding: 0;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

.footer-theme-toggle:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--emerald-950);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 14px rgba(195, 155, 82, .4);
}

.footer-theme-toggle:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom-meta {
    justify-content: center;
  }
}

/* Floating WhatsApp Widget & Multi-Branch Popup */
.wa-widget-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9980;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

body.menu-open .wa-widget-wrap {
  opacity: 0;
  pointer-events: none;
  transform: scale(.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.wa-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .75);
  transition: transform .3s var(--ease), box-shadow .3s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 36px -6px rgba(37, 211, 102, .85);
}

.wa-float-btn svg {
  width: 30px;
  height: 30px;
}

.wa-float-btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ring 2.4s infinite;
  pointer-events: none;
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: .8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Branch Popup Card */
.wa-popup {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -10px rgba(6, 36, 28, .35), 0 0 0 1px rgba(10, 51, 40, .05);
  overflow: hidden;
  transform: scale(.85) translateY(16px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, visibility .3s;
}

.wa-popup.show {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.wa-popup-header {
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-950));
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wa-popup-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-popup-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.wa-popup-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-400);
}

.wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid var(--emerald-950);
  border-radius: 50%;
}

.wa-popup-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.wa-popup-status {
  font-size: .72rem;
  color: var(--gold-200);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.wa-popup-close {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}

.wa-popup-close:hover {
  background: rgba(255, 255, 255, .3);
}

.wa-popup-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ivory);
}

.wa-popup-msg {
  font-size: .8rem;
  color: var(--body);
  line-height: 1.35;
  margin: 0;
}

.wa-branch-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.wa-branch-card:hover {
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(37, 211, 102, .25);
}

.wa-branch-flag {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.wa-branch-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wa-branch-title {
  font-size: .84rem;
  font-weight: 700;
  color: var(--emerald-950);
}

.wa-branch-num {
  font-size: .82rem;
  font-weight: 600;
  color: #128c7e;
  font-family: monospace;
}

.wa-branch-sub {
  font-size: .68rem;
  color: var(--muted);
  margin-top: 1px;
}

.wa-branch-chat-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .2s;
}

.wa-branch-chat-btn svg {
  width: 17px;
  height: 17px;
}

.wa-branch-card:hover .wa-branch-chat-btn {
  transform: scale(1.1);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .08s;
}

.reveal.d2 {
  transition-delay: .16s;
}

.reveal.d3 {
  transition-delay: .24s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Utilities */
.mt-1 {
  margin-top: 12px;
}

.mt-2 {
  margin-top: 24px;
}

.mt-3 {
  margin-top: 36px;
}

.mt-4 {
  margin-top: 56px;
}

.mb-2 {
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.stack>*+* {
  margin-top: 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.center-row {
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {

  .main-nav,
  .header-actions .btn-enroll {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {

  .hero-grid,
  .split,
  .split.wide-left,
  .program,
  .founder,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
    margin: 20px auto 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }

  .steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-media img {
    min-height: 280px;
    max-height: 360px;
  }

  .cta-band .hero-ctas {
    justify-content: flex-start;
  }

  .program.reverse .program-media {
    order: -1;
  }

  .float-card.fc-1 {
    left: -10px;
  }

  .float-card.fc-2 {
    right: -10px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    height: var(--header-h, 72px);
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .why-grid,
  .form-grid,
  .profile-fields,
  .check-list.two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn,
  .btn-row .btn {
    width: 100%;
  }

  .feel-compare {
    grid-template-columns: 1fr;
  }

  .feel-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .module {
    grid-template-columns: 1fr;
  }

  .float-card {
    display: none;
  }

  .sticker.s1 {
    left: 6px;
  }

  .sticker.s2 {
    right: 6px;
  }

  .img-accent::before {
    inset: 14px -10px -14px 10px;
  }

  .card {
    padding: 28px 24px;
  }

  .letters {
    gap: 8px;
  }

  .letter {
    font-size: 1.9rem;
  }
}

/* ==========================================================================
   THEME CUSTOMIZER STYLES (Live Client Preview Drawer)
   ========================================================================== */
.tc-trigger-btn {
  display: none !important;
}

/* Backdrop */
.tc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 36, 28, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}

body.tc-open .tc-backdrop {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Drawer */
.tc-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 370px;
  max-width: 90vw;
  background: var(--ivory);
  background-image: 
    radial-gradient(ellipse at top left, rgba(195, 155, 82, .12), transparent 60%),
    var(--pattern);
  box-shadow: 10px 0 50px rgba(6, 36, 28, .4);
  border-right: 2px solid var(--gold-300, #d6b574);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility .4s;
}

body.tc-open .tc-drawer {
  transform: translateX(0);
  visibility: visible;
}

.tc-header {
  padding: 20px 20px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tc-header-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 2px 7px;
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid var(--gold-200);
  border-radius: 999px;
  margin-bottom: 4px;
}

.tc-title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald-950);
  line-height: 1.2;
  margin: 0;
}

.tc-subtitle {
  font-size: .78rem;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.3;
}

.tc-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}

.tc-close-btn:hover {
  background: var(--emerald-900);
  color: #fff;
  border-color: var(--emerald-900);
}

.tc-body {
  padding: 18px 20px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tc-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-section-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--emerald-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tc-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Presets Grid */
.tc-presets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.tc-preset-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--f-body);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  text-align: left;
}

.tc-preset-btn:hover {
  border-color: var(--gold-400);
  transform: translateX(2px);
  background: #ffffff;
}

.tc-preset-btn.active {
  border-color: var(--gold-500);
  background: var(--gold-100);
  box-shadow: 0 0 0 1px var(--gold-500);
}

.tc-preset-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tc-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
}

/* Color rows */
.tc-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.tc-color-info {
  display: flex;
  flex-direction: column;
}

.tc-color-name {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
}

.tc-color-hint {
  font-size: .7rem;
  color: var(--muted);
}

.tc-color-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.tc-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.tc-picker::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

.tc-hex-input {
  width: 72px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: monospace;
  font-size: .8rem;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  text-align: center;
}

.tc-hex-input:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
}

/* Typography Fields */
.tc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tc-field-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
}

.tc-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: .86rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s;
}

.tc-select:focus {
  outline: none;
  border-color: var(--gold-500);
}

/* Action Buttons */
.tc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.tc-btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  padding: 12px 16px;
  font-size: .88rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.tc-btn-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.tc-btn-reset:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.tc-note {
  font-size: .72rem;
  line-height: 1.4;
  color: var(--muted);
  background: rgba(195, 155, 82, .1);
  border: 1px dashed rgba(195, 155, 82, .35);
  border-radius: 10px;
  padding: 10px 12px;
}

/* Toast */
.tc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--emerald-950);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  border: 1px solid var(--gold-500);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  z-index: 10005;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}

.tc-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .tc-drawer {
    width: 320px;
    max-width: 88vw;
  }
}

/* ==========================================================================
   MULTINATIONAL REVIEWS CAROUSEL
   Global Student & Parent Reviews across UK, USA, Canada, UAE, KSA, etc.
   ========================================================================== */
.reviews-section {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  opacity: .5;
}

/* Trust Stats Banner */
.reviews-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--emerald-950);
  background-image: 
    radial-gradient(circle at 12% 20%, rgba(195, 155, 82, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 88% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 45%),
    linear-gradient(135deg, var(--emerald-950) 0%, var(--emerald-900) 60%, #0b372b 100%);
  border: 1px solid rgba(195, 155, 82, 0.4);
  border-top: 3px solid var(--gold-400);
  border-bottom: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  margin-top: 28px;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(10, 51, 40, 0.25), 0 0 25px rgba(195, 155, 82, 0.12);
  position: relative;
  overflow: hidden;
}

.reviews-stats-strip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-20deg);
  animation: bannerShimmer 7s infinite ease-in-out;
  pointer-events: none;
}

@keyframes bannerShimmer {
  0%, 100% { left: -100%; }
  35%, 65% { left: 200%; }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 14px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(195, 155, 82, 0.25);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(195, 155, 82, 0.16);
  border: 1px solid rgba(195, 155, 82, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 0 10px rgba(195, 155, 82, 0.15);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 25px;
  height: 25px;
  color: var(--gold-400);
  stroke: var(--gold-400);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.stat-lbl {
  font-size: 0.84rem;
  color: rgba(251, 248, 242, 0.82);
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: 3px;
}

/* Category Filter Bar */
.reviews-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.reviews-filter-btn {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--body);
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.reviews-filter-btn:hover {
  border-color: var(--gold-400);
  color: var(--ink);
  transform: translateY(-1px);
}

.reviews-filter-btn.active {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 51, 40, 0.25);
}

.reviews-filter-btn .filter-count {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
}

.reviews-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Carousel Outer & Viewport */
.reviews-carousel-outer {
  position: relative;
  width: 100%;
}

.reviews-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 10px 4px 16px;
  cursor: grab;
}

.reviews-carousel-viewport:active {
  cursor: grabbing;
}

.reviews-carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Review Card Modern */
.review-card-modern {
  flex: 0 0 calc((100% - 44px) / 3); /* 3 cards visible on desktop */
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-sizing: border-box;
  min-height: 380px;
}

.review-card-modern::before {
  content: "“";
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--f-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: 0.15;
  pointer-events: none;
}

.review-card-modern:hover {
  transform: translateY(-5px);
  border-color: var(--gold-400);
  box-shadow: 0 14px 34px rgba(10, 51, 40, 0.08), 0 2px 6px rgba(195, 155, 82, 0.15);
}

/* Card Header */
.rc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.rc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 100%);
  color: var(--gold-400);
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--gold-400);
  box-shadow: 0 2px 8px rgba(10, 51, 40, 0.15);
}

.rc-meta {
  flex: 1;
  min-width: 0;
}

.rc-name {
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rc-verified-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--emerald-800);
  background: rgba(10, 51, 40, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rc-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--body);
  flex-wrap: wrap;
}

.rc-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.rc-country {
  font-weight: 600;
  color: var(--ink);
}

/* Rating Row */
.rc-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.rc-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.rc-score {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.rc-course-pill {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-600);
  background: rgba(195, 155, 82, 0.12);
  border: 1px solid rgba(195, 155, 82, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Review Quote */
.rc-quote {
  font-family: var(--f-display);
  font-size: 1.16rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

/* Card Footer */
.rc-footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.rc-student-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.rc-student-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* Controls Bar (Dots & Counter Centered in Middle) */
.reviews-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  padding: 0 4px;
}

.reviews-nav-group {
  display: none;
}

/* Middle Navigator Buttons */
.reviews-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-400);
  color: var(--emerald-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 8px 24px rgba(10, 51, 40, 0.16), 0 2px 8px rgba(195, 155, 82, 0.22);
}

.reviews-nav-prev {
  left: -24px;
}

.reviews-nav-next {
  right: -24px;
}

.reviews-nav-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: var(--emerald-900) !important;
  fill: none !important;
  color: var(--emerald-900) !important;
  pointer-events: none;
  transition: transform 0.2s var(--ease), stroke 0.2s var(--ease);
}

.reviews-nav-btn svg polyline {
  stroke: inherit !important;
  fill: none !important;
}

.reviews-nav-btn:hover:not(:disabled),
.reviews-nav-btn:focus:not(:disabled) {
  background: var(--emerald-900) !important;
  border-color: var(--gold-400) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(10, 51, 40, 0.32), 0 0 16px rgba(195, 155, 82, 0.4);
}

.reviews-nav-btn:hover:not(:disabled) svg,
.reviews-nav-btn:focus:not(:disabled) svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.reviews-nav-btn:hover:not(:disabled) svg polyline,
.reviews-nav-btn:focus:not(:disabled) svg polyline {
  stroke: #ffffff !important;
}

.reviews-nav-prev:hover:not(:disabled) svg {
  transform: translateX(-2px);
}

.reviews-nav-next:hover:not(:disabled) svg {
  transform: translateX(2px);
}

.reviews-nav-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.96);
}

.reviews-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}

.reviews-dot:hover {
  background: var(--gold-400);
}

.reviews-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold-500);
}

.reviews-counter {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
}

.reviews-counter-total {
  color: var(--muted);
  font-weight: 500;
}

.reviews-autoplay-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.reviews-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: reviewsPulse 2s infinite;
}

@keyframes reviewsPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .reviews-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 22px 24px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(195, 155, 82, 0.25);
    padding-bottom: 14px;
  }
  .review-card-modern {
    flex: 0 0 calc((100% - 22px) / 2); /* 2 cards visible on tablets */
  }
}

@media (max-width: 720px) {
  .reviews-stats-strip {
    grid-template-columns: 1fr;
    padding: 18px 20px;
    margin-top: 20px;
    margin-bottom: 26px;
  }
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(195, 155, 82, 0.25) !important;
    padding: 10px 4px;
  }
  .stat-item:last-child {
    border-bottom: none !important;
  }
  .review-card-modern {
    flex: 0 0 100%; /* 1 card visible on mobile */
    min-height: auto;
    padding: 22px 18px;
  }
  .reviews-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(10, 51, 40, 0.2);
  }
  .reviews-nav-prev {
    left: 4px;
  }
  .reviews-nav-next {
    right: 4px;
  }
  .reviews-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-filter-btn {
    white-space: nowrap;
  }
  .reviews-autoplay-badge {
    display: none;
  }
}

/* ==========================================================================
   Font Awesome Icon Polish & Spacing Helpers
   ========================================================================== */
.eyebrow i,
.eyebrow .fa-solid,
.eyebrow .fa-regular {
  margin-right: 7px;
  font-size: 0.95em;
  vertical-align: -1px;
}

.chip i,
.chip .fa-solid,
.chip .fa-regular {
  margin-right: 6px;
  font-size: 0.9em;
}

.pill-row span i,
.hero-badges span i {
  margin-right: 6px;
  font-size: 0.9em;
}

.sticker i {
  margin-right: 6px;
}

.rc-verified-badge i {
  margin-right: 4px;
  font-size: 0.95em;
}

.card-icon i,
.k-icon i,
.fc-icon i,
.ci-icon i {
  line-height: 1;
}

.letter-game-head .score i {
  margin-right: 3px;
}