@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/ChakraPetch-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ChakraPetch-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ChakraPetch-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ChakraPetch-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ChakraPetch-Bold.ttf') format('truetype');
}

:root {

  --bg: #212529;
  --bg-alt: #2b3035;
  --bg-card: #2b3035;
  --bg-deep: #17191c;


  --line: #343a40;
  --border: #495057;
  --border-soft: #495057;
  --border-strong: #7a838b;


  --text: #dee2e6;
  --muted: #ced4da;
  --dim: #adb5bd;
  --faint: #979fa6;
  --white: #ffffff;


  --red: #dc3545;
  --red-dark: #b02a37;
  --red-accent: #dc3545;
  --link: #dc3545;
  --link-hover: #f6939c;


  --maxw: 1140px;
  --gutter: 24px;
  --header-h: 70px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --radius: 4px;
  --radius-lg: 8px;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Chakra Petch", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Chakra Petch", sans-serif;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: #fff;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color .2s ease-in-out, background-color .2s ease-in-out,
    border-color .2s ease-in-out;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}


.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section--alt {
  background: var(--bg-alt);
}

.section--plain {
  border-top: 0;
}


.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.btn::before,
.course__link::before,
.tile__link::before {
  content: "_" / "";
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--red-dark);
  color: #fff;
}

.btn.btn--outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
  font-weight: 400;
  font-size: 12px;
  padding: 6px 14px;
}

.btn.btn--outline-white:hover,
.btn.btn--outline-white:focus-visible {
  background: transparent;
  color: #fff;
  border-color: var(--red);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--red);
  color: #fff;
}

.btn--sm {
  font-size: 14px;
  padding: 10px 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(25, 27, 30, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}


.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logo {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo {
  opacity: .85;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
}

.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  border-bottom-color: var(--red-accent);
}

.site-nav a[aria-current="true"] {
  color: #fff;
  border-bottom-color: var(--red-accent);
}

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

.mobile-cta {
  display: none;
}


.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--red);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}


.hero {
  padding: 90px 0 72px;
  background-image: linear-gradient(to right, rgba(23, 25, 28, 1) 0%, rgba(23, 25, 28, 0.95) 40%, rgba(23, 25, 28, 0.6) 70%, transparent 100%), url('../img/bg-2.svg');
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  position: relative;
}


.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-wrap: pretty;
}

.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 52ch;
  text-wrap: pretty;
}

.hero .btn-row {
  margin-bottom: 36px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 560px;
}

.stats__num {
  font-size: 24px;
  font-weight: 700;
  color: var(--red-accent);
  font-family: "Chakra Petch", sans-serif;
}

.stats__label {
  font-size: 13px;
  color: var(--faint);
}


.section-title {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-wrap: pretty;
}

.section-title--lg {
  font-size: 34px;
  line-height: 1.12;
}

.centered {
  text-align: center;
  margin-bottom: 48px;
}

.centered .section-title {
  display: inline-block;
  position: relative;
  font-size: 32px;
  margin-bottom: 28px;
}

.centered .section-title::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 33%;
  width: 33%;
  border-top: 3px solid var(--red-accent);
}

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
  font-family: "Chakra Petch", sans-serif;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--red-accent);
}

.rule {
  width: 64px;
  border: 0;
  border-top: 1.5px solid var(--red-accent);
  margin: 0 0 20px;
}

.lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 68ch;
}

.lead+.tags {
  margin-top: 20px;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}

.card {
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 32px;
  border-bottom: 2px solid transparent;
}

.section--alt .card {
  background: var(--bg);
}

.card__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.card__kicker::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--red-accent);
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}


.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 56px;
  align-items: start;
}

.area-desc {
  position: relative;
  z-index: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags li {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--dim);
  font-family: "Chakra Petch", sans-serif;
}


