/* ===================================================================
   Canadian Education College — Top page styles
   Approach: 2026 modern, light, trustworthy. Plus Jakarta Sans + Noto Sans JP.
=================================================================== */

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f6f7f9;
  --c-fg: #0f172a;          /* slate-900 */
  --c-fg-soft: #475569;     /* slate-600 */
  --c-muted: #94a3b8;       /* slate-400 */
  --c-line: #e2e8f0;        /* slate-200 */
  --c-line-strong: #cbd5e1; /* slate-300 */

  --c-brand: #c8102e;        /* Canadian red — primary brand */
  --c-brand-dark: #a40d25;
  --c-accent: #0a3a6b;        /* deep navy — accent */
  --c-accent-2: #0ea5a3;      /* teal — secondary accent */

  --c-cta: #C61E2D;           /* CTA red for "Free Level Test" */
  --c-cta-dark: #9c1622;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  background: var(--c-bg);
  color: var(--c-fg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 20px;
  border-radius: var(--r-pill); font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm  { padding: 8px 14px; font-size: 14px; }
.btn-lg  { padding: 14px 26px; font-size: 16px; }

.btn-primary { background: var(--c-cta); color: #fff; box-shadow: 0 6px 16px rgba(198,30,45,.3); }
.btn-primary:hover { background: var(--c-cta-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--c-fg); border-color: var(--c-line-strong); }
.btn-outline:hover { background: var(--c-fg); color: #fff; border-color: var(--c-fg); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 72px;
  flex-wrap: nowrap;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.logo-img { height: 42px !important; width: auto; display: block; }
.logo-text { font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--c-fg); }
.logo-text strong { color: var(--c-brand); font-weight: 800; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text strong { color: #ff6b80; }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 2px; align-items: center; justify-content: center;
  flex-wrap: nowrap;
}
.primary-nav > ul > li { position: relative; }
.primary-nav a {
  color: var(--c-fg); font-weight: 500; font-size: 13px;
  padding: 8px 9px; border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.primary-nav a:hover { background: var(--c-bg-alt); text-decoration: none; }

.has-sub > .sub {
  position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 280px; white-space: nowrap;
  border: 1px solid var(--c-line); border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 8px; margin-top: 8px;
  display: flex; flex-direction: column; gap: 2px;
  z-index: 110;
  /* Forgiving open/close instead of instant display toggle */
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .25s;
}
/* Invisible bridge filling the 8px gap so the cursor never crosses a
   dead zone while travelling from the parent link to the submenu */
.has-sub > .sub::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: -12px; height: 12px;
}
.has-sub > .sub li { width: 100%; }
.has-sub > .sub a {
  display: block; padding: 10px 14px; font-size: 14px;
  color: var(--c-fg); border-radius: var(--r-sm);
}
.has-sub > .sub a:hover { background: var(--c-bg-alt); color: var(--c-brand); }
.has-sub.is-open > .sub,
.primary-nav .has-sub:hover > .sub,
.primary-nav .has-sub:focus-within > .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear 0s;
}
.has-sub > a { cursor: pointer; }
.has-sub > a::after { content: ""; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .btn-sm { padding: 7px 12px; font-size: 12px; white-space: nowrap; }
/* Legacy lang-pills (still kept for compatibility) */
.lang-pills {
  display: flex; align-items: center; gap: 0;
  background: transparent; border: 1px solid var(--c-line);
  border-radius: var(--r-pill); padding: 2px;
}
.lang-pills .lang {
  background: transparent; border: 0; cursor: pointer;
  padding: 3px 8px; font-size: 11px; font-weight: 600; color: var(--c-fg-soft);
  border-radius: var(--r-pill); font-family: inherit;
  transition: all .15s ease;
}
.lang-pills .lang.active { background: var(--c-fg); color: #fff; }

/* Language dropdown (compact) */
.lang-dropdown { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--c-line);
  padding: 6px 10px; border-radius: var(--r-pill);
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--c-fg); cursor: pointer; line-height: 1;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lang-toggle:hover { border-color: var(--c-line-strong); }
.lang-toggle[aria-expanded="true"] {
  border-color: var(--c-cta);
  box-shadow: 0 0 0 3px rgba(198,30,45,.10);
}
.lang-globe { font-size: 14px; line-height: 1; }
.lang-current { letter-spacing: .04em; }
.lang-arrow {
  font-size: 10px; color: var(--c-fg-soft); transition: transform .15s ease;
}
.lang-toggle[aria-expanded="true"] .lang-arrow { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  list-style: none; padding: 6px; margin: 0;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  min-width: 140px; z-index: 120;
  display: flex; flex-direction: column; gap: 2px;
}
.lang-menu[hidden] { display: none; }
.lang-option {
  width: 100%; text-align: left;
  background: transparent; border: 0; cursor: pointer;
  padding: 8px 12px; font-family: inherit;
  font-size: 13px; font-weight: 500; color: var(--c-fg);
  border-radius: var(--r-sm);
  transition: background .12s ease, color .12s ease;
}
.lang-option:hover { background: var(--c-bg-alt); color: var(--c-brand); }
.lang-option.active {
  background: var(--c-bg-alt); color: var(--c-brand); font-weight: 700;
}
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--c-fg);
  margin: 5px 0; border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 140px 0 160px;
  width: 100%;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    /* Soft warm orange tint over the whole image */
    linear-gradient(rgba(255, 170, 100, .14), rgba(255, 170, 100, .14)),
    /* Subtle bright white wash at the top — opens up the image without making it pale */
    linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, 0) 50%),
    url("../img/hero.avif") center / cover no-repeat;
  color: #fff;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 720px);
  justify-content: center; align-items: center;
  text-align: center;
}
.hero-copy { color: #fff; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-copy .cta-row { justify-content: center; }

.hero-badge-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  color: #fff; font-size: 13px; line-height: 1.25;
}
.hero-badge-shield {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-brand); color: #fff; font-size: 14px;
}
.hero-badge-pill strong { font-weight: 700; letter-spacing: .02em; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-brand);
  background: rgba(200,16,46,.08); padding: 6px 12px;
  border-radius: var(--r-pill);
}
.eyebrow.on-dark { color: #fff; background: rgba(255,255,255,.18); }

.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02; letter-spacing: -.025em; font-weight: 800;
  margin: 22px 0 18px; color: #fff;
  text-shadow:
    0 1px 3px rgba(0,0,0,.6),
    0 4px 12px rgba(0,0,0,.5),
    0 8px 32px rgba(0,0,0,.35);
}
.hero .lead {
  font-size: 20px; color: rgba(255,255,255,.98);
  max-width: none; margin-bottom: 32px;
  white-space: nowrap;
  text-shadow:
    0 1px 3px rgba(0,0,0,.6),
    0 2px 10px rgba(0,0,0,.45);
}
.hero-social-proof {
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }

