/* Talrax Research Lab: Polygence üslubunda, Talrax rənglərində dizayn */
:root {
  --navy: #05173f;        /* əsas tünd bölmələr */
  --navy-2: #0a2766;      /* hero və menyu */
  --navy-3: #0f3380;      /* tünd fonda kartlar */
  --blue: #0175ff;        /* Talrax göyü */
  --sky: #45b6ff;         /* tünd fonda vurğu */
  --amber: #ffac0a;       /* Talrax narıncı-sarısı */
  --sun: #ffc93c;         /* elan zolağı və CTA */
  --pale: #eaf3ff;        /* açıq bölmələr */
  --ink: #0b1a3a;         /* açıq fonda mətn */
  --ink-2: #4a5878;
  --white: #ffffff;
  --max: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: "Outfit", system-ui, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
hl, .hl { color: var(--sky); }
.light hl, .light .hl { color: var(--blue); }

/* Announcement bar */
.announce { background: var(--sun); color: var(--ink); text-align: center; font-size: 15px; padding: 10px 16px; font-weight: 500; }
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

/* Header */
header.site { background: var(--navy-2); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 21px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: 0 0 34px; }
.brand small { font-weight: 500; color: var(--sky); font-size: 14px; margin-left: 2px; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > a { color: var(--white); font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.menu > a:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; color: rgba(255,255,255,.75); font: inherit; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.lang button.active { background: var(--white); color: var(--navy-2); }
.burger { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 28px; font-weight: 600; font-size: 17px; transition: transform .15s, filter .2s; white-space: nowrap; }
.pill:hover { transform: translateY(-1px); filter: brightness(1.06); }
.pill-sky { background: var(--sky); color: var(--navy); }
.pill-blue { background: var(--blue); color: var(--white); }
.pill-navy { background: var(--navy-2); color: var(--white); }
.pill-sm { padding: 11px 22px; font-size: 16px; }

/* Hero */
.hero { background: var(--navy-2); color: var(--white); position: relative; overflow: hidden; }
.hero .petals { position: absolute; left: -120px; top: -80px; width: 820px; height: 820px; opacity: .09; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero .eyebrow { font-size: 20px; font-weight: 400; opacity: .92; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 60px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin-bottom: 34px; }
.hero h1 span { display: block; }
.hero h1 .c { color: var(--sky); }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 540px; margin-left: auto; }
.collage > * { aspect-ratio: 1; }

/* Shapes */
.shape { position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.sh-circle { border-radius: 50%; }
.sh-petal { border-radius: 50% 0 50% 50%; }
.sh-petal2 { border-radius: 50% 50% 0 50%; }
.sh-leaf { border-radius: 0 50% 0 50%; }
.sh-drop { border-radius: 50% 50% 50% 0; }
.sh-arch { border-radius: 50% 50% 8px 8px; }
.sh-square { border-radius: 22px; }
.ph { text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.ph svg { width: 34px; height: 34px; margin: 0 auto 4px; display: block; }
.g1 { background: linear-gradient(140deg, #2a6bd6, #0175ff); }
.g2 { background: linear-gradient(140deg, #ffb52e, #ff8a3d); }
.g3 { background: linear-gradient(140deg, #1aa0e6, #45b6ff); }
.g4 { background: linear-gradient(140deg, #13306f, #2a5cc8); }
.g5 { background: linear-gradient(140deg, #ff9f1a, #ffd166); }
.burst { display: grid; place-items: center; }
.burst svg { width: 100%; height: 100%; }

/* Dark sections */
.dark { background: var(--navy); color: var(--white); }
.light { background: var(--pale); color: var(--ink); }
.white { background: var(--white); color: var(--ink); }
section.sec { padding: 96px 0; }
.sec h2.center { text-align: center; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.18; letter-spacing: -.01em; font-weight: 700; margin-bottom: 56px; }
.sec .lead-c { text-align: center; max-width: 720px; margin: -36px auto 56px; font-size: 19px; opacity: .9; }

/* What is */
.what { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.what .big { aspect-ratio: 1; max-width: 400px; width: 100%; margin: 0 auto; }
.what .big .ph svg { width: 56px; height: 56px; }
.what p.statement { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.45; margin-bottom: 28px; }
.what ul { list-style: none; display: grid; gap: 8px; }
.what li { display: flex; gap: 12px; align-items: baseline; font-size: 18px; }
.what li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: translateY(-2px); flex: 0 0 8px; }
.what li b { color: var(--sky); font-weight: 700; }

/* Programs */
.prog-intro { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.prog-intro .shape { aspect-ratio: 1; }
.prog-intro p { font-size: 20px; }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; }
.program .icon { width: 72px; height: 72px; margin-bottom: 18px; }
.program h3 { font-size: 26px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.program .sub { color: var(--sky); font-weight: 500; margin-bottom: 12px; font-size: 16px; }
.program p { opacity: .88; font-size: 16.5px; }

/* Projects */
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-top h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.15; letter-spacing: -.01em; }
.sec-top p { color: var(--ink-2); max-width: 480px; font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcard { background: var(--white); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 0 rgba(11,26,58,.04), 0 12px 32px rgba(11,26,58,.07); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(11,26,58,.13); }
.pcard .top { height: 180px; position: relative; display: grid; place-items: center; overflow: hidden; }
.pcard .top .deco { position: absolute; width: 190px; height: 190px; right: -50px; bottom: -70px; opacity: .25; }
.pcard .top svg.main { width: 64px; height: 64px; color: #fff; position: relative; }
.pcard .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.field { font-size: 13.5px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.pcard h3 { font-size: 21px; line-height: 1.3; font-weight: 600; }
.pcard p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.pcard .more { font-weight: 600; color: var(--navy-2); display: inline-flex; gap: 6px; align-items: center; }
.pcard .more::after { content: "→"; transition: transform .2s; }
.pcard:hover .more::after { transform: translateX(4px); }
.th-teal { background: linear-gradient(140deg, #0b6b73, #19b3b0); }
.th-amber { background: linear-gradient(140deg, #d98200, #ffc23d); }
.th-orange { background: linear-gradient(140deg, #d9531e, #ff9b4a); }
.th-blue { background: linear-gradient(140deg, #0a2766, #0175ff); }
.th-mix { background: linear-gradient(140deg, #0175ff, #45b6ff); }
.th-rose { background: linear-gradient(140deg, #8e2a5a, #e0578e); }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.why-item .ill { width: 132px; height: 132px; margin-bottom: 22px; position: relative; }
.why-item .ill .blob { position: absolute; inset: 0; }
.why-item .ill svg.i { position: absolute; width: 58px; height: 58px; left: 37px; top: 37px; color: var(--navy-2); }
.why-item h3 { font-size: 23px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.why-item p { color: var(--ink-2); }
.why-gap { height: 88px; }

/* Achievements */
.ach-list { display: grid; gap: 14px; }
.ach { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; background: var(--white); border-radius: 20px; padding: 22px 28px; box-shadow: 0 8px 24px rgba(11,26,58,.06); }
.ach .yr { font-size: 22px; font-weight: 700; color: var(--blue); }
.ach h3 { font-size: 19px; font-weight: 600; }
.ach p { color: var(--ink-2); font-size: 15.5px; }
.medal { background: #fff4dc; color: #a86a00; font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }

/* News */
.ncard { background: var(--pale); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ncard .nicon { width: 56px; height: 56px; margin-bottom: 8px; display: grid; place-items: center; color: #fff; }
.ncard .nicon svg { width: 28px; height: 28px; }
.ncard .date { color: var(--blue); font-weight: 600; font-size: 14.5px; }
.ncard h3 { font-size: 21px; font-weight: 600; line-height: 1.3; }
.ncard p { color: var(--ink-2); font-size: 15.5px; }

/* Join */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--navy-3); border-radius: 24px; padding: 32px; }
.step .num { width: 52px; height: 52px; border-radius: 50% 0 50% 50%; background: var(--sky); color: var(--navy); font-weight: 700; font-size: 22px; display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.step p { opacity: .85; font-size: 16.5px; }
.cta-box { margin-top: 64px; background: var(--sun); color: var(--ink); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-box .k { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.cta-box h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin-bottom: 8px; }
.cta-box p { font-size: 18px; max-width: 620px; }
.cta-box .b2 { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; opacity: .22; }
.cta-box > * { position: relative; }

/* Footer */
footer.site { background: var(--navy); color: rgba(255,255,255,.85); padding: 72px 0 32px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.f-grid h4 { color: var(--white); font-size: 17px; margin-bottom: 14px; }
.f-grid a, .f-grid span { display: block; font-size: 15.5px; margin-bottom: 8px; color: rgba(255,255,255,.75); }
.f-grid a:hover { color: var(--white); }
.f-grid .brand { margin-bottom: 16px; }
.f-grid .note { max-width: 300px; }
.f-grid .note a { display: inline; color: var(--sky); }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.6); }
.f-bottom .draft { color: var(--sun); }

/* Project page */
.p-hero { background: var(--navy-2); color: var(--white); position: relative; overflow: hidden; }
.p-hero .petals { position: absolute; right: -160px; top: -140px; width: 640px; height: 640px; opacity: .09; }
.p-hero-in { position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; padding: 48px 0 72px; }
.back { display: inline-flex; gap: 8px; align-items: center; color: rgba(255,255,255,.8); font-weight: 500; margin: 28px 0 0; position: relative; }
.back:hover { color: var(--white); }
.p-hero .field { color: var(--sky); }
.p-hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; margin: 12px 0 20px; }
.p-hero p { font-size: 19px; opacity: .9; max-width: 640px; }
.p-hero .shape { aspect-ratio: 1; width: 100%; }
.p-hero .shape svg.main { width: 84px; height: 84px; color: #fff; }
.p-body { display: grid; grid-template-columns: 1fr 320px; gap: 64px; padding: 72px 0 96px; }
.p-sec { margin-bottom: 44px; }
.p-sec h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.p-sec h2 i { width: 14px; height: 14px; border-radius: 50% 0 50% 50%; background: var(--amber); display: inline-block; }
.p-sec p, .p-sec li { color: var(--ink-2); font-size: 18px; }
.p-sec ul { padding-left: 22px; display: grid; gap: 6px; }
.media { background: var(--pale); border-radius: 24px; aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--blue); text-align: center; font-weight: 500; }
.media svg { width: 48px; height: 48px; margin: 0 auto 8px; display: block; }
.p-side { display: grid; gap: 14px; align-content: start; position: sticky; top: 104px; }
.p-side .box { background: var(--pale); border-radius: 20px; padding: 22px 24px; }
.p-side .box span { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.p-side .box b { font-size: 19px; font-weight: 600; }
.p-side .pill { width: 100%; margin-top: 6px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-in, .what, .prog-intro, .p-hero-in, .p-body { grid-template-columns: 1fr; }
  .collage { margin: 8px auto 0; max-width: 420px; }
  .programs, .cards, .why, .steps { grid-template-columns: 1fr 1fr; }
  .prog-intro .shape { max-width: 260px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .p-hero .shape { max-width: 220px; }
  .p-side { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .brand { font-size: 18px; }
  .brand small { display: none; }
  section.sec { padding: 64px 0; }
  .hero-in { padding-top: 48px; padding-bottom: 64px; }
  .what .big { max-width: 240px; }
  .prog-intro .shape { max-width: 200px; }
  .programs, .cards, .why, .steps, .f-grid { grid-template-columns: 1fr; }
  .ach { grid-template-columns: 1fr; gap: 6px; }
  .cta-box { grid-template-columns: 1fr; padding: 32px 24px; }
  .sec h2.center { margin-bottom: 40px; }
  .sec .lead-c { margin: -24px auto 40px; }
  .why-gap { height: 56px; }
}

/* Düzəlişlər */
.hero .petals, .p-hero .petals { opacity: .055; }
.back { white-space: nowrap; }
.back svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* Real şəkillər */
.shape img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard .top.has-img { background: var(--navy-2); }
.pcard .top.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.medal-chip { position: absolute; left: 14px; bottom: 14px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 13.5px; padding: 5px 12px; border-radius: 999px; }
.mentor-card { margin-top: 72px; background: var(--navy-3); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.ava.big { width: 96px; height: 96px; flex-basis: 96px; font-size: 38px; border-radius: 50% 0 50% 50%; background: linear-gradient(135deg, var(--sky), var(--amber)); color: var(--navy); }
.mentor-card .k { color: var(--amber); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.mentor-card h3 { font-size: 28px; line-height: 1.2; }
.mentor-card .role { color: var(--sky); font-weight: 500; margin: 4px 0 10px; }
.mentor-card p { opacity: .9; max-width: 820px; }
.ach { grid-template-columns: 150px 1fr auto; }
.ach-img { width: 150px; height: 100px; object-fit: cover; border-radius: 14px; }
.ach .yr { display: block; font-size: 15px; margin-bottom: 2px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.g-item { overflow: hidden; border-radius: 22px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.gi0 { grid-column: span 2; grid-row: span 2; border-radius: 220px 22px 220px 220px; }
.gi3 { border-radius: 110px; }
.gi5 { border-radius: 110px 110px 22px 22px; }
.gi6 { grid-column: span 2; }
.ncard.has-img { padding: 0; overflow: hidden; }
.ncard.has-img > img { width: 100%; height: 200px; object-fit: cover; }
.ncard .nbody { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.p-note { background: #fff4dc; color: #7a4d00; border-radius: 16px; padding: 16px 20px; margin-bottom: 36px; font-weight: 500; }
.p-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.p-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.p-hero .shape img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gi6 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .mentor-card { grid-template-columns: 1fr; padding: 28px 22px; }
  .ach { grid-template-columns: 1fr; }
  .ach-img { width: 100%; height: 160px; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .p-gallery { grid-template-columns: 1fr; }
}

/* ===== Elmi animasiyalar ===== */
.hero canvas.net { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .petals { z-index: 0; }
.hero-in { z-index: 1; }

/* Atom */
.atom-wrap { display: grid; place-items: center; }
.atom { width: 100%; height: 100%; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.collage .burst svg { animation: spin 40s linear infinite reverse; }
.collage .shape { transition: transform .4s; }
.collage .shape:hover { transform: scale(1.05) rotate(-2deg); }

/* Mentor photo with electron orbits */
.mentor-card { grid-template-columns: 220px 1fr; gap: 44px; }
.mentor-photo { position: relative; width: 220px; height: 220px; }
.mentor-photo img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: cover; object-position: center 20%; border-radius: 50%; z-index: 1; }
.orbit { position: absolute; inset: 0; border: 1.5px dashed rgba(69,182,255,.45); border-radius: 50%; animation: spin 14s linear infinite; }
.orbit.o2 { inset: -10px; border-color: rgba(255,172,10,.35); animation-duration: 22s; animation-direction: reverse; }
.orbit i { position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 14px var(--sky); }
.orbit.o2 i { left: auto; right: -6px; background: var(--amber); box-shadow: 0 0 14px var(--amber); }

/* Activity plan */
.kicker-l { color: var(--blue); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
/* Scroll reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* Audiences */
.aud-title { text-align: center; font-size: clamp(26px, 3vw, 34px); margin: 80px 0 32px; }
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud { background: var(--navy-3); border-radius: 24px; padding: 28px; border-top: 4px solid var(--c); transition: transform .25s; }
.aud:hover { transform: translateY(-4px); }
.a-ico { width: 52px; height: 52px; border-radius: 50% 0 50% 50%; background: var(--c); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.a-ico svg { width: 26px; height: 26px; }
.aud h4 { font-size: 20px; margin-bottom: 8px; }
.aud p { opacity: .85; font-size: 15.5px; }
@media (max-width: 980px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .audiences { grid-template-columns: 1fr; } .aud-title { margin-top: 56px; } }

/* ===== 2026-10-13: yeni quruluş ===== */
:root { --blue-text: #005fd1; }   /* açıq fonda kiçik göy yazılar üçün (kontrast) */
.field, .ncard .date, .p-side .box span, .kicker-l, .ach .yr { color: var(--blue-text); }
.p-hero .field { color: var(--sky); }

/* Klaviatura ilə gəzinti */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Menyu: planşetdə də burger */
@media (max-width: 1024px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--navy-2); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .menu.open { display: flex; }
  .menu > a { padding: 14px 12px; font-size: 17px; }
}
@media (max-width: 640px) { .actions .pill { display: none; } }

/* Hero */
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.pill-ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }

/* Rəqəmlər sayılarkən sətir tullanmasın */
.what li b { font-variant-numeric: tabular-nums; }

/* Mentor */
.mentor-card p { max-width: 62ch; }
@media (max-width: 640px) { .mentor-card { grid-template-columns: 1fr; } .mentor-photo { width: 180px; height: 180px; margin: 0 auto; } }

/* İstiqamətlər */
.prog-intro { grid-template-columns: 280px 1fr; align-items: start; margin-bottom: 0; }
.prog-intro > .shape { position: sticky; top: 120px; }
.programs { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
.program h3 { font-size: 22px; margin-bottom: 8px; }
.program p { color: var(--ink-2); opacity: 1; margin-bottom: 14px; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--pale); color: var(--navy-2); font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
@media (max-width: 980px) { .prog-intro { grid-template-columns: 1fr; } .prog-intro > .shape { position: static; } }
@media (max-width: 640px) { .programs { grid-template-columns: 1fr; } }

/* Layihə süzgəci */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 32px; }
.filters button { font: inherit; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px; background: var(--white); color: var(--navy-2); box-shadow: inset 0 0 0 1.5px rgba(10,39,102,.18); }
.filters button.active { background: var(--navy-2); color: var(--white); box-shadow: none; }
.pcard[hidden] { display: none; }

/* Seçim bölməsi */
.kicker-c { text-align: center; color: var(--amber); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; margin-bottom: 8px; }
.join-future { text-align: center; margin-top: 28px; opacity: .75; }

/* FAQ */
.container.narrow { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; box-shadow: 0 6px 18px rgba(11,26,58,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ===== Seçim testi səhifəsi ===== */
.ap-hero .container { padding-bottom: 56px; position: relative; }
.ap-hero h1 { margin-top: 28px; }
.ap-form { padding-top: 40px; padding-bottom: 96px; display: grid; gap: 24px; }
.ap-card { background: var(--pale); border-radius: 24px; padding: 32px; }
.ap-card h2, .ap-h { font-size: 26px; margin-bottom: 18px; }
.fld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 18px; }
.fld label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.fld i, .chk i { color: #c0392b; font-style: normal; }
.fld input, .fld select, .q textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid #c9d6ea; border-radius: 12px; padding: 12px 14px; }
.fld input:focus, .fld select:focus, .q textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(1,117,255,.18); }
.bad { border-color: #c0392b !important; outline: 2px solid rgba(192,57,43,.35); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.rules { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 22px; color: var(--ink-2); }
.ap-msg { background: #fff4dc; color: #7a4d00; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; font-weight: 500; }
.ap-bar { position: sticky; top: 80px; z-index: 5; display: flex; justify-content: space-between; gap: 16px; background: var(--navy-2); color: var(--white); border-radius: 999px; padding: 10px 22px; margin-bottom: 28px; font-size: 15px; font-variant-numeric: tabular-nums; }
.ap-bar span { display: inline-flex; align-items: center; gap: 8px; }
.ap-bar svg { width: 18px; height: 18px; }
.unit { background: var(--white); border-radius: 24px; padding: 32px; margin-bottom: 24px; box-shadow: 0 2px 0 rgba(11,26,58,.04), 0 12px 32px rgba(11,26,58,.07); }
.unit h3 { font-size: 24px; margin-bottom: 14px; }
.unit h3 span { display: block; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-text); }
.unit > p { color: var(--ink-2); margin-bottom: 12px; }
.unit > img { display: block; width: 100%; max-width: 720px; height: auto; margin: 8px auto 24px; border-radius: 14px; border: 1px solid #e3eaf5; background: var(--white); }
.q { border: 0; border-top: 1px solid #e3eaf5; padding: 22px 0 6px; min-width: 0; }
.q legend { font-weight: 600; font-size: 17.5px; margin-bottom: 14px; padding: 0; float: left; width: 100%; }
.q legend + * { clear: both; }
.qn { display: inline-block; background: var(--sky); color: var(--navy); font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-right: 10px; vertical-align: 2px; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid #dbe4f2; border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--sky); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .let { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--pale); color: var(--navy-2); }
.opt:has(input:checked) { border-color: var(--blue); background: #eef5ff; }
.opt:has(input:checked) .let { background: var(--blue); color: var(--white); }
.opt:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.yn { width: 100%; border-collapse: collapse; font-size: 16px; }
.yn th { text-align: left; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-text); padding: 8px; }
.yn th:not(:first-child), .yn td:not(:first-child) { text-align: center; width: 72px; }
.yn td { padding: 12px 8px; border-top: 1px solid #e3eaf5; color: var(--ink-2); }
.yn input { width: 20px; height: 20px; accent-color: var(--blue); cursor: pointer; }
.q textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.ap-submit { justify-self: start; }
.ap-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.ap-done { text-align: center; padding: 96px 24px; }
.ap-done .done-ico { width: 72px; height: 72px; color: #1aa36b; margin: 0 auto 18px; display: block; }
.ap-done h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.ap-done p { color: var(--ink-2); font-size: 18px; margin-bottom: 28px; }
@media (max-width: 640px) {
  .fld-grid { grid-template-columns: 1fr; }
  .ap-card, .unit { padding: 22px 18px; border-radius: 20px; }
  .ap-bar { top: 72px; border-radius: 16px; padding: 10px 16px; }
  .yn th:not(:first-child), .yn td:not(:first-child) { width: 52px; }
}
@media (max-width: 400px) {
  .nav { gap: 8px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand svg { width: 28px; height: 28px; flex-basis: 28px; }
  .actions { gap: 4px; }
  .lang button { padding: 5px 9px; font-size: 13px; }
  .burger { width: 38px; }
}

/* Test zamanı qoruma */
#aptest .unit > p, #aptest .unit h3, #aptest legend, #aptest .opt, #aptest .yn td { -webkit-user-select: none; user-select: none; }
.ap-warn { position: fixed; inset: 0; z-index: 200; background: rgba(5,23,63,.82); display: grid; place-items: center; padding: 24px; }
.ap-warn[hidden] { display: none; }
.ap-warn .box { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; max-width: 460px; text-align: center; }
.ap-warn svg { width: 52px; height: 52px; color: #c0392b; margin: 0 auto 12px; display: block; }
.ap-warn p { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.ap-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 150; background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 500; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.ap-toast[hidden] { display: none; }

/* Uzun ad: başlıqda iki sətirə bölünür */
header .brand span { white-space: normal; max-width: 10em; line-height: 1.15; font-size: 17px; }
@media (max-width: 640px) { header .brand span { font-size: 13px; max-width: 10em; } }
header .brand { flex-shrink: 0; }

/* TAM loqosu: rəsmi möhür ağ dairə üzərində */
.brand .logo { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.brand .logo img { width: 48px; height: 48px; display: block; }
.f-grid .brand .logo { flex-basis: 64px; width: 64px; height: 64px; }
.f-grid .brand .logo img { width: 59px; height: 59px; }
@media (max-width: 640px) { header .brand .logo { flex-basis: 42px; width: 42px; height: 42px; } header .brand .logo img { width: 39px; height: 39px; } }


/* İstiqamət testi */
.pill[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.cr-ghost { background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.cr .ap-card + .ap-card { margin-top: 24px; }
.cr-scale, .cr-opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cr-scale { font-size: 13px; color: var(--ink-2); text-align: center; margin-bottom: 4px; }
.cr-item { border: 0; border-top: 1px solid #d5e3f7; padding: 16px 0; }
.cr-item:first-of-type { border-top: 0; }
.cr-item legend { font-weight: 600; padding: 0; margin-bottom: 10px; }
.cr-item legend span { color: var(--ink-2); font-weight: 500; margin-right: 6px; }
.cr-opts label { position: relative; }
.cr-opts input { position: absolute; opacity: 0; }
.cr-opts span { display: block; text-align: center; padding: 10px 4px; border: 2px solid #d5e3f7; background: var(--white); border-radius: 12px; font-size: 14px; line-height: 1.25; cursor: pointer; user-select: none; height: 100%; }
.cr-opts input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cr-opts input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.cr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; color: var(--ink-2); }
.cr-muted { color: var(--ink-2); margin-bottom: 0; }
.cr-code { font-size: 46px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; margin-bottom: 8px; }
.cr-rows { display: grid; gap: 10px; margin-top: 18px; }
.cr-row { display: grid; grid-template-columns: 160px 1fr 48px; gap: 12px; align-items: center; font-size: 15px; }
.cr-row > b { text-align: right; font-variant-numeric: tabular-nums; }
.cr-track { height: 16px; background: #d5e3f7; border-radius: 99px; overflow: hidden; }
.cr-track i { display: block; height: 100%; border-radius: 99px; }
.cr-type { border-left: 6px solid; padding-left: 18px; margin-top: 24px; }
.cr-type h3 { font-size: 21px; margin-bottom: 6px; }
.cr-type p { margin-bottom: 8px; }
.cr-type ul { margin: 0 0 10px 20px; }
.cr-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--white); border-radius: 99px; padding: 3px 12px; margin-bottom: 8px; }
.cr-note { background: #fff4dc; border-radius: 16px; padding: 16px 20px; margin-top: 20px; font-size: 16px; }
.cr-tR { color: #d4701a; } .cr-bgR { background: #e67e22; } .cr-bR { border-color: #e67e22; }
.cr-tI { color: #2f80ed; } .cr-bgI { background: #2f80ed; } .cr-bI { border-color: #2f80ed; }
.cr-tA { color: #9b51e0; } .cr-bgA { background: #9b51e0; } .cr-bA { border-color: #9b51e0; }
.cr-tS { color: #219653; } .cr-bgS { background: #27ae60; } .cr-bS { border-color: #27ae60; }
.cr-tE { color: #d64545; } .cr-bgE { background: #eb5757; } .cr-bE { border-color: #eb5757; }
.cr-tC { color: #8a6d3b; } .cr-bgC { background: #a0814a; } .cr-bC { border-color: #a0814a; }
.cr-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--pale); border-radius: 28px; padding: 32px 36px; }
.cr-cta .k { color: var(--blue); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.cr-cta h3 { font-size: 26px; line-height: 1.25; margin: 4px 0 6px; }
.cr-cta p { color: var(--ink-2); }
@media (max-width: 640px) {
  .cr-scale { display: none; }
  .cr-opts span { font-size: 12px; padding: 9px 2px; }
  .cr-row { grid-template-columns: 112px 1fr 42px; font-size: 14px; }
  .cr-code { font-size: 38px; }
  .cr-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}
@media print {
  .cr .announce, .cr header.site, header.site, .announce, footer.site, .cr .ap-hero, #crintro, #crtest, .cr-actions { display: none !important; }
  .cr .ap-card { background: none; padding: 0; }
  .cr-type { break-inside: avoid; }
  .cr-track, .cr-track i, .cr-tag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* "Sınaq" alt menyusu */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--white); font: inherit; font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.dd-btn:hover, .dd-btn[aria-expanded="true"] { background: rgba(255,255,255,.08); }
.dd-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; background: var(--white); border-radius: 18px; padding: 8px; box-shadow: 0 16px 40px rgba(5,23,63,.28); z-index: 60; }
.dd-menu[hidden] { display: none; }
.dd-menu a { display: block; color: var(--ink); font-weight: 600; font-size: 16px; padding: 12px 14px; border-radius: 12px; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--pale); color: var(--blue); }
@media (max-width: 1024px) {
  .dd-btn { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .dd-menu { position: static; min-width: 0; box-shadow: none; background: rgba(255,255,255,.06); margin: 2px 0 6px; }
  .dd-menu a { color: var(--white); }
  .dd-menu a:hover, .dd-menu a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--sky); }
}

/* Sınaqlar səhifəsi */
.t-list { display: grid; gap: 20px; }
.t-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--pale); border-radius: 24px; padding: 28px 32px; transition: transform .15s, box-shadow .2s; }
.t-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5,23,63,.12); }
.t-card h2 { font-size: 24px; margin-bottom: 6px; }
.t-card p { color: var(--ink-2); }
.cr #crintro .ap-card + .ap-card { margin-top: 24px; }
@media (max-width: 640px) { .t-card { flex-direction: column; align-items: flex-start; padding: 24px 20px; } }
