/* ===================== Nunito (self-hosted, variable 400–900) ===================== */
/* Served from /assets/fonts so there is no render-blocking external request.
   font-display:swap means text shows instantly in the system fallback, then swaps. */
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('assets/fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('assets/fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('assets/fonts/nunito-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('assets/fonts/nunito-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --blue: #1927D1;
  --blue-2: #2c3df0;
  --blue-3: #1f2dd0;
  --ink: #0C1339;
  --muted: #5A6080;
  --soft: #f4f6ff;
  --field: #f7f9ff;
  --border: #e4e8f7;
  --border-2: #e9ecf8;
  --danger: #d63b3b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%; /* stop iOS from auto-inflating text */
  text-size-adjust: 100%;
}
a { text-decoration: none; color: inherit; }
input, select, button, textarea { font-family: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.only-mobile { display: none !important; }
.only-desktop { display: inline-flex !important; }

/* scrollbar for the testimonials rail */
.sz-scroll::-webkit-scrollbar { height: 8px; }
.sz-scroll::-webkit-scrollbar-thumb { background: #cfd6f5; border-radius: 99px; }
.sz-scroll::-webkit-scrollbar-track { background: transparent; }

/* ============ shared bits ============ */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: 99px;
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(25,39,209,0.06);
  font-size: 13px; font-weight: 600; color: var(--blue);
}
.pill--soft { background: #eef1ff; border-color: transparent; box-shadow: none; font-size: 14.5px; font-weight: 700; padding: 9px 16px; }
.pill--glass { background: rgba(255,255,255,0.16); border-color: transparent; box-shadow: none; color: #fff; font-size: 13px; font-weight: 700; padding: 7px 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #7CFFB2; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--blue); margin-bottom: 14px; }
.eyebrow--light { color: #cdd4ff; }
.sectitle { margin: 0; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.sectitle--light { color: #fff; }
.sechead { text-align: center; margin-bottom: 46px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; cursor: pointer; font-weight: 700; font-size: 16px; white-space: nowrap;
  padding: 16px 24px; border-radius: 16px; transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn--primary { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 14px 30px rgba(25,39,209,0.38); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: #fff; border: 1.5px solid #d8deef; color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); font-weight: 800; box-shadow: 0 12px 26px rgba(0,0,0,0.18); }
.btn--white:hover { transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,0.14); color: #fff; font-weight: 700; }
.btn--glass:hover { background: rgba(255,255,255,0.22); }
.btn__ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* flag chip used in phone code */
.flag { width: 21px; height: 14px; border-radius: 2px; overflow: hidden; display: inline-flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.08); }
.flag::before, .flag::after, .flag i { content: ""; flex: 1; }
.flag--uz { background: linear-gradient(#1eb4e7 0 33.33%, #fff 33.33% 66.66%, #1eaf5d 66.66%); }

/* ===================== HEADER ===================== */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(120deg, var(--blue-2), var(--blue-3));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  transition: transform .32s cubic-bezier(.22,.61,.36,1); /* slide in/out on scroll */
}
.hdr--hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .hdr { transition: none; } }
.hdr__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 13px clamp(16px, 4vw, 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand__logo { height: 42px; width: auto; display: block; }

.hdr__actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.hdr__icon {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer;
  transition: background .15s ease;
}
.hdr__icon:hover { background: rgba(255,255,255,0.26); }

/* phone: icon-only on mobile, icon + number pill on desktop (when space allows) */
.hdr__tel {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; cursor: pointer;
  color: #fff; transition: background .15s ease;
}
.hdr__tel:hover { background: rgba(255,255,255,0.26); }
.hdr__tel #hdr-phone-num { display: none; font-weight: 700; font-size: 14.5px; white-space: nowrap; }

/* header language toggle — desktop only (mobile uses the floating widget) */
.hdr__lang { display: none; padding: 3px; border-radius: 11px; background: rgba(255,255,255,0.14); gap: 2px; }
.hdr__lang-btn {
  border: none; cursor: pointer; background: transparent; color: rgba(255,255,255,0.78);
  font-weight: 800; font-size: 12.5px; letter-spacing: .03em; padding: 7px 12px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.hdr__lang-btn:hover { color: #fff; }
.hdr__lang-btn.is-active { background: #fff; color: var(--blue); }

@media (min-width: 768px) {
  .hdr__lang { display: inline-flex; }            /* show toggle in header */
  .hdr__tel { width: auto; height: auto; padding: 9px 14px; } /* phone becomes a pill */
  .hdr__tel #hdr-phone-num { display: inline; }   /* reveal the number */
}

/* ===================== FLOATING LANGUAGE WIDGET ===================== */
.langfab {
  position: fixed; z-index: 60; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 6px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border-2); box-shadow: 0 12px 34px rgba(15,23,80,0.22);
  transition: opacity .32s cubic-bezier(.22,.61,.36,1), transform .32s cubic-bezier(.22,.61,.36,1);
}
.langfab--hidden { opacity: 0; transform: translateY(140%); pointer-events: none; }
.langfab__btn {
  border: none; cursor: pointer; background: transparent; color: var(--muted);
  font-weight: 800; font-size: 13px; letter-spacing: .02em;
  padding: 7px 13px; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.langfab__btn:hover { color: var(--blue); }
.langfab__btn.is-active { background: var(--blue); color: #fff; }
.langfab__btn.is-active:hover { color: #fff; }
/* desktop switches language in the header, so hide the floating widget there */
@media (min-width: 768px) { .langfab { display: none; } }

/* ===================== HERO ===================== */
.hero { position: relative; background: linear-gradient(180deg, var(--soft) 0%, #fff 78%); overflow: hidden; }
.hero__glow { position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(25,39,209,0.12), transparent 68%); pointer-events: none; }
.hero__inner { position: relative; max-width: 880px; margin: 0 auto; padding: clamp(48px,7vw,84px) 24px clamp(44px,6vw,72px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title { margin: 24px 0 0; font-size: clamp(34px,5.4vw,62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.hero__title .accent { color: var(--blue); }
.hero__sub { margin: 22px auto 0; font-size: clamp(16px,1.6vw,19px); line-height: 1.6; color: var(--muted); max-width: 600px; }
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px auto 0; max-width: 560px; }
.hero__cta .btn { flex: 1 1 200px; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.trust {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--border);
  color: var(--ink); font-size: 13.5px; font-weight: 600;
}

/* ===================== STATS ===================== */
.stats { background: linear-gradient(120deg, var(--blue-2), var(--blue-3)); }
.stats__inner { max-width: 1100px; margin: 0 auto; padding: clamp(30px,5vw,40px) 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: clamp(28px,4vw,40px); font-weight: 800; color: #fff; }
.stat__label { font-size: 13.5px; color: #cdd4ff; margin-top: 4px; font-weight: 500; }

/* ===================== SECTIONS / GRIDS ===================== */
.section { background: #fff; padding: clamp(56px,8vw,96px) 0; }
.section--tight { padding: clamp(40px,7vw,72px) 0; }

/* minmax(0,1fr) lets columns shrink below long words (no horizontal overflow);
   grid-auto-rows:1fr equalises height only when there are 2+ columns. */
.grid { display: grid; gap: 14px; }
.grid--why { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.grid--courses { grid-template-columns: 1fr; } /* phones: one full-width card per row */

.wcard, .ccard {
  cursor: pointer; background: #fff; border: 1px solid var(--border-2); border-radius: 18px;
  padding: clamp(16px,4vw,24px); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.wcard:hover, .ccard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(25,39,209,0.1); border-color: #cfd6f5; }
.ccard { border-radius: 22px; padding: clamp(18px,4vw,28px); }
.ccard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(25,39,209,0.12); }

.wcard__ico { width: 46px; height: 46px; border-radius: 13px; background: #eef1ff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.wcard__title { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.wcard__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* phones: icon sits to the LEFT of the title + description (compact row) */
.ccard__head { display: flex; gap: 15px; align-items: flex-start; }
.ccard__body { min-width: 0; }
.ccard__ico { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg,#eaeeff,#d7deff); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 6px 16px rgba(25,39,209,0.1); }
.ccard__title { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--ink); }
.ccard__desc { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.ccard__tag {
  display: flex; align-items: center; gap: 7px; color: var(--blue); font-size: 13.5px; font-weight: 700;
  margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border-2); /* footer pinned to bottom */
}
.ccard__tag svg { flex-shrink: 0; }

/* ===================== PROCESS ===================== */
.process { position: relative; background: linear-gradient(150deg, #3245ee, var(--blue-3)); overflow: hidden; padding: clamp(56px,8vw,88px) 0; }
.process__glow { position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); pointer-events: none; }
.process .wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.step { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: 22px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.step__num { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--blue); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step__title { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #fff; }
.step__desc { margin: 0; font-size: 14.5px; line-height: 1.55; color: #eef1ff; }

/* ===================== TESTIMONIALS ===================== */
.testi { background: var(--soft); padding: clamp(56px,8vw,90px) 0; }
.testi .sechead { padding: 0 24px; }
.testi__scroll { display: flex; gap: 20px; overflow-x: auto; padding: 8px 24px 24px; scroll-snap-type: x mandatory; }
.tcard { scroll-snap-align: start; flex: 0 0 auto; width: 330px; background: #fff; border: 1px solid var(--border-2); border-radius: 22px; padding: 26px; box-shadow: 0 10px 30px rgba(15,23,80,0.05); }
.tcard__top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.tcard__avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 17px; flex-shrink: 0; }
.tcard__name { font-weight: 700; font-size: 16px; color: var(--ink); }
.tcard__stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; }
.tcard__text { margin: 0; font-size: 15px; line-height: 1.62; color: #454c70; font-style: italic; }

/* ===================== LEAD FORM ===================== */
.lead { background: #fff; }
.lead__inner { max-width: 1160px; margin: 0 auto; padding: clamp(56px,8vw,96px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(26px,4vw,36px); }
.lead__head { max-width: 640px; }
.lead__head .sectitle { font-size: clamp(30px,4.6vw,50px); line-height: 1.05; }
.lead__sub { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.lead__head .pill--soft { margin-top: 18px; }

.lead__card { width: 100%; max-width: 480px; text-align: left; position: relative; border-radius: 26px; background: #fff; border: 1px solid var(--border-2); box-shadow: 0 28px 60px rgba(15,23,80,0.12); overflow: hidden; }
.lead__bar { height: 6px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); }
.lead__body { padding: clamp(26px,4vw,38px); }

.form__title { margin: 0; font-size: 24px; font-weight: 800; color: var(--ink); }
.form__lead { margin: 8px 0 26px; font-size: 15px; color: var(--muted); }

.lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; }
.field {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--field); font-size: 16px; color: var(--ink); outline: none; margin-bottom: 18px;
  transition: border-color .15s ease, background .15s ease;
}
.field::placeholder { color: #9aa1bd; }
.field:focus { border-color: var(--blue); background: #fff; }

.phone { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 14px; background: var(--field); overflow: hidden; margin-bottom: 18px; transition: border-color .15s ease; }
.phone:focus-within { border-color: var(--blue); background: #fff; }
.phone__code { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #eef1ff; border-right: 1.5px solid var(--border); font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.phone__input { flex: 1; min-width: 0; padding: 15px 14px; border: none; background: transparent; font-size: 16px; letter-spacing: .03em; color: var(--ink); outline: none; }
.phone__input::placeholder { color: #9aa1bd; }

.field.is-bad, .phone.is-bad { border-color: var(--danger); }

.error { margin: 6px 0 0; font-size: 13.5px; color: var(--danger); font-weight: 600; }

.submit {
  width: 100%; margin-top: 18px; border: none; cursor: pointer; padding: 18px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; font-size: 16.5px; font-weight: 800;
  box-shadow: 0 14px 30px rgba(25,39,209,0.36); transition: transform .15s ease, opacity .15s ease;
}
.submit:hover { transform: translateY(-2px); }
.submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; }
.privacy span { font-size: 13px; color: #8088a8; }

.success { text-align: center; padding: 24px 6px; }
.success__check { width: 74px; height: 74px; border-radius: 50%; background: #eafaf0; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success__title { margin: 0; font-size: 24px; font-weight: 800; color: var(--ink); }
.success__body { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.success__again { margin-top: 24px; border: 1.5px solid #d8deef; background: #fff; cursor: pointer; padding: 13px 26px; border-radius: 14px; color: var(--ink); font-weight: 700; font-size: 15px; }
.success__again:hover { border-color: var(--blue); }

/* ===================== ONLINE CTA ===================== */
.online { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(140deg, var(--blue-2), var(--blue)); box-shadow: 0 24px 50px rgba(18,28,174,0.32); padding: clamp(34px,5vw,52px) clamp(24px,5vw,48px); }
.online__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.online__ring--1 { top: -50px; right: -30px; width: 220px; height: 220px; background: rgba(255,255,255,0.1); }
.online__ring--2 { bottom: -70px; left: -40px; width: 180px; height: 180px; background: rgba(255,255,255,0.07); }
.online__inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.online__title { margin: 16px 0 0; font-size: clamp(24px,3.6vw,38px); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.12; text-wrap: balance; }
.online__desc { margin: 14px auto 0; max-width: 480px; font-size: clamp(15px,1.5vw,16.5px); line-height: 1.6; color: #dfe3ff; }
.online__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===================== FOOTER ===================== */
.footer { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; }
.footer__inner { max-width: 1160px; margin: 0 auto; padding: clamp(44px,6vw,64px) 24px clamp(26px,4vw,34px); display: grid; grid-template-columns: 1fr; gap: 32px; }
.brand--footer { margin-bottom: 16px; }
.brand--footer .brand__logo { height: 44px; }
.footer__tag { margin: 0; font-size: 14px; line-height: 1.65; color: #fff; max-width: 320px; }
.footer__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #aeb6f5; margin-bottom: 16px; }
.footer__map { width: 100%; max-width: 300px; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.22); background: #dfe4f5; margin-bottom: 14px; }
.footer__map iframe { border: 0; display: block; width: 100%; height: 100%; }
.footer__addr { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.footer__addr1 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.35; }
.footer__addr2 { font-size: 12.5px; color: #fff; }
.footer__maplink { margin-top: 5px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,0.16); color: #fff; font-size: 12.5px; font-weight: 700; align-self: flex-start; transition: background .15s ease; }
.footer__maplink:hover { background: rgba(255,255,255,0.26); }
.footer__phone { display: block; font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.footer__phone:last-of-type { margin-bottom: 14px; }
.footer__social { display: flex; gap: 10px; }
.footer__tg { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; }
.footer__ig { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.footer__ig:hover { background: rgba(255,255,255,0.26); }
.footer__rights { border-top: 1px solid rgba(255,255,255,0.14); text-align: center; font-size: 12.5px; color: #cdd4ff; padding: 18px 24px; }

/* ============ RESPONSIVE ============ */
/* courses: 1 col (phone) -> 2 cols (>=560) -> 4 cols (>=820) */
@media (min-width: 560px) {
  .grid--courses { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .ccard__head { display: block; }       /* stacked: icon on top of title */
  .ccard__ico { margin-bottom: 18px; }
}
@media (min-width: 700px) {
  .stats__inner { grid-template-columns: repeat(4, 1fr); }
  .grid--why { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .wcard__title { font-size: 17px; font-weight: 700; }
  .step { display: block; padding: 28px; }
  .step__num { margin-bottom: 18px; }
}
@media (min-width: 820px) {
  .grid--courses { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.1fr 1.7fr 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: inline-flex !important; }
  .brand__logo { height: 34px; }
  .langfab { right: 14px; bottom: 14px; padding: 5px 6px 5px 11px; }
  .langfab__btn { padding: 6px 11px; }
}
@media (max-width: 380px) {
  .hdr__actions { gap: 7px; }
  .hdr__icon { width: 36px; height: 36px; }
}