.btn-ghost-light {
  background: rgba(15, 23, 42, .35); color: #fff;
  border: 1.5px solid #fff;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.btn-ghost-light:hover {
  background: #fff; color: var(--c-fg); border-color: #fff;
  text-shadow: none;
}

.hero-social-proof {
  margin: 0; font-size: 14px; color: rgba(255,255,255,.92);
  letter-spacing: .01em;
}
.hero-social-proof strong { color: #fff; font-weight: 700; }

/* ===== Hero stats band ===== */
.hero-stats-band {
  background: #0a1220;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.hero-stats li {
  display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid rgba(255,255,255,.10);
  padding: 4px 0;
}
.hero-stats li:last-child { border-right: 0; }
.hero-stats strong {
  font-size: 30px; font-weight: 800; color: #fff;
  letter-spacing: -.02em; line-height: 1;
}
.hero-stats span {
  font-size: 13px; color: rgba(255,255,255,.65);
  margin-top: 6px;
}

/* ===== Trust strip thin (top) ===== */
.trust-strip-thin {
  padding: 28px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}
.trust-line {
  text-align: center; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-muted); margin: 0 0 14px;
}
.trust-logos-thin {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 36px;
  font-weight: 600; color: var(--c-fg-soft); opacity: .7;
}
.trust-logos-thin span {
  font-size: 15px; letter-spacing: -.005em;
  filter: grayscale(1); transition: opacity .2s, filter .2s;
}
.trust-logos-thin span:hover { opacity: 1; filter: grayscale(0); color: var(--c-fg); }

/* ===== Section base ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head.row {
  display: flex; align-items: end; justify-content: space-between; text-align: left;
}
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15; letter-spacing: -.02em; font-weight: 800;
  margin: 14px 0 10px;
}
.section-sub { color: var(--c-fg-soft); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ===== Page hero (sub-page header) ===== */
.page-hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    linear-gradient(rgba(10,18,32,.55), rgba(10,18,32,.55)),
    url("../img/hero.avif") center / cover no-repeat;
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1; font-weight: 800; letter-spacing: -.02em;
  margin: 16px 0 12px; color: #fff;
}
.page-hero-sub {
  font-size: 18px; color: rgba(255,255,255,.85); margin: 0;
}

/* ===== Intro pair (2 cards with photo + body) ===== */
.intro-pair {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.intro-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.intro-photo {
  aspect-ratio: 16/10; overflow: hidden; background: var(--c-bg-alt);
  position: relative;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.intro-photo.placeholder::after {
  content: "📷 Image"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-weight: 600;
}
.intro-body { padding: 32px 28px; }
.intro-body h2 {
  font-size: 24px; font-weight: 800; margin: 0 0 12px;
  letter-spacing: -.01em;
}
.intro-body p {
  color: var(--c-fg-soft); font-size: 15px; line-height: 1.7; margin: 0;
}

/* ===== Course detail page (TESOL etc) ===== */
.breadcrumb {
  font-size: 13px; color: rgba(255,255,255,.75);
  margin: 0 0 12px;
}
.breadcrumb a { color: rgba(255,255,255,.95); }
.breadcrumb a:hover { color: #fff; }

.utap-card {
  background:
    linear-gradient(135deg, rgba(26,35,50,.82) 0%, rgba(10,18,32,.92) 100%),
    url("../img/courses/utap-bg.avif") center/cover no-repeat,
    linear-gradient(135deg, #1a2332 0%, #0a1220 100%);
  color: #fff; border-color: transparent;
}
.utap-card .intro-body h2,
.utap-card .intro-body p { color: #fff; }
.utap-card .intro-body p { color: rgba(255,255,255,.85); }
.utap-card .btn-outline {
  border-color: rgba(255,255,255,.5); color: #fff;
}
.utap-card .btn-outline:hover { background: #fff; color: var(--c-fg); border-color: #fff; }
.utap-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-cta); background: #fff;
  padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}

/* Course fees */
.fees-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px;
}
.fee-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 28px 26px;
  display: flex; flex-direction: column;
}
.fee-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-fg-soft);
  margin-bottom: 10px;
}
.fee-card.highlight {
  background:
    linear-gradient(135deg, rgba(15,23,42,.78) 0%, rgba(2,6,23,.92) 100%),
    url("../img/courses/ssg-bg.avif") center/cover no-repeat,
    var(--c-fg);
  color: #fff; border-color: var(--c-fg);
  text-align: center; align-items: center; justify-content: center;
}
.fee-card.highlight .fee-tag { color: rgba(255,255,255,.6); }
.fee-grant {
  font-size: 36px; font-weight: 800; color: #fff; margin: 4px 0;
  letter-spacing: -.02em;
}
.fee-grant strong { color: var(--c-cta); }
.fee-card.highlight .fee-grant strong { color: #fff; }
.fee-label { font-size: 13px; color: rgba(255,255,255,.78); margin: 0; }
.fee-card p { font-size: 14px; line-height: 1.7; color: var(--c-fg-soft); margin: 0 0 18px; flex: 1; }
.fee-card.highlight p { margin: 0; flex: none; }

/* Trust signals */
.trust-signals-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 800px; margin: 0 auto;
}
.trust-stat {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 32px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.trust-stat-logo { width: 80px; height: auto; margin-bottom: 10px; }
.trust-stat-num {
  font-size: 56px; font-weight: 800; color: var(--c-cta);
  margin: 0; line-height: 1; letter-spacing: -.03em;
}
.trust-stat-num sup { font-size: 26px; font-weight: 700; }
.trust-stat-label {
  margin: 12px 0 0; font-size: 13px; color: var(--c-fg);
  font-weight: 600; line-height: 1.4;
}
.trust-stat-footnote {
  text-align: center; max-width: 720px; margin: 28px auto 0;
  font-size: 12px; color: var(--c-fg-soft); line-height: 1.7;
}

/* Module cards */
.module-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 8px;
}
.module-card {
  background: var(--c-bg-alt); border-radius: var(--r-sm);
  padding: 18px 20px;
}
.module-card h4 {
  font-size: 14px; font-weight: 800; margin: 0 0 10px;
  color: var(--c-fg);
}

