/* =========================================================
   Armenian Code Academy — design tokens & base
========================================================= */
@font-face {
  font-family: 'Mardoto';
  src: url('fonts/Mardoto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0530-058F, U+FB13-FB17;
}
@font-face {
  font-family: 'Mardoto';
  src: url('fonts/Mardoto-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0530-058F, U+FB13-FB17;
}
@font-face {
  font-family: 'Mardoto';
  src: url('fonts/Mardoto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0530-058F, U+FB13-FB17;
}
@font-face {
  font-family: 'Mardoto';
  src: url('fonts/Mardoto-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0530-058F, U+FB13-FB17;
}

:root {
  /* default accent palette (red/rose) — course pages re-point --accent-* below */
  --coral: #f04f54;
  --coral-rgb: 240, 79, 84;
  --coral-dark: #cb4646;
  --coral-tint: #fdeceb;
  --coral-grad-1: #f2585d;
  --coral-grad-2: #e7484d;

  /* themeable accent slot: override these six per page to re-skin a course */
  --accent: var(--coral);
  --accent-rgb: var(--coral-rgb);
  --accent-dark: var(--coral-dark);
  --accent-tint: var(--coral-tint);
  --accent-grad-1: var(--coral-grad-1);
  --accent-grad-2: var(--coral-grad-2);
  --cream: #fcfaf6;
  --cream-2: #faf3ec;
  --ink: #14141a;
  --ink-soft: #171717;
  --muted: #5c5c5c;
  --lime: #d0f539;
  --white: #ffffff;
  --line: rgba(20, 20, 26, 0.08);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  /* tuition tax refund — re-pointed per page theme (see bddd.html) */
  --tax-accent: var(--accent-dark);
  --tax-chip-bg: var(--accent-tint);
  --tax-chip-fg: var(--accent-dark);
  --tax-panel-bg: var(--accent-tint);
  --tax-panel-line: rgba(var(--accent-rgb), 0.2);
  --tax-panel-muted: var(--muted);
  --tax-icon-bg: var(--white);
  --tax-note-fg: var(--muted);

  /* form error state — built on --coral*, NOT --accent*: 18 course pages
     re-point --accent, which would paint the error panel blue or amber */
  --error-fg: var(--coral-dark);
  --error-bg: var(--coral-tint);
  --error-line: rgba(var(--coral-rgb), 0.28);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 999px;

  --shadow-soft: 0 20px 60px -20px rgba(20, 20, 26, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(20, 20, 26, 0.18);

  /* Barlow for Latin text; Mardoto (fonts/, self-hosted) covers Armenian only
     via unicode-range, so each glyph comes from the right family */
  --font: 'Barlow', 'Mardoto', Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

section {
  position: relative;
}

.section-pad {
  padding: clamp(56px, 8vw, 108px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-title .accent {
  color: var(--accent);
}

/* a word that drops to its own line on phones so the title never wraps
   mid-phrase (e.g. "Ինչու՞ ընտրել հենց / ACA-ն") */
@media (max-width: 640px) {
  .section-title .title-break-m {
    display: block;
  }
}

.section-sub {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--radius-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-primary {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
}

.btn-primary:hover {
  --btn-bg: var(--accent);
}

.btn-coral {
  --btn-bg: var(--white);
  --btn-fg: var(--accent);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  border-color: currentColor;
}

.btn-outline--on-coral {
  color: #fff;
}

.btn-outline:hover {
  --btn-bg: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn-sm {
  padding: 12px 22px;
  font-size: 14px;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

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

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(0,0,0,.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.brand img {
  height: 40px;
  width: auto;
}

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

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.main-nav a:hover {
  background: var(--cream-2);
  color: var(--accent);
}

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

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.lang-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.acax-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  transition: background-color .2s var(--ease);
}

.acax-chip:hover {
  background: var(--accent);
}

.acax-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  flex-shrink: 0;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.icon-close {
  display: none;
}

.menu-toggle.is-active .icon-menu {
  display: none;
}

.menu-toggle.is-active .icon-close {
  display: block;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 96px 28px 40px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer nav a {
  padding: 16px 4px;
  font-size: 21px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
}

.mobile-drawer__actions {
  display: flex;
  gap: 12px;
}

.mobile-drawer__socials {
  display: flex;
  gap: 14px;
}

.mobile-drawer__socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer__socials svg {
  width: 18px;
  height: 18px;
}

.mobile-drawer__socials a.mobile-drawer__call {
  margin-left: auto;
  width: 68px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: #22c55e;
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(34, 197, 94, 0.55);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.mobile-drawer__socials a.mobile-drawer__call:hover {
  background: #16a34a;
  transform: scale(1.06);
}

.mobile-drawer__socials a.mobile-drawer__call svg {
  width: 24px;
  height: 24px;
}

body.no-scroll {
  overflow: hidden;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 4vw, 40px) 0 0;
}

.hero__panel {
  position: relative;
  background: linear-gradient(155deg, var(--accent-grad-1) 0%, var(--accent) 45%, var(--accent-grad-2) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 76px) clamp(28px, 6vw, 76px) clamp(96px, 10vw, 132px);
  isolation: isolate;
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 60% at 85% 15%, rgba(255,255,255,.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  max-width: 620px;
  color: var(--white);
}

.hero__title {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 40px);
}

.hero__graphic {
  position: absolute;
  right: clamp(-40px, 2vw, 20px);
  bottom: clamp(-30px, -2vw, 10px);
  width: clamp(220px, 26vw, 380px);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.25));
  z-index: 0;
}

.acax-card {
  position: relative;
  z-index: 2;
  margin: 28px auto 0;
  width: min(420px, 100%);
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
}

.acax-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.acax-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.acax-card__top .eyebrow {
  color: var(--accent);
}

.acax-card p {
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.acax-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}

.acax-card a svg {
  width: 15px;
  height: 15px;
  transition: transform .2s var(--ease);
}

.acax-card a:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   Courses (professions) grid
========================================================= */
.courses__head {
  text-align: left;
  margin: clamp(48px, 6vw, 72px) 0 clamp(32px, 5vw, 48px);
}

.courses__head .section-title {
  display: block;
}

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

.course-card {
  grid-column: span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 168px;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--cream-2);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px -14px rgba(var(--accent-rgb), 0.55);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}

.course-card:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -14px rgba(20, 20, 26, 0.4);
}

.course-card:nth-child(7) {
  grid-column: 2 / span 1;
}

/* =========================================================
   Other courses
========================================================= */
.other-courses {
  background: var(--cream);
}

.other-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.other-course-card {
  position: relative;
  background: var(--ink-soft);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 190px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s var(--ease);
}

.other-course-card:hover {
  transform: translateY(-4px);
}

.other-course-card h3 {
  font-size: 19px;
  font-weight: 700;
  max-width: 65%;
  position: relative;
  z-index: 1;
}

.other-course-card .duration {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  position: relative;
  z-index: 1;
}

.other-course-card img {
  position: absolute;
  right: -10px;
  bottom: -14px;
  width: 108px;
  height: 108px;
  object-fit: contain;
  opacity: 0.95;
}

.cta-banner {
  display: flex;
  justify-content: center;
  padding-top: clamp(40px, 5vw, 56px);
}

/* =========================================================
   Why choose ACA
========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.why-card {
  position: relative;
  grid-column: span 2;
  grid-row: span 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 26px;
}

.why-card:first-child {
  grid-row: span 2;
}

.why-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(20,20,26,0) 35%, rgba(15,15,18,.88) 100%);
  z-index: 1;
}

.why-card:hover img {
  transform: scale(1.06);
}

.why-card__body {
  position: relative;
  z-index: 2;
  background: rgba(12, 12, 16, 0.1);
  backdrop-filter: blur(3px) saturate(140%);
  -webkit-backdrop-filter: blur(3px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.why-card__body h3,
.why-card__body p {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.why-card__body h3 {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.why-card__body p {
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  max-width: 40ch;
}

/* =========================================================
   Instructors
========================================================= */
.instructors {
  background: var(--cream);
}

.instructors-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.instructors-track,
.instructors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.instructors-track .instructor-card,
.instructors-grid .instructor-card {
  /* three per row inside the container; fewer than three stay centered */
  flex: 1 1 300px;
  max-width: 360px;
}

@media (max-width: 640px) {
  .instructors-track,
  .instructors-grid {
    gap: 14px;
  }
  .instructors-track .instructor-card,
  .instructors-grid .instructor-card {
    flex: 1 1 100%;
    max-width: 320px;
    padding: 24px 20px 20px;
  }
  .instructors-track .instructor-card__photo,
  .instructors-grid .instructor-card__photo {
    width: 166px;
    height: 166px;
  }
  .instructors-track .instructor-card h3,
  .instructors-grid .instructor-card h3 {
    font-size: 14px;
  }
  .instructors-track .instructor-card p,
  .instructors-grid .instructor-card p {
    font-size: 12px;
  }
}

/* "Show more": script.js collapses all but the first 4 (phones) or 6 cards
   and reveals them in steps. Without JS the button stays hidden and every
   card shows. */
.instructors-grid .instructor-card.is-collapsed {
  display: none;
}

.instructors-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.instructors-more[hidden] {
  display: none;
}

.instructor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.instructor-card__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--cream-2);
}

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

.instructor-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.instructor-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* =========================================================
   Partners carousel — 3-row logo grid
========================================================= */
.logos-marquee {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logos-track {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: 110px;
  row-gap: 28px;
  column-gap: clamp(28px, 4vw, 48px);
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.logos-track::-webkit-scrollbar {
  display: none;
}

.logos-track img {
  height: auto;
  width: auto;
  max-height: 34px;
  max-width: 100%;
  justify-self: center;
  align-self: center;
  scroll-snap-align: start;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}

.logos-track img:hover {
  filter: none;
  opacity: 1;
}

.logos-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.logos-arrow:hover {
  background: var(--cream-2);
  border-color: var(--ink);
}

.logos-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .logos-arrow {
    display: none;
  }
  .logos-track {
    grid-auto-columns: 84px;
    row-gap: 20px;
    column-gap: 28px;
  }
}

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

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__person h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.testimonial-card__person span {
  font-size: 13.5px;
  color: var(--muted);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial-card .lang-en {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* =========================================================
   Stats
========================================================= */
.stats {
  background: var(--white);
}

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

.stat {
  text-align: center;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: none;
}

.stat .num {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.stat .label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* =========================================================
   Footer / contact
========================================================= */
.site-footer {
  background: var(--ink-soft);
  color: var(--white);
  padding: clamp(56px, 8vw, 96px) 0 32px;
}

.footer-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}

.footer-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.2;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.footer-socials a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.footer-links a {
  font-size: 14.5px;
  color: rgba(255,255,255,.72);
  transition: color .2s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom .phone {
  font-size: 17px;
  font-weight: 700;
}

.footer-bottom .fine-print {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
}

/* =========================================================
   Fixed bottom bar
========================================================= */
body {
  padding-bottom: 84px;
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(0,0,0,.35);
  transition: transform 0.3s var(--ease);
}

body.no-scroll .bottom-bar {
  transform: translateY(120%);
}

.bottom-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.bottom-bar__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bottom-bar__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.bottom-bar__socials a:hover {
  background: var(--accent);
  color: var(--white);
}

.bottom-bar__socials svg {
  width: 17px;
  height: 17px;
}

.bottom-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bottom-bar__actions .btn {
  padding: 12px 18px;
  font-size: 13.5px;
}

.bottom-bar__call {
  width: 46px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: #22c55e;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -8px rgba(34, 197, 94, 0.55);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.bottom-bar__call:hover {
  background: #16a34a;
  transform: scale(1.06);
}

.bottom-bar__call svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 560px) {
  .bottom-bar__socials {
    display: none;
  }
  .bottom-bar__actions {
    width: 100%;
  }
  .bottom-bar__actions .btn {
    flex: 1;
    padding: 14px 10px;
    font-size: 13px;
  }
}

/* =========================================================
   Modal (consultation form)
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(15, 15, 18, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 40px);
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal h2 {
  font-size: 24px;
  font-weight: 900;
  padding-right: 30px;
  margin-bottom: 8px;
}

.modal p.modal-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--cream);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%237A7A7A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  outline: none;
}

.modal .btn {
  width: 100%;
  margin-top: 8px;
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success.is-visible {
  display: block;
}

.form-success svg {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted);
  font-size: 15px;
}

.modal form.is-hidden {
  display: none;
}

/* =========================================================
   Course page — hero checklist
========================================================= */
.hero__checklist {
  margin: clamp(20px, 3vw, 28px) 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.4;
}

.hero__checklist svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================
   Course page — curriculum accordion
========================================================= */
.curriculum {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.curriculum-item,
.faq-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 6px 22px;
  border: 1px solid var(--line);
}

.curriculum-item summary,
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16px;
}

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

.curriculum-item__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.curriculum-item__title {
  flex: 1;
}

.curriculum-item .chevron,
.faq-item .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform .25s var(--ease);
}

.curriculum-item[open] .chevron,
.faq-item[open] .chevron {
  transform: rotate(180deg);
}

/* FAQ answers: several paragraphs and short lists */
.faq-item > p + p,
.faq-item > p + ul,
.faq-item > ul + p {
  margin-top: 10px;
}

.faq-item > ul {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item > ul li {
  list-style: disc;
}

.faq-item > :last-child {
  margin-bottom: 18px;
}

.faq-item > p a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.curriculum-item ul {
  margin: 0 0 18px;
  padding: 0 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

.curriculum-item ul li {
  list-style: disc;
}

/* =========================================================
   Course page — pricing
========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

/* group size and "includes the previous package" lines under the name */
.pricing-size,
.pricing-includes {
  color: var(--accent);
  font-weight: 700;
  line-height: 1.35;
}

.pricing-size {
  font-size: 16px;
}

.pricing-includes {
  font-size: 14px;
}

.pricing-size + .pricing-includes {
  margin-top: 4px;
}

.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.pricing-card .amount {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.pricing-card .period {
  font-size: 14px;
  color: var(--muted);
}

.pricing-features {
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.4;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.3l3.2 3.2L13 4.5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.3l3.2 3.2L13 4.5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.pricing-card .btn {
  width: 100%;
}

/* =========================================================
   Course page — tuition tax refund
========================================================= */
.tax-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -10px 0 20px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--tax-panel-line);
  border-radius: var(--radius-full);
  background: var(--tax-chip-bg);
  color: var(--tax-chip-fg);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.tax-chip svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.tax-refund {
  margin-top: 28px;
}

.tax-refund__panel {
  border: 1px solid var(--tax-panel-line);
  border-radius: var(--radius-lg);
  background: var(--tax-panel-bg);
  padding: 22px 26px;
}

.tax-refund__summary {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.tax-refund__summary::-webkit-details-marker {
  display: none;
}

.tax-refund__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tax-icon-bg);
  color: var(--tax-accent);
}

.tax-refund__icon svg {
  width: 21px;
  height: 21px;
}

.tax-refund__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tax-refund__title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--tax-accent);
}

.tax-refund__lead {
  max-width: 78ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--tax-panel-muted);
}

.tax-refund__cta {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--tax-accent);
}

.tax-refund__cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.tax-refund__panel[open] .tax-refund__cta svg {
  transform: rotate(180deg);
}

.tax-refund__steps {
  margin: 18px 0 0;
  padding: 18px 0 0 20px;
  border-top: 1px solid var(--tax-panel-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--tax-panel-muted);
}

.tax-refund__steps li {
  list-style: decimal;
}

.tax-refund__note {
  margin: 14px 4px 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--tax-note-fg);
}

@media (max-width: 720px) {
  .tax-chip {
    font-size: 12px;
    padding: 6px 12px 6px 10px;
  }
  .tax-refund__panel {
    padding: 20px 18px;
  }
  .tax-refund__summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    align-items: start;
  }
  .tax-refund__icon {
    width: 38px;
    height: 38px;
  }
  .tax-refund__text,
  .tax-refund__cta {
    grid-column: 2;
    margin-left: 0;
  }
  .tax-refund__title {
    font-size: 16px;
  }
}

/* =========================================================
   Course page — registration form
========================================================= */
.container--narrow {
  max-width: 620px;
}

.register-form.is-hidden {
  display: none;
}

/* =========================================================
   Course page — feature grid
========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 14.5px;
}

.feature-chip svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
}

/* =========================================================
   Course page — avatar initials (fallback for instructor photo)
========================================================= */
.avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.02em;
}

/* =========================================================
   Course page — CTA banner block
========================================================= */
.cta-banner-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-banner-block .section-title {
  max-width: 20ch;
}

/* the banner's title is itself the call-to-action button */
.cta-title {
  margin: 0;
}

.cta-banner-block .btn.cta-title-btn {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  padding: clamp(18px, 2.4vw, 26px) clamp(28px, 4vw, 48px);
  white-space: normal; /* .btn is nowrap; a long title must wrap on phones */
  text-align: center;
  max-width: 100%;
}

/* =========================================================
   Reveal-on-scroll
========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1080px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 959px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .course-card:nth-child(7) {
    grid-column: span 2;
  }
  .other-courses-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stat {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .stat:first-child {
    border-top: none;
    padding-top: 20px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .field--desktop-only {
    display: none;
  }
  .hero__panel {
    padding: 32px 22px 36px;
  }
  .hero__graphic {
    display: none;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .cta-banner .btn,
  .cta-banner-block .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .curriculum-item summary,
  .faq-item summary {
    font-size: 15px;
    gap: 12px;
  }
  .pricing-card {
    padding: 24px 20px;
  }
  .acax-card {
    width: 100%;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .course-card:nth-child(7) {
    grid-column: span 1;
  }
  .course-card {
    min-height: 100px;
    padding: 16px 20px;
    font-size: 18px;
  }
  .why-grid {
    display: flex;
    grid-auto-rows: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    scrollbar-width: thin;
  }
  .why-card,
  .why-card:first-child {
    flex: 0 0 82%;
    scroll-snap-align: start;
    grid-column: unset;
    grid-row: unset;
    display: block;
    padding: 0;
    color: var(--ink);
  }
  .why-card img {
    position: static;
    width: 100%;
    height: 220px;
  }
  .why-card::before {
    content: none;
  }
  .why-card__body {
    position: static;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 16px 4px 4px;
  }
  .why-card__body h3,
  .why-card__body p {
    text-shadow: none;
  }
  .why-card__body p {
    color: var(--muted);
    max-width: none;
  }
}

@media (max-width: 360px) {
  .header-actions {
    gap: 6px;
  }
  .lang-pill {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .acax-chip {
    padding: 8px 12px 8px 10px;
    font-size: 12px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 960px) {
  .acax-card {
    position: absolute;
    right: clamp(24px, 4vw, 64px);
    bottom: clamp(-64px, -5vw, -48px);
    margin: 0;
  }
  .hero__panel {
    padding-bottom: clamp(56px, 7vw, 84px);
  }
}

/* =========================================================
   Form error / retry state  (markup injected by script.js)
========================================================= */
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--error-line);
  border-radius: var(--radius-md);
  background: var(--error-bg);
  color: var(--error-fg);
  font-size: 14px;
  line-height: 1.5;
}

