.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(20, 38, 74, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.main-menu a[aria-current="page"]:not(.contact-link) {
  color: var(--accent-strong);
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.55fr) minmax(240px, 0.75fr);
  gap: clamp(34px, 6vw, 88px);
  width: min(1180px, 100%);
  margin: 0 auto 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand-block .logo-brand {
  --brand-signet-width: 52px;
  --brand-signet-height: 50px;
  --brand-font-size: 1rem;
  color: #fff;
}

.footer-brand-block .brand-wordmark {
  color: #fff;
}

.footer-brand-block .brand-signet img {
  filter: brightness(0) invert(1);
}

.footer-brand-block > p {
  max-width: 430px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: #f4c867;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-column a:hover {
  color: #fff;
}

.social-card {
  display: flex;
  position: sticky;
  top: 110px;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 520px;
  padding: 38px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 16%, rgba(244, 200, 103, 0.22), transparent 24%),
    linear-gradient(145deg, #1d5f9d, #14264a 62%);
  color: #fff;
  box-shadow: 0 26px 70px rgba(20, 38, 74, 0.18);
}

.social-card::before {
  position: absolute;
  top: 50px;
  right: -34px;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "f";
  color: rgba(255, 255, 255, 0.13);
  font-size: 10rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.social-card-label,
.social-card strong,
.social-card p,
.social-card a {
  position: relative;
  z-index: 1;
}

.social-card-label {
  color: #f4c867;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.social-card strong {
  max-width: 320px;
  margin-top: 14px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.social-card p {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.social-card .button {
  align-self: flex-start;
}

.site-footer:has(.site-footer-main) {
  padding-top: 58px;
}

.inner-page {
  min-height: 100vh;
  background: var(--page-bg);
  background-attachment: fixed, fixed, fixed;
}

.inner-page .site-header {
  z-index: 35;
  width: 100%;
  height: 88px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(20, 38, 74, 0.08);
  background: rgba(251, 253, 255, 0.88);
  backdrop-filter: blur(18px);
}

.inner-page .site-header .logo-brand {
  --brand-signet-width: 56px;
  --brand-signet-height: 54px;
  --brand-font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.inner-page main {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  min-height: 500px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0 92px;
}

.page-hero::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 0 72px, var(--line) 72px 100%);
  content: "";
}

.page-hero-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--accent-strong);
}

.page-hero .section-kicker {
  margin: 0 0 18px;
  line-height: 1.45;
}

.page-hero h1,
.article-heading h1 {
  max-width: 800px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 5.1vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.page-hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.page-lead,
.article-lead {
  max-width: 710px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: #fff;
}

.button-primary:hover {
  background: #1c3567;
}

.button-secondary {
  border-color: rgba(20, 38, 74, 0.22);
  background: rgba(255, 255, 255, 0.56);
  color: var(--navy);
}

.button-secondary:hover {
  border-color: var(--navy);
  background: #fff;
}

.button-light {
  background: #fff;
  color: var(--navy);
}

.hero-mark {
  display: grid;
  position: relative;
  align-content: end;
  width: min(100%, 300px);
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  justify-self: end;
  border: 1px solid rgba(20, 38, 74, 0.1);
  border-radius: 4px;
  background: linear-gradient(155deg, #1b3564 0%, var(--navy) 72%);
  color: #fff;
  box-shadow: 16px 18px 0 rgba(29, 95, 157, 0.075);
}

.hero-mark::before,
.hero-mark::after {
  position: absolute;
  content: "WAWRZONEK · ŁÓDŹ";
}

.hero-mark::before {
  top: 28px;
  right: 30px;
  left: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: #f4c867;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-mark::after {
  top: 0;
  right: 0;
  width: 7px;
  height: 76px;
  background: #f4c867;
  color: transparent;
}

.hero-mark span {
  position: relative;
  z-index: 1;
  justify-self: start;
  font-size: clamp(4.4rem, 7vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero-mark.flag-mark {
  background: linear-gradient(155deg, #24477f 0%, var(--navy) 76%);
}

.hero-mark.flag-mark span {
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  letter-spacing: -0.04em;
}

.hero-mark.word-mark span {
  font-size: clamp(2.3rem, 4.4vw, 3.65rem);
  letter-spacing: -0.045em;
}

.content-section {
  padding: clamp(70px, 8vw, 112px) 20px;
  background: #fff;
}

.content-section.soft {
  background: rgba(245, 247, 251, 0.78);
}

.content-section.no-top {
  padding-top: 0;
}

.content-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 46px;
}

.section-heading .section-kicker {
  margin: 0 0 18px;
}

.section-heading h2,
.split-copy h2,
.cta-panel h2,
.contact-form h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.7vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading > p,
.split-copy > p,
.split-copy .body-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.62fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.split-layout.reverse {
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 0.88fr);
}

.split-layout.reverse .split-copy {
  order: 2;
}

.split-copy .section-kicker {
  margin: 0 0 18px;
}

.split-copy > p,
.split-copy .body-copy {
  margin-top: 24px;
}

.body-copy {
  display: grid;
  gap: 18px;
}

.body-copy p {
  margin: 0;
}

.info-panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(20, 38, 74, 0.12);
  border-radius: 18px;
  background: var(--page-bg);
  box-shadow: 0 24px 60px rgba(20, 38, 74, 0.09);
}

.info-panel.dark {
  border-color: rgba(255, 255, 255, 0.13);
  background: var(--navy);
  color: #fff;
}

.info-panel h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.22;
}

.info-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.info-panel.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list,
.plain-list {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.62;
}

.check-list li::before {
  position: absolute;
  top: 0.13em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 95, 157, 0.12);
  color: var(--blue);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.plain-list li::before {
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4b942;
  content: "";
}

.info-panel.dark .check-list li,
.info-panel.dark .plain-list li {
  color: rgba(255, 255, 255, 0.76);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.language-card,
.feature-card,
.location-card,
.schedule-card,
.test-card {
  display: flex;
  position: relative;
  flex-direction: column;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 74, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(20, 38, 74, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.language-card:hover,
.test-card:hover {
  border-color: rgba(29, 95, 157, 0.36);
  box-shadow: 0 24px 56px rgba(20, 38, 74, 0.12);
  transform: translateY(-4px);
}

.language-card .flag {
  width: 42px;
  height: 29px;
}

.card-number,
.card-kicker {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.language-card h2,
.feature-card h3,
.location-card h3,
.schedule-card h3,
.test-card h2 {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 1.26rem;
  line-height: 1.2;
}

.language-card p,
.feature-card p,
.location-card p,
.schedule-card p,
.test-card p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.language-card .text-link,
.test-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.level-card {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.level-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
}

.level-card h3 {
  margin: 22px 0 0;
  font-size: 1.15rem;
}

.level-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.dark-band {
  width: calc(100% - 50px);
  margin: 0 auto;
  padding: clamp(74px, 9vw, 120px) 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 200, 103, 0.11), transparent 24%),
    linear-gradient(135deg, #0f1f3d 0%, #14264a 58%, #0b1930 100%);
  color: #fff;
}

.dark-band .section-heading h2,
.dark-band .split-copy h2 {
  color: #fff;
}

.dark-band .section-heading > p,
.dark-band .split-copy > p,
.dark-band .body-copy {
  color: rgba(255, 255, 255, 0.72);
}

.dark-band .feature-card {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.dark-band .feature-card h3 {
  color: #fff;
}

.dark-band .feature-card p {
  color: rgba(255, 255, 255, 0.68);
}

.dark-band .card-number,
.dark-band .card-kicker {
  color: #f4c867;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-item {
  min-height: 170px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-item strong {
  display: block;
  color: #f4c867;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 1px solid var(--line);
}

.timeline-item > span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.timeline-item h3 {
  margin: 0;
  font-size: 1.12rem;
}

.timeline-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.accordion-list {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-button {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 34px;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 94px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.accordion-button > span:first-child {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.accordion-button strong {
  font-size: 1.12rem;
}

.accordion-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.accordion-button[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-width: 800px;
  padding: 0 0 28px 88px;
  color: var(--muted);
  line-height: 1.72;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: clamp(38px, 6vw, 68px);
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 30px 80px rgba(20, 38, 74, 0.18);
}

.cta-panel h2 {
  max-width: 760px;
  color: #fff;
}

.cta-panel p {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

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

.schedule-card {
  min-height: 300px;
}

.schedule-card .date {
  margin-top: auto;
  padding-top: 28px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(20, 38, 74, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 38, 74, 0.09);
}

.contact-form h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  outline: none;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 95, 157, 0.1);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.form-status {
  color: var(--blue);
  font-weight: 700;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-chip {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-chip .icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.2rem;
}

.contact-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-chip strong,
.contact-chip a {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  cursor: zoom-in;
}

.gallery-item:nth-child(7n + 1),
.gallery-item:nth-child(7n + 5) {
  grid-row: span 2;
}

.gallery-item:nth-child(9n + 3) {
  grid-column: span 2;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-modal {
  display: grid;
  position: fixed;
  z-index: 80;
  inset: 0;
  place-items: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 16, 32, 0.88);
  cursor: zoom-out;
}

.gallery-modal img {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.45);
}

.gallery-modal-close {
  position: fixed;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(20, 38, 74, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(20, 38, 74, 0.07);
}

.blog-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.blog-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.blog-image:hover img {
  transform: scale(1.035);
}

.blog-card-body {
  padding: 26px;
}

.blog-meta {
  margin: 0;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 14px 0 0;
  font-size: 1.2rem;
  line-height: 1.28;
}

.blog-card h2 a:hover {
  color: var(--blue);
}

.blog-card-body > p:not(.blog-meta) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.68;
}

.blog-card .text-link {
  margin-top: 22px;
  font-size: 0.9rem;
}

.article-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.article-heading {
  max-width: 900px;
}

.article-heading .section-kicker {
  margin: 0 0 18px;
}

.article-heading h1 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.article-heading .blog-meta {
  margin-top: 22px;
}

.article-cover {
  margin: 54px 0 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--soft);
  box-shadow: 0 28px 70px rgba(20, 38, 74, 0.11);
}

.article-cover img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.article-body {
  max-width: 760px;
  margin: 62px auto 0;
  color: #465069;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
  line-height: 1.9;
}

.article-body h2 {
  margin: 54px 0 18px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.article-body p {
  margin: 0 0 24px;
}

.article-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 64px auto 0;
  padding: 28px;
  border-radius: 14px;
  background: var(--soft);
}

.article-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.quiz-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.quiz-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
  padding: 24px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
}

.quiz-intro strong {
  color: #f4c867;
}

.quiz-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.quiz-progress {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  font-weight: 700;
}

.quiz-progress progress {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.quiz-progress progress::-webkit-progress-bar {
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.quiz-progress progress::-webkit-progress-value {
  border-radius: 99px;
  background: #f4c867;
}

.quiz-progress progress::-moz-progress-bar {
  border-radius: 99px;
  background: #f4c867;
}

.quiz-question {
  position: relative;
  margin: 0;
  padding: 30px 0 36px;
  border: 0;
  min-width: 0;
}

.quiz-question + .quiz-question {
  margin-top: 10px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.quiz-question h2 {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.quiz-question h2 span {
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.quiz-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0 64px;
}

.quiz-answers label {
  cursor: pointer;
}

.quiz-answers input {
  position: absolute;
  opacity: 0;
}

.quiz-answers span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  transition: border 160ms ease, background 160ms ease, color 160ms ease;
}

.quiz-answers input:checked + span {
  border-color: var(--blue);
  background: rgba(29, 95, 157, 0.08);
  color: var(--navy);
}

.quiz-answers input:focus-visible + span {
  outline: 3px solid rgba(29, 95, 157, 0.17);
}

.quiz-question.has-error h2 {
  color: #9d2f2f;
}

.quiz-question.has-error .quiz-answers span {
  border-color: rgba(185, 61, 61, 0.42);
}

.quiz-answers label.is-correct span,
.quiz-answers label.is-correct input:checked + span {
  border-color: #2c845c;
  background: rgba(44, 132, 92, 0.1);
  color: #176340;
}

.quiz-answers label.is-wrong span,
.quiz-answers label.is-wrong input:checked + span {
  border-color: #b93d3d;
  background: rgba(185, 61, 61, 0.09);
  color: #8b2929;
}

.quiz-answers label.is-correct span::after,
.quiz-answers label.is-wrong span::after {
  margin-left: auto;
  padding-left: 12px;
  font-weight: 900;
}

.quiz-answers label.is-correct span::after {
  content: "✓";
}

.quiz-answers label.is-wrong span::after {
  content: "×";
}

.quiz-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.quiz-result {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 26px;
  border-radius: 14px;
  background: rgba(29, 95, 157, 0.1);
  color: var(--navy);
}

.quiz-result strong {
  font-size: 1.35rem;
}

.quiz-result.is-warning {
  background: rgba(244, 185, 66, 0.16);
  color: #6f4a00;
}

.legal-copy {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 100px) 0;
  color: var(--muted);
  line-height: 1.78;
}

.legal-copy ol {
  display: grid;
  gap: 22px;
  padding-left: 24px;
}

.legal-copy li::marker {
  color: var(--blue);
  font-weight: 800;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.job-list .info-panel {
  box-shadow: none;
}

.notice {
  padding: 22px 24px;
  border-left: 4px solid #f4b942;
  border-radius: 0 10px 10px 0;
  background: #fff8e8;
  color: #725416;
  line-height: 1.66;
}

.notice strong {
  display: block;
  margin-bottom: 5px;
  color: #533d10;
}

.ua-copy {
  font-size: 1.05rem;
  line-height: 1.82;
}

.ua-copy h2 {
  margin-top: 50px;
}

@media (max-width: 980px) {
  .card-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .site-footer-main {
    grid-template-columns: 1.2fr 0.7fr;
  }

  .site-footer-main .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-hero-grid,
  .section-heading,
  .split-layout,
  .split-layout.reverse,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 0;
    padding: 62px 0 72px;
  }

  .hero-mark {
    display: none;
  }

  .split-layout.reverse .split-copy {
    order: initial;
  }

  .cta-panel .button {
    justify-self: start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .gallery-item:nth-child(9n + 3) {
    grid-column: auto;
  }

  .article-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-header,
  .inner-page .site-header {
    position: sticky;
    top: 0;
    z-index: 35;
    width: 100%;
    height: 74px;
    margin: 0;
    padding: 10px 18px;
    flex-direction: row;
    align-items: center;
    background: rgba(251, 253, 255, 0.94);
    backdrop-filter: blur(18px);
  }

  .sticky-header {
    height: 74px;
  }

  .sticky-header-inner {
    width: 100%;
    padding: 10px 18px;
    flex-direction: row;
    justify-content: space-between;
  }

  .site-header .logo-brand,
  .inner-page .site-header .logo-brand,
  .sticky-brand {
    --brand-signet-width: 44px;
    --brand-signet-height: 42px;
    --brand-font-size: 0.82rem;
    gap: 8px;
  }

  .site-header .brand,
  .sticky-header .brand {
    justify-content: flex-start;
  }

  .header-right {
    flex: 0 0 auto;
  }

  .menu-toggle {
    display: flex;
  }

  .main-menu,
  .sticky-header .main-menu {
    position: fixed;
    z-index: 90;
    top: 74px;
    right: 12px;
    left: 12px;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    max-height: calc(100svh - 88px);
    padding: 14px;
    overflow: auto;
    border: 1px solid rgba(20, 38, 74, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20, 38, 74, 0.2);
    text-align: left;
  }

  .main-menu.is-open {
    display: flex;
  }

  .main-menu .menu-link,
  .sticky-header .main-menu .menu-link {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .main-menu .contact-link,
  .sticky-header .main-menu .contact-link {
    justify-content: center;
    margin-top: 6px;
  }

  .menu-dropdown::after {
    display: none;
  }

  .main-menu .menu-item {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .menu-dropdown.is-open .dropdown-menu,
  .menu-dropdown:focus-within .dropdown-menu,
  .menu-dropdown:hover .dropdown-menu {
    transform: none;
  }

  .dropdown-menu a {
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .hero {
    top: 74px;
    height: calc(100svh - 74px);
  }

  .site-footer-main,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer-main .footer-column:last-child {
    grid-column: auto;
  }

  .site-footer-inner p:last-child {
    justify-self: start;
  }

  .site-footer-inner .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .page-hero,
  .article-shell,
  .quiz-shell {
    width: calc(100% - 30px);
  }

  .page-hero h1,
  .article-heading h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
  }

  .card-grid,
  .card-grid.two,
  .level-grid,
  .schedule-grid,
  .blog-grid,
  .job-list {
    grid-template-columns: 1fr;
  }

  .dark-band {
    width: calc(100% - 20px);
    border-radius: 22px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .field-row,
  .quiz-answers {
    grid-template-columns: 1fr;
  }

  .quiz-answers {
    margin-left: 0;
  }

  .quiz-progress {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiz-question h2 {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .accordion-button {
    grid-template-columns: 46px minmax(0, 1fr) 32px;
  }

  .accordion-panel {
    padding-left: 64px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item:nth-child(7n + 1),
  .gallery-item:nth-child(7n + 5) {
    grid-row: auto;
  }

  .footer-brand-block .brand {
    justify-content: flex-start;
  }
}