/* Related courses */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.related-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-photo {
  aspect-ratio: 16/10; background: var(--c-bg-alt);
  position: relative; overflow: hidden;
}
.related-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.related-photo.placeholder::after {
  content: "📷"; position: absolute; inset: 0; font-size: 32px;
  display: flex; align-items: center; justify-content: center;
}
.related-body { padding: 22px 24px; }
.related-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.related-link { font-size: 14px; font-weight: 600; color: var(--c-cta); }

/* Enroll banner */
.enroll-banner {
  background: var(--c-fg); color: #fff;
  border-radius: var(--r-lg); padding: 56px 48px;
  text-align: center;
}
.enroll-banner h2 {
  color: #fff; font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em;
}
.enroll-banner p {
  color: rgba(255,255,255,.75); margin: 0 0 24px; font-size: 16px;
}

/* ===== Teachers page ===== */
.teacher-profile {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
}
.teacher-profile:first-child { padding-top: 0; }
.teacher-profile:last-child { border-bottom: 0; }
.teacher-profile:nth-child(even) {
  grid-template-columns: 1fr 320px;
}
.teacher-profile:nth-child(even) .teacher-profile-photo { order: 2; }

.teacher-profile-photo {
  aspect-ratio: 1/1; border-radius: var(--r-lg);
  overflow: hidden; background: var(--c-bg-alt);
  position: relative; box-shadow: var(--shadow-sm);
}
.teacher-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teacher-profile-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.teacher-profile-photo.placeholder::after {
  content: "👤"; position: absolute; inset: 0; font-size: 60px;
  display: flex; align-items: center; justify-content: center;
}

.teacher-profile-body { padding-top: 8px; }
.teacher-role {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-cta);
  margin: 0 0 8px;
}
.teacher-profile-body h2 {
  font-size: clamp(28px, 3vw, 36px); font-weight: 800;
  margin: 0 0 18px; letter-spacing: -.01em;
}
.teacher-profile-body p {
  font-size: 15px; line-height: 1.8; color: var(--c-fg);
  margin: 0 0 14px;
}

.teacher-socials {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; gap: 18px;
}
.teacher-socials a {
  font-size: 13px; font-weight: 600; color: var(--c-fg-soft);
  text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.teacher-socials a:hover {
  color: var(--c-cta); border-color: var(--c-cta);
}

/* ===== News page ===== */
.news-filters {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 16px;
}
.news-filter {
  background: transparent; border: 1px solid var(--c-line);
  padding: 8px 16px; border-radius: var(--r-pill);
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--c-fg-soft); cursor: pointer;
  transition: all .15s ease;
}
.news-filter:hover { color: var(--c-fg); border-color: var(--c-line-strong); }
.news-filter.active {
  background: var(--c-fg); color: #fff; border-color: var(--c-fg);
}
.news-grid .blog-card.is-hidden { display: none; }

/* ===== Student Information page ===== */
.guide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.guide-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 32px 28px;
  display: flex; flex-direction: column;
}
.guide-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-cta); background: rgba(198,30,45,.08);
  padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: 16px; align-self: flex-start;
}
.guide-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.guide-sub { font-size: 13px; color: var(--c-fg-soft); margin: 0 0 8px; }
.guide-list {
  list-style: none; padding: 0; margin: 0 0 22px; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.guide-list li {
  font-size: 14px; line-height: 1.55; color: var(--c-fg);
  padding-left: 16px; position: relative;
}
.guide-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--c-cta);
}

.info-card-wide {
  max-width: 880px; margin: 0 auto;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 48px 44px;
}
.info-card-wide h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 14px 0 16px; font-weight: 800; letter-spacing: -.01em;
}
.info-card-wide p {
  font-size: 15px; line-height: 1.8; color: var(--c-fg); margin: 0 0 14px;
}
.info-note { font-size: 13px; color: var(--c-fg-soft); margin: 4px 0 !important; }

.process-chart {
  margin: 0 auto 48px; max-width: 980px; text-align: center;
}
.process-chart img {
  max-width: 100%; height: auto; display: block; margin: 0 auto;
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  background: #fff; padding: 16px;
}
.process-chart.placeholder img { display: none; }
.process-chart.placeholder::before {
  content: "📊 Application Process Chart"; display: block; padding: 100px 20px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: var(--r-lg); color: #64748b; font-weight: 600;
}
.process-chart figcaption {
  margin-top: 12px; font-size: 13px; color: var(--c-fg-soft);
}

.info-grid-2col {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.info-block {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.info-block h3 {
  font-size: 17px; font-weight: 800; margin: 0 0 16px;
  letter-spacing: -.01em;
}
.info-block p {
  font-size: 14px; line-height: 1.75; color: var(--c-fg); margin: 0 0 12px;
}

.step-list {
  padding-left: 20px; margin: 0;
  font-size: 14px; line-height: 1.8; color: var(--c-fg);
}
.step-list li { margin-bottom: 10px; }

.doc-list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.doc-list li {
  font-size: 14px; line-height: 1.6; color: var(--c-fg);
  padding-left: 22px; position: relative;
}
.doc-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--c-cta); font-weight: 700;
}

.info-note-box {
  background: var(--c-bg-alt); border-left: 4px solid var(--c-cta);
  padding: 14px 18px; border-radius: var(--r-sm);
  font-size: 13px; line-height: 1.7; color: var(--c-fg-soft);
}
.info-note-box strong { color: var(--c-fg); }

/* FAQ accordion */
.faq-list {
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; cursor: pointer;
  list-style: none;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "▾"; margin-left: auto;
  font-size: 14px; color: var(--c-fg-soft);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-num {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--c-cta); min-width: 28px;
}
.faq-q { font-size: 15px; color: var(--c-fg); }
.faq-body {
  padding: 0 24px 22px 68px;
  font-size: 14px; line-height: 1.75; color: var(--c-fg-soft);
}
.faq-body p { margin: 0 0 12px; }
.faq-body p:last-child { margin: 0; }