.form-error[hidden] {
  display: none;
}

.form-error:focus {
  outline: 2px solid var(--error-fg);
  outline-offset: 2px;
}

.form-error svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.form-error__msg {
  font-weight: 700;
}

.form-error__help {
  margin-top: 4px;
  opacity: 0.9;
}

.form-error__phone {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--error-fg);
}

/* honeypot: clipped rather than display:none, which naive bots skip */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

/* ---- pending submit button ---- */
.btn[disabled] {
  opacity: 0.6;
  /* also suppresses the :hover recolour and lift, which bddd re-points to lime */
  pointer-events: none;
}

.btn.is-pending::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* slowed, not stopped — a frozen spinner reads as a hang */
  .btn.is-pending::after {
    animation-duration: 2.4s;
  }
}

/* =========================================================
   Homepage: one cream background everywhere, the same colour
   as the partner-feedback (testimonials) section.
   Scoped to <body class="home-cream"> on index.html and
   index_eng.html only. To revert, remove the class or this block.
========================================================= */
body.home-cream,
body.home-cream .stats,
body.home-cream .mobile-drawer {
  background: var(--cream);
}
body.home-cream .site-header {
  background: rgba(252, 250, 246, 0.88);
}
body.home-cream .bottom-bar {
  background: rgba(252, 250, 246, 0.9);
}

