/* ============================================================
   Szkoła Statystyków — główny arkusz stylów
   Jasny, płaski system: papier + tusz, złoto jako akcent.
   ============================================================ */

/* ---------- Fonty (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-ext-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  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: 'Archivo';
  src: url('/assets/fonts/archivo-latin-ext-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
  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: 'JetBrains Mono';
  src: url('/assets/fonts/jbmono-latin-ext-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jbmono-latin-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  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;
}

/* ---------- Zmienne ---------- */
:root {
  --paper: #FFFFFF;
  --paper-2: #F5F3EF;      /* sekcje przeplatane */
  --paper-3: #EDE9E2;
  --ink: #101011;
  --ink-soft: #3C3934;
  --ink-mute: #6B6761;     /* 5,4:1 na bieli (WCAG AA) */
  --line: rgba(16, 16, 17, 0.13);
  --line-2: rgba(16, 16, 17, 0.07);
  --gold: #E4B25E;
  --gold-ink: #946515;     /* złoto czytelne na bieli, 5,1:1 */
  --err: #B03A2B;
  --r: 16px;
  --r-lg: 26px;
  --container: 1220px;
  --pad-x: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left), env(safe-area-inset-right));
  --sec-y: clamp(4.5rem, 8vw, 8rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-h: 76px;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--gold-ink) var(--paper-3);
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-3); }
::-webkit-scrollbar-thumb {
  background: var(--gold-ink);
  border-radius: 999px;
  border: 3px solid var(--paper-3);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: var(--paper-3); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
em { font-style: normal; color: var(--gold-ink); }
strong { font-weight: 640; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 50%; translate: -50% -200%;
  z-index: 200; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 600;
  transition: translate 0.3s var(--ease-out);
}
.skip-link:focus-visible { translate: -50% 0; }

/* ---------- Układ ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--sec-y); }
.section--tint { background: var(--paper-2); }

.section__head { max-width: 46rem; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--narrow { max-width: 36rem; }
.section__title { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.section__desc { margin-top: 16px; color: var(--ink-mute); font-size: 1.075rem; max-width: 38rem; }
.section__head--center .section__desc { margin-inline: auto; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 0.98rem; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.4s var(--ease-soft);
}
.btn__ico { width: 17px; height: 17px; transition: transform 0.4s var(--ease-soft); }
.btn__ico--back { transform: rotate(180deg); }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn:hover .btn__ico--back { transform: rotate(180deg) translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2A2724; }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost, .btn--gold { background: var(--ink); color: var(--paper); }
.btn--ghost:hover, .btn--gold:hover { background: #2A2724; }
.btn__disc { display: inline-flex; }
.btn__disc svg { width: 17px; height: 17px; }

/* ---------- Intro (procenty → logo → odsłona) ---------- */
body.has-intro { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--paper);
  display: grid; place-items: center;
  will-change: transform;
}
.intro__count {
  display: flex; align-items: flex-start; gap: 2px;
  font-size: clamp(5rem, 22vw, 15rem);
  font-weight: 700; font-stretch: 88%; letter-spacing: -0.05em;
  line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.intro__count i { font-style: normal; font-size: 0.32em; margin-top: 0.28em; color: var(--gold-ink); }
.intro__logo {
  position: absolute; width: clamp(96px, 18vw, 148px); height: auto;
  opacity: 0;
}
.intro__bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0%;
  background: var(--ink);
}