.faq-download {
  display: flex; align-items: center; gap: 14px;
  background: var(--c-bg-alt); padding: 14px 18px;
  border-radius: var(--r-sm); text-decoration: none;
  color: var(--c-fg); transition: background .15s ease;
}
.faq-download:hover { background: rgba(198,30,45,.06); text-decoration: none; }
.faq-download-icon { font-size: 24px; }
.faq-download strong { display: block; font-size: 14px; color: var(--c-fg); }
.faq-download-meta { display: block; font-size: 12px; color: var(--c-fg-soft); margin-top: 2px; }
.faq-download-cta { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--c-cta); }

/* ===== About page ===== */
.about-intro {
  max-width: 820px; margin: 0 auto;
  font-size: 18px; line-height: 1.8; color: var(--c-fg);
  text-align: center;
}
.about-intro p { margin: 0; }

.about-points {
  list-style: none; padding: 0; margin: 0 auto; max-width: 860px;
  display: flex; flex-direction: column; gap: 16px;
}
.about-points li {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 18px 24px 18px 54px;
  position: relative;
  font-size: 15px; line-height: 1.7; color: var(--c-fg);
}
.about-points li::before {
  content: "✔"; position: absolute; left: 18px; top: 18px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-cta); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

.why-choose {
  max-width: 860px; margin: 0 auto;
}
.why-choose-text {
  font-size: 17px; line-height: 1.8; color: var(--c-fg); margin: 0 0 28px;
}
.why-choose-tag {
  background: var(--c-bg-alt); border-left: 4px solid var(--c-cta);
  padding: 20px 24px; border-radius: var(--r-sm);
}
.why-choose-tag p {
  margin: 8px 0 0; color: var(--c-fg-soft); font-size: 15px; line-height: 1.7;
}

/* Culture (Vision / Mission / Values) */
.culture-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.culture-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.culture-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-brand);
  background: rgba(200,16,46,.08); padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.culture-card p {
  font-size: 15px; line-height: 1.75; color: var(--c-fg); margin: 0;
}
.values-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.values-list li {
  font-size: 14px; line-height: 1.7; color: var(--c-fg);
  padding-left: 16px; position: relative;
}
.values-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-cta);
}
.values-list strong { color: var(--c-fg); }

/* Organisation chart */
.org-chart {
  margin: 0 auto; max-width: 880px; text-align: center;
}
.org-chart img {
  max-width: 100%; height: auto; display: block; margin: 0 auto;
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  background: var(--c-bg-alt); padding: 20px;
}
.org-chart.placeholder img { display: none; }
.org-chart.placeholder::before {
  content: "📊 Organisation chart"; display: block; padding: 80px 20px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: var(--r-lg); color: #64748b; font-weight: 600;
}
.org-chart figcaption {
  margin-top: 16px; font-size: 13px; color: var(--c-fg-soft); line-height: 1.6;
}
.org-chart figcaption a { color: var(--c-cta); font-weight: 600; }

/* Facilities */
.facilities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.facility-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.facility-photo {
  aspect-ratio: 16/9; background: var(--c-bg-alt); position: relative; overflow: hidden;
}
.facility-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facility-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.facility-photo.placeholder::after {
  content: "📷 Facility photo"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-weight: 600;
}
.facility-body { padding: 24px 26px; }
.facility-body h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-brand);
  margin: 0 0 10px;
}
.facility-body p {
  font-size: 14px; line-height: 1.7; color: var(--c-fg-soft); margin: 0;
}

/* Leadership team */
.leader-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 760px; margin: 0 auto;
}
.leader-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; align-items: center; gap: 20px;
}
.leader-photo {
  width: 96px; height: 96px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: var(--c-bg-alt); position: relative;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.leader-photo.placeholder::after {
  content: "👤"; position: absolute; inset: 0; font-size: 32px;
  display: flex; align-items: center; justify-content: center;
}
.leader-body h3 {
  font-size: 18px; font-weight: 800; margin: 0 0 4px; letter-spacing: -.01em;
}
.leader-role { font-size: 14px; color: var(--c-fg-soft); margin: 0 0 10px; }
.leader-link { font-size: 14px; font-weight: 600; color: var(--c-cta); }

/* Teachers grid (about page) */
.teachers-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.teacher-card {
  margin: 0; text-align: center;
}
.teacher-card .teacher-photo {
  aspect-ratio: 1/1; border-radius: 50%;
  overflow: hidden; background: var(--c-bg-alt);
  position: relative; margin: 0 auto 12px;
  width: 100%; max-width: 140px;
}
.teacher-card .teacher-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teacher-card .teacher-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.teacher-card .teacher-photo.placeholder::after {
  content: "👤"; position: absolute; inset: 0; font-size: 36px;
  display: flex; align-items: center; justify-content: center;
}
.teacher-card figcaption strong {
  display: block; font-size: 14px; color: var(--c-fg);
  font-weight: 700; margin-bottom: 2px;
}
.teacher-card figcaption span {
  display: block; font-size: 12px; color: var(--c-fg-soft); line-height: 1.4;
}

/* ===== Contact page ===== */
.contact-hero {
  background:
    linear-gradient(rgba(10,18,32,.55), rgba(10,18,32,.55)),
    url("../img/hero.avif") center / cover no-repeat;
}

.contact-tiles-wrap { padding: 56px 0 32px; }
.contact-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.contact-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  color: var(--c-fg);
  text-decoration: none;
}
.contact-tile:hover {
  transform: translateY(-3px);
  border-color: var(--c-cta);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.ct-icon { font-size: 24px; margin-bottom: 4px; }
.ct-label {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-fg-soft);
}
.ct-value { font-size: 16px; font-weight: 700; color: var(--c-fg); margin-top: 2px; }
.ct-meta { font-size: 12px; color: var(--c-fg-soft); margin-top: 2px; }

.contact-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px;
  align-items: start;
}

/* Form */
.contact-form-wrap { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 40px 36px; }
.contact-form-head { text-align: left; margin-bottom: 24px; }
.contact-form-head h2 { font-size: 28px; font-weight: 800; margin: 10px 0 8px; letter-spacing: -.01em; }
.contact-form-head p { color: var(--c-fg-soft); font-size: 15px; line-height: 1.6; margin: 0; }

