/* ============================================================
   Instytut Komunikacji Samorzadowej (IKS) - strona glowna
   Estetyka: refined editorial, instytucjonalna, marka IKS
   Marka: Vivid Violet #7100FF / Neon Mint #00F6A0 / Charcoal #434343
   Font: Montserrat
   ============================================================ */

:root {
  --violet: #7100ff;
  --violet-700: #5a00cc;
  --violet-900: #33007a;
  --violet-100: #ede1ff;
  --violet-50: #f5efff;
  --grad-violet: linear-gradient(140deg, #7100ff 0%, #7100ff 62%, #00f6a0 122%);
  --mint: #00f6a0;
  --mint-600: #00c986;
  --mint-50: #e6fff6;

  --ink: #1a1622;
  --charcoal: #434343;
  --gray-600: #5e5d68;
  --gray-400: #9a98a6;
  --bg: #ffffff;
  --bg-alt: #f6f4fb;
  --border: #e9e6f2;

  --footer-bg: #161121;

  --shadow-sm: 0 2px 8px -2px rgba(26, 22, 34, 0.08);
  --shadow-md: 0 18px 40px -24px rgba(26, 22, 34, 0.22);
  --shadow-violet: 0 28px 60px -28px rgba(113, 0, 255, 0.45);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: min(1680px, 90vw);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: var(--shadow-violet);
}
.btn-primary:hover {
  background: var(--violet-700);
  transform: translateY(-2px);
}
.btn-primary .arrow { transition: transform 0.35s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-2px);
}
.btn-mint {
  background: var(--mint);
  color: var(--ink);
}
.btn-mint:hover {
  background: var(--mint-600);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Eyebrow / chipy ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-50);
  padding: 7px 14px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint-50);
  color: #04795a;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
body.menu-open .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #fff;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 78px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-login {
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-login:hover { color: var(--violet); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-cta-mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
}
.hero::before {
  /* miekki gradient-mesh w tle - statyczny */
  content: "";
  position: absolute;
  top: -240px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(circle at 30% 30%, rgba(113, 0, 255, 0.10), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(0, 246, 160, 0.12), transparent 60%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}
.orb-1 {
  width: 340px; height: 340px;
  top: -70px; left: -60px;
  background: radial-gradient(circle, rgba(113, 0, 255, 0.24), transparent 70%);
}
.orb-2 {
  width: 300px; height: 300px;
  bottom: -90px; right: 22%;
  background: radial-gradient(circle, rgba(0, 246, 160, 0.26), transparent 70%);
}
.orb-3 {
  width: 220px; height: 220px;
  top: 34%; left: 40%;
  background: radial-gradient(circle, rgba(113, 0, 255, 0.13), transparent 70%);
}
.hero-spotlight {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 0, 255, 0.16), rgba(0, 246, 160, 0.05) 45%, transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  left: 50%; top: 45%;
}
.hero.spot-active .hero-spotlight { opacity: 1; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  margin: 22px 0 22px;
}
.hero-title .accent {
  position: relative;
  color: var(--violet);
  white-space: nowrap;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.08em;
  width: 100%; height: 0.16em;
  background: var(--mint);
  z-index: -1;
  border-radius: 2px;
}
.hero-lead {
  font-size: 19px;
  color: var(--gray-600);
  max-width: 30em;
  margin-bottom: 34px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--gray-600);
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -14px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}
.hero-trust .avatars img:first-child { margin-left: 0; }
.hero-trust .avatars:hover img { transform: translateY(-2px); }
.hero-trust strong { color: var(--ink); }