/* =========================================================
   Course pages: one background everywhere, the same colour as
   the tutors (instructors) section. Scoped to
   <body class="tutors-bg"> on pages/*.html. Cards and form
   fields that used the same cream switch to white so they
   still stand out, like the tutor cards do. BDDD is a dark
   page: its tutors colour is #101015 (tutors-bg--dark).
   To revert, remove the class or this block.
========================================================= */
body.tutors-bg:not(.tutors-bg--dark),
body.tutors-bg:not(.tutors-bg--dark) .mobile-drawer {
  background: var(--cream);
}
body.tutors-bg:not(.tutors-bg--dark) .site-header {
  background: rgba(252, 250, 246, 0.88);
}
body.tutors-bg:not(.tutors-bg--dark) .bottom-bar {
  background: rgba(252, 250, 246, 0.9);
}
body.tutors-bg:not(.tutors-bg--dark) .curriculum-item,
body.tutors-bg:not(.tutors-bg--dark) .faq-item,
body.tutors-bg:not(.tutors-bg--dark) .pricing-card,
body.tutors-bg:not(.tutors-bg--dark) .field input,
body.tutors-bg:not(.tutors-bg--dark) .field select {
  background: var(--white);
}

body.tutors-bg--dark,
body.tutors-bg--dark .mobile-drawer {
  background: #101015;
}
body.tutors-bg--dark .site-header {
  background: rgba(16, 16, 21, 0.88);
}
body.tutors-bg--dark .bottom-bar {
  background: rgba(16, 16, 21, 0.92);
}