/* ---------- Nawigacja ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--line-2); }
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding: 0 var(--pad-x);
  height: var(--nav-h); display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__logo { width: 44px; height: 44px; }
.nav__name {
  font-size: 0.82rem; font-weight: 680; line-height: 1.12;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a {
  padding: 10px 14px; border-radius: 999px;
  font-size: 0.95rem; color: var(--ink-mute);
  transition: color 0.3s var(--ease-out);
}
.nav__links > a:hover, .nav__links > a.is-current { color: var(--ink); }
.nav__cta { margin-left: 10px; padding: 12px 22px; }

.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  position: relative; flex-shrink: 0;
}
.nav__burger span {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform 0.45s var(--ease-soft), opacity 0.25s;
}
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: var(--paper);
  padding: calc(var(--nav-h) + 24px) var(--pad-x) 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 30px;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; translate: 0 -12px;
  transition: opacity 0.45s var(--ease-out), translate 0.5s var(--ease-out), visibility 0.45s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; translate: 0 0; }
.nav-overlay__links { display: flex; flex-direction: column; gap: 4px; }
.nav-overlay__links a {
  font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em;
  padding: 6px 0; border-bottom: 1px solid var(--line-2);
}
.nav-overlay__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--ink-mute); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 3vw, 3rem));
  padding-bottom: 0;
  min-height: min(100svh, 860px);
  display: flex; align-items: flex-end;
}
.hero__grid {
  width: 100%;
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero__copy { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 22px;
}
.hero__dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--gold-ink);
  animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  font-stretch: 92%;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 13ch;
}
.hero__lead {
  margin-top: 26px; max-width: 32rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft);
}
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__sign {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 2px; max-width: 22rem;
  font-size: 0.9rem; color: var(--ink-mute);
}
.hero__sign strong { color: var(--ink); font-weight: 640; }

.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; }
/* Delikatna, matowa plama pod sylwetką — zamiast poświaty i cieni */
.hero__visual::before {
  content: ''; position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: min(96%, 430px); height: min(46vh, 430px);
  border-radius: 999px 999px 0 0;
  background: var(--paper-2);
}
.hero__photo {
  position: relative;
  height: min(66svh, 620px); width: auto; max-width: 100%;
  object-fit: contain; object-position: bottom;
}