/* media hero */
.hero-media {
  position: relative;
}
.hero-photo {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.4;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-blob {
  position: absolute;
  z-index: 1;
  width: 78%; aspect-ratio: 1;
  right: -7%; top: -7%;
  background: var(--mint);
  border-radius: 46% 54% 58% 42% / 50% 44% 56% 50%;
  opacity: 0.9;
}
.hero-mark {
  position: absolute;
  z-index: 0;
  left: -14%; bottom: -12%;
  width: 46%;
  opacity: 0.10;
  transform: rotate(-8deg);
}
.hero-float {
  position: absolute;
  z-index: 3;
  left: -28px; bottom: 42px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.hero-float .ico {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--violet-50);
  color: var(--violet);
  display: grid;
  place-items: center;
}
.hero-float .ico svg { width: 22px; height: 22px; }
.hero-float .ft-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.hero-float .ft-sub { font-size: 12px; color: var(--gray-600); }

/* ============================================================
   PASEK STATYSTYK
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.about-left {
  position: sticky;
  top: 100px;
  align-self: start;
}
.about-left .eyebrow { margin-bottom: 18px; }
.about-left .section-title { margin-bottom: 16px; }
.about-video {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-video img { width: 100%; height: 100%; object-fit: cover; }
.about-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 22, 34, 0) 45%, rgba(26, 22, 34, 0.5));
}
.about-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 2;
  background: var(--violet);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px -6px rgba(113, 0, 255, 0.6);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.about-play svg { width: 30px; height: 30px; margin-left: 4px; }
.about-play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
.about-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--violet-700); }
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.about-video-tag {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(26, 22, 34, 0.5);
  backdrop-filter: blur(4px);
  padding: 7px 14px;
  border-radius: 999px;
}
.about-lead { font-size: 18px; color: var(--gray-600); margin: 0 0 30px; max-width: 32em; }

.about-stack { position: relative; }
.stack-card {
  position: sticky;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}
.stack-card:nth-child(1) { top: 100px; }
.stack-card:nth-child(2) { top: 118px; }
.stack-card:nth-child(3) { top: 136px; }
.stack-card:nth-child(4) { top: 154px; }
.stack-card:last-child { margin-bottom: 0; }
.stack-card-text { padding: 38px 40px; }
.stack-num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.stack-ico {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--grad-violet);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -8px rgba(51, 0, 122, 0.55);
}
.stack-ico svg { width: 26px; height: 26px; }
.stack-card-text h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 12px; }
.stack-card-text p { font-size: 15.5px; color: var(--gray-600); }

/* ============================================================
   SEKCJE - wspolne
   ============================================================ */
section { position: relative; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}
.section-head .head-text { max-width: 40em; }
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin: 16px 0 0;
}
.section-sub {
  font-size: 18px;
  color: var(--gray-600);
  margin-top: 16px;
}
.section-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: gap 0.3s var(--ease);
}
.section-link svg { width: 17px; height: 17px; }
.section-link:hover { gap: 12px; }

/* ============================================================
   KORZYSCI
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.benefit {
  background: transparent;
  border: none;
  padding: 0;
  perspective: 1200px;
  min-height: 260px;
}
.benefit-inner {
  position: relative;
  width: 100%;
  height: 260px;
  transition: transform 0.7s var(--ease);
  transform-style: preserve-3d;
}
.benefit:hover .benefit-inner { transform: rotateY(180deg); }
.benefit-front,
.benefit-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.benefit-front {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.benefit-back {
  background: var(--grad-violet);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: var(--shadow-violet);
}
.benefit-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad-violet);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.benefit-front h3 { font-size: 22px; line-height: 1.2; }
.benefit-back p { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.95); }
.benefit-back-tag { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   SZKOLENIA - karty
   ============================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.course {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.course-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.course:hover .course-media img { transform: scale(1.05); }
.course-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.course-badge.is-featured { background: var(--mint); }
.course-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 28px;
}
.course-body h3 { font-size: 21px; margin-bottom: 12px; }
.course-desc { font-size: 15px; color: var(--gray-600); margin-bottom: 20px; }
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-600);
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg { width: 15px; height: 15px; color: var(--violet); }
.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.course-price { line-height: 1.1; }
.course-price .amount { font-size: 26px; font-weight: 800; color: var(--ink); }
.course-price .unit { font-size: 13px; color: var(--gray-400); }
.course-price .vat { display: block; font-size: 11px; color: var(--gray-400); }

/* ============================================================
   BANER STACJONARNE - jedyne mocne uderzenie fioletu
   ============================================================ */
