/* =====================================================================
   Qəbələ ARB — sayt üslubu
   Rənglər Tufandağın səhər mənzərəsindən və logodan götürülüb:
   gecə-mavi səma, qarlı zirvə, meşə yaşılı, günəş doğuşu narıncısı.
   Bəzək: Azərbaycan xalçası haşiyəsindən götürülmüş "göl" naxışı.
   ===================================================================== */

:root {
  --navy: #233F8E;
  --navy-deep: #172B63;
  --navy-soft: #2F55A8;
  --ink: #16233F;
  --text-2: #4A5878;
  --snow: #F5F8FC;
  --white: #FFFFFF;
  --mist: #DCE5F2;
  --line: #E3E9F3;
  --meadow: #2E8A57;
  --meadow-deep: #1F6B4A;
  --ember: #F07A2C;
  --ember-deep: #D4621A;
  --danger: #C8323C;

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lift: 0 18px 40px -18px rgba(23, 43, 99, .45);
  --header-h: 84px;

  /* xalça haşiyəsi — "göl" motivi */
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Crect width='48' height='16' fill='%23172B63'/%3E%3Cpath d='M24 1 33 8 24 15 15 8Z' fill='%23F07A2C'/%3E%3Cpath d='M24 5 28 8 24 11 20 8Z' fill='%23172B63'/%3E%3Cpath d='M24 7 25 8 24 9 23 8Z' fill='%23F5F8FC'/%3E%3Cpath d='M0 8 6 3 6 13Z M48 8 42 3 42 13Z' fill='%232E8A57'/%3E%3Ccircle cx='10.5' cy='8' r='1.4' fill='%23DCE5F2'/%3E%3Ccircle cx='37.5' cy='8' r='1.4' fill='%23DCE5F2'/%3E%3C/svg%3E");
}