/* =========================================================
   Why ACA (homepage): one photo + list of reasons.
   Replaces the photo-card grid (.why-grid/.why-card, kept
   above so a revert is a single commit).
========================================================= */
.why-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;
}
.why-split__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.why-split__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.why-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-split__list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.why-split__list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.why-split__list li:last-child {
  padding-bottom: 0;
}
.why-split__mark {
  flex: 0 0 38px;
  height: 38px;
  margin-top: 2px;
  border-radius: 50%;
  background: #000;
  color: var(--lime);
  display: grid;
  place-items: center;
}
.why-split__mark svg {
  width: 17px;
  height: 17px;
}
.why-split__list h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.why-split__list p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 1080px) {
  .why-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 720px) {
  .why-split__photo {
    border-radius: var(--radius-md);
  }
  .why-split__list h3 {
    font-size: 18px;
  }
}

/* =========================================================
   Homepage profession cards: title, duration, plain arrow.
   Revert this block and the card markup to undo.
========================================================= */
.course-card {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 26px 22px;
  text-align: left;
}
.course-card__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}
.course-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.course-card__len {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.85;
  white-space: nowrap;
}
.course-card__arrow {
  display: grid;
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}
.course-card__arrow svg {
  width: 100%;
  height: 100%;
}
.course-card:hover .course-card__arrow {
  transform: translateX(4px);
}
@media (max-width: 720px) {
  .course-card {
    gap: 14px;
    padding: 20px 20px 18px;
  }
  .course-card__title {
    font-size: 19px;
  }
}