.onsite {
  position: relative;
  overflow: hidden;
  background: var(--violet);
  border-radius: 28px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.onsite::before {
  content: "";
  position: absolute;
  left: -120px; bottom: -160px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 246, 160, 0.25), transparent 65%);
  pointer-events: none;
}
.onsite-body {
  position: relative;
  z-index: 1;
  padding: 60px 56px;
}
.onsite .eyebrow {
  color: var(--ink);
  background: var(--mint);
}
.onsite .eyebrow .dot { background: var(--violet); }
.onsite h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 20px 0 18px;
}
.onsite p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 30em;
  margin-bottom: 30px;
}
.onsite-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 12px;
}
.onsite-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}
.onsite-list svg { width: 20px; height: 20px; color: var(--mint); flex: none; }
.onsite-media {
  position: relative;
  min-height: 320px;
}
.onsite-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============================================================
   ARTYKULY
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.article {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.article:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.article-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.article:hover .article-media img { transform: scale(1.05); }
.article-cat {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.95);
  color: var(--violet);
  padding: 5px 11px;
  border-radius: 999px;
}
.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.article-date { font-size: 13px; color: var(--gray-400); margin-bottom: 9px; }
.article h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 11px;
  transition: color 0.2s;
}
.article:hover h3 { color: var(--violet); }
.article p { font-size: 14.5px; color: var(--gray-600); margin-bottom: 14px; }
.article-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.article-more:hover { gap: 11px; }
.article-more svg, .article-more { transition: gap 0.3s var(--ease); }
.article-more svg { width: 15px; height: 15px; }

/* ============================================================
   CTA koncowe
   ============================================================ */
.cta-final { padding: 96px 0 104px; }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 70px 32px;
}
.cta-card h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 18px;
}
.cta-card p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 34em;
  margin: 0 auto 32px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 26em; line-height: 1.6; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 15px; color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13.5px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s, transform 0.25s;
}
.footer-social a:hover { background: var(--violet); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }

/* ============================================================
   ANIMACJE - scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSYWNOSC
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-left { position: static; top: auto; }
  .stack-card { position: static; top: auto; margin-bottom: 20px; }
  .stack-card-text { padding: 28px 26px 30px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .onsite { grid-template-columns: 1fr; }
  .onsite-media { min-height: 240px; order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 11px; padding: 6px 12px; letter-spacing: 0.04em; }
  .nav-menu, .nav-login { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-toggle { position: relative; z-index: 210; }
  .ico-close { display: none; }
  .nav.mobile-open .ico-open { display: none; }
  .nav.mobile-open .ico-close { display: block; }
  .nav.mobile-open .nav-logo { position: relative; z-index: 210; }
  .nav.mobile-open .nav-menu {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    padding: 90px 24px 48px;
    z-index: 120;
    animation: menuIn 0.35s var(--ease);
  }
  .nav.mobile-open .nav-menu a {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--ink);
    padding: 12px 0;
    width: auto;
  }
  .nav.mobile-open .nav-menu a::after { display: none; }
  .nav.mobile-open .nav-cta-mobile { display: block; margin-top: 22px; }
  .nav.mobile-open .nav-cta-mobile a { font-size: 16px; padding: 16px 36px; color: #fff; }
  @keyframes menuIn {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
  }
  .section { padding: 68px 0; }
  .cta-final { padding: 68px 0 76px; }
  .cta-card { padding: 48px 24px; }
  .benefit { perspective: none; min-height: 0; position: sticky; }
  .benefit:nth-child(1) { top: 88px; }
  .benefit:nth-child(2) { top: 104px; }
  .benefit:nth-child(3) { top: 120px; }
  .benefit:nth-child(4) { top: 136px; }
  .benefit-inner { transform: none !important; height: auto; min-height: 0; }
  .benefit-front, .benefit-back {
    position: static;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    transform: none;
  }
  .benefit-front { border-radius: var(--radius-md) var(--radius-md) 0 0; gap: 16px; }
  .benefit-back { border-radius: 0 0 var(--radius-md) var(--radius-md); gap: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .courses-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .onsite-body { padding: 44px 30px; }
  .hero { padding: 56px 0 72px; }
  .hero-float { left: 12px; bottom: 16px; }
}

@media (max-width: 460px) {
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   WARIANT /NEW
   ============================================================ */