.contact-form .field { display: flex; flex-direction: column; margin-bottom: 16px; }
.contact-form .field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-form label {
  font-size: 13px; font-weight: 600; color: var(--c-fg);
  margin-bottom: 6px;
}
.contact-form .req { color: var(--c-cta); }
.contact-form .opt { color: var(--c-fg-soft); font-weight: 400; font-size: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit; font-size: 15px; color: var(--c-fg);
  padding: 12px 14px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-cta);
  box-shadow: 0 0 0 3px rgba(198,30,45,.12);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent {
  font-size: 12px; color: var(--c-fg-soft); margin: 4px 0 18px;
}
.form-consent a { color: var(--c-fg); text-decoration: underline; }

/* Contact Form 7 — match the themed form styling */
.wpcf7-form .field { display: flex; flex-direction: column; margin-bottom: 16px; }
.wpcf7-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7-form label {
  font-size: 13px; font-weight: 600; color: var(--c-fg);
  margin-bottom: 6px; display: block;
}
.wpcf7-form .req { color: var(--c-cta); }
.wpcf7-form .opt { color: var(--c-fg-soft); font-weight: 400; font-size: 12px; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  font-family: inherit; font-size: 15px; color: var(--c-fg);
  padding: 12px 14px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--c-cta);
  box-shadow: 0 0 0 3px rgba(198,30,45,.12);
}
.wpcf7-form textarea { resize: vertical; min-height: 140px; }
/* Validation tips & response messages */
.wpcf7-form .wpcf7-not-valid-tip {
  display: block; color: var(--c-cta); font-size: 12px; font-weight: 600; margin-top: 6px;
}
.wpcf7-form .wpcf7-not-valid {
  border-color: var(--c-cta) !important;
}
.wpcf7-form .wpcf7-response-output {
  margin: 18px 0 0; padding: 12px 16px;
  border-radius: var(--r-sm); font-size: 14px; line-height: 1.5;
}
.wpcf7-form .wpcf7-spinner { margin: 0 0 0 10px; }

/* Side panel */
.contact-side {
  display: flex; flex-direction: column; gap: 28px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.side-block h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-brand);
  margin: 0 0 10px;
}
.side-block p { font-size: 15px; line-height: 1.7; color: var(--c-fg); margin: 0; }
.side-hours { width: 100%; border-collapse: collapse; }
.side-hours th, .side-hours td { font-size: 14px; padding: 6px 0; text-align: left; vertical-align: top; }
.side-hours th { color: var(--c-fg-soft); font-weight: 500; padding-right: 16px; white-space: nowrap; }
.side-hours td { color: var(--c-fg); font-weight: 600; }

.side-trust {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--c-line);
}
.side-trust img { width: 64px; height: auto; border-radius: 4px; }
.side-trust p { font-size: 13px; color: var(--c-fg-soft); margin: 0; line-height: 1.5; }

/* ===== Kids — Why Parents Choose CEC ===== */
.kids-why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.kids-why-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.kids-why-photo {
  aspect-ratio: 4/3; background: var(--c-bg-alt); position: relative; overflow: hidden;
}
.kids-why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kids-why-photo.placeholder { background: linear-gradient(135deg, #fff7e6, #fde68a); }
.kids-why-photo.placeholder::after {
  content: "📷"; font-size: 32px; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.kids-why-card h3 {
  font-size: 17px; font-weight: 800; margin: 18px 22px 10px;
  letter-spacing: -.01em; line-height: 1.3;
}
.kids-why-card p {
  font-size: 14px; line-height: 1.65; color: var(--c-fg-soft);
  margin: 0 22px 22px;
}

/* ===== Kids — Programme details ===== */
.age-line {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--c-cta); background: rgba(198,30,45,.08);
  padding: 4px 12px; border-radius: var(--r-pill);
  margin: 0 0 16px;
}
.course-desc {
  color: var(--c-fg); font-size: 15px; line-height: 1.7; margin: 0 0 16px;
}
.schedule-table {
  list-style: none; padding: 0; margin: 0 0 18px;
  border-top: 1px solid var(--c-line);
}
.schedule-table li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.sch-name { color: var(--c-fg); font-weight: 600; }
.sch-time { color: var(--c-fg-soft); text-align: right; }

.addon-box {
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-cta);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  margin: 8px 0 18px;
}
.addon-title {
  font-size: 13px; font-weight: 700; color: var(--c-fg);
  margin: 0 0 4px; letter-spacing: .02em;
}
.addon-box p:last-child {
  margin: 0; font-size: 13px; color: var(--c-fg-soft); line-height: 1.6;
}
.addon-box .muted { color: var(--c-fg-soft); }

/* Kids hero — slightly warmer feel */
.kids-hero {
  background:
    linear-gradient(rgba(10,18,32,.5), rgba(10,18,32,.5)),
    url("../img/hero.avif") center / cover no-repeat;
}

/* ===== Enrichment intro (text + 2 photos) ===== */
.enrichment-intro {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: start;
}
.enrichment-intro-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2; letter-spacing: -.02em;
  margin: 0 0 24px; font-weight: 800;
}
.enrichment-intro-copy p {
  font-size: 16px; line-height: 1.8; color: var(--c-fg-soft);
  margin: 0 0 16px;
}
.enrichment-intro-photos {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.enrichment-photo {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--c-bg-alt); position: relative;
  aspect-ratio: 4/3;
}
.enrichment-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.enrichment-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.enrichment-photo.placeholder::after {
  content: "📷 Image"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-weight: 600;
}

/* ===== Steps (Admission Process) ===== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.step-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.step-number {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-cta);
}
.step-icon {
  width: 80px; height: 80px; margin: 12px 0 12px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%;
  border: 1px solid var(--c-line);
  font-size: 28px;
  overflow: hidden;
}
.step-icon img {
  width: 56px; height: 56px; object-fit: contain;
}
.step-card h3 {
  font-size: 20px; font-weight: 800; margin: 8px 0 12px;
  letter-spacing: -.01em;
}
.step-card p {
  color: var(--c-fg-soft); font-size: 14px; line-height: 1.7; margin: 0 0 8px;
}
.step-card p:last-child { margin-bottom: 0; }
.step-card a { color: var(--c-cta); font-weight: 600; }
.admission-note {
  text-align: center; margin: 36px auto 0; max-width: 720px;
  font-size: 14px; color: var(--c-fg-soft); line-height: 1.7;
}
.admission-note a { color: var(--c-cta); font-weight: 600; }

/* ===== Academic course list (alternating image + content) ===== */
.academic-list {
  display: flex; flex-direction: column; gap: 36px;
}
.academic-card {
  display: grid; grid-template-columns: 1.1fr 1.3fr; gap: 36px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  align-items: stretch;
}
.academic-card:nth-child(even) { grid-template-columns: 1.3fr 1.1fr; }
.academic-card:nth-child(even) .academic-photo { order: 2; }
.academic-photo {
  background: var(--c-bg-alt); position: relative; min-height: 280px;
}
.academic-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.academic-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.academic-photo.placeholder::after {
  content: "📷 Course image"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-weight: 600;
}
.academic-body {
  padding: 36px 36px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.academic-body h3 {
  font-size: 26px; font-weight: 800; margin: 0 0 16px;
  letter-spacing: -.01em; line-height: 1.25;
}
.rec-label {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-fg);
  margin: 0 0 8px;
}
.rec-list {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.rec-list li {
  font-size: 14px; color: var(--c-fg);
  padding-left: 18px; position: relative; line-height: 1.6;
}
.rec-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-cta);
}
.schedule-line {
  font-size: 14px; color: var(--c-fg-soft); margin: 0 0 18px;
}
.schedule-line strong { color: var(--c-fg); font-weight: 700; }