/* ---------- Əsaslar ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
html, body { overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; }
a { color: var(--navy); }
a:hover { color: var(--ember-deep); text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--ember); color: #fff; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ember); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; padding-left: 20px; padding-right: 20px; }

/* ---------- Düymələr ---------- */
.btn-q {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-q:hover { text-decoration: none; transform: translateY(-1px); }
.btn-q:active { transform: translateY(0); }
.btn-q[disabled] { opacity: .6; cursor: progress; }
.btn-q-sm { padding: 10px 16px; font-size: 14px; }
.btn-q-lg { padding: 17px 28px; font-size: 16px; }
.btn-q-block { width: 100%; }
.btn-q-primary { background: var(--navy); color: #fff; }
.btn-q-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-q-accent { background: var(--ember); color: #fff; }
.btn-q-accent:hover { background: var(--ember-deep); color: #fff; }
.btn-q-ghost { background: transparent; color: var(--navy); border-color: var(--mist); }
.btn-q-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-q-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-q-light:hover { background: #fff; color: var(--navy); }

/* ---------- Üst zolaq ---------- */
.utility-bar { background: var(--navy-deep); color: #C9D6EE; font-size: 13.5px; }
.utility-inner { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.utility-spacer { flex: 1; }
.utility-item { display: inline-flex; align-items: center; gap: 8px; color: #C9D6EE; }
.utility-item .fa { color: var(--ember); }
a.utility-item:hover { color: #fff; }
.lang-switch { position: relative; }
.lang-current { background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.lang-list { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; list-style: none; margin: 0; padding: 6px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); min-width: 160px; z-index: 1100; }
.lang-switch.is-open .lang-list { display: block; }
.lang-list a { display: block; padding: 8px 12px; color: var(--ink); border-radius: 6px; }
.lang-list a:hover { background: var(--snow); }

/* ---------- Başlıq ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(23,43,99,.35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; height: 58px; width: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav-head, .main-nav-foot { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 14px; font-weight: 700; font-size: 15px; color: var(--ink); border-radius: 999px; }
.nav-list > li > a:hover { color: var(--navy); background: var(--snow); }
.nav-list > li.is-active > a { color: var(--navy); background: #EAF0FA; }
.sub-toggle { background: none; border: 0; color: var(--text-2); padding: 6px 4px; margin-left: -10px; cursor: pointer; }
.sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease; z-index: 1100; }
.sub-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; }
.sub-menu a:hover { background: var(--snow); color: var(--navy); }
@media (min-width: 992px) {
  .has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu, .has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

.nav-toggle { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-backdrop { display: none; }

@media (max-width: 1199.98px) { .nav-list > li > a { padding: 10px 10px; font-size: 14.5px; } }

@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  .brand img { height: 46px; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); z-index: 1300;
    background: #fff; flex-direction: column; justify-content: flex-start;
    transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; overflow-y: auto;
    box-shadow: -20px 0 40px -20px rgba(23,43,99,.4);
  }
  .nav-is-open .main-nav { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
  /* başlıq stacking context yaradır: menyu açılanda başlıq örtükdən yuxarı qalxır */
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-is-open .site-header { z-index: 1300; }
  .nav-is-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(23,43,99,.45); z-index: 1200; }
  .nav-is-open body { overflow: hidden; }
  .main-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .main-nav-head img { height: 40px; }
  .nav-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-list > li > a { flex: 1; padding: 14px 14px; font-size: 16px; border-radius: var(--radius-sm); }
  .sub-toggle { margin: 0; width: 44px; height: 44px; font-size: 18px; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: 100%; display: none; padding: 0 0 6px 14px; }
  .has-children.is-open > .sub-menu { display: block; }
  .has-children.is-open > .sub-toggle .fa { transform: rotate(180deg); }
  .main-nav-foot { display: grid; gap: 10px; padding: 16px 20px 28px; margin-top: auto; border-top: 1px solid var(--line); }
}

/* ---------- Bölmələr ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem, 2.4vw, 2.15rem); letter-spacing: -.01em; margin: 0; }
.section-lead { color: var(--text-2); margin: 10px 0 0; max-width: 60ch; }
@media (max-width: 767.98px) { .section { padding: 60px 0; } .section-tight { padding: 40px 0; } }

.ornament-band { height: 16px; background: var(--ornament) repeat-x center / auto 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); isolation: isolate; }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-sun { transform-origin: 1010px 250px; animation: sunrise 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-climbers { animation: climb 2.4s .6s ease-out both; }
@keyframes sunrise { from { transform: translateY(90px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes climb { from { opacity: 0; transform: translate(-14px, 16px); } to { opacity: 1; transform: none; } }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 200px; }
.hero-place { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 700; font-size: 14px; color: #FFD3AE; }
.hero-title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 22px; max-width: 14ch; text-wrap: balance; }
.hero-lead { font-size: 18px; color: #D7E2F5; max-width: 52ch; margin: 0 0 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.result-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 30px 60px -24px rgba(8, 18, 48, .65); position: relative; }
.result-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 6px; border-radius: 0 0 6px 6px; background: var(--ornament) repeat-x center / auto 6px; }
.result-card-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 4px 0 6px; }
.result-card-text { color: var(--text-2); margin: 0 0 18px; font-size: 15px; }
.result-form { display: grid; gap: 12px; }
.result-input { position: relative; }
.result-input .fa { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-2); }
.result-input .form-control { padding-left: 44px; height: 56px; font-size: 20px; font-weight: 700; letter-spacing: .06em; }

@media (max-width: 991.98px) {
  /* mobil: mənzərə bütöv halda aşağıda görünür, mətnin altına düşmür */
  .hero { background: linear-gradient(180deg, #1B3170 0%, #2F55A8 55%, #7FA3D8 100%); }
  .hero-scene { top: auto; bottom: 0; left: 0; width: 100%; height: auto; aspect-ratio: 1440 / 640; }
  .hero-sky { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 46vw; }
  .hero-title { max-width: 18ch; }
}
@media (max-width: 575.98px) {
  .hero-scene { left: -30%; width: 160%; }
  .hero-inner { padding-top: 40px; padding-bottom: 66vw; }
  .hero-lead { font-size: 16px; }
  .hero-buttons .btn-q { flex: 1 1 auto; }
  .result-card { padding: 24px 20px; }
}

/* ---------- Form elementləri ---------- */
.form-control { border: 1.5px solid var(--mist); border-radius: 12px; height: 50px; padding: 10px 14px; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
textarea.form-control { height: auto; min-height: 120px; }
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(35,63,142,.14); }
.form-control.is-invalid { border-color: var(--danger); }
label { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
[data-error] { font-size: 13.5px; margin-top: 6px; }
[data-error]:empty { display: none; }
.form-feedback { font-weight: 600; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--meadow) !important; }
.q-form.is-loading [type=submit] { position: relative; color: transparent !important; }
.q-form.is-loading [type=submit]::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Elanlar (slider) ---------- */
.section-announce { padding-top: 72px; }
.announce-slider { margin: 0 -12px; }
.announce-item { padding: 0 12px; }
.announce-item > * { background: #fff; }
.announce-media { position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.announce-media:only-child { border-radius: var(--radius-lg); }
.announce-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.announce-mode { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #fff; color: var(--navy); }
.announce-mode-online { background: var(--meadow); color: #fff; }
.announce-body { padding: 22px 24px 24px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); border: 1px solid var(--line); border-top: 0; }
.announce-body h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 8px; }
.announce-body p { color: var(--text-2); margin: 0 0 16px; }
.announce-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.slider-arrows { display: flex; gap: 8px; }
.q-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--mist); background: #fff; color: var(--navy); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s ease; }
.q-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.q-arrow.slick-disabled { opacity: .35; cursor: default; }
.slick-track { display: flex !important; }
.slick-slide { height: inherit !important; }
.slick-slide > div, .slick-slide > div > * { height: 100%; }
.announce-item { display: flex !important; flex-direction: column; }
.announce-body { flex: 1; }

/* ---------- Haqqımızda ---------- */
.section-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-figure { margin: 0; }
.about-figure a { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); transform: rotate(-1.2deg); transition: transform .3s ease; }
.about-figure a:hover { transform: rotate(0); }
.about-figure img { display: block; width: 100%; height: auto; }
.about-figure figcaption { margin-top: 18px; color: var(--text-2); font-size: 14px; padding-left: 14px; border-left: 3px solid var(--ember); }
.about-kicker { color: var(--ember-deep); font-weight: 800; margin: 0 0 10px; }
.about-copy .section-title { margin-bottom: 18px; max-width: 18ch; }
.about-text { color: var(--text-2); font-size: 17px; max-width: 60ch; }
.about-points { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.about-points li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; }
.about-points .fa { color: var(--meadow); }
.about-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 991.98px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Xidmətlər ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-media { aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-media-empty { display: flex; align-items: center; justify-content: center; font-size: 42px; color: var(--navy); background: linear-gradient(160deg, #EAF0FA 0%, #DCE5F2 100%); }
.service-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; }
.service-text { color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.service-link { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--ember); cursor: pointer; }
.service-link:hover { color: var(--ember-deep); }

/* ---------- Qalereya ---------- */
.section-gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.gallery-item-wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; } }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; } }

/* ---------- Xəbərlər ---------- */
.news-slider { margin: 0 -11px; }
.news-slider .news-card { margin: 0 11px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex !important; flex-direction: column; height: 100%; }
.news-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-body { padding: 18px 20px 22px; }
.news-date { display: block; font-size: 13px; font-weight: 700; color: var(--ember-deep); margin-bottom: 6px; }
.news-title { font-size: 1.08rem; font-weight: 800; margin: 0 0 8px; line-height: 1.35; }
.news-title a { color: var(--ink); }
.news-title a:hover { color: var(--navy); }
.news-body p { color: var(--text-2); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 991.98px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .news-grid { grid-template-columns: 1fr; } }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pager-item { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--mist); font-weight: 800; color: var(--ink); }
.pager-item:hover { border-color: var(--navy); color: var(--navy); }
.pager-item.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }

.empty-state { text-align: center; color: var(--text-2); padding: 40px 0; }

/* ---------- Çağırış zolağı ---------- */
.cta-band { background: var(--ember); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 52px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 8px; }
.cta-band p { margin: 0; color: #FFF0E4; font-size: 17px; }
.cta-band .btn-q-accent { background: var(--navy-deep); }
.cta-band .btn-q-accent:hover { background: #0F1F4A; }
@media (max-width: 767.98px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Daxili səhifə başlığı ---------- */
.page-hero { position: relative; background: var(--navy-deep); color: #fff; padding: 56px 0 120px; overflow: hidden; }
.page-hero-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.page-hero-inner { position: relative; z-index: 1; }
.page-title { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.9rem); letter-spacing: -.015em; margin: 14px 0 12px; max-width: 24ch; text-wrap: balance; }
.page-sub { color: #C9D6EE; font-size: 17px; max-width: 60ch; margin: 0 0 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.crumbs li { color: #9FB3D9; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6C83B5; }
.crumbs a { color: #C9D6EE; }
.crumbs a:hover { color: #fff; }
.share-list { list-style: none; padding: 0; margin: 6px 0 0; display: flex; gap: 8px; }
.share-list a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.share-list a:hover { background: #fff; color: var(--navy); }

.subpage-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -30px; position: relative; z-index: 2; }
.subpage-nav a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; box-shadow: 0 10px 20px -16px rgba(23,43,99,.5); }

/* ---------- Mətn məzmunu ---------- */
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: #24324F; }
.prose.fr-view { font-family: var(--font-body); }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 700; margin: 1.8em 0 .6em; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.2rem; }
.prose img { border-radius: var(--radius); height: auto; }
.prose a { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 10px 12px; }
.prose blockquote { border-left: 4px solid var(--ember); padding: 4px 0 4px 18px; color: var(--text-2); margin: 1.5em 0; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.article-cover { margin: 0 0 24px; border-radius: var(--radius-lg); overflow: hidden; }
.article-cover img { width: 100%; display: block; }
.article-lead { font-size: 19px; font-weight: 600; color: var(--ink); max-width: 60ch; }
.article-aside h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0 0 16px; }
.aside-list { display: grid; gap: 16px; }
.aside-list .news-media { aspect-ratio: 16 / 9; }
.aside-list .news-body p { display: none; }
@media (max-width: 991.98px) { .article-layout { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Əlaqə ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.contact-card h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 0 0 6px; }
.contact-lead { color: var(--text-2); margin-bottom: 24px; }
.contact-info { background: var(--navy-deep); color: #D7E2F5; border-radius: var(--radius-lg); padding: 30px 30px 0; overflow: hidden; display: grid; gap: 22px; }
.contact-row { display: flex; gap: 16px; }
.contact-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(240,122,44,.16); color: var(--ember); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-row h3 { color: #fff; font-size: 15px; font-weight: 800; margin: 2px 0 4px; }
.contact-row p { margin: 0 0 4px; }
.contact-row a { display: block; color: #fff; font-weight: 600; }
.contact-row a:hover { color: #FFD3AE; }
.contact-ridge { margin: 6px -30px 0; line-height: 0; }
.contact-ridge svg { width: 100%; height: auto; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { padding: 24px 20px; } }

/* ---------- Nəticə səhifəsi ---------- */
.result-page-card { max-width: 520px; margin: -110px auto 0; position: relative; z-index: 2; background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lift); }
.result-help { margin: 22px 0 0; padding: 18px 0 0 20px; border-top: 1px dashed var(--mist); color: var(--text-2); font-size: 14.5px; }
.result-help li + li { margin-top: 6px; }
@media (max-width: 575.98px) { .result-page-card { padding: 24px 20px; margin-top: -90px; } }

/* ---------- 404 ---------- */
.notfound { padding: 90px 0 110px; text-align: center; }
.notfound-art { width: 220px; margin: 0 auto 20px; display: block; }
.notfound h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.notfound p { color: var(--text-2); max-width: 52ch; margin: 0 auto 26px; }
.notfound-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: #B9C8E4; margin-top: 0; }
.footer-ridge { display: block; width: 100%; height: 70px; color: var(--navy-deep); margin-bottom: -1px; }
.cta-band + .site-footer .footer-ridge { background: var(--ember); }
.footer-body { background: var(--navy-deep); padding: 30px 0 30px; }
.footer-col { margin-bottom: 32px; }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; }
.footer-logo img { display: block; width: 200px; height: auto; }
.footer-about { max-width: 40ch; font-size: 15px; }
.footer-title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 6px 0 18px; }
.footer-menu, .footer-contact, .footer-social { list-style: none; padding: 0; margin: 0; }
.footer-menu { columns: 2; column-gap: 20px; }
.footer-menu li { break-inside: avoid; margin-bottom: 8px; }
.footer-menu a { color: #D7E2F5; }
.footer-menu a:hover, .footer-contact a:hover { color: #FFD3AE; }
.footer-contact { display: grid; gap: 12px; margin-bottom: 22px; }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; }
.footer-contact .fa { color: var(--ember); width: 16px; text-align: center; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #fff; font-size: 17px; }
.footer-social a:hover { background: var(--ember); color: #fff; }
.footer-bottom { background: #101F4A; font-size: 13.5px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom-inner::before { content: none; }

/* ---------- Mobil alt menyu ---------- */
.bottom-nav { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: 68px; }
  .bottom-nav { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(23,43,99,.45); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; background: none; border: 0; color: var(--text-2); font-size: 11.5px; font-weight: 700; font-family: var(--font-body); }
  .bottom-nav .fa { font-size: 19px; color: var(--navy); }
  .bottom-nav .register_btn .fa { color: var(--ember); }
}

/* ---------- Modal ---------- */
.q-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.q-modal .modal-header { border: 0; padding: 26px 28px 0; position: relative; }
.q-modal .modal-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--ornament) repeat-x center / auto 8px; }
.q-modal .modal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.q-modal .close { font-size: 30px; opacity: .6; }
.q-modal .modal-body { padding: 10px 28px 28px; }
.modal-lead { color: var(--text-2); margin-bottom: 20px; }
.modal-backdrop.show { opacity: .55; background: var(--navy-deep); }

/* ---------- Admin üçün kiçik panel ---------- */
.admin-pill { position: fixed; left: 16px; bottom: 16px; z-index: 1500; display: flex; gap: 2px; background: var(--ink); border-radius: 999px; padding: 4px; box-shadow: var(--shadow-lift); }
.admin-pill a { color: #fff; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.admin-pill a:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 991.98px) { .admin-pill { bottom: 80px; } }

/* colorbox düymələri */
#cboxOverlay { background: var(--navy-deep); }
select.form-control { padding-top: 0; padding-bottom: 0; }


/* =====================================================================
   Kurs saytı bölmələri
   ===================================================================== */
.narrow { max-width: 860px; }
.link-more { font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--ember); padding-bottom: 2px; white-space: nowrap; }
.link-more:hover { color: var(--ember-deep); }
.section-head-sm { margin-bottom: 18px; }
.section-head-sm .section-title { font-size: 1.35rem; }

/* slider nöqtələri: nazik zolaqlar */
.q-dots { list-style: none; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 0; margin: 24px 0 0; }
.q-dots li { margin: 0; padding: 0; line-height: 0; }
.q-dots button { display: block; width: 18px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--mist); font-size: 0; cursor: pointer; transition: width .25s ease, background-color .25s ease; -webkit-appearance: none; appearance: none; box-shadow: none; outline: none; }
.q-dots button:hover { background: #B9C8E4; }
.q-dots .slick-active button { width: 40px; background: var(--ember); }
.q-dots button:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* rəqəmlər */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat-item { padding: 26px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-2); font-weight: 600; font-size: 14.5px; }
@media (max-width: 575.98px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 18px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .stat-item:nth-child(-n+2) { border-top: 0; }
  .stat-item:first-child { padding-left: 12px; }
}

/* çiplər və tablar */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--mist); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: var(--font-body); transition: all .15s ease; }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips-filter { margin-bottom: 22px; }

.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 22px; display: grid; gap: 14px; }
.finder-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
.finder-label { font-weight: 800; font-size: 14.5px; }
.finder-result { margin: 0; font-weight: 700; color: var(--meadow); min-height: 0; }
.finder-result:empty { display: none; }
@media (max-width: 575.98px) { .finder-row { grid-template-columns: 1fr; gap: 8px; } .finder { padding: 16px; } }

.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 26px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px; font-weight: 700; color: var(--text-2); white-space: nowrap; cursor: pointer; font-family: var(--font-body); font-size: 14.5px; }
.tab span { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--snow); font-size: 12px; margin-left: 4px; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--navy); border-bottom-color: var(--ember); }

/* kurs kartları */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.course-card.is-featured { border-color: #F6B98E; box-shadow: 0 0 0 3px rgba(240,122,44,.1); }
.course-media { aspect-ratio: 16 / 8; background: var(--mist); }
.course-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.course-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.course-cat { font-size: 13px; font-weight: 800; color: var(--navy-soft); }
.course-flag { font-size: 12px; font-weight: 800; color: var(--ember-deep); background: #FFF1E7; border-radius: 999px; padding: 3px 10px; }
.course-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; }
.course-desc { color: var(--text-2); font-size: 15px; margin: 0 0 14px; }
.course-subjects { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.course-subjects li { background: var(--snow); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.course-meta { margin: 0 0 18px; display: grid; gap: 6px; font-size: 14px; }
.course-meta div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 6px; }
.course-meta dt { font-weight: 600; color: var(--text-2); }
.course-meta dt .fa { width: 16px; color: var(--ember); }
.course-meta dd { margin: 0; font-weight: 700; text-align: right; }
.course-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.course-price { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.course-foot .btn-q:only-child { width: 100%; }

/* təqvim + geri sayım */
.section-schedule { background: #fff; }
.schedule-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.countdown-card { background: var(--navy-deep); color: #D7E2F5; border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; }
.countdown-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--ornament) repeat-x center / auto 8px; }
.countdown-kicker { color: #FFD3AE; font-weight: 800; margin: 0 0 8px; }
.countdown-card h2 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0 0 6px; }
.countdown-date { margin: 0 0 20px; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.countdown div { background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px 6px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 13px; }
.sched-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sched-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sched-item.is-past { opacity: .6; }
.sched-date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 64px; border-radius: 12px; background: var(--snow); line-height: 1.1; }
.sched-day { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.sched-month { font-size: 12.5px; font-weight: 800; color: var(--ember-deep); }
.sched-body h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 4px; }
.sched-meta { margin: 0; color: var(--text-2); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sched-meta .fa { color: var(--ember); }
.sched-note { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.sched-done { font-size: 13px; font-weight: 700; color: var(--text-2); }
@media (max-width: 991.98px) { .schedule-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 575.98px) { .sched-item { grid-template-columns: 56px 1fr; } .sched-item > .btn-q, .sched-item > .sched-done { grid-column: 2; justify-self: start; } }

/* müəllimlər */
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.teacher-photo { width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #EAF0FA, #DCE5F2); display: flex; align-items: center; justify-content: center; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--mist); }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-photo span { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy); }
.teacher-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 4px; }
.teacher-subject { color: var(--ember-deep); font-weight: 800; font-size: 14px; margin: 0 0 4px; }
.teacher-exp { color: var(--text-2); font-size: 13.5px; margin: 0 0 8px; }
.teacher-bio { color: var(--text-2); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* rəylər */
.section-testimonials { background: var(--navy-deep); }
.section-testimonials .section-title { color: #fff; }
.section-testimonials .q-arrow { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.section-testimonials .q-arrow:hover { background: #fff; color: var(--navy); }
.testi-slider { margin: 0 -10px; }
.testi-card { margin: 0 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 26px; display: flex !important; flex-direction: column; height: 100%; }
.testi-card blockquote { color: #E7EEFA; font-size: 17px; line-height: 1.6; margin: 0 0 20px; flex: 1; }
.testi-card blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--ember); margin-bottom: 8px; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; color: #C9D6EE; }
.testi-card figcaption b { display: block; color: #fff; }
.testi-card figcaption small { display: block; color: #FFD3AE; font-weight: 600; }
.testi-avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; overflow: hidden; background: var(--ember); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.section-faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-grid .link-more { display: inline-block; margin-top: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fa { color: var(--ember); transition: transform .2s ease; }
.faq-item[open] summary .fa { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--mist); box-shadow: 0 10px 24px -20px rgba(23,43,99,.5); }
.faq-answer { padding: 0 20px 18px; color: var(--text-2); }
@media (max-width: 991.98px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }

/* =====================================================================
   Nəticə vərəqi
   ===================================================================== */
.result-hero { background: var(--navy-deep); color: #D7E2F5; padding: 36px 0 34px; position: relative; }
.result-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--ornament) repeat-x center / auto 10px; }
.rs-head { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 18px; }
.rs-exam { color: #FFD3AE; font-weight: 700; margin: 0 0 6px; }
.rs-who h1 { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0 0 12px; }
.rs-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rs-tags li { background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.rs-tags b { color: #fff; }
.rs-score { position: relative; width: 168px; height: 168px; flex: 0 0 168px; }
.rs-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.rs-ring circle { fill: none; stroke-width: 10; }
.rs-ring .ring-bg { stroke: rgba(255,255,255,.12); }
.rs-ring .ring-fg { stroke: var(--ember); stroke-linecap: round; animation: ring 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ring { from { stroke-dasharray: 0 326.7; } }
.rs-score-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rs-score-text b { font-family: var(--font-display); font-size: 2.3rem; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.rs-score-text span { font-size: 14px; margin-top: 4px; }
.rs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 26px 0 18px; }
.rs-facts div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 16px; }
.rs-facts span { display: block; font-size: 13px; }
.rs-facts b { font-family: var(--font-display); font-size: 1.4rem; color: #fff; font-variant-numeric: tabular-nums; }
.rs-facts small { font-size: .9rem; color: #B9C8E4; }
.rs-facts .is-up b { color: #8EE0A8; }
.rs-facts .is-down b { color: #FFB3A8; }
.rs-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-body { padding-top: 30px; padding-bottom: 60px; display: grid; gap: 22px; }
.rs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.rs-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0 0 18px; }
.rs-card-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.rs-card-head h2 { margin: 0; }
.rs-muted { color: var(--text-2); font-size: 14px; }
.rs-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rs-subject { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.rs-subject-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.rs-subject-top span { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.rs-bar { height: 8px; border-radius: 4px; background: var(--snow); overflow: hidden; margin-bottom: 10px; }
.rs-bar i { display: block; height: 100%; background: var(--navy); border-radius: 4px; }
.rs-counts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; font-weight: 700; }
.c-ok { color: var(--meadow); } .c-bad { color: var(--danger); } .c-empty { color: var(--text-2); }

.rs-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-2); }
.rs-legend li { display: inline-flex; align-items: center; gap: 6px; }
.rs-legend .b { width: 16px; height: 16px; font-size: 0; }
.rs-filter { margin-bottom: 16px; }
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px 28px; }
.sheet-group h3 { font-size: 14.5px; font-weight: 800; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--snow); }
.sheet-list { list-style: none; padding: 0; margin: 0; }
.q { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 8px; }
.q:nth-child(even) { background: #FAFBFD; }
.q-n { width: 26px; text-align: right; font-weight: 800; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.q-bubbles { display: flex; gap: 5px; }
.b { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #C6D2E6; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11.5px; font-weight: 800; color: #8A97B2; background: #fff; }
.b-ok { background: var(--meadow); border-color: var(--meadow); color: #fff; }
.b-bad { background: var(--danger); border-color: var(--danger); color: #fff; }
.b-key { border: 2px solid var(--meadow); color: var(--meadow); }
.q-open { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.q-given { font-weight: 800; }
.q-correct .q-given { color: var(--meadow); }
.q-wrong .q-given { color: var(--danger); }
.q-right { color: var(--meadow); font-weight: 700; }
.q-empty .q-n { color: #B6C1D6; }
.rs-scan { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); max-width: 720px; }
.rs-scan img { width: 100%; display: block; }
.rs-chart { margin: 0 0 16px; }
.rs-chart svg { width: 100%; height: auto; display: block; }
.rs-chart .grid { stroke: var(--line); stroke-width: 1; }
.rs-chart .axis { fill: #8A97B2; font-size: 11px; font-family: var(--font-body); }
.rs-chart .line { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.rs-chart .dot { fill: #fff; stroke: var(--navy); stroke-width: 2.5; }
.rs-chart .dot-current { fill: var(--ember); stroke: var(--ember); }
.rs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rs-table th { text-align: left; font-size: 13px; color: var(--text-2); font-weight: 800; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rs-table td { padding: 10px; border-bottom: 1px solid var(--line); }
.rs-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rs-table tr.is-current td { background: #FFF6EF; }
.rs-table small { color: var(--text-2); }
.rs-foot { color: var(--text-2); font-size: 14px; text-align: center; margin: 0; }
.rs-legacy img { max-width: 220px; }
@media (max-width: 767.98px) {
  .rs-head { flex-direction: column-reverse; align-items: flex-start; }
  .rs-score { width: 140px; height: 140px; flex-basis: 140px; }
  .rs-card { padding: 18px 16px; }
  .sheet { grid-template-columns: 1fr; }
}

/* çap */
@media print {
  .utility-bar, .site-header, .site-footer, .bottom-nav, .admin-pill, .rs-actions, .rs-filter, .crumbs, .nav-backdrop, #register_modal { display: none !important; }
  body { background: #fff; padding: 0; }
  .result-hero { background: #fff !important; color: #000; padding: 0 0 10px; }
  .result-hero::after { display: none; }
  .rs-who h1, .rs-tags b, .rs-facts b, .rs-score-text b { color: #000 !important; }
  .rs-exam { color: #333; }
  .rs-tags li, .rs-facts div { background: #f2f2f2; }
  .rs-ring .ring-bg { stroke: #eee; }
  .rs-card { break-inside: avoid; border-color: #ccc; }
  .q { break-inside: avoid; }
  .b-ok, .b-bad { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.course-grid.is-collapsed > .course-card:nth-child(n+7) { display: none; }
.course-more { text-align: center; margin-top: 22px; }
.rs-body > * { min-width: 0; }
@media (max-width: 575.98px) { .rs-subjects, .sheet { grid-template-columns: minmax(0, 1fr); } }
.rs-chart svg { max-width: 820px; margin: 0 auto; }
/* kurs seçici: ixtisas qrupu çipləri */
.chip .chip-sub { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-2); margin-top: 1px; }
.chip.is-on .chip-sub { color: #C9D6EE; }
[data-goal].chip { border-radius: 12px; text-align: left; padding: 8px 14px; line-height: 1.25; }
@media (max-width: 575.98px) { [data-goal].chip { flex: 1 1 calc(50% - 8px); } }