/* ---------- Liczby ---------- */
.stats { border-block: 1px solid var(--line-2); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats__item { padding: clamp(2rem, 4vw, 3.2rem) clamp(0.5rem, 2vw, 2rem); }
.stats__item + .stats__item { border-left: 1px solid var(--line-2); }
.stats__num {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 700;
  font-stretch: 88%; letter-spacing: -0.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats__label { margin-top: 10px; color: var(--ink-mute); font-size: 0.98rem; max-width: 15rem; }
.stats__item + .stats__item .stats__label,
.stats__item + .stats__item .stats__num { padding-left: clamp(0.5rem, 2vw, 2rem); }

/* ---------- O mnie ---------- */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about__intro { margin-top: 22px; font-size: 1.15rem; color: var(--ink-soft); }
.about__body { display: flex; flex-direction: column; gap: 18px; color: var(--ink-soft); }
.about__body p { max-width: 40rem; }

.achievements { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line-2); }
.achievements__title { font-size: 1.15rem; font-weight: 640; margin-bottom: 24px; }
.achievements__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); }
.achievements__item {
  background: var(--paper); padding: 22px 24px 22px 0;
  display: flex; align-items: baseline; gap: 14px;
}
.achievements__num {
  font-size: 1.5rem; font-weight: 700; color: var(--gold-ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.achievements__label { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Program ---------- */
.program__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.program__item { padding-top: 26px; border-top: 1px solid var(--line); position: relative; }
.program__no {
  font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.program__ico { margin: 18px 0 16px; }
.program__ico svg { width: 30px; height: 30px; color: var(--gold-ink); }
.program__item h3 { font-size: 1.16rem; font-weight: 640; }
.program__item p { margin-top: 10px; color: var(--ink-mute); font-size: 0.98rem; }

/* ---------- Co zawiera szkolenie ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.bento__card {
  grid-column: span 3;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; background: var(--paper);
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.4s var(--ease-out);
}
.bento__card:hover { border-color: var(--ink); }
.bento__card--feature { grid-column: span 6; grid-row: span 2; justify-content: flex-end; padding: 32px; }
.bento__card--wide { grid-column: span 12; flex-direction: row; align-items: center; gap: 22px; }
.bento__ico svg { width: 30px; height: 30px; color: var(--gold-ink); }
.bento__ico { margin-bottom: 10px; }
.bento__num {
  font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -0.04em;
  font-stretch: 88%; line-height: 1; margin-bottom: 6px;
}
.bento__card h3 { font-size: 1.05rem; font-weight: 640; line-height: 1.25; }
.bento__card--feature h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.bento__card p { color: var(--ink-mute); font-size: 0.95rem; }
.bento__card--feature p { font-size: 1.02rem; }

/* ---------- Elastyczność (blok w czerni) ---------- */
.flex-manifesto {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(5rem, 11vw, 9rem);
}
.flex-manifesto__text {
  font-size: clamp(1.6rem, 3.9vw, 3.1rem); font-weight: 640;
  letter-spacing: -0.035em; line-height: 1.16; max-width: 22ch;
}
.flex-manifesto__text em { color: var(--gold); }
.flex-manifesto__text .word { opacity: 0.24; transition: opacity 0.3s linear; }
.flex-manifesto__sub {
  margin-top: 34px; max-width: 34rem; color: rgba(244, 241, 233, 0.68); font-size: 1.05rem;
}

/* ---------- Absolwenci ---------- */
.alumni__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.alumni-card {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px 24px; display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color 0.4s var(--ease-out);
}
.alumni-card:hover { border-color: var(--ink); }
.alumni-card__crest {
  width: 76px; height: 76px; margin-bottom: 20px;
  display: grid; place-items: center;
}
.alumni-card__crest img {
  max-width: 100%; max-height: 76px; width: auto; height: auto;
  object-fit: contain;
  transition: scale 0.45s var(--ease-soft);
}
.alumni-card:hover .alumni-card__crest img { scale: 1.06; }
.alumni-card__mono {
  width: 56px; height: 56px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; letter-spacing: 0.02em;
}
.alumni-card h3 { font-size: 1.08rem; font-weight: 640; }
.alumni-card__club { margin-top: 6px; font-size: 0.94rem; color: var(--gold-ink); font-weight: 560; }
.alumni-card__club span { display: block; color: var(--ink-mute); font-weight: 400; font-size: 0.86rem; }
.alumni-card__note { margin-top: 14px; font-size: 0.9rem; color: var(--ink-mute); }
.alumni__note { margin-top: 30px; max-width: 44rem; color: var(--ink-mute); font-size: 0.98rem; }

/* ---------- Cennik ---------- */
.pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 60rem; margin-inline: auto; }
.price-card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column;
}
.price-card--hot { border-color: var(--ink); }
.price-card__badge {
  position: absolute; top: -13px; left: clamp(26px, 3vw, 38px);
  background: var(--ink); color: var(--paper);
  font-size: 0.75rem; font-weight: 640; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.08rem; font-weight: 600; color: var(--ink-mute); }
.price-card__value {
  margin-top: 14px; font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700;
  font-stretch: 90%; letter-spacing: -0.04em; line-height: 1;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.price-card__value s { font-size: 0.95rem; font-weight: 400; color: var(--ink-mute); letter-spacing: 0; }
.price-card__unit { margin-top: 10px; color: var(--ink-mute); font-size: 0.95rem; }
.price-card ul { list-style: none; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.price-card li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.97rem; color: var(--ink-soft); }
.price-card__tick { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--gold-ink); }
.price-card__btn { margin-top: 28px; align-self: flex-start; }
.pricing__note { margin-top: 28px; text-align: center; color: var(--ink-mute); font-size: 0.97rem; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 46rem; margin-inline: auto; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem); font-weight: 600; letter-spacing: -0.015em;
  transition: color 0.3s var(--ease-out);
}
.faq__q:hover { color: var(--gold-ink); }
.faq__sign { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__sign::before, .faq__sign::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: currentColor;
  transition: transform 0.45s var(--ease-soft), opacity 0.3s;
}
.faq__sign::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__sign::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; height: 0; }
.faq__a-inner { padding-bottom: 26px; max-width: 40rem; color: var(--ink-mute); }

/* ---------- Blog ---------- */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.post-card { display: flex; flex-direction: column; }
.post-card__media {
  aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden;
  background: var(--paper-3);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.7s var(--ease-out); }
