/* ===== Foxford — partner landing ===== */
.fx-page {
  --bg: #ffffff;
  --bg-soft: #f7f5ff;
  --bg-dark: #1a1a1f;
  --surface: #ffffff;
  --ink: #1a1a1f;
  --ink-2: #4a4a55;
  --muted: #7a7a88;
  --line: rgba(107, 78, 255, 0.12);
  --orange: #ff9900;
  --orange-dim: #e68800;
  --purple: #6b4eff;
  --purple-dark: #5538e0;
  --purple-soft: #ede9ff;
  --grad-purple: linear-gradient(135deg, #6b4eff 0%, #9b7bff 100%);
  --grad-orange: linear-gradient(135deg, #ff9900 0%, #ffb84d 100%);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow: 0 8px 32px rgba(26, 26, 31, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 26, 31, 0.12);
  --font: 'Manrope', system-ui, sans-serif;
  --header: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }

.fx-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

.fx-page img { max-width: 100%; height: auto; display: block; }

.fx-page .container {
  width: min(1140px, 100% - 2rem);
  margin-inline: auto;
}

.fx-page .container--narrow {
  width: min(760px, 100% - 2rem);
  margin-inline: auto;
}

/* Deco */
.fx-deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fx-deco__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% -5%, rgba(107, 78, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(255, 153, 0, 0.06), transparent 50%);
}

.fx-wrap { position: relative; z-index: 1; min-height: 100vh; }

/* Skip */
.fx-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--purple);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.fx-skip-link:focus { top: 1rem; }

/* Header */
.fx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.fx-header.header--scrolled {
  box-shadow: var(--shadow);
}

.fx-header__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header);
}

.fx-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.fx-logo img { width: 36px; height: 36px; object-fit: contain; }

.fx-logo em { font-style: normal; color: var(--orange); }

.fx-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.fx-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.fx-nav a:hover { color: var(--purple); }

.fx-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.fx-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.fx-menu[hidden] { display: none; }

.fx-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.fx-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 31, 0.5);
}

.fx-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.fx-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}

.fx-menu__panel a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 0.5rem 0;
}

/* Buttons */
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.fx-btn:active { transform: scale(0.98); }

.fx-btn--cta {
  background: var(--ink);
  color: #fff;
}

.fx-btn--cta:hover {
  background: #333;
  box-shadow: var(--shadow);
}

.fx-btn--purple {
  background: var(--grad-purple);
  color: #fff;
}

.fx-btn--purple:hover { box-shadow: 0 8px 24px rgba(107, 78, 255, 0.35); }

.fx-btn--outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.fx-btn--outline:hover { background: var(--purple-soft); }

.fx-btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

.fx-btn--block { width: 100%; }

/* Hero */
.fx-hero {
  padding: 3rem 0 4rem;
  background: var(--bg);
}

.fx-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.fx-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--purple-soft);
  color: var(--purple);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.fx-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.fx-hero__title span { color: var(--purple); }

.fx-hero__lead {
  font-size: 1.125rem;
  color: var(--ink-2);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.fx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

.fx-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1.2;
}