/* =========================================================
   Why ACA (homepage): "From course to career" — big 80%+
   proof point, four reasons, consultation button. Replaces
   the photo + list layout (.why-split, kept above so a revert
   is a single commit).
========================================================= */
.why-proof__head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:clamp(36px,5vw,56px)}

.why-proof__eyebrow{margin:0 0 12px;font-size:15px;font-weight:700;color:var(--accent)}

.why-proof__title{margin:0}

.why-proof__cta{flex:0 0 auto}

.why-proof__cta svg{width:18px;height:18px}

.why-proof__cta--bottom{display:none}

.why-proof__body{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,88px);align-items:start}

.why-proof__stat{border-top:2px solid var(--ink);padding-top:clamp(24px,3vw,36px)}

.why-proof__num{font-family:'Barlow',sans-serif;font-weight:800;font-size:clamp(88px,11vw,150px);line-height:.9;letter-spacing:-.03em;color:var(--accent)}

.why-proof__cap{margin:18px 0 0;max-width:32ch;font-size:17px;line-height:1.5;color:var(--muted)}

.why-proof__list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}

.why-proof__list li{padding:22px 0;border-bottom:1px solid var(--line)}

.why-proof__list h3{margin:0 0 6px;font-size:19px;font-weight:700;line-height:1.3;color:var(--ink)}