.courses {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.course {
  position: relative;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: baseline;
  flex-wrap: wrap;
  border-left: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.course:hover,
.course:has(:focus-visible) {
  border-left-color: var(--red-accent);
}


.section--alt .course {
  background: var(--bg);
}

.course--accent {
  border-left-color: var(--red-accent);
}

.course__body {
  flex: 1 1 200px;
  min-width: 0;
}

.course__title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.course__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
  margin-top: 6px;
}


.course__link {
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.course__link:hover,
.course__link:focus-visible {
  background: transparent;
  color: #fff;
  border-color: var(--red);
}

/* Usunięto ::after, aby tylko przycisk był klikalny */

.course:has(.course__link:focus-visible),
.tile:has(.tile__link:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@supports selector(:has(*)) {

  .course__link:focus-visible,
  .tile__link:focus-visible {
    outline: none;
  }
}


.program {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.program:first-child {
  margin-top: 0;
  margin-bottom: 14px;
}

.program__body {
  flex: 1 1 220px;
  min-width: 0;
}

.program__title {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.program p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
}


.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}

.tile {
  position: relative;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover,
.tile:has(:focus-visible) {
  border-bottom-color: var(--red-accent);
}


.tile--accent {
  border-left: 2px solid var(--red-accent);
  border-bottom: none;
}

.tile__title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.tile p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
  margin-bottom: 16px;
}

.tile__link {
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
  font-weight: 400;
  margin-top: auto;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  align-self: flex-end;
}

.tile__link:hover,
.tile__link:focus-visible {
  background: transparent;
  color: #fff;
  border-color: var(--red);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-head__text {
  max-width: 620px;
}

.section-head .tags {
  max-width: 320px;
}


.academy {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.academy p {
  max-width: 60ch;
}

.academy .tags {
  margin: 20px 0 28px;
}

.academy__figure {
  margin: 0;
}

.academy__img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  display: block;
  max-width: 500px;
  margin: 0 auto;
}


.speaker {
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.speaker__photo {
  flex: 0 0 100px;
  width: 100px;
  aspect-ratio: 1;
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--faint);
  text-align: center;
  margin: 0;
}

.speaker__photo--img {
  border: none;
  object-fit: cover;
}

.speaker__name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.speaker p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
}


.cta-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 48px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-band__text {
  max-width: 560px;
}

.cta-band .section-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.9;
}

.footer-cols h2 {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.footer-cols ul {
  display: flex;
  flex-direction: column;
}

.footer-cols p {
  color: var(--dim);
}

.site-footer a {
  color: #fff;
  transition: opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  opacity: 0.85;
}

.footer-cols p a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--red-accent);
  text-underline-offset: 8px;
}

.site-footer .brand__logo {
  height: 28px;
  max-width: 170px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
}

.social-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: var(--dim);
  transition: background-color 0.2s ease;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.social-links a:hover .social-icon,
.social-links a:focus-visible .social-icon {
  background-color: var(--link);
}

.icon-facebook {
  mask-image: url('../img/icon-facebook.svg');
  -webkit-mask-image: url('../img/icon-facebook.svg');
}

.icon-linkedin {
  mask-image: url('../img/icon-linkedin.svg');
  -webkit-mask-image: url('../img/icon-linkedin.svg');
}

.icon-x {
  mask-image: url('../img/icon-x.svg');
  -webkit-mask-image: url('../img/icon-x.svg');
}

.icon-youtube {
  mask-image: url('../img/icon-youtube.svg');
  -webkit-mask-image: url('../img/icon-youtube.svg');
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
  color: var(--faint);
}


@media (max-width: 1040px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero__grid {
    gap: 36px;
  }

  .academy {
    gap: 36px;
  }

  .cta-band {
    padding: 36px;
  }
}


@media (max-width: 1131px) {
  :root {
    --gutter: 20px;
  }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .45);
    display: none;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: #fff;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: #fff;
  }

  .site-nav a[aria-current="true"] {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .06);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--red-accent);
    text-underline-offset: 6px;
  }

  .header-inner {
    position: relative;
    gap: 12px;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero__grid {
    /* .hero__grid moved to 1050px breakpoint */
  }


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


  .section {
    padding: 60px 0;
  }

  .centered {
    margin-bottom: 36px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head .tags {
    max-width: none;
  }
}


@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 10px var(--gutter);
  }

  .brand__logo {
    height: 28px;
    max-width: 150px;
  }

  .header-cta .btn {
    font-size: 13px;
    padding: 9px 14px;
  }

  .hero {
    padding: 48px 0 44px;
    background-image: linear-gradient(to right, rgba(23, 25, 28, 1) 0%, rgba(23, 25, 28, 0.95) 40%, rgba(23, 25, 28, 0.6) 70%, transparent 100%), url('../img/bg-2.svg');
  }

  .hero__lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero .btn-row {
    margin-bottom: 28px;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .stats {
    gap: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-title--lg {
    font-size: 26px;
  }

  .centered .section-title {
    font-size: 26px;
  }

  .card {
    padding: 24px;
  }

  .course {
    padding: 20px;
    gap: 12px;
  }

  .course__link,
  .tile__link,
  .course .course__cta,
  .program .btn,
  .cta-band .btn,
  .academy .btn {
    width: 100% !important;
    text-align: center !important;
    margin-top: 16px !important;
    padding: 14px 16px !important;
    display: inline-block !important;
  }

  .program {
    padding: 24px;
  }

  .program__title {
    font-size: 18px;
  }

  .cta-band {
    padding: 28px 22px;
  }

  .cta-band .section-title {
    font-size: 22px;
  }


  .speaker {
    padding: 22px;
    flex-direction: column;
  }

  .speaker__photo {
    flex-basis: 84px;
    width: 84px;
  }

  .footer-cols {
    gap: 28px;
    width: 100%;
  }

  .footer-cols>div {
    flex: 1 1 140px;
  }
}

@media (max-width: 450px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .mobile-cta {
    display: block;
    margin-top: 16px;
    padding-bottom: 8px;
  }

  .site-nav .mobile-cta a.btn {
    padding: 10px 18px;
    border-bottom: 1px solid transparent;
    width: 100%;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media print {

  .site-header,
  .nav-toggle,
  .site-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .hero {
    background: #fff !important;
    padding: 16px 0;
  }

  .card,
  .course,
  .tile,
  .program,
  .cta-band {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .section-title,
  .course__title,
  .tile__title,
  h1 {
    color: #000 !important;
  }
}

/* ---------- grupy tematyczne ---------- */

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

.group__head {
  padding-block: 72px 0;
  margin-bottom: 0;
}

.centered .group__title {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.group__head .lead {
  max-width: 62ch;
  margin-inline: auto;
}

.group__head.has-gap {
  padding-bottom: 2rem;
}

.group__head+.section {
  border-top: 0;
  padding-top: 40px;
}

/* Grupa 2 - dla IT: ciemniejsza góra przechodząca w tło strony, bez twardego paska */
.group--it {
  background: linear-gradient(180deg, var(--bg-deep) 0, var(--bg) 620px);
}


/* Grupa 1 - szkolenia dla wszystkich: jaśniejsze tło całej grupy */
.group--all {
  background: var(--bg-alt);
}

.group--all .section {
  background: transparent;
}

.group--all .course {
  background: var(--bg);
}

/* ---------- karty ofertowe z agendą ---------- */

.course--offer {
  align-items: flex-start;
}

.course--offer .course__body {
  flex: 1 1 340px;
  min-width: 0;
}

/* Usunięto redundantne reguły hover dla course--offer */

.course__tag,
.tile .course__tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.program .course__tag {
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
}

.course__cta {
  flex: 0 0 auto;
  align-self: flex-start;
}

.tags--card {
  margin-top: 12px;
}

/* ---------- agenda (rozwijana) ---------- */

.agenda {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.agenda__summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.agenda__summary::-webkit-details-marker {
  display: none;
}

.agenda__summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--red-accent);
  border-bottom: 2px solid var(--red-accent);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.agenda[open]:not(.is-closing) .agenda__summary::after {
  transform: translateY(1px) rotate(-135deg);
}

.agenda__summary:hover,
.agenda__summary:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red-accent);
  text-underline-offset: 6px;
}

.agenda__body {
  padding: 6px 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
}

.agenda__meta {
  color: var(--faint);
  margin-bottom: 10px;
}

.agenda__list {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
}

.agenda__list>li {
  margin-bottom: 10px;
}

.agenda__list strong {
  color: var(--text);
  font-weight: 600;
}

.agenda__list ul {
  margin: 4px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.agenda__list ul li {
  margin-bottom: 2px;
}

/* ---------- prelegenci bez zdjęcia ---------- */

.cards--speakers {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

@media (max-width: 720px) {
  .cards--speakers {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- dopisek o dofinansowaniu ---------- */

.cta-band__note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--red-accent);
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim);
}

@media (max-width: 640px) {
  .group__head {
    padding-block-start: 48px;
  }

  .group__title {
    font-size: 26px;
  }

  .course--offer .course__cta {
    width: 100%;
  }

  .course--offer .course__body {
    flex-basis: 100%;
  }
}
.glass-box {
  width: 250px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: glassIn 0.6s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
  justify-self: center;
}

@keyframes glassIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.glass-link {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.glass-link:hover,
.glass-link:focus-visible { 
  opacity: 0.8; 
  color: #fff;
}

.glass-box::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  background-color: #ea4644;
  border-radius: 50%;
}

.glass-icon {
  color: #ea4644;
  width: 2em;
  height: 2em;
}

@media (max-width: 1050px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