/* ===== Bottom CTAs ===== */
.bottom-ctas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.bottom-cta {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 36px 32px;
  display: flex; flex-direction: column;
}
.bottom-cta h3 {
  font-size: 20px; font-weight: 800; margin: 0 0 12px;
  letter-spacing: -.01em;
}
.bottom-cta p {
  color: var(--c-fg-soft); font-size: 14px; line-height: 1.7;
  margin: 0 0 22px; flex-grow: 1;
}
.bottom-cta.highlight {
  background: var(--c-fg); color: #fff; border-color: var(--c-fg);
}
.bottom-cta.highlight h3 { color: #fff; }
.bottom-cta.highlight p { color: rgba(255,255,255,.78); }


/* ===== Course tracks (4 categories) ===== */
.course-tracks {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.track-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.track-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-line-strong);
}
.track-photo {
  aspect-ratio: 16/9; overflow: hidden; background: var(--c-bg-alt);
  position: relative;
}
.track-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-photo.placeholder {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.track-photo.placeholder::after {
  content: "📷 Course image"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-weight: 600;
}
.track-body { padding: 28px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.track-body h3 {
  font-size: 22px; font-weight: 800; margin: 0 0 4px;
  letter-spacing: -.01em;
}
.track-age { font-size: 13px; color: var(--c-fg-soft); margin: 0 0 16px; font-weight: 500; }
.track-list {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px;
}
.track-list li {
  font-size: 14px; color: var(--c-fg);
  padding-left: 16px; position: relative;
}
.track-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--c-cta);
}
.track-note {
  font-size: 12px; color: var(--c-fg-soft);
  margin: 4px 0 18px; line-height: 1.5;
}
.track-note strong { color: var(--c-fg); font-weight: 700; }
.track-actions {
  display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap;
}

.course-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-line-strong);
}
.course-card.featured {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 1px var(--c-brand) inset;
}
.course-card.kids { background: linear-gradient(135deg, #fff7e6, #fffbf0); border-color: #fde68a; }
.card-badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--c-brand); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.course-icon { font-size: 30px; margin-bottom: 12px; }
.course-card h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; line-height: 1.3; }
.course-card p { color: var(--c-fg-soft); font-size: 14px; margin: 0 0 16px; flex-grow: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.meta-pill {
  font-size: 12px; padding: 4px 10px; background: var(--c-bg-alt);
  border-radius: var(--r-pill); color: var(--c-fg-soft); font-weight: 500;
}

.cefr-bar {
  display: flex; gap: 4px; margin-bottom: 16px;
}
.cefr-bar i {
  width: 14px; height: 6px; border-radius: 3px; background: var(--c-line);
  display: block;
}
.cefr-bar[data-level="1"] i:nth-child(-n+1),
.cefr-bar[data-level="2"] i:nth-child(-n+2),
.cefr-bar[data-level="3"] i:nth-child(-n+3),
.cefr-bar[data-level="4"] i:nth-child(-n+4),
.cefr-bar[data-level="5"] i:nth-child(-n+5),
.cefr-bar[data-level="6"] i:nth-child(-n+6) { background: var(--c-cta); }

.course-link {
  font-weight: 600; color: var(--c-fg); font-size: 14px;
  margin-top: auto;
}
.course-link:hover { color: var(--c-brand); text-decoration: none; }

/* ===== Why intro (split header + EduTrust badge) ===== */
.why-intro {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px;
  align-items: center; margin-bottom: 56px;
}
.why-intro-copy h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15; letter-spacing: -.02em;
  margin: 14px 0 24px; font-weight: 800;
}
.check-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.check-list li {
  font-size: 16px; font-weight: 600; color: var(--c-fg);
  padding-left: 32px; position: relative;
}
.check-list li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-cta); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.why-intro-badge {
  display: flex; justify-content: center; align-items: center;
}
.why-intro-badge img {
  max-width: 280px; width: 100%; height: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.08));
}

/* ===== Why grid ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.why-item {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r); padding: 28px 24px;
}
.why-icon { font-size: 30px; margin-bottom: 12px; }
.why-item h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.why-item p { color: var(--c-fg-soft); font-size: 14px; margin: 0; }

/* ===== Access ===== */
.access-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  align-items: start;
}
.access-block { margin-bottom: 32px; }
.access-block:last-child { margin-bottom: 0; }
.access-block h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-brand);
  margin: 0 0 12px;
}
.access-block p {
  font-size: 17px; line-height: 1.7; color: var(--c-fg);
  margin: 0;
}
.access-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 15px; line-height: 1.55;
}
.access-list > li {
  padding-left: 32px; position: relative;
}
.access-icon {
  position: absolute; left: 0; top: 0;
  font-size: 18px; line-height: 1.2;
}
.access-sublist {
  list-style: none; padding: 0;
  margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 14px; color: var(--c-fg-soft);
}
.access-sublist li { padding-left: 14px; position: relative; }
.access-sublist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--c-line-strong);
}

.access-photos {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.access-photo {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--c-bg-alt); position: relative;
  aspect-ratio: 16/10;
}
.access-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.access-photo.placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.access-photo.placeholder::after {
  content: "📷 Access photo"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-weight: 600;
}

.access-map {
  margin-top: 40px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}