.why-proof__list p{margin:0;font-size:15.5px;line-height:1.5;color:var(--muted)}

@media (max-width:860px){.why-proof__body{grid-template-columns:1fr;gap:36px}
}

@media (max-width:720px){
 .why-proof__head{display:block}

 .why-proof__cta--top{display:none}

 .why-proof__cta--bottom{display:flex;width:100%;margin-top:28px}

 .why-proof__num{font-size:96px}

 .why-proof__cap{font-size:16px}

 .why-proof__list li{padding:18px 0}

 .why-proof__list h3{font-size:18px}

}

/* =========================================================
   ACA for Business (pages/business*.html) — v2
   Brand-book hierarchy: big Mardoto/Barlow headlines, 18–20px
   body, no small labels. Black and lime bands, one asterisk.
========================================================= */
.biz-band { padding: clamp(72px, 10vw, 136px) 0; }
.biz-band--black { background: #000; color: #fff; }
.biz-band--main { background: var(--biz-main); color: var(--biz-on-main); }
.biz-band--main .biz-sub { color: var(--biz-on-main); }
.biz-band--white { background: #fff; }

.biz-h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.biz-sub {
  margin: 20px 0 0;
  max-width: 34ch;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--muted);
}
.biz-band--black .biz-sub { color: rgba(255, 255, 255, 0.72); }

.biz-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  border-radius: var(--radius-full);
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.biz-btn:hover { transform: translateY(-2px); background: #fff; color: #000; }
.biz-btn svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.biz-btn:hover svg { transform: translateX(4px); }

/* hero */
.biz-hero {
  position: relative;
  overflow: hidden;
  background: var(--biz-main);
  color: var(--biz-on-main);
  padding: clamp(64px, 10vw, 140px) 0 clamp(72px, 9vw, 128px);
}
.biz-hero .container { position: relative; }
.biz-hero__star {
  position: absolute;
  right: max(-60px, calc((100vw - 1240px) / 2 - 90px));
  top: clamp(260px, 32vw, 420px);
  width: clamp(220px, 26vw, 360px);
  aspect-ratio: 1;
  color: var(--biz-on-main);
  pointer-events: none;
}
.biz-hero__star svg { width: 100%; height: 100%; animation: biz-spin 48s linear infinite; }
@keyframes biz-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .biz-hero__star svg { animation: none; } }
.biz-hero h1 {
  position: relative;
  margin: 0;
  font-size: clamp(56px, 10.5vw, 144px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.biz-hero__sub {
  position: relative;
  margin: 32px 0 0;
  max-width: 30ch;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--biz-on-main);
}
.biz-hero .biz-btn { position: relative; margin-top: 40px; }

/* partner logos: always on a light background so every logo reads */
.biz-logos { padding: clamp(48px, 6vw, 80px) 0; background: #fff; }
.biz-logos__title { margin: 0 0 24px; font-size: clamp(20px, 2vw, 24px); font-weight: 700; color: #000; }

/* services index */
.biz-rows { margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid #000; }
.biz-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.15fr) 64px;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 2px solid #000;
  color: #000;
  transition: background-color .25s var(--ease), padding .25s var(--ease);
}
.biz-row:hover { background: var(--biz-main); padding-left: 24px; padding-right: 24px; }
.biz-row__num { font-size: 20px; font-weight: 700; }
.biz-row__title { font-size: clamp(34px, 4.2vw, 56px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.biz-row__text { font-size: 19px; line-height: 1.5; color: #3d3d3d; }
.biz-row__arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid #000;
  border-radius: 50%;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.biz-row__arrow svg { width: 26px; height: 26px; }
.biz-row:hover .biz-row__arrow { background: #000; color: #fff; }

/* corporate training */
.biz-tracks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: clamp(40px, 5vw, 64px);
}
.biz-track h3 {
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid #000;
  font-size: 28px;
  font-weight: 900;
}
.biz-track ul { list-style: none; margin: 0; padding: 0; }
.biz-track li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  line-height: 1.35;
}
.biz-new {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 56px);
  padding: 18px 28px 18px 18px;
  border-radius: var(--radius-full);
  background: #000;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}
.biz-new__tag {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--biz-main);
  color: #000;
  font-size: 16px;
}
.biz-new svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.biz-new:hover svg { transform: translateX(4px); }

/* quote */
.biz-quote { margin: 0; }
.biz-quote__mark { display: block; height: 80px; font-size: 180px; font-weight: 900; line-height: 1; }
.biz-quote blockquote {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.biz-quote figcaption {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.4;
}
.biz-quote img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.biz-quote strong { display: block; font-size: 21px; }

/* hiring */
.biz-hire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 2px solid #000;
}
.biz-hire article { padding: 40px 48px 0 0; }
.biz-hire article + article { padding: 40px 0 0 48px; border-left: 2px solid #000; }
.biz-hire h3 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; }
.biz-hire__stat { margin-top: 32px; }
.biz-hire__big {
  display: block;
  font-size: clamp(64px, 8.5vw, 120px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.biz-hire__mid {
  display: block;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.biz-hire__label { display: block; margin-top: 10px; font-size: 19px; color: var(--muted); }
.biz-list { list-style: none; margin: 32px 0 0; padding: 0; }
.biz-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 19px;
  line-height: 1.4;
}
.biz-list li::before { content: "✱"; font-size: 16px; line-height: 1.6; }

/* events */
.biz-events { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.biz-events__stats { margin: 0; }
.biz-events__stats dt {
  font-size: clamp(72px, 11vw, 160px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--biz-on-main);
}
.biz-events__stats dd { margin: 12px 0 40px; font-size: 20px; color: var(--biz-on-main); }
.biz-events__stats dd:last-child { margin-bottom: 0; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 36px 0 44px; padding: 0; }
.biz-tags li {
  padding: 11px 20px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-full);
  font-size: 18px;
}
/* quote on black: blue quotation mark, light caption */
.biz-band--quote .biz-quote__mark { color: var(--biz-main); }
.biz-band--quote figcaption span { color: rgba(255, 255, 255, 0.72); }
.biz-band--quote strong { color: #fff; }

/* contact */
.biz-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.biz-contact__phone { margin: 40px 0 0; font-size: 19px; color: var(--muted); }
.biz-contact__phone a {
  display: block;
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  color: #000;
}
.biz-form .register-form { max-width: none; }
.biz-form .field label { font-size: 16px; }
.biz-form .field input { padding: 18px 20px; font-size: 18px; background: #fff; }
.biz-form .btn { padding: 20px 30px; font-size: 18px; }
.biz-form .form-note { font-size: 15px; }

@media (max-width: 1080px) {
  .biz-tracks { grid-template-columns: 1fr 1fr; }
  .biz-events, .biz-contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .biz-row { grid-template-columns: minmax(0, 1fr) 56px; gap: 10px 20px; padding: 28px 0; }
  .biz-row:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .biz-row__num { grid-column: 1 / -1; font-size: 18px; }
  .biz-row__title { grid-column: 1; grid-row: 2; }
  .biz-row__arrow { grid-column: 2; grid-row: 2; width: 56px; height: 56px; }
  .biz-row__text { grid-column: 1 / -1; font-size: 18px; }
  .biz-hire { grid-template-columns: 1fr; }
  .biz-hire article, .biz-hire article + article { padding: 36px 0 40px; border-left: 0; }
  .biz-hire article + article { border-top: 2px solid #000; }
}
@media (max-width: 720px) {
  .biz-hero { padding-top: 172px; }
  .biz-hero__star { width: 140px; right: -34px; top: 12px; }
  .biz-hero .biz-btn, .biz-band--main .biz-btn { width: 100%; justify-content: center; }
  .biz-tracks { grid-template-columns: 1fr; gap: 32px; }
  .biz-track ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .biz-track li { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-full); font-size: 16px; }
  .biz-new { border-radius: var(--radius-lg); font-size: 17px; }
  .biz-quote__mark { height: 64px; font-size: 140px; }
  .biz-list li, .biz-hire__label { font-size: 18px; }
  .biz-tags li { font-size: 16px; }
}

/* =========================================================
   Homepage "From course to career": 80%+ plus four numbers.
   Replaces the reasons list and the separate "ACA in numbers"
   section. Revert this commit to undo.
========================================================= */
.why-nums {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.why-nums__big {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(96px, 12vw, 170px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.why-nums__lead p {
  margin: 18px 0 0;
  max-width: 26ch;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
}
.why-nums__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-nums__cell {
  padding: 26px 26px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-nums__n {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.why-nums__cell h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.why-nums__cell p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 860px) {
  .why-nums { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why-nums__cell { padding: 20px 16px; }
  .why-nums__n { font-size: 36px; }
}
