/* =========================================================
   Basic Academy — public sayt
   Maket: "Bilikdən bacarığa" ana səhifə (2026-11)
   ========================================================= */

/* ---------- Şriftlər (öz serverimizdə, OFL) ----------
   Inter — mətn; Poppins — başlıqlar və brend. *-az / *-latin-ext faylları yalnız
   Azərbaycan hərfləri (ə, ğ, ş, İ...) və ₼ işarəsi üçündür. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/inter-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: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/inter-az.woff2) format('woff2'); unicode-range: U+0100-017F, U+018F, U+0259, U+20BC; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Brendbuk (2026-11): loqonun rəngləri */
  --navy: #00106d;            /* "basic academy" yazısı */
  --brand-purple: #8c35af;    /* "b" — bənövşəyi → magenta */
  --brand-magenta: #a435b3;
  --brand-violet: #57339e;
  --brand-blue-dark: #114388; /* "a" — tünd mavi → açıq mavi */
  --brand-blue-light: #50a9e9;
  --brand-gradient: linear-gradient(100deg, #9a35b2 0%, #57339e 48%, #2a72c7 100%);

  --ink: #0b1452;
  --text: #3d465c;
  --muted: #6b7489;
  --blue: #2a6fc4;
  --blue-600: #114388;
  --blue-50: #edf4fc;
  --violet: #8c35af;
  --violet-50: #f6eefa;
  --line: #e6e8f2;
  --card: #fbfbff;
  --bg: #ffffff;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(0, 16, 109, .04), 0 8px 24px -12px rgba(0, 16, 109, .12);
  --shadow-hover: 0 2px 4px rgba(0, 16, 109, .05), 0 18px 36px -16px rgba(87, 51, 158, .28);
  --container: 1440px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.dot { color: var(--blue); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  color: var(--blue);
  margin-bottom: 14px;
}

/* ---------- Düymələr ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn--lg { height: 52px; padding: 0 26px; }
.btn--primary { background: var(--brand-gradient); background-size: 140% 100%; background-position: 0 0; color: #fff; box-shadow: 0 8px 20px -10px rgba(87, 51, 158, .75); transition: background-position .3s, box-shadow .2s, transform .2s; }
.btn--primary:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #c9d3e6; box-shadow: var(--shadow); }
.btn__icon { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.logo__img { width: auto; height: 42px; }

.nav { margin: 0 auto; }
.nav__list { display: flex; gap: 34px; }
.nav__link { font-size: 14px; font-weight: 500; color: var(--text); position: relative; padding: 6px 0; transition: color .2s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--blue); }
.nav__cta-mobile { display: none; }
.header__cta { flex-shrink: 0; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 72px;
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(140, 53, 175, .07), transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 48px; }
.hero__title { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.06; max-width: 13ch; letter-spacing: -.045em; font-weight: 800; color: var(--ink); }
.hero__lead { margin-top: 18px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink); max-width: 44ch; line-height: 1.5; }
.hero__body { margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__media { position: relative; padding: 18px 24px 18px 0; }
.hero__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 988 / 616; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(16, 30, 70, .35); }
.hero__shape { position: absolute; border-radius: 26px; z-index: 0; }
.hero__shape--a { top: -4px; right: 0; width: 46%; height: 70%; background: linear-gradient(160deg, #dbe9fa, #b98fd6 120%); opacity: .75; }
.hero__shape--b { left: -40px; bottom: 0; width: 34%; height: 52%; background: linear-gradient(200deg, #eaf2fc, #b9d6f3); opacity: .7; }

/* ---------- Bölmələr ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0; }
.section__title { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -.03em; font-weight: 700; color: var(--ink); margin-bottom: 32px; }
.section__title--sm { font-size: 22px; margin: 8px 0 16px; }
.section__head { max-width: 760px; margin-bottom: 32px; }
.section__head .section__title { margin-bottom: 12px; }
.section__lead { font-size: 16.5px; color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Təlim kartları ---------- */
.courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.courses--detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 104px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--card));
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.course-card:hover { transform: translateY(-3px); border-color: #d6cdee; box-shadow: var(--shadow-hover); }
.course-card__icon { flex-shrink: 0; width: 54px; height: 54px; filter: drop-shadow(0 10px 12px rgba(87, 51, 158, .22)); transition: transform .3s; }
.course-card__icon svg { width: 100%; height: 100%; }
.course-card:hover .course-card__icon { transform: scale(1.06) rotate(-3deg); }
.course-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.course-card__text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.courses--detailed .course-card { height: auto; min-height: 112px; padding: 20px 24px; }
.course-card__title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.course-card__arrow { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #f0f3fa; color: var(--ink); transition: background-color .25s, color .25s; }
.course-card__arrow svg { width: 14px; height: 14px; }
.course-card:hover .course-card__arrow { background: var(--blue); color: #fff; }

/* ---------- Basic Abroad ---------- */
.abroad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #eef4fd 0%, #f5f7fe 55%, #eef1fd 100%);
  border: 1px solid #e3eafa;
  overflow: hidden;
}
.abroad__text { padding: 56px 0 56px 32px; position: relative; z-index: 1; }
.abroad__title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; max-width: 16ch; letter-spacing: -.04em; font-weight: 800; color: var(--ink); }
.abroad__lead { margin-top: 12px; font-size: 17px; color: var(--text); max-width: 40ch; }
.abroad .chips { margin: 26px 0 30px; }
.abroad__media { position: relative; }
.abroad__media img {
  position: absolute;
  inset: 16px 16px 16px 0;
  width: calc(100% - 16px);
  height: calc(100% - 32px);
  object-fit: cover;
  border-radius: 22px;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.chip--link { transition: border-color .2s, color .2s; }
.chip--link:hover { border-color: var(--blue); color: var(--blue); }
.page-hero + .section .chips { margin-bottom: 28px; }

/* ---------- Üstünlüklər ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feature { display: flex; gap: 20px; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature__icon--1 { background: var(--blue-50); color: var(--blue); }
.feature__icon--2 { background: var(--violet-50); color: var(--violet); }
.feature__icon--3 { background: var(--violet-50); color: var(--brand-violet); }
.feature__title { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.feature__text { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Müraciət bandı ---------- */
.cta {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 40px;
  padding: 44px 36px;
  border-radius: 24px;
  background: linear-gradient(100deg, #f8f0fb 0%, #f1f1fd 45%, #ecf3fe 100%);
  border: 1px solid #ece9f8;
}
.cta__title { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.cta__text p { margin-top: 10px; color: var(--text); max-width: 34ch; }

.lead-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: start; }
.field { position: relative; display: block; }
.field__icon { position: absolute; left: 16px; top: 26px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #98a0b3; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 111, 196, .14); }
.field .is-invalid, .field .is-invalid:focus { border-color: #e5484d; }
.field .is-invalid:focus { box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.field.is-invalid .field__icon { color: #e5484d; }
.field__error { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: #d93036; }
.lead-form__msg { grid-column: 1 / -1; font-size: 14px; min-height: 0; }
.lead-form__msg:empty { display: none; }
.lead-form__msg.is-success { color: #12805c; }
.lead-form__msg.is-error { color: #d93036; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Daxili səhifə (müvəqqəti) ---------- */
.page-hero { padding: 48px 0 24px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--blue); }
.page-hero__title { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; color: var(--ink); }
.page-hero__lead { margin-top: 14px; font-size: 18px; max-width: 60ch; }
/* ---------- Müəllimlər ---------- */
.teachers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.teacher { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--card)); overflow: hidden; }
.teacher__photo { aspect-ratio: 1; background: linear-gradient(160deg, #e3ecfa, #d3c4ef); display: grid; place-items: center; }
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher__photo span { font-size: 64px; font-weight: 800; color: #fff; }
.teacher__body { padding: 20px; }
.teacher__name { font-size: 18px; font-weight: 700; color: var(--ink); }
.teacher__role { margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--blue); }
.teacher__bio { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.chips--sm { margin-top: 14px; gap: 6px; }
.chips--sm .chip { height: 30px; padding: 0 12px; font-size: 13px; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.prose p { font-size: 16.5px; line-height: 1.75; margin-bottom: 14px; }
.prose .prose__lead { color: var(--ink); font-weight: 500; }
.notice { display: inline-block; margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { margin-top: 32px; padding: 48px 0 24px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--card) 0%, #fff 100%); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.logo--footer .logo__img { height: 46px; }
.footer__tagline { margin-top: 12px; max-width: 30ch; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer__brand .socials { margin-top: 18px; margin-left: -8px; }
.footer__title { margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.footer__col--courses { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 28px; row-gap: 10px; align-content: start; }
.footer__col--courses .footer__title { grid-column: 1 / -1; }
.footer__col a { color: var(--text); transition: color .2s; }
.footer__col a:hover, .footer__bottom a:hover { color: var(--blue); }
.footer__col a.footer__cta { margin-top: 4px; font-weight: 600; color: var(--blue); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ink); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--blue-50); color: var(--blue); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__credit a { font-weight: 600; color: var(--ink); }


/* ---------- Təlim səhifəsi ---------- */
.course-hero {
  padding: 40px 0 40px;
  background: radial-gradient(55% 80% at 100% 0%, rgba(140, 53, 175, .07), transparent 70%);
}
.course-hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 48px; align-items: start; margin-top: 8px; }
.course-hero__title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; color: var(--ink); }
.course-hero__lead { margin-top: 16px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.course-hero__body { margin-top: 14px; font-size: 16.5px; line-height: 1.7; max-width: 62ch; }
.course-hero__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, #fff 0%, #f3f6fe 100%);
  box-shadow: var(--shadow);
}
.course-hero__icon { display: block; width: 88px; height: 88px; filter: drop-shadow(0 14px 16px rgba(87, 51, 158, .22)); }
.course-hero__icon svg { width: 100%; height: 100%; }
.course-hero__points { margin-top: 22px; display: grid; gap: 10px; }
.course-hero__points li, .check-list li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.course-hero__points li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231673e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.facts { margin: 22px 0 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: right; }

.prose--lead p { font-size: 18px; line-height: 1.75; color: var(--ink); }

.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.list-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.list-card--accent { background: linear-gradient(160deg, #f6f8ff, #eef2fe); border-color: #e1e7fb; }
.list-card__title { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.check-list { display: grid; gap: 12px; }

.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.module { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--card)); }
.module__num { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue); font-size: 15px; font-weight: 700; }
.module__title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 8px 0 8px; }
.module__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.module__topics li { padding: 4px 10px; border-radius: 8px; background: #f2f4fa; font-size: 13.5px; color: var(--text); }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.faq__item[open] { border-color: #d6cdee; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f0f3fa; font-size: 18px; font-weight: 500; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__item p { padding: 0 20px 18px; font-size: 15.5px; line-height: 1.7; }

/* ---------- Rəylər ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review__stars { color: #f5b800; letter-spacing: 2px; font-size: 15px; }
.review__text { font-size: 15.5px; line-height: 1.7; color: var(--text); flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: linear-gradient(160deg, #e3ecfa, #d3c4ef); display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0; overflow: hidden; }
.review__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.review__course { font-size: 13px; color: var(--blue); }

/* ---------- Bloq ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.post-card__cover { aspect-ratio: 16 / 9; background: linear-gradient(160deg, #e3ecfa, #d3c4ef); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta { font-size: 13px; color: var(--muted); }
.post-card__title { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.post-card__text { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.article { max-width: 760px; min-width: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 56px; justify-content: space-between; align-items: start; }
.article-aside { position: sticky; top: 100px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, #fff, #f5f7fe); }
.aside-card__title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.aside-card__list { display: grid; gap: 2px; }
.aside-card__list a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background-color .2s; }
.aside-card__list a:hover { background: var(--blue-50); color: var(--blue); }
.aside-card__icon { width: 26px; height: 26px; flex-shrink: 0; }
.aside-card__icon svg { width: 100%; height: 100%; }
.aside-card__btn { width: 100%; margin-top: 14px; }
.article__cover { margin: 8px 0 28px; border-radius: 20px; overflow: hidden; }
.article__cover img { width: 100%; }
.article__body { font-size: 17px; line-height: 1.8; }
.article__body h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); margin: 32px 0 12px; }
.article__body h3 { font-size: 20px; color: var(--ink); margin: 26px 0 10px; }
.article__body p, .article__body ul, .article__body ol { margin: 0 0 16px; }
.article__body ul, .article__body ol { padding-left: 22px; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article__body img { border-radius: 14px; margin: 16px 0; }
.article__body blockquote { margin: 20px 0; padding: 4px 20px; border-left: 3px solid var(--blue); color: var(--ink); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.pager__btn { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
a.pager__btn:hover { border-color: var(--blue); color: var(--blue); }
.pager__btn.is-disabled { opacity: .45; }
.pager__info { font-size: 14px; color: var(--muted); }
.empty-state { padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }


/* ---------- Haqqımızda ---------- */
.hero--page { padding-top: 24px; }
.hero--page .breadcrumbs { margin-bottom: 18px; }
.hero__title--md { font-size: clamp(34px, 4vw, 52px); max-width: 16ch; }
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.story__quote {
  margin: 0;
  padding: 28px 30px;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--blue-50), var(--violet-50));
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.4;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.story__quote::before { content: "“"; position: absolute; top: -8px; left: 22px; font-size: 64px; line-height: 1; color: var(--blue); opacity: .35; font-weight: 800; }
.section__head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; max-width: none; }
.section__head--row .link-arrow { margin-top: 0; }

/* ---------- Əlaqə ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.contact__text { font-size: 16.5px; line-height: 1.75; margin-bottom: 24px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card__icon--wa { background: #e8f8ee; color: #1fa855; }
.contact-card__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-card__value { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
a.contact-card__value:hover { color: var(--blue); }
.contact-card__link { display: inline-block; margin-top: 4px; font-size: 13.5px; color: var(--blue); }
.contact__socials { margin-top: 20px; }
.help-links { display: grid; gap: 10px; margin-top: 28px; }
.help-links__title { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.help-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.help-link:hover { border-color: #d6cdee; box-shadow: var(--shadow-hover); }
.help-link__icon { width: 40px; height: 40px; flex-shrink: 0; }
.help-link__icon svg { width: 100%; height: 100%; }
.help-link__body { flex: 1; }
.help-link__name { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.help-link__text { display: block; font-size: 13.5px; color: var(--muted); }
.help-link .course-card__arrow { width: 30px; height: 30px; }
.contact__socials .socials { margin-top: 6px; }

.contact-form { padding: 32px; border: 1px solid #e6e9f6; border-radius: 24px; background: linear-gradient(160deg, #fff 0%, #f5f7fe 100%); box-shadow: var(--shadow); }
.contact-form__title { font-size: 24px; letter-spacing: -.025em; font-weight: 700; color: var(--ink); }
.contact-form__hint { margin: 6px 0 22px; color: var(--muted); font-size: 15px; }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form__full { grid-column: 1 / -1; }
.contact-form__submit { margin-top: 18px; width: 100%; }
.field--plain { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field--plain input, .field--plain select, .field--plain textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field--plain input, .field--plain select { height: 48px; }
.field--plain textarea { resize: vertical; min-height: 120px; }
.field--plain input:focus, .field--plain select:focus, .field--plain textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 111, 196, .14); }
.field--plain .field__error { margin-top: 0; }
.contact-form .lead-form__msg { margin-top: 12px; }

.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--blue-50); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }


/* ---------- Xaricdə təhsil ---------- */
.hero--abroad .hero__media img { aspect-ratio: 770 / 624; }
.hero--abroad .chips { margin-top: 22px; }
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.level { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--card)); }
.level__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; }
.level__icon svg { width: 24px; height: 24px; }
.level__icon--1, .level__icon--3 { background: var(--blue-50); color: var(--blue); }
.level__icon--2, .level__icon--4 { background: var(--violet-50); color: var(--violet); }
.level__title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.level__text { font-size: 15px; line-height: 1.6; color: var(--text); }
.services-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.services-list .list-card__title { margin-bottom: 8px; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: step; position: relative; }
.step { position: relative; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-weight: 700; margin-bottom: 14px; box-shadow: 0 8px 18px -8px rgba(87, 51, 158, .6); }
.step__title { font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.step__text { font-size: 14px; line-height: 1.55; color: var(--muted); }

.countries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.country-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--card)); transition: transform .25s, box-shadow .25s, border-color .25s; }
.country-card:hover { transform: translateY(-2px); border-color: #d6cdee; box-shadow: var(--shadow-hover); }
.country-card:hover .course-card__arrow { background: var(--blue); color: #fff; }
.country-card__code, .country-badge { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(150deg, #50a9e9, #57339e 70%, #8c35af); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.country-card__body { flex: 1; min-width: 0; }
.country-card__name { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.country-card__text { display: block; font-size: 13px; color: var(--muted); }
.country-card .course-card__arrow { width: 30px; height: 30px; }
.country-badge { width: 72px; height: 72px; border-radius: 18px; font-size: 22px; box-shadow: 0 14px 24px -12px rgba(87, 51, 158, .55); }
.country-badge__label { margin: 20px 0 10px; font-size: 13px; color: var(--muted); }

/* =========================================================
   Responsiv
   ========================================================= */
@media (max-width: 1100px) {
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels, .countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav__list { gap: 22px; }
  .header__inner { gap: 20px; }
}

@media (max-width: 960px) {
  .header__inner { height: 68px; }
  .header__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(16, 30, 70, .25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid #f0f2f7; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--blue); }
  .nav__cta-mobile { display: flex; width: 100%; margin-top: 18px; height: 52px; }

  .hero { padding: 24px 0 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__title { max-width: 16ch; }
  .hero__media { padding: 12px 12px 12px 0; }
  .hero__shape--b { left: -12px; }

  .courses--detailed { grid-template-columns: 1fr; }

  .abroad { grid-template-columns: 1fr; }
  .abroad__text { padding: 40px 28px 8px; }
  .abroad__media { aspect-ratio: 16 / 10; }
  .abroad__media img { inset: 16px; width: calc(100% - 32px); clip-path: none; }

  .features { grid-template-columns: 1fr; gap: 24px; }
  .course-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .story, .contact { grid-template-columns: 1fr; gap: 24px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-aside { position: static; }
  .services-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .map { aspect-ratio: 4 / 3; }
  .two-lists, .modules { grid-template-columns: 1fr; }

  .cta { grid-template-columns: 1fr; gap: 24px; padding: 36px 28px; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .section--tight { padding: 20px 0; }
  .section__title { margin-bottom: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }

  .courses { gap: 12px; }
  .course-card { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; height: auto; min-height: 150px; padding: 18px; position: relative; }
  .course-card__icon { width: 52px; height: 52px; }
  .course-card__title { font-size: 16px; }
  .course-card__body { flex: 0; }
  .courses--detailed .course-card { flex-direction: row; align-items: center; min-height: 0; padding: 16px 52px 16px 16px; }
  .courses--detailed .course-card__body { flex: 1; }
  .courses--detailed .course-card__arrow { top: 50%; transform: translateY(-50%); }
  .course-card__arrow { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; }

  .abroad { border-radius: 22px; }
  .abroad__text { padding: 32px 20px 4px; }
  .abroad__text .btn { width: 100%; }
  .abroad__media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); border-radius: 16px; }

  .cta { padding: 28px 20px; border-radius: 20px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .btn { width: 100%; }

  .course-hero__card, .list-card { padding: 22px; }
  .contact-form { padding: 22px; }
  .levels, .countries { grid-template-columns: 1fr; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .story__quote { padding: 22px; }
  .module { padding: 18px; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__col--courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .socials { gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Brend tipografiyası (brendbuk 2026-11): başlıqlar Poppins ilə ---------- */
.hero__title, .section__title, .abroad__title, .cta__title, .page-hero__title, .course-hero__title,
.course-card__title, .teacher__name, .prose h2, .list-card__title, .module__title, .post-card__title,
.article__body h2, .contact-form__title, .level__title, .step__title, .aside-card__title, .story__quote,
.profile__name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.015em;
}
.course-card__title { font-weight: 600; letter-spacing: -.01em; }
.hero__title, .course-hero__title { letter-spacing: -.025em; line-height: 1.1; }
.hero__title { max-width: 14ch; }
.dot { color: var(--brand-magenta); }
.eyebrow { color: var(--brand-violet); }
.nav__link[aria-current="page"]::after { background: var(--brand-gradient); }

@media (max-width: 640px) {
  .logo__img { height: 36px; }
}

/* ---------- Müəllim kartı → profil linki ---------- */
a.teacher__photo { overflow: hidden; }
a.teacher__photo img { transition: transform .35s; }
a.teacher__photo:hover img { transform: scale(1.03); }
.teacher__name a:hover { color: var(--brand-violet); }
.teacher__body { display: flex; flex-direction: column; flex: 1; }
.teacher__more { margin-top: auto; padding-top: 14px; font-size: 14px; }

/* ---------- Müəllim profili (/muellimler/{slug}) ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 8px; }
.profile__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 16, 109, .35); }
.profile__photo span { font-size: 120px; }
.profile__bio { margin-top: 20px; }
.profile__bio p + p { margin-top: 12px; }
.profile__subtitle { margin: 28px 0 12px; font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); }
.profile .btn svg:not(.btn__icon) { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; gap: 24px; }
  .profile__photo { max-width: 320px; }
}

/* Profil bioqrafiyası: alt başlıqlar, siyahı, sitat; foto olmayanda baş hərflər */
.profile__bio h2 { font-size: 20px; margin: 30px 0 12px; }
.profile__bio .check-list { margin: 4px 0 18px; }
.profile__quote { margin: 8px 0 18px; padding: 16px 20px; border-left: 3px solid var(--brand-magenta); border-radius: 0 12px 12px 0; background: var(--violet-50); font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.55; color: var(--ink); }
.teacher__initials { font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; color: #fff; text-shadow: 0 6px 18px rgba(87, 51, 158, .25); }
.teacher__photo .teacher__initials { font-size: 72px; }
.profile__photo .teacher__initials { font-size: 120px; }
.teacher__photo:has(.teacher__initials) { background: linear-gradient(150deg, #50a9e9 0%, #57339e 60%, #8c35af 100%); }
@media (min-width: 861px) {
  .profile__photo { position: sticky; top: 100px; }
}