/* ===== Teachers grid ===== */
.teacher-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  margin-bottom: 32px;
}
.teacher { text-align: center; margin: 0; }
.teacher-photo {
  aspect-ratio: 1/1; border-radius: var(--r);
  overflow: hidden; background: var(--c-bg-alt);
  margin-bottom: 12px; transition: transform .2s ease;
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-photo.placeholder {
  background:
    radial-gradient(circle at 50% 35%, #cbd5e1 0 22%, transparent 22%),
    radial-gradient(circle at 50% 95%, #cbd5e1 0 32%, transparent 32%),
    linear-gradient(180deg, #f1f5f9, #e2e8f0);
}
.teacher:hover .teacher-photo { transform: translateY(-3px); }
.teacher figcaption strong { display: block; font-size: 15px; font-weight: 700; }
.teacher figcaption span { font-size: 12px; color: var(--c-fg-soft); }

.center { text-align: center; }

/* ===== Free Level Test intro ===== */
.level-intro {
  padding: 100px 0;
  width: 100%;
  background:
    linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)),
    url("../img/office.avif") center / cover no-repeat;
}
.level-intro .container { padding-left: 24px; padding-right: 24px; }
.level-intro-card {
  max-width: 760px; margin: 0 auto;
  background: transparent;
  padding: 0;
  text-align: center;
}
.level-intro-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3; letter-spacing: -.01em;
  margin: 14px 0 18px; font-weight: 800;
}
.level-intro-lead {
  font-size: 17px; color: var(--c-fg);
  font-weight: 600; line-height: 1.7;
  margin: 0 0 24px;
}
.level-intro-lead sup { color: var(--c-brand); font-weight: 700; }
.level-intro-body {
  color: var(--c-fg-soft); font-size: 15px; line-height: 1.8;
  margin: 0 0 20px;
}
.level-intro-body p { margin: 4px 0; }
.level-intro-note {
  font-size: 12px; color: var(--c-fg-soft);
  background: var(--c-bg-alt);
  padding: 10px 16px; border-radius: var(--r-sm);
  margin: 0 0 28px; line-height: 1.55;
}
.cta-row.center { justify-content: center; margin-bottom: 0; }

/* Photo-backed level-intro: ensure outline button stays legible over the image */
.level-intro .btn-outline {
  background: #fff;
  color: var(--c-fg);
  border-color: var(--c-fg);
}
.level-intro .btn-outline:hover {
  background: var(--c-fg);
  color: #fff;
  border-color: var(--c-fg);
}

/* ===== Testimonials ===== */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testi-card {
  background: #fff; padding: 28px;
  border-radius: var(--r); border: 1px solid var(--c-line);
}
.testi-head {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
}
.testi-photo-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.testi-stars {
  color: #FFD700; font-size: 12px; letter-spacing: 1px; line-height: 1;
}
.testi-head > div:not(.testi-photo-wrap) { padding-top: 4px; }
.testi-photo {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, #c61e2d 0%, #ec4960 100%);
  color: #fff; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-photo.placeholder {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.testi-photo .g-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 1.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #4285F4;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
  font-family: -apple-system, "Helvetica Neue", sans-serif;
}
.testi-head strong { display: block; font-size: 16px; font-weight: 700; }
.testi-head .flag { font-size: 13px; color: var(--c-fg-soft); }
.testi-meta {
  display: block; font-size: 13px; color: var(--c-fg-soft);
  margin-top: 2px; line-height: 1.4;
}
.testi-card blockquote {
  margin: 0 0 14px; font-size: 16px; color: var(--c-fg);
  font-style: normal; line-height: 1.55;
  border: 0; padding: 0;
}
.testi-note {
  margin: 28px auto 0; max-width: 820px; text-align: center;
  font-size: 13px; color: var(--c-fg-soft); line-height: 1.6;
}
.rating { color: #f59e0b; font-size: 16px; letter-spacing: .1em; }

/* ===== CTA banner ===== */
.cta-banner {
  background:
    radial-gradient(600px 300px at 80% 50%, rgba(14,165,163,.4), transparent),
    linear-gradient(135deg, var(--c-accent) 0%, #082541 100%);
  color: #fff; padding: 72px 0;
}
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-banner h2 {
  font-size: clamp(28px, 3vw, 38px); margin: 14px 0 10px;
  font-weight: 800; letter-spacing: -.02em;
}
.cta-banner p { color: rgba(255,255,255,.8); margin: 0; max-width: 540px; }

/* ===== Blog grid ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb { display: block; aspect-ratio: 16/9; background: var(--c-bg-alt); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb.placeholder { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.blog-body { padding: 22px 24px; }
.blog-body .cat {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-brand);
}
.blog-body h3 {
  font-size: 17px; margin: 6px 0 10px; line-height: 1.4;
  font-weight: 700; color: var(--c-fg);
}
.blog-body h3 a { color: inherit; text-decoration: none; }
.blog-body h3 a:hover { color: var(--c-brand); }
.blog-body .excerpt {
  font-size: 14px; line-height: 1.6; color: var(--c-muted);
  margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-body .date { font-size: 13px; color: var(--c-muted); }
.link-more { font-weight: 600; color: var(--c-fg); }
.link-more:hover { color: var(--c-brand); text-decoration: none; }

/* ===== Trust strip (footer above) ===== */
.trust-strip {
  padding: 48px 0;
  background: #fff; border-top: 1px solid var(--c-line);
}
.trust-logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.trust-logo {
  background: var(--c-bg-alt); border: 1px solid var(--c-line);
  padding: 20px 16px; border-radius: var(--r);
  text-align: center; font-weight: 700; color: var(--c-fg-soft);
  font-size: 13px; line-height: 1.3;
  filter: grayscale(1); transition: filter .2s ease, color .2s ease, transform .2s ease;
  cursor: pointer;
}
.trust-logo span { font-weight: 500; font-size: 11px; opacity: .8; }
.trust-logo:hover {
  filter: grayscale(0); color: var(--c-fg); transform: translateY(-2px);
}

/* ===== Footer ===== */
.site-footer {
  background: #0a0f1c; color: #cbd5e1;
  padding: 72px 0 0;
}
.site-footer h4 {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px; font-weight: 700;
}
.site-footer a { color: #cbd5e1; font-size: 14px; transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }

/* Footer info row (3 columns) */
.footer-info {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list li { font-size: 14px; }
.footer-address { font-size: 14px; line-height: 1.75; color: #cbd5e1; margin: 0; }
.footer-hours { width: 100%; border-collapse: collapse; }
.footer-hours th, .footer-hours td {
  text-align: left; padding: 6px 0; font-size: 14px; font-weight: 400;
  vertical-align: top;
}
.footer-hours th { color: #94a3b8; padding-right: 18px; white-space: nowrap; }
.footer-hours td { color: #fff; font-weight: 500; }

/* Footer middle row (brand + connect) */
.footer-mid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-edutrust {
  width: 110px; height: auto; display: block;
  background: #fff; padding: 6px; border-radius: var(--r-sm);
}
.footer-connect h4 { margin-bottom: 14px; }

.socials { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border-radius: 50%; overflow: hidden;
  transition: background .15s ease, transform .15s ease;
  padding: 6px;
}
.socials a:hover { background: rgba(255,255,255,.18); text-decoration: none; transform: translateY(-2px); }
.socials a img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}

/* Quick navigation */
.footer-nav { padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-nav ul {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px;
}
.footer-nav ul li { font-size: 14px; }

/* Partner logo */
.footer-partner {
  padding: 32px 0; text-align: center;
}
.footer-partner img {
  max-width: 360px; width: 100%; height: auto;
  background: #fff; padding: 14px 20px; border-radius: var(--r-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  margin-top: 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom small { color: #94a3b8; font-size: 13px; }
.footer-bottom small a { color: #cbd5e1; }

/* ===== Floating contact ===== */
.float-contact {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
}
.fc-toggle {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-cta); color: #fff;
  border: 0; cursor: pointer;
  padding: 14px 20px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; font-family: inherit;
  box-shadow: 0 8px 24px rgba(15,155,110,.4);
  transition: transform .15s ease, background .15s ease;
}
.fc-toggle:hover { transform: scale(1.04); background: var(--c-cta-dark); }
.fc-icon { font-size: 18px; }
.fc-menu {
  position: absolute; bottom: 64px; right: 0;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r); padding: 8px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 220px;
}
.fc-menu[hidden] { display: none; }
.fc-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; color: var(--c-fg);
  border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
}
.fc-item:hover { background: var(--c-bg-alt); text-decoration: none; }
.fc-item.primary {
  background: var(--c-bg-alt); color: var(--c-cta-dark); font-weight: 700;
  margin-top: 4px; border-top: 1px solid var(--c-line);
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .primary-nav a { font-size: 12px; padding: 6px 7px; }
  .header-actions .btn-sm { padding: 6px 10px; font-size: 11px; }
  .lang-toggle { padding: 5px 8px; font-size: 12px; }
  .header-inner { gap: 10px; }
}

@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-info { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-nav ul { grid-template-columns: repeat(3, 1fr); }
  .course-tracks { gap: 22px; }
  .kids-why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-tiles { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .culture-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .info-grid-2col { grid-template-columns: 1fr; }
  .fees-grid { grid-template-columns: 1fr; }
  .trust-signals-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .hamburger { display: block; }
  .lang-pills { display: none; }
  .lang-dropdown { display: none; }
  .teacher-profile,
  .teacher-profile:nth-child(even) { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .teacher-profile:nth-child(even) .teacher-profile-photo { order: 0; }
  .teacher-profile-photo { max-width: 280px; margin: 0 auto; }
  .header-actions .btn-sm { display: none; }
  .hero { padding: 80px 0 100px; min-height: 70vh; background-position: center; background-image:
      linear-gradient(rgba(255, 170, 100, .14), rgba(255, 170, 100, .14)),
      linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, 0) 50%),
      url("../img/hero-sp.jpg"); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero .lead { font-size: 17px; white-space: normal; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-stats li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); padding-bottom: 12px; }
  .hero-stats li:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
  .hero-stats li:nth-child(2n) { border-right: 0; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head.row { flex-direction: column; gap: 8px; align-items: start; text-align: left; }
  .course-grid { grid-template-columns: 1fr; }
  .course-tracks { grid-template-columns: 1fr; gap: 18px; }
  .track-list { grid-template-columns: 1fr; }
  .why-intro { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .why-intro-badge img { max-width: 220px; }
  .why-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; gap: 32px; }
  .level-intro { padding: 64px 0; }
  .intro-pair { grid-template-columns: 1fr; }
  .enrichment-intro { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .kids-why-grid { grid-template-columns: 1fr; }
  .schedule-table li { flex-direction: column; gap: 4px; }
  .sch-time { text-align: left; }
  .contact-tiles { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .contact-form .field-row,
  .wpcf7-form .field-row { grid-template-columns: 1fr; gap: 0; }
  .facilities-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .leader-card { flex-direction: column; text-align: center; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .about-points li { padding-left: 48px; font-size: 14px; }
  .about-intro { font-size: 16px; }
  .info-card-wide { padding: 32px 22px; }
  .faq-body { padding: 0 18px 18px 18px; }
  .academic-card,
  .academic-card:nth-child(even) { grid-template-columns: 1fr; }
  .academic-card:nth-child(even) .academic-photo { order: 0; }
  .academic-photo { min-height: 220px; aspect-ratio: 16/10; }
  .academic-body { padding: 28px 24px; }
  .academic-body h3 { font-size: 22px; }
  .bottom-ctas { grid-template-columns: 1fr; }
  .page-hero { padding: 64px 0 56px; }
  .teacher-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-info { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-mid { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .footer-nav ul { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner { flex-direction: column; align-items: start; }
  .footer-bottom .container { flex-direction: column; align-items: start; }
  .float-contact { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 12px; }
  .logo-text { font-size: 14px; }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-logos-thin { gap: 18px; }
  .trust-logos-thin span { font-size: 13px; }
}

/* ===== FAQ tabs ===== */
.faq-tabs-wrap { max-width: 860px; margin: 0 auto; }
.faq-tabs-wrap .faq-list { max-width: none; margin: 0; }
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--c-line);
}
.faq-tab {
  background: none;
  border: 0;
  padding: 12px 20px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  color: var(--c-fg-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.faq-tab:hover { color: var(--c-fg); }
.faq-tab.active {
  color: var(--c-brand);
  border-bottom-color: var(--c-brand);
  font-weight: 600;
}
.faq-list[data-pane] { display: none; }
.faq-list[data-pane].active { display: block; }
@media (max-width: 600px) {
  .faq-tab { padding: 10px 14px; font-size: 14px; }
}