.fx-stat__label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.fx-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-hero__card {
  background: var(--grad-purple);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.fx-hero__card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.fx-hero__card p {
  opacity: 0.9;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.fx-hero__card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.fx-hero__card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.fx-hero__card-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}

/* Promo */
.fx-promo {
  padding: 0 0 3rem;
}

.fx-promo__inner {
  background: linear-gradient(135deg, #fff8eb 0%, #fff3d6 100%);
  border: 2px solid rgba(255, 153, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.fx-promo__badge {
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  letter-spacing: 0.05em;
}

.fx-promo__text { flex: 1; min-width: 200px; }

.fx-promo__text h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fx-promo__text p {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.fx-promo__copy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fx-promo__copy-btn.copied {
  background: #22a06b;
  color: #fff;
  border-color: #22a06b;
}

/* Section common */
.fx-section {
  padding: 4rem 0;
}

.fx-section--soft { background: var(--bg-soft); }

.fx-section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.fx-section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.fx-section__head h2 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.fx-section__head p {
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

.fx-section--dark .fx-section__head p { color: rgba(255, 255, 255, 0.65); }

/* Directions grid */
.fx-directions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fx-dir {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.fx-dir:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fx-dir__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.fx-dir__icon svg { width: 28px; height: 28px; }

.fx-dir h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.fx-dir p {
  font-size: 0.8125rem;
  opacity: 0.85;
  flex: 1;
}

.fx-dir__go {
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0.9;
}

.fx-dir--orange { background: linear-gradient(145deg, #ff9900, #ff7700); color: #fff; }
.fx-dir--blue { background: linear-gradient(145deg, #3d5afe, #536dfe); color: #fff; }
.fx-dir--sky { background: linear-gradient(145deg, #29b6f6, #4fc3f7); color: #fff; }
.fx-dir--sand { background: linear-gradient(145deg, #d4a574, #c9956a); color: #fff; }
.fx-dir--yellow { background: linear-gradient(145deg, #ffd54f, #ffca28); color: #1a1a1f; }
.fx-dir--purple { background: linear-gradient(145deg, #7e57c2, #9575cd); color: #fff; }
.fx-dir--green { background: linear-gradient(145deg, #66bb6a, #81c784); color: #fff; }
.fx-dir--coral { background: linear-gradient(145deg, #ff8a65, #ff7043); color: #fff; }

/* Essay promo card */
.fx-essay {
  margin-top: 1.5rem;
  background: var(--grad-purple);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  color: #fff;
}

.fx-essay h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.fx-essay p {
  font-size: 0.875rem;
  opacity: 0.9;
  flex: 1;
  min-width: 200px;
}

.fx-essay .fx-btn--cta {
  background: #fff;
  color: var(--purple);
}

/* Courses */
.fx-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fx-course {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s;
}

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

.fx-course__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.fx-course h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.fx-course p {
  font-size: 0.8125rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1rem;
}

.fx-course__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.fx-course__price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ink);
}

.fx-course__price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.fx-courses__more {
  text-align: center;
  margin-top: 2rem;
}

/* Platform */
.fx-platform {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.fx-platform__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.fx-platform__tab {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: default;
}

.fx-platform__tab.is-active {
  background: var(--purple);
  color: #fff;
}

.fx-platform__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fx-platform__features li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.fx-platform__features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.fx-platform__title {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: left;
}

.fx-platform__mock {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.fx-platform__mock-inner {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.fx-schedule {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.fx-schedule__day {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 0.5rem;
}

.fx-schedule__cell {
  border-radius: 8px;
  padding: 0.5rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-align: center;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-schedule__cell--math { background: #e3f2fd; color: #1565c0; }
.fx-schedule__cell--rus { background: #fce4ec; color: #c2185b; }
.fx-schedule__cell--eng { background: #e8f5e9; color: #2e7d32; }
.fx-schedule__cell--phys { background: #fff3e0; color: #e65100; }
.fx-schedule__cell--empty { background: transparent; }

/* Reviews */
.fx-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.fx-rating {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
}

.fx-rating__score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.fx-rating__label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.fx-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fx-review {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.fx-review__who {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fx-review__tag {
  font-size: 0.75rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.fx-review p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

/* Teachers */
.fx-teachers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fx-teacher {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.fx-teacher__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-purple);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.fx-teacher__subj {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fx-teacher h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
}

.fx-teacher ul {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* Formats */
.fx-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fx-format {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.fx-format h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fx-format p {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Payment */
.fx-payments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fx-payment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.fx-payment__icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.fx-payment h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.fx-payment p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* FAQ */
.fx-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fx-faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.fx-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.fx-faq__q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.fx-faq__item.is-open .fx-faq__q::after {
  transform: rotate(45deg);
}

.fx-faq__a {
  display: none;
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.fx-faq__item.is-open .fx-faq__a { display: block; }

/* CTA band */
.fx-cta-band {
  background: var(--grad-purple);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}

.fx-cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.fx-cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}

.fx-cta-band .fx-btn--cta {
  background: #fff;
  color: var(--purple);
}

/* Footer */
.fx-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.8125rem;
}

.fx-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fx-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.fx-footer__brand img { width: 28px; height: 28px; }

.fx-footer__disclaimer {
  line-height: 1.6;
  max-width: 28rem;
}

.fx-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fx-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.fx-footer__links a:hover { color: var(--orange); }

.fx-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Reveal animation */
.fx-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fx-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fx-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .fx-directions { grid-template-columns: repeat(2, 1fr); }
  .fx-courses { grid-template-columns: repeat(2, 1fr); }
  .fx-payments { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .fx-nav, .fx-header .fx-btn--cta { display: none; }
  .fx-burger { display: flex; }
  .fx-hero__grid { grid-template-columns: 1fr; }
  .fx-hero__visual { order: -1; }
  .fx-stats { grid-template-columns: 1fr; gap: 1rem; }
  .fx-platform { grid-template-columns: 1fr; }
  .fx-reviews { grid-template-columns: 1fr; }
  .fx-teachers { grid-template-columns: 1fr; }
  .fx-formats { grid-template-columns: 1fr; }
  .fx-footer__grid { grid-template-columns: 1fr; }
  .fx-promo__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .fx-directions { grid-template-columns: 1fr; }
  .fx-courses { grid-template-columns: 1fr; }
  .fx-payments { grid-template-columns: 1fr; }
}
