﻿  /* ── COMBO SUBJECT ACCORDION ── */
  .combo-subject { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: var(--bg2); transition: border-color 0.3s; }
  .combo-subject:hover { border-color: var(--gold); }
  .combo-subject summary {
    list-style: none; padding: 18px 24px; cursor: pointer;
    font-size: 1rem; font-weight: 700; color: var(--text);
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Cambria', 'Georgia', serif; transition: color 0.2s;
  }
  .combo-subject summary::-webkit-details-marker { display: none; }
  .combo-subject summary::after { content: '▾'; color: var(--gold); font-size: 0.85rem; transition: transform 0.3s; }
  .combo-subject[open] summary::after { transform: rotate(180deg); }
  .combo-subject[open] summary { color: var(--gold); border-bottom: 1px solid var(--border); }
  .combo-subject-body { padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

  /* ── NESTED TOPIC ACCORDION ── */
  .topic-accordion { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
  .topic-accordion summary {
    list-style: none; padding: 12px 16px; cursor: pointer;
    font-size: 0.85rem; font-weight: 600; color: var(--text);
    display: flex; justify-content: space-between; align-items: center;
    background: var(--bg3); transition: color 0.2s;
  }
  .topic-accordion summary::-webkit-details-marker { display: none; }
  .topic-accordion summary::after { content: '▾'; color: var(--gold); font-size: 0.75rem; transition: transform 0.3s; }
  .topic-accordion[open] summary::after { transform: rotate(180deg); }
  .topic-accordion summary:hover { color: var(--gold); }
  .topic-accordion[open] summary { color: var(--gold); border-bottom: 1px solid var(--border); }
  .topic-body { padding: 14px 16px; font-size: 0.82rem; color: var(--text-muted); min-height: 48px; }
  .topic-file-placeholder { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.8rem; font-style: italic; }

  /* ── LESSON DONE BUTTON ── */
  .lesson-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
  .lesson-item:last-child { border-bottom: none; }
  .lesson-link { color: var(--text); font-size: 0.85rem; text-decoration: none; flex: 1; }
  .lesson-link:hover { color: var(--gold); }
  .done-btn { flex-shrink: 0; padding: 4px 12px; border-radius: 100px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 0.75rem; cursor: pointer; font-family: inherit; transition: all 0.2s; white-space: nowrap; }
  .done-btn:hover { border-color: var(--gold); color: var(--gold); }
  .done-btn.done { background: #2ecc71; border-color: #2ecc71; color: #000; font-weight: 700; }

  /* ── TEACHER CAROUSEL ── */
  .teacher-carousel { position: relative; }
  .carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; }
  .carousel-slide.active { opacity: 1; position: relative; }
  .carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.45); border: none; color: #fff;
    width: 32px; height: 32px; border-radius: 50%;
    font-size: 1.3rem; line-height: 1; cursor: pointer;
    z-index: 10; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
  }
  .carousel-btn:hover { background: var(--gold); color: #000; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-dots {
    position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 10;
  }
  .carousel-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.4); transition: background 0.3s;
  }
  .carousel-dot.active { background: var(--gold); }

  .logo img { height: 44px; width: auto; display: block; }
  .teacher-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
  }
  .course-card:hover .teacher-photo { transform: scale(1.13); }

  :root {
    --gold: #F5C518;
    --gold-dim: #C9A010;
    --gold-glow: rgba(245,197,24,0.15);
    --bg: #0d1117;
    --bg2: #161b22;
    --bg3: #1f2937;
    --text: #F0F0F0;
    --text-muted: #888;
    --border: rgba(245,197,24,0.2);
    --white: #ffffff;
  }
  body.light {
    --gold: #0096C7;
    --gold-dim: #0077A8;
    --gold-glow: rgba(0, 150, 200, 0.1);
    --bg: #ffffff;
    --bg2: #f0f8ff;
    --bg3: #e1f1fb;
    --text: #0d1b2a;
    --text-muted: #5a7490;
    --border: rgba(0, 150, 200, 0.2);
    --white: #0d1b2a;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Cambria', 'Georgia', serif;
    background: var(--bg);
    color: var(--text);
    transition: background 0.5s, color 0.5s;
    overflow-x: hidden;
  }

  /* ── MOON TOGGLE ── */
  .moon-toggle {
    position: fixed;
    top: 18px;
    right: 24px;
    z-index: 9999;
    cursor: pointer;
    width: 30px;
    height: 30px;
  }
  .moon-svg { width: 30px; height: 30px; }
  .moon-body { fill: var(--gold); transition: fill 0.4s; }
  .moon-shadow { fill: var(--bg); transition: fill 0.4s; }
  body.light .moon-body { fill: #F5C518; }
  body.light .moon-shadow { fill: var(--bg2); }

  /* ── HEADER ── */
  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    background: rgba(8,8,8,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.5s;
  }
  body.light header { background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,150,200,0.15); }
  body.light .btn-primary { box-shadow: 0 4px 20px rgba(0,150,200,0.3); }
  body.light .btn-primary:hover { background: #0077A8; box-shadow: 0 8px 28px rgba(0,150,200,0.45); }
  body.light .hero::before { background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,150,200,0.06) 0%, transparent 70%); }
  body.light .review-card { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
  body.light .course-card { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
  body.light .faq-q { color: var(--text); }
  body.light .stats-section { background: var(--bg2); }
  .logo {
    font-family: 'Cambria', 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 4px;
    text-decoration: none;
  }
  nav { display: flex; align-items: center; gap: 8px; margin-right: 64px; }
  nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
  }
  nav a:hover { color: var(--gold); background: var(--gold-glow); }
  .dropdown { position: relative; }
  .dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
  .dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 200px;
    padding: 8px 0;
    display: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .dropdown:hover .dropdown-menu { display: block; }
  .dropdown-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.82rem;
    border-radius: 0;
  }
  .search-btn {
    background: none; border: 1px solid var(--border);
    color: var(--text-muted); border-radius: 6px;
    padding: 5px 12px; cursor: pointer; font-size: 0.82rem;
    transition: all 0.2s;
  }
  .search-btn:hover { border-color: var(--gold); color: var(--gold); }

  /* WhatsApp Floating Button */
  .whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(37, 211, 102, 0.4);
  }
  @media (max-width: 768px) {
    .whatsapp-float {
      bottom: 20px;
      right: 20px;
      padding: 10px 18px;
      font-size: 14px;
    }
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 100px 32px 60px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(245,197,24,0.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    width: 100%;
  }
  .hero-photo-wrap {
    position: relative; display: flex; justify-content: center;
  }
  .hero-photo-frame {
    width: 360px; height: 460px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
    position: relative;
    background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
  }
  .hero-photo-frame::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(transparent, rgba(245,197,24,0.08));
    pointer-events: none;
  }
  .hero-photo-placeholder {
    font-size: 7rem; color: var(--gold); opacity: 0.3;
    font-family: 'Cambria', 'Georgia', serif;
  }
  .hero-badge {
    position: absolute; bottom: -16px; right: -16px;
    background: var(--gold); color: #000;
    border-radius: 50%; width: 90px; height: 90px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.72rem; text-align: center; line-height: 1.2;
    box-shadow: 0 4px 20px rgba(245,197,24,0.4);
  }
  .hero-badge span { font-size: 1.4rem; font-weight: 900; line-height: 1; }
  .hero-content { display: flex; flex-direction: column; gap: 24px; }
  .hero-eyebrow {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 3px;
    color: var(--gold); text-transform: uppercase;
  }
  .hero-title {
    font-family: 'Cambria', 'Georgia', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900; line-height: 1.15;
    color: var(--text);
  }
  .hero-title em { font-style: normal; color: var(--gold); }
  .hero-quote {
    font-size: 0.88rem; color: var(--text-muted);
    border-left: 3px solid var(--gold);
    padding-left: 16px; line-height: 1.7;
    font-style: italic;
  }
  .hero-quote cite { display: block; margin-top: 4px; color: var(--gold); font-style: normal; font-weight: 600; font-size: 0.82rem; }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--gold); color: #000;
    padding: 14px 28px; border-radius: 6px;
    font-weight: 700; font-size: 0.9rem;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 20px rgba(245,197,24,0.3);
  }
  .btn-primary:hover { background: #FFDC40; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,197,24,0.45); }
  .btn-outline {
    background: transparent; color: var(--text);
    padding: 14px 28px; border-radius: 6px;
    font-weight: 600; font-size: 0.9rem;
    text-decoration: none; border: 1px solid var(--border); cursor: pointer;
    transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

  /* ── SECTIONS ── */
  section { padding: 100px 32px; }
  .container { max-width: 1200px; margin: 0 auto; }
  .section-label {
    font-size: 0.75rem; letter-spacing: 4px; font-weight: 700;
    color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
  }
  .section-title {
    font-family: 'Cambria', 'Georgia', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800; line-height: 1.2;
    color: var(--text); margin-bottom: 16px;
  }
  .section-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

  /* ── STATS ── */
  .stats-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
  }
  .stat-item {
    padding: 40px 32px; text-align: center;
    border-right: 1px solid var(--border);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: 'Cambria', 'Georgia', serif;
    font-size: 3rem; font-weight: 900; color: var(--gold);
    line-height: 1;
  }
  .stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

  /* ── ADVANTAGES ── */
  .advantages-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-top: 48px;
  }
  .adv-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 10px; padding: 32px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  .adv-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
  .adv-icon { margin-bottom: 20px; }
  .adv-title { font-family: 'Cambria', 'Georgia', serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
  .adv-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; }

  /* SVG icon base */
  .adv-svg {
    width: 56px; height: 56px;
    color: var(--gold);
    display: block;
  }

  /* 1. Trophy — bounce on hover */
  @keyframes trophyBounce {
    0%, 100% { transform: translateY(0); }
    40%       { transform: translateY(-8px); }
    60%       { transform: translateY(-4px); }
  }
  .adv-card:hover .adv-svg--trophy { animation: trophyBounce 0.7s ease; }
  .adv-card:hover .trophy-star { animation: trophyBounce 0.7s ease 0.05s; }

  /* 2. Chart bars — grow from bottom on hover */
  @keyframes barGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to   { transform: scaleY(1); transform-origin: bottom; }
  }
  .bar { transform-origin: bottom; }
  .adv-card:hover .bar1 { animation: barGrow 0.4s ease 0s both; }
  .adv-card:hover .bar2 { animation: barGrow 0.4s ease 0.1s both; }
  .adv-card:hover .bar3 { animation: barGrow 0.4s ease 0.2s both; }

  /* 3. Target — ripple rings */
  @keyframes ringPulse {
    0%   { opacity: 0.15; transform: scale(0.85); }
    50%  { opacity: 0.5; transform: scale(1.05); }
    100% { opacity: 0.15; transform: scale(0.85); }
  }
  .adv-card:hover .target-ring3 { animation: ringPulse 1.2s ease infinite; }
  .adv-card:hover .target-ring2 { animation: ringPulse 1.2s ease 0.2s infinite; }
  .adv-card:hover .target-ring1 { animation: ringPulse 1.2s ease 0.4s infinite; }

  /* 4. Teacher checkmark — draw in */
  @keyframes checkDraw {
    from { stroke-dashoffset: 20; opacity: 0; }
    to   { stroke-dashoffset: 0; opacity: 1; }
  }
  .teacher-check {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
  }
  .adv-card:hover .teacher-check { animation: checkDraw 0.5s ease 0.2s forwards; }
  @keyframes headBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
  }
  .adv-card:hover .teacher-head { animation: headBob 0.6s ease; }

  /* 5. WiFi — wave ripple */
  @keyframes wifiPulse {
    0%, 100% { opacity: 0.15; }
    50%       { opacity: 0.8; }
  }
  .adv-card:hover .wifi1 { animation: wifiPulse 1s ease 0s infinite; }
  .adv-card:hover .wifi2 { animation: wifiPulse 1s ease 0.2s infinite; }
  .adv-card:hover .wifi3 { animation: wifiPulse 1s ease 0.4s infinite; }

  /* 6. Chat dots — typing bounce */
  @keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40%            { transform: translateY(-6px); }
  }
  .chat-dot { transform-origin: center; }
  .adv-card:hover .chat-dot:nth-child(2) { animation: dotBounce 0.8s ease 0s infinite; }
  .adv-card:hover .chat-dot:nth-child(3) { animation: dotBounce 0.8s ease 0.15s infinite; }
  .adv-card:hover .chat-dot:nth-child(4) { animation: dotBounce 0.8s ease 0.3s infinite; }

  /* ── COURSES ── */
  .courses-section { background: var(--bg); }
  .courses-tabs { display: flex; gap: 12px; margin: 32px 0; flex-wrap: wrap; }
  .tab-btn {
    padding: 8px 20px; border-radius: 100px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-muted); cursor: pointer; font-size: 0.85rem;
    transition: all 0.2s;
  }
  .tab-btn.active, .tab-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 600; }
  .courses-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
  }
  .course-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  .course-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
  .course-teacher-wrap {
    height: 280px; position: relative; overflow: hidden;
    background: var(--bg3); display: flex; align-items: flex-end;
    cursor: zoom-in;
  }
  .teacher-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--gold); opacity: 0.2;
    font-family: 'Cambria', 'Georgia', serif;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .course-card:hover .teacher-photo-placeholder { transform: translateY(-12px) scale(1.05); }
  .teacher-info-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.92) 100%);
    padding: 28px 16px 14px;
    transform: translateY(0);
    transition: transform 0.4s;
  }
  .course-card:hover .teacher-info-overlay { transform: translateY(0); }
  .course-teacher-wrap::after {
    content: '🔍 Үлкейту';
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.85);
    background: rgba(0,0,0,0.7); color: #fff;
    padding: 8px 18px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px;
    pointer-events: none; opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
  }
  .course-card:hover .course-teacher-wrap::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .teacher-name { font-weight: 700; font-size: 1.05rem; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
  .teacher-title { font-size: 0.82rem; color: var(--gold); margin-top: 4px; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

  /* ── DETAILED TEACHER CARD ── */
  .teacher-stats-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 6px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .teacher-stats-list li {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
  }
  .teacher-stats-list li .stat-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #000;
    font-weight: 700;
    margin-top: 1px;
  }
  .teacher-stats-list li strong {
    color: var(--gold);
    font-weight: 700;
  }
  .course-body { padding: 20px; }
  .course-subject-badge {
    display: inline-block;
    background: var(--gold-glow); color: var(--gold);
    border: 1px solid var(--border);
    border-radius: 4px; font-size: 0.72rem; font-weight: 700;
    padding: 3px 10px; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 10px;
  }
  .course-title { font-family: 'Cambria', 'Georgia', serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
  .course-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
  .course-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
  .course-meta span { display: flex; align-items: center; gap: 4px; }
  .course-price { font-size: 1.3rem; font-weight: 800; color: var(--gold); font-family: 'Cambria', 'Georgia', serif; margin-bottom: 16px; }
  .course-price sub { font-size: 0.7rem; font-weight: 400; }
  .course-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .btn-sm {
    padding: 9px 16px; border-radius: 6px; font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; border: none; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .btn-sm.gold { background: var(--gold); color: #000; }
  .btn-sm.gold:hover { background: #FFDC40; }
  .btn-sm.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
  .btn-sm.ghost:hover { border-color: var(--gold); color: var(--gold); }
  /* Accordion */
  .accordion { margin-top: 12px; }
  .acc-trigger {
    width: 100%; background: none; border: none; color: var(--text-muted);
    font-size: 0.8rem; cursor: pointer; display: flex; align-items: center;
    gap: 6px; padding: 0; text-align: left; transition: color 0.2s;
  }
  .acc-trigger:hover { color: var(--gold); }
  .acc-trigger .arr { transition: transform 0.3s; font-size: 0.7rem; }
  .acc-trigger.open .arr { transform: rotate(180deg); }
  .acc-body {
    overflow: hidden; max-height: 0; transition: max-height 0.4s ease;
    font-size: 0.8rem; color: var(--text-muted); line-height: 1.8;
  }
  .acc-body.open { max-height: 400px; }
  .acc-body ul { padding: 10px 0 4px 16px; }
  .acc-body li { margin-bottom: 4px; }

  /* ── TESTS & MATERIALS ── */
  .materials-section { background: var(--bg2); }
  .materials-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px; margin-top: 48px;
  }
  .material-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 10px; padding: 24px;
    display: flex; align-items: center; gap: 16px;
    transition: all 0.3s; cursor: pointer;
  }
  .material-card:hover { border-color: var(--gold); transform: translateX(4px); }
  .material-icon { font-size: 2.4rem; flex-shrink: 0; }

  /* Material SVG icons */
  .mat-svg {
    width: 48px; height: 48px;
    color: var(--gold);
    flex-shrink: 0;
    display: block;
  }

  /* 1. Pencil write */
  @keyframes pencilWrite {
    0%   { transform: translate(0,0) rotate(0deg); }
    25%  { transform: translate(3px, 2px) rotate(-5deg); }
    50%  { transform: translate(6px, 0px) rotate(0deg); }
    75%  { transform: translate(3px, -2px) rotate(5deg); }
    100% { transform: translate(0,0) rotate(0deg); }
  }
  .material-card:hover .mat-pencil-group { animation: pencilWrite 0.6s ease infinite; }

  /* 2. Book open */
  @keyframes bookOpen {
    0%,100% { transform: scaleX(1); }
    50%      { transform: scaleX(1.08); }
  }
  .material-card:hover .mat-book-right { animation: bookOpen 0.7s ease infinite; transform-origin: left center; }

  /* 3. Map pin bounce */
  @keyframes pinBounce {
    0%,100% { transform: translateY(0); }
    40%      { transform: translateY(-6px); }
    60%      { transform: translateY(-3px); }
  }
  .material-card:hover .mat-map-pin { animation: pinBounce 0.7s ease infinite; }

  /* 4. Formula flash */
  @keyframes flashBolt {
    0%,100% { opacity: 0.8; }
    50%      { opacity: 0.2; filter: drop-shadow(0 0 4px var(--gold)); }
  }
  .material-card:hover .mat-formula-flash { animation: flashBolt 0.6s ease infinite; }
  @keyframes formulaFade {
    0%,100% { opacity: 0.9; }
    50%      { opacity: 0.4; }
  }
  .material-card:hover .mat-formula-text  { animation: formulaFade 0.8s ease 0s infinite; }
  .material-card:hover .mat-formula-text2 { animation: formulaFade 0.8s ease 0.15s infinite; }

  /* 5. Globe spin */
  @keyframes globeSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  .material-card:hover .mat-globe { animation: globeSpin 3s linear infinite; transform-origin: 24px 24px; }

  /* 6. Video play pulse */
  @keyframes playPulse {
    0%,100% { transform: scale(1); opacity: 0.9; }
    50%      { transform: scale(1.2); opacity: 1; }
  }
  .material-card:hover .mat-play { animation: playPulse 0.7s ease infinite; transform-origin: 19px 21px; }

  /* 7. Temple columns glow */
  @keyframes colGlow {
    0%,100% { opacity: 0.7; }
    50%      { opacity: 1; filter: drop-shadow(0 0 3px var(--gold)); }
  }
  .material-card:hover .mat-col1 { animation: colGlow 1s ease 0s   infinite; }
  .material-card:hover .mat-col2 { animation: colGlow 1s ease 0.15s infinite; }
  .material-card:hover .mat-col3 { animation: colGlow 1s ease 0.3s  infinite; }
  .material-card:hover .mat-col4 { animation: colGlow 1s ease 0.45s infinite; }
  .material-card:hover .mat-temple-roof { animation: colGlow 1s ease 0s infinite; }
  .material-title { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
  .material-sub { font-size: 0.78rem; color: var(--text-muted); }
  .material-tag {
    display: inline-block; background: var(--gold); color: #000;
    border-radius: 4px; font-size: 0.68rem; font-weight: 800;
    padding: 2px 8px; margin-top: 6px; text-transform: uppercase;
  }

  /* ── STUDENT ACHIEVEMENT CARDS ── */
  .student-card {
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border); background: var(--bg2);
    cursor: zoom-in; position: relative;
    transition: transform 0.35s, border-color 0.3s, box-shadow 0.35s;
  }
  .student-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
  }
  .student-card-img {
    width: 100%; display: block;
    object-fit: contain; background: var(--bg3);
    transition: transform 0.4s ease;
  }
  .student-card:hover .student-card-img { transform: scale(1.04); }
  .student-card-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
  }
  .student-card-overlay span {
    background: var(--gold); color: #000;
    padding: 8px 18px; border-radius: 100px;
    font-size: 0.85rem; font-weight: 700;
    opacity: 0; transform: scale(0.85);
    transition: opacity 0.3s, transform 0.3s;
  }
  .student-card:hover .student-card-overlay { background: rgba(0,0,0,0.25); }
  .student-card:hover .student-card-overlay span { opacity: 1; transform: scale(1); }

  /* Lightbox open state */
  #lightbox.open { display: flex !important; animation: lbFadeIn 0.25s ease; }
  @keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

  /* ── STUDENT TICKER ── */
  .student-track-wrap { overflow: hidden; margin-top: 48px; }
  .student-track {
    display: flex; gap: 20px;
    animation: slide 32s linear infinite;
    width: max-content;
  }
  .student-track:hover { animation-play-state: paused; }
  .student-track .student-card {
    flex-shrink: 0; width: 260px; height: 340px;
    cursor: zoom-in;
  }
  .student-track .student-card-img { height: 100%; }

  /* ── REVIEWS ── */
  .reviews-section { background: var(--bg); overflow: hidden; }
  .reviews-track-wrap { overflow: hidden; margin-top: 48px; }
  .reviews-track {
    display: flex; gap: 24px;
    animation: slide 30s linear infinite;
    width: max-content;
  }
  .reviews-track:hover { animation-play-state: paused; }
  @keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .review-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 12px; padding: 28px; min-width: 320px; max-width: 320px;
    flex-shrink: 0;
  }
  .review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
  .review-text { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
  .review-score {
    display: inline-block; background: var(--gold); color: #000;
    border-radius: 6px; font-size: 0.8rem; font-weight: 800;
    padding: 4px 12px; margin-bottom: 12px;
  }
  .reviewer-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
  .reviewer-meta { font-size: 0.76rem; color: var(--text-muted); }

  /* ── FAQ ── */
  .faq-section { background: var(--bg2); }
  .faq-list { max-width: 720px; margin: 48px auto 0; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-q {
    width: 100%; background: none; border: none; color: var(--text);
    font-size: 0.98rem; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 0; text-align: left; gap: 16px;
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--gold); }
  .faq-q .faq-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s; }
  .faq-q.open .faq-icon { transform: rotate(45deg); }
  .faq-a {
    overflow: hidden; max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.8;
  }
  .faq-a.open { max-height: 300px; padding-bottom: 20px; }

  /* ── FOOTER ── */
  footer {
    background: var(--bg); border-top: 1px solid var(--border);
    padding: 64px 32px 32px;
  }
  .footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    margin-bottom: 48px;
  }
  .footer-logo {
    font-family: 'Cambria', 'Georgia', serif;
    font-size: 1.8rem; font-weight: 900; color: var(--gold);
    letter-spacing: 4px; display: block; margin-bottom: 16px;
  }
  .footer-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }
  .footer-socials { display: flex; gap: 12px; margin-top: 20px; }
  .social-btn {
    width: 38px; height: 38px; border-radius: 8px;
    background: var(--bg2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; text-decoration: none; color: var(--text-muted);
    transition: all 0.2s;
  }
  .social-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }
  .footer-col h4 { font-weight: 700; font-size: 0.88rem; color: var(--text); margin-bottom: 16px; letter-spacing: 1px; }
  .footer-col a { display: block; color: var(--text-muted); font-size: 0.84rem; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--gold); }
  .footer-bottom {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--border); padding-top: 24px;
    font-size: 0.78rem; color: var(--text-muted);
  }

  /* ── SCROLL ANIMATIONS ── */
  .fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* DIVIDER */
  .gold-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-photo-wrap { justify-content: center; }
    .hero-ctas { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-bottom: 1px solid var(--border); }
  }
  @media (max-width: 560px) {
    section { padding: 64px 20px; }
    header { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; }
  }

  /* Өтінім беру блогы */
  .lead-section {
    padding: 80px 20px;
    background-color: var(--bg2);
    text-align: center;
    border-top: 1px solid var(--border);
  }
  .lead-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg3);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .lead-title {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 15px;
  }
  .lead-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
  }
  .form-group {
    margin-bottom: 20px;
    text-align: left;
  }
  .form-group label {
    display: block;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 8px;
  }
  .form-control {
    width: 100%;
    padding: 14px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 16px;
    font-family: Cambria, serif;
    transition: border-color 0.3s;
  }
  .form-control:focus {
    outline: none;
    border-color: var(--gold);
  }
  .submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--gold);
    color: #080808;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: Cambria, serif;
    transition: background-color 0.3s, transform 0.2s;
  }
  .submit-btn:hover {
    background-color: var(--gold-dim);
    transform: translateY(-2px);
  }

  /* HIDDEN TABS */
  .tab-content { display: none; }
  .tab-content.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }

  /* ── МАМАНДЫҚТАР ACCORDION ── */
  .spec-accordion {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    background: var(--bg2);
    transition: border-color 0.3s;
  }
  .spec-accordion:hover { border-color: var(--gold); }
  .spec-acc-trigger {
    width: 100%; background: none; border: none;
    color: var(--text); font-size: 1rem; font-weight: 700;
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; padding: 22px 24px; text-align: left;
    gap: 16px; font-family: 'Cambria', 'Georgia', serif;
    transition: color 0.2s;
  }
  .spec-acc-trigger:hover { color: var(--gold); }
  .spec-arr { color: var(--gold); font-size: 1.1rem; transition: transform 0.3s; flex-shrink: 0; }
  .spec-acc-trigger.open .spec-arr { transform: rotate(180deg); }

  /* + стилі */
  .spec-plus-icon {
    font-size: 1.5rem; font-weight: 300; line-height: 1;
    width: 28px; height: 28px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s, background 0.2s, border-color 0.2s;
  }
  .spec-acc-trigger.open .spec-plus-icon {
    transform: rotate(45deg);
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
  }
  .spec-acc-body {
    overflow: hidden; max-height: 0;
    transition: max-height 0.5s ease;
  }
  .spec-acc-body.open { max-height: 1200px; }
  .spec-content {
    padding: 0 24px 24px;
    border-top: 1px solid var(--border);
  }
  /* Профориентолог tips grid */
  .spec-tips-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px; margin-top: 16px;
  }
  .spec-tip {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 8px; padding: 16px; display: flex; gap: 12px; align-items: flex-start;
  }
  .spec-tip-icon { font-size: 1.6rem; flex-shrink: 0; }
  .spec-tip-title { font-weight: 700; font-size: 0.88rem; color: var(--text); margin-bottom: 4px; }
  .spec-tip-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
  /* University grid */
  .uni-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px; margin-top: 16px;
  }
  .uni-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 8px; padding: 18px;
    transition: border-color 0.3s, transform 0.2s;
  }
  .uni-card:hover { border-color: var(--gold); transform: translateY(-2px); }
  .uni-name { font-weight: 800; font-size: 0.92rem; color: var(--gold); margin-bottom: 4px; }
  .uni-city { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
  .uni-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
  /* Codes table */
  .codes-table-wrap { overflow-x: auto; margin-top: 8px; }
  .codes-table {
    width: 100%; border-collapse: collapse; font-size: 0.82rem;
  }
  .codes-table th {
    background: var(--bg); color: var(--gold);
    padding: 12px 14px; text-align: left; font-weight: 700;
    border-bottom: 2px solid var(--border); white-space: nowrap;
  }
  .codes-table td {
    padding: 11px 14px; border-bottom: 1px solid var(--border);
    color: var(--text-muted); vertical-align: middle;
  }
  .codes-table tr:hover td { background: var(--gold-glow); color: var(--text); }
  .code-badge {
    background: var(--gold); color: #000;
    border-radius: 4px; font-size: 0.75rem; font-weight: 800;
    padding: 3px 8px; white-space: nowrap;
  }

  /* ── LEGAL MODALS ── */
  .legal-modal {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 20px; overflow-y: auto;
  }
  .legal-modal.open { display: flex; }
  .legal-modal-box {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 12px; max-width: 720px; width: 100%;
    max-height: 85vh; display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalIn 0.3s ease;
  }
  @keyframes modalIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .legal-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .legal-modal-title {
    font-family: 'Cambria', 'Georgia', serif;
    font-size: 1.2rem; font-weight: 800; color: var(--gold); margin: 0;
  }
  .legal-modal-close {
    background: none; border: 1px solid var(--border);
    color: var(--text-muted); width: 36px; height: 36px;
    border-radius: 8px; cursor: pointer; font-size: 1rem;
    transition: all 0.2s; display: flex; align-items: center; justify-content: center;
  }
  .legal-modal-close:hover { border-color: var(--gold); color: var(--gold); }
  .legal-modal-body {
    padding: 24px; overflow-y: auto; flex: 1;
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.8;
  }
  .legal-modal-body h3 {
    font-family: 'Cambria', 'Georgia', serif;
    color: var(--gold); font-size: 0.95rem; font-weight: 700;
    margin: 24px 0 10px; padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .legal-modal-body h3:first-of-type { border-top: none; margin-top: 12px; }
  .legal-modal-body p { margin-bottom: 10px; }
  .legal-modal-body ul { padding-left: 20px; margin-bottom: 12px; }
  .legal-modal-body li { margin-bottom: 6px; }
  .legal-modal-body a { color: var(--gold); text-decoration: none; }
  .legal-modal-body a:hover { text-decoration: underline; }
  .legal-date {
    background: var(--gold-glow); border: 1px solid var(--border);
    border-radius: 6px; padding: 8px 14px; font-size: 0.8rem;
    color: var(--gold); font-weight: 600; margin-bottom: 16px;
    display: inline-block;
  }
  .legal-requisites {
    display: flex; gap: 24px; flex-wrap: wrap;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 8px; padding: 16px; margin-top: 8px;
  }
  .legal-req-col { flex: 1; min-width: 200px; }
  .legal-req-col p { margin-bottom: 4px; font-size: 0.84rem; }
  @media (max-width: 560px) {
    .legal-modal { padding: 10px; }
    .legal-modal-box { max-height: 90vh; }
    .legal-modal-body { padding: 16px; }
  }

  /* ══════════════════════════════════════
     2. HERO ENTRANCE ANIMATIONS
  ══════════════════════════════════════ */
  @keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(-36px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes heroSlideRight {
    from { opacity: 0; transform: translateX(36px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes goldPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(245,197,24,0.3); }
    50%       { box-shadow: 0 6px 32px rgba(245,197,24,0.65); }
  }
  .hero-eyebrow  { animation: heroSlideLeft 0.7s ease both; animation-delay: 0.1s; }
  .hero-title    { animation: heroSlideLeft 0.7s ease both; animation-delay: 0.25s; }
  .hero-quote    { animation: heroSlideLeft 0.7s ease both; animation-delay: 0.4s; }
  .hero-ctas     { animation: heroFadeUp   0.7s ease both; animation-delay: 0.55s; }
  .hero-photo-wrap { animation: heroSlideRight 0.8s ease both; animation-delay: 0.2s; }

  /* 5. CTA BUTTON HIERARCHY — primary bigger + subtle pulse */
  .hero .btn-primary {
    padding: 16px 36px;
    font-size: 1rem;
    animation: goldPulse 2.8s ease-in-out infinite;
    animation-delay: 1.2s;
  }
  .hero .btn-outline {
    padding: 15px 28px;
    font-size: 0.92rem;
  }

  /* ══════════════════════════════════════
     4. SECTION BACKGROUND VARIETY
  ══════════════════════════════════════ */
  #advantages {
    position: relative;
  }
  #advantages::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 50% at 80% 100%, rgba(245,197,24,0.04) 0%, transparent 70%);
    pointer-events: none;
  }
  .courses-section {
    position: relative;
  }
  .courses-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 20% 30%, rgba(245,197,24,0.04) 0%, transparent 65%);
    pointer-events: none;
  }
  #specialties {
    position: relative;
  }
  #specialties::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,197,24,0.05) 0%, transparent 70%);
    pointer-events: none;
  }
  #contact {
    border-top: 1px solid var(--border);
  }

  /* ══════════════════════════════════════
     3. MOBILE RESPONSIVENESS
  ══════════════════════════════════════ */
  @media (max-width: 900px) {
    .hero-photo-frame { width: 300px; height: 380px; }
    .hero-inner { gap: 32px; }
    section { padding: 72px 24px; }
  }

  @media (max-width: 768px) {
    /* Hero */
    .hero { padding: 90px 20px 48px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-photo-wrap { order: -1; justify-content: center; }
    .hero-photo-frame { width: 260px; height: 320px; }
    .hero-badge { width: 72px; height: 72px; font-size: 0.64rem; bottom: -12px; right: -8px; }
    .hero-badge span { font-size: 1.1rem; }
    .hero-quote { text-align: left; }
    .hero-ctas { justify-content: center; }
    .hero .btn-primary { padding: 14px 28px; font-size: 0.92rem; }

    /* Header */
    header { padding: 0 16px; height: 56px; }

    /* Grids → single column on small screens */
    .courses-grid { grid-template-columns: 1fr; }
    .tab-content.active { grid-template-columns: 1fr; }
    .materials-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .spec-tips-grid { grid-template-columns: 1fr; }
    .uni-grid { grid-template-columns: 1fr; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 2.2rem; }
    .stat-item { padding: 28px 16px; }

    /* Sections */
    section { padding: 56px 20px; }
    .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }

    /* Course cards */
    .course-teacher-wrap { height: 220px; }

    /* Reviews track */
    .review-card { min-width: 280px; max-width: 280px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* Tab buttons */
    .courses-tabs { gap: 8px; }
    .tab-btn { padding: 8px 16px; font-size: 0.8rem; }

    /* Merch and contact forms */
    .lead-container { padding: 24px 16px; }
  }

  @media (max-width: 480px) {
    .hero-photo-frame { width: 220px; height: 280px; }
    .hero-badge { width: 62px; height: 62px; font-size: 0.6rem; }
    .hero-badge span { font-size: 1rem; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .stat-num { font-size: 2rem; }
    .course-teacher-wrap { height: 200px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero .btn-primary, .hero .btn-outline { width: 100%; justify-content: center; }
  }