.page-new .hero-new {
  min-height: calc(100svh - 78px);
  padding: 0;
  display: flex;
  align-items: stretch;
  isolation: isolate;
  background: var(--violet-900);
}
.page-new .hero-new::before,
.page-new .hero-new::after {
  display: none;
}
.hero-new-media,
.hero-new-overlay {
  position: absolute;
  inset: 0;
}
.hero-new-media {
  z-index: -3;
  background: var(--violet-900) url("../img/08-hero-new.73e7dec35b19.jpg") center 42% / cover no-repeat;
  filter: saturate(0.9) contrast(1.02);
}
.hero-new-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(31, 0, 71, 0.94) 0%, rgba(69, 0, 142, 0.78) 40%, rgba(83, 0, 166, 0.28) 70%, rgba(25, 8, 45, 0.26) 100%),
    linear-gradient(0deg, rgba(23, 5, 42, 0.86) 0%, rgba(42, 0, 88, 0.22) 52%, rgba(20, 8, 34, 0.30) 100%);
}
.hero-new-symbol {
  position: absolute;
  z-index: -1;
  width: min(19vw, 270px);
  right: 5vw;
  bottom: 5vh;
  opacity: 0.15;
  transform: rotate(40deg);
  transform-origin: center;
  filter: drop-shadow(0 20px 70px rgba(0, 246, 160, 0.18));
  pointer-events: none;
}
.hero-new-container {
  min-height: inherit;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-new-content {
  width: 100%;
  padding: clamp(48px, 7vh, 88px) 0;
}
.hero-new-copy {
  max-width: 760px;
}
.hero-new-copy .eyebrow {
  color: #fff;
  background: rgba(60, 0, 132, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}
.hero-new-copy .hero-title {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(20, 0, 40, 0.34);
}
.hero-new-copy .hero-title .accent {
  color: #fff;
}
.hero-new-copy .hero-title .accent::after {
  height: 0.12em;
  bottom: 0.03em;
  background: var(--mint);
  box-shadow: 0 0 28px rgba(0, 246, 160, 0.42);
}
.hero-new-copy .hero-lead {
  max-width: 42em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 20px rgba(20, 0, 40, 0.36);
}
.hero-new-copy .btn-primary {
  color: var(--ink);
  background: var(--mint);
  box-shadow: 0 18px 46px -22px rgba(0, 246, 160, 0.72);
}
.hero-new-copy .btn-primary:hover {
  background: #4affbd;
}
.hero-new-copy .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.50);
  background: rgba(42, 0, 88, 0.26);
  backdrop-filter: blur(10px);
}
.hero-new-copy .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.hero-new-copy .hero-trust {
  color: rgba(255, 255, 255, 0.78);
}
.hero-new-copy .hero-trust strong {
  color: #fff;
}
.page-new .benefit-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--violet);
  background: var(--violet-50);
  border: 1px solid var(--violet-100);
  border-radius: 18px;
}
.page-new .benefit-icon svg {
  width: 32px;
  height: 32px;
}
.page-new .benefit-back-symbol {
  width: 42px;
  height: 32px;
  display: block;
}
.page-new .benefit-back-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.page-new .site-footer {
  background:
    radial-gradient(circle at 84% 10%, rgba(0, 246, 160, 0.16), transparent 25%),
    linear-gradient(145deg, #7100ff 0%, #5000b8 58%, #3a0086 100%);
}
.page-new .footer-social a:hover {
  color: var(--ink);
  background: var(--mint);
}
.page-new .footer-social a:hover svg {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-new-symbol {
    width: min(25vw, 230px);
    right: 4vw;
    bottom: 5vh;
    opacity: 0.12;
  }
  .hero-new-overlay {
    background:
      linear-gradient(90deg, rgba(31, 0, 71, 0.94) 0%, rgba(69, 0, 142, 0.72) 58%, rgba(55, 0, 112, 0.35) 100%),
      linear-gradient(0deg, rgba(23, 5, 42, 0.88) 0%, rgba(42, 0, 88, 0.18) 62%, rgba(20, 8, 34, 0.30) 100%);
  }
}

@media (max-width: 760px) {
  .page-new .hero-new {
    min-height: calc(100svh - 78px);
    padding: 0;
  }
  .hero-new-media {
    background-position: 64% center;
  }
  .hero-new-overlay {
    background:
      linear-gradient(0deg, rgba(29, 0, 65, 0.98) 0%, rgba(65, 0, 137, 0.78) 57%, rgba(38, 0, 83, 0.38) 100%),
      linear-gradient(90deg, rgba(44, 0, 97, 0.64), rgba(61, 0, 130, 0.18));
  }
  .hero-new-symbol {
    width: 38vw;
    right: -6vw;
    bottom: 3vh;
    opacity: 0.10;
  }
  .hero-new-content {
    padding: 56px 0;
  }
  .hero-new-copy .hero-title {
    max-width: 11ch;
    margin-top: 18px;
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }
  .hero-new-copy .hero-lead {
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero-new-copy .hero-cta {
    margin-bottom: 28px;
  }
  .hero-new-copy .hero-trust {
    align-items: flex-start;
    gap: 14px;
    font-size: 12.5px;
  }
  .hero-new-copy .hero-trust .avatars img {
    width: 40px;
    height: 40px;
  }
}