.post-card:hover .post-card__media img { scale: 1.04; }
.post-card__body { padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.post-card__date { font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: var(--ink-mute); letter-spacing: 0.03em; }
.post-card__title { font-size: 1.16rem; font-weight: 640; line-height: 1.25; }
.post-card__excerpt { color: var(--ink-mute); font-size: 0.95rem; }
.post-card__more {
  margin-top: 6px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--gold-ink);
}
.post-card__more svg { width: 15px; height: 15px; transition: transform 0.4s var(--ease-soft); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }
.blog-more { margin-top: 40px; display: flex; justify-content: center; }
/* .blog-list to sekcja opakowująca — siatkę tworzy dopiero .blog-cards w środku */
.blog-list { padding-bottom: var(--sec-y); }
.blog-empty { text-align: center; color: var(--ink-mute); padding: 60px 0; }
.pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-mute);
  transition: border-color 0.3s, color 0.3s;
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__list { list-style: none; display: flex; flex-direction: column; }
.contact__list li {
  display: grid; grid-template-columns: 9rem 1fr; gap: 16px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--line-2);
}
.contact__list li:last-child { border-bottom: 1px solid var(--line-2); }
.contact__key { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.contact__list a { transition: color 0.3s; }
.contact__list a:hover { color: var(--gold-ink); }
.contact__social { display: flex; gap: 14px; }
.contact__social svg { width: 22px; height: 22px; color: var(--ink); transition: color 0.3s, transform 0.4s var(--ease-soft); }
.contact__social a:hover svg { color: var(--gold-ink); transform: translateY(-2px); }

/* Kompaktowy blok kontaktowy na podstronach */
.contact--compact { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.contact__wrap { max-width: 46rem; margin-inline: auto; text-align: center; }
.contact__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.contact__title--sm { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.contact__desc { margin-top: 16px; color: var(--ink-mute); }
.contact__wrap .contact__actions { justify-content: center; }

/* ---------- Modal kontaktowy ---------- */
.cmodal { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: clamp(12px, 3vw, 32px); }
.cmodal__scrim { position: absolute; inset: 0; background: rgba(16, 16, 17, 0.55); opacity: 0; }
.cmodal__panel {
  position: relative; z-index: 1;
  width: min(980px, 100%); max-height: min(92vh, 780px); overflow: auto;
  background: var(--paper); border-radius: var(--r-lg);
  display: grid; grid-template-columns: 0.78fr 1.22fr;
  box-shadow: 0 40px 90px rgba(16, 16, 17, 0.22);
  opacity: 0; translate: 0 18px; scale: 0.985;
}
.cmodal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  color: var(--ink); transition: background-color 0.3s, color 0.3s;
}
.cmodal__close svg { width: 18px; height: 18px; }
.cmodal__close:hover { background: var(--paper-2); }

.cmodal__aside {
  background: var(--ink); color: var(--paper);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 22px;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.cmodal__logo { width: 64px; height: 64px; }
.cmodal__claim { font-size: 1.16rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin-top: auto; }
.cmodal__facts { list-style: none; display: flex; flex-direction: column; gap: 13px; font-size: 0.92rem; color: rgba(244, 241, 233, 0.72); }
.cmodal__facts li { display: flex; align-items: center; gap: 11px; }
.cmodal__facts span { display: inline-flex; }
.cmodal__facts svg { width: 17px; height: 17px; color: var(--gold); }
.cmodal__facts a:hover { color: var(--gold); }
.cmodal__social { display: flex; gap: 14px; padding-top: 6px; }
.cmodal__social svg { width: 20px; height: 20px; color: rgba(244, 241, 233, 0.7); transition: color 0.3s; }
.cmodal__social a:hover svg { color: var(--gold); }

.cmodal__main { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.cmodal__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cmodal__step {
  margin-top: 8px; font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-mute);
}

/* ---------- Formularz ---------- */
.cform { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.cform__trap { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.cform__steps { position: relative; }
.cform__step { border: 0; display: none; flex-direction: column; gap: 16px; }
.cform__step.is-active { display: flex; }

.cfield { display: flex; flex-direction: column; gap: 7px; position: relative; }
.cfield label { font-size: 0.85rem; font-weight: 600; color: var(--ink-mute); }
.cfield__opt { color: var(--ink-mute); font-weight: 400; }
.cfield input,
.cfield textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 2px; background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.35s var(--ease-out);
}
.cfield textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.cfield input::placeholder, .cfield textarea::placeholder { color: rgba(107, 103, 97, 0.6); }
.cfield input:hover, .cfield textarea:hover { border-bottom-color: var(--ink-mute); }
.cfield input:focus, .cfield textarea:focus { outline: none; border-bottom-color: var(--ink); }
.cfield input:focus-visible, .cfield textarea:focus-visible { outline: none; }
.cfield input[aria-invalid="true"], .cfield textarea[aria-invalid="true"] { border-bottom-color: var(--err); }
.cfield__err { font-size: 0.84rem; color: var(--err); }
.cfield__count {
  align-self: flex-end; font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; color: var(--ink-mute);
}

.cfield--check { gap: 10px; }
.ccheck { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; }
.ccheck input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ccheck__box {
  width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  display: grid; place-items: center; border: 1px solid var(--line);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.ccheck__ico { width: 13px; height: 13px; color: var(--paper); opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.25s var(--ease-soft); }
.ccheck:hover .ccheck__box { border-color: var(--ink); }
.ccheck input:checked + .ccheck__box { background: var(--ink); border-color: var(--ink); }
.ccheck input:checked + .ccheck__box .ccheck__ico { opacity: 1; transform: scale(1); }
.ccheck input:focus-visible + .ccheck__box { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.ccheck input[aria-invalid="true"] + .ccheck__box { border-color: var(--err); }
.ccheck__text { font-size: 0.87rem; line-height: 1.5; color: var(--ink-mute); }
.ccheck__text a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }

.cform__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cform__note { font-size: 0.82rem; color: var(--ink-mute); flex: 1 1 12rem; }
.cform__submit[disabled] { opacity: 0.6; cursor: progress; }
.cform__status {
  padding: 13px 16px; border-radius: var(--r);
  font-size: 0.94rem; line-height: 1.5; border: 1px solid;
}
.cform__status.is-ok { color: #1E6B4A; border-color: rgba(30, 107, 74, 0.3); background: rgba(30, 107, 74, 0.07); }
.cform__status.is-error { color: var(--err); border-color: rgba(176, 58, 43, 0.3); background: rgba(176, 58, 43, 0.06); }

.cform__done { padding: 30px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cform__done-mark {
  width: 54px; height: 54px; border-radius: 999px; background: var(--ink);
  display: grid; place-items: center;
}
.cform__done-mark svg { width: 24px; height: 24px; color: var(--paper); }
.cform__done h3 { font-size: 1.4rem; }
.cform__done p { color: var(--ink-mute); }

/* ---------- Stopka ---------- */
.footer { background: var(--ink); color: rgba(244, 241, 233, 0.78); }
.footer__inner { max-width: var(--container); margin-inline: auto; padding: clamp(3.2rem, 6vw, 5rem) var(--pad-x) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.footer__col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer__logo { width: 76px; height: 76px; margin-bottom: 6px; }
.footer__desc { font-size: 0.94rem; max-width: 24rem; }
.footer__head { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); margin-bottom: 4px; font-weight: 640; }
.footer__col a { font-size: 0.95rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--gold); }
.footer__legal-data { font-size: 0.9rem; line-height: 1.6; }
.footer__social { display: flex; gap: 14px; margin-top: 6px; }
.footer__soc-ico { width: 21px; height: 21px; transition: color 0.3s, transform 0.4s var(--ease-soft); }
.footer__social a:hover .footer__soc-ico { color: var(--gold); transform: translateY(-2px); }
.footer__consent-btn { font-size: 0.95rem; color: inherit; text-align: left; transition: color 0.3s; }
.footer__consent-btn:hover { color: var(--gold); }
.footer__bar {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 22px; border-top: 1px solid rgba(244, 241, 233, 0.12);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(244, 241, 233, 0.5);
}
.lb-credit {
  display: inline-flex; align-items: center; gap: 9px;
  opacity: 0.45; transition: opacity 0.4s var(--ease-out);
}
.lb-credit:hover { opacity: 1; }
.lb-credit__logo { display: inline-flex; color: rgba(244, 241, 233, 0.7); transition: color 0.4s var(--ease-out); }
.lb-credit__logo svg { height: 15px; width: auto; }
.lb-credit:hover .lb-credit__logo { color: #FFFFFF; }

/* ---------- Zgoda na cookies ---------- */
.consent {
  position: fixed; z-index: 180;
  left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom));
  right: auto; max-width: min(440px, calc(100vw - 40px));
  opacity: 0; translate: 0 16px; transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out);
}
.consent.is-visible { opacity: 1; translate: 0 0; }
.consent__box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: 0 24px 60px rgba(16, 16, 17, 0.14);
}
.consent__title { font-size: 1.1rem; font-weight: 640; }
.consent__text { margin-top: 10px; font-size: 0.92rem; color: var(--ink-mute); }
.consent__text a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.consent__prefs { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.consent__row {
  display: flex; align-items: center; gap: 14px; padding: 10px 0;
  border-top: 1px solid var(--line-2); cursor: pointer;
}
.consent__label { flex: 1; font-size: 0.9rem; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.consent__label small { font-weight: 400; color: var(--ink-mute); font-size: 0.8rem; }
.consent__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__switch {
  width: 42px; height: 24px; border-radius: 999px; background: var(--paper-3);
  position: relative; flex-shrink: 0; transition: background-color 0.3s var(--ease-out);
}
.consent__switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 999px; background: var(--paper); transition: transform 0.35s var(--ease-soft);
  box-shadow: 0 1px 3px rgba(16, 16, 17, 0.25);
}
.consent__row input:checked ~ .consent__switch { background: var(--ink); }
.consent__row input:checked ~ .consent__switch::after { transform: translateX(18px); }
.consent__row input:disabled ~ .consent__switch { background: var(--ink); opacity: 0.4; }
.consent__row input:disabled ~ .consent__switch::after { transform: translateX(18px); }
.consent__row input:focus-visible ~ .consent__switch { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.consent__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent__actions .btn { padding: 11px 20px; font-size: 0.92rem; }
.consent__more { font-size: 0.88rem; color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.consent__more:hover { color: var(--ink); }

/* ---------- Powrót na górę ---------- */
.to-top {
  position: fixed; z-index: 100;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  width: 50px; height: 50px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  opacity: 0; translate: 0 12px; pointer-events: none;
  transition: opacity 0.4s var(--ease-out), translate 0.4s var(--ease-out), background-color 0.3s;
}
.to-top.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--gold-ink); }
.to-top svg { width: 19px; height: 19px; transform: rotate(-90deg); }

/* ---------- Podstrony: nagłówek, blog, wpis, legal, 404 ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(2.4rem, 6vw, 5rem)); padding-bottom: clamp(2rem, 4vw, 3.4rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { margin-top: 16px; color: var(--ink-mute); max-width: 40rem; }

.article { padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.4rem)); padding-bottom: var(--sec-y); }
.article__wrap { max-width: 46rem; margin-inline: auto; }
.article__back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  font-size: 0.9rem; color: var(--ink-mute); transition: color 0.3s;
}
.article__back:hover { color: var(--ink); }
.article__date { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.04em; }
.article__cover { margin: 30px 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); }
.article__cover img { width: 100%; height: auto; }

.prose { font-size: 1.06rem; color: var(--ink-soft); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); margin-top: 44px; }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink); margin-top: 34px; }
.prose h4 { font-size: 1.1rem; color: var(--ink); margin-top: 28px; }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose ol:has(li[data-list="bullet"]) { list-style: none; padding-left: 0; }
.prose li[data-list="bullet"] { display: flex; align-items: flex-start; gap: 12px; }
.prose li[data-list="bullet"]::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--gold-ink);
  flex-shrink: 0; margin-top: 0.62em;
}
.prose blockquote {
  border-left: 2px solid var(--gold-ink); padding-left: 20px;
  font-size: 1.12rem; color: var(--ink); font-weight: 500;
}
.prose img { border-radius: var(--r); margin-block: 26px; }
.prose figure { margin-block: 26px; }
.prose figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--ink-mute); text-align: center; }
.prose pre {
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 18px 20px; overflow-x: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.88rem;
}
.prose code { font-family: 'JetBrains Mono', monospace; font-size: 0.9em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin-block: 34px; }
.table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 14px; text-align: left; }
.prose th { background: var(--paper-2); font-weight: 640; color: var(--ink); }

.attachments { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.attachments h2 { font-size: 1.1rem; margin-bottom: 16px; }
.attachments__list { display: flex; flex-direction: column; gap: 8px; }
.attachment {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.35s var(--ease-out);
}
.attachment:hover { border-color: var(--ink); }
.attachment svg { width: 20px; height: 20px; color: var(--gold-ink); flex-shrink: 0; }
.attachment__name { font-weight: 560; font-size: 0.96rem; }
.attachment__size { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: var(--ink-mute); }

.legal { padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.4rem)); padding-bottom: var(--sec-y); }
.legal__wrap { max-width: 46rem; margin-inline: auto; }
.legal__updated { margin-top: 12px; font-size: 0.86rem; color: var(--ink-mute); }
.legal__inline-btn {
  display: inline; color: var(--gold-ink); font: inherit;
  text-decoration: underline; text-underline-offset: 3px;
}

.notfound { min-height: 68vh; display: grid; place-items: center; padding-top: var(--nav-h); }
.notfound__wrap { text-align: center; max-width: 34rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.notfound__code {
  font-size: clamp(5rem, 18vw, 11rem); font-weight: 700; font-stretch: 88%;
  letter-spacing: -0.05em; line-height: 1; color: var(--paper-3);
}

.h-display { font-stretch: 92%; }

/* ---------- Animacje wejściowe ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ============================================================
   Responsywność
   ============================================================ */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .alumni__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .hero { min-height: 0; display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__visual { margin-top: 30px; }
  .hero__photo { height: min(58svh, 520px); }
  .hero__visual::before { width: min(80%, 360px); height: min(38vh, 360px); }
  .about__grid { grid-template-columns: 1fr; gap: 24px; }
  .program__grid { grid-template-columns: repeat(2, 1fr); }
  .achievements__grid { grid-template-columns: repeat(2, 1fr); }
  .bento__card { grid-column: span 6; }
  .bento__card--feature { grid-column: span 12; grid-row: span 1; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .cmodal__panel { grid-template-columns: 1fr; max-height: 94vh; }
  .cmodal__aside { border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: 26px; }
  .cmodal__claim { margin-top: 8px; }
  /* W układzie pionowym przycisk zamykania leży na ciemnym pasku */
  .cmodal__close { color: var(--paper); }
  .cmodal__close:hover { background: rgba(255, 255, 255, 0.14); }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav__logo { width: 38px; height: 38px; }

  /* Wyśrodkowanie treści na telefonie */
  .section__head { text-align: center; margin-inline: auto; }
  .section__desc { margin-inline: auto; }
  .hero__copy { text-align: center; }
  .hero__badge { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__sign { align-items: center; text-align: center; margin-inline: auto; }
  .about__intro { text-align: center; }
  .achievements__title { text-align: center; }
  .achievements__item { justify-content: center; padding-right: 0; }
  .alumni__note { margin-inline: auto; text-align: center; }
  .program__item { text-align: center; }
  .program__ico { display: flex; justify-content: center; }
  .alumni-card { align-items: center; text-align: center; }
  .footer__col { align-items: center; text-align: center; }
  .footer__desc { margin-inline: auto; }
  .footer__bar { flex-direction: column; align-items: center; text-align: center; }
  .contact__copy { text-align: center; }
  .contact__actions { justify-content: center; }

  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { padding-inline: 0; text-align: center; }
  .stats__item + .stats__item { border-left: 0; border-top: 1px solid var(--line-2); }
  .stats__label { margin-inline: auto; }
  .stats__item + .stats__item .stats__label,
  .stats__item + .stats__item .stats__num { padding-left: 0; }
  .program__grid { grid-template-columns: 1fr; gap: 28px; }
  .achievements__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card, .bento__card--feature, .bento__card--wide { grid-column: span 1; }
  .bento__card--wide { flex-direction: column; align-items: center; text-align: center; }
  .alumni__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; gap: 22px; }
  .price-card__btn { align-self: stretch; justify-content: center; }
  .blog-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .contact__social { justify-content: flex-start; }
  .consent {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    max-width: none;
  }
  .hero__cta .btn, .contact__actions .btn { width: 100%; justify-content: center; }
  .to-top { width: 46px; height: 46px; }
  .cmodal { padding: 0; }
  .cmodal__panel { max-height: 100vh; height: 100%; border-radius: 0; }
  .cmodal__aside { border-radius: 0; }
  .cform__foot { flex-direction: column; align-items: stretch; }
  .cform__foot .btn { justify-content: center; }
  .cform__note { text-align: center; }
}
@media (max-width: 380px) {
  .nav__name { display: none; }
}
@media (min-width: 1700px) {
  :root { --container: 1320px; }
}
