/* Pan Barber — style strony. Wcześniej inline w <style> w index.html. */

:root {
  --bg: #f5efe4;
  --bg-soft: #efe7d8;
  --surface: #ffffff;
  --ink: #1c1814;
  --ink-2: #3a332b;
  --muted: #7a7064;
  --line: #e6dcc9;
  --line-strong: #d8ccb4;
  --gold: #b9863a;
  --gold-deep: #a67528;
  --gold-soft: #f4ead4;
  --shadow: 0 1px 2px rgba(28, 24, 20, .04), 0 8px 24px rgba(28, 24, 20, .06);
  --shadow-lg: 0 2px 4px rgba(28, 24, 20, .05), 0 24px 48px rgba(28, 24, 20, .10);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost .btn-arrow {
  background: rgba(28, 24, 20, .06);
}

.btn-ghost:hover .btn-arrow {
  background: rgba(255, 255, 255, .18);
}

/* Top bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 51;
  background: var(--ink);
  color: #d6cdb9;
  font-size: 12px;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.top-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-meta a {
  color: inherit;
  transition: color .15s ease;
}

.top-bar-meta a:hover {
  color: var(--gold);
}

.top-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .18);
  padding: 0;
}

.top-bar-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  transition: background .2s ease, color .2s ease;
  font-weight: 600;
  letter-spacing: .05em;
}

.top-bar-social:hover {
  background: var(--gold);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 38px;
  z-index: 50;
  background: rgba(245, 239, 228, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(216, 204, 180, .55);
}

.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Tylko pionowy padding — poziomy margines zostawiamy .container (inaczej nagłówek dotyka krawędzi). */
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-size: 14px;
  line-height: 1.1;
}

.brand-name small {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  color: var(--gold);
  font-weight: 600;
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: inline-block;
}

/* Mobile dropdown menu (toggled by the hamburger ≤720px) */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(245, 239, 228, .98);
  padding: 10px 0 18px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  padding: 13px 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

.mobile-nav-cta {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

@media (min-width: 721px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: 56px 0 48px;
}

.urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(185, 134, 58, .12);
  border: 1px solid rgba(185, 134, 58, .3);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.urgency-pill .pulse {
  width: 8px;
  height: 8px;
  background: #c83b3b;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(200, 59, 59, .6);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 59, 59, .6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(200, 59, 59, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 59, 59, 0);
  }
}

.highlight-days {
  background: linear-gradient(180deg, transparent 60%, var(--gold-soft) 60%);
  padding: 0 4px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

h1.hero-title {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--ink);
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-meta .meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-meta .meta-icon {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #fff;
}

.hero-meta .meta-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
}

.hero-meta .meta-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: 2px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/4.6;
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-image img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    transition: none;
  }
}

/* Feature strip */
.features {
  padding: 28px 0 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 6px 14px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: none;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 4px 0 4px;
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Sections */
section {
  scroll-margin-top: 128px;
}

.section-head {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 700px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

.section-sub {
  color: var(--muted);
  margin-top: 14px;
  font-size: 16px;
}

/* Graduates marquee gallery */
.grad-strip {
  padding: 32px 0 48px;
  position: relative;
}

.grad-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.grad-strip-head h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 4px 0 0;
  font-weight: 800;
  letter-spacing: -.01em;
}

.grad-strip-head p {
  color: var(--muted);
  font-size: 14px;
  max-width: 480px;
  margin: 0;
}

.grad-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.grad-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gradScroll 48s linear infinite;
}

.grad-marquee:hover .grad-track {
  animation-play-state: paused;
}

@keyframes gradScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.grad-card {
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  box-shadow: var(--shadow);
}

.grad-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.grad-card:hover img {
  transform: scale(1.04);
}

.grad-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 24, 20, .78) 100%);
  pointer-events: none;
}

.grad-card .grad-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.grad-tag svg {
  color: var(--gold);
}

/* Courses */
.courses {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, var(--bg) 0%, #fdf9f0 60%, var(--bg) 100%);
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.course-flag {
  flex: 0 0 100%;
  background: var(--ink);
  color: #f3ead6;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.course-flag-media {
  position: relative;
  min-height: 360px;
  background: #2a221a;
  overflow: hidden;
}

.course-flag-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
}

.course-flag-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(28, 24, 20, .4), rgba(28, 24, 20, 0) 60%);
}

.course-flag-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a140b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.course-flag h3 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  margin: 4px 0 0;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: #fff;
}

.course-flag .flag-sub {
  color: #d6cdb9;
  font-size: 15px;
  margin: 0 0 8px;
}

.course-flag p {
  color: rgba(243, 234, 214, .78);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.flag-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin-top: 6px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.flag-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(243, 234, 214, .92);
}

.flag-points svg {
  color: var(--gold);
  flex-shrink: 0;
}

.flag-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.flag-price {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}

.flag-price small {
  font-size: 13px;
  font-weight: 700;
  color: #b8af9b;
  margin-left: 2px;
}

.flag-cta .btn {
  background: var(--gold);
  color: #fff;
}

.flag-cta .btn:hover {
  background: #c69640;
}

.course {
  /* 3 na rząd na desktopie; ostatni rząd (2 karty) wyśrodkowany przez justify-content. */
  flex: 0 0 calc((100% - 44px) / 3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.course:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.course-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.course:hover .course-media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  padding: 7px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}

.course-body {
  padding: 22px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.course-sub {
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.course-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 0 18px;
  line-height: 1.55;
}

.course-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.course-meta span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-meta svg {
  color: var(--gold);
}

.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.course-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1;
}

.course-price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 2px;
}

.course .btn {
  padding: 10px 16px;
  font-size: 11px;
  gap: 8px;
}

.course .btn .btn-arrow {
  width: 22px;
  height: 22px;
}

/* Videos */
.videos {
  padding: 72px 0 72px;
  background: var(--ink);
  color: #f3ead6;
}

.videos .section-tag {
  color: var(--gold);
}

.videos .section-title {
  color: #fff;
}

.videos .section-sub {
  color: rgba(243, 234, 214, .7);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #0e0a06;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  transition: transform .25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-card video,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card .play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity .25s ease;
}

.video-card .play-btn span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}

.video-card.playing .play-btn {
  opacity: 0;
}

.video-card.playing::after {
  display: none;
}

.video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .7) 100%);
  pointer-events: none;
}

.video-card .v-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-card .v-caption svg {
  color: var(--gold);
  flex-shrink: 0;
}

.videos-aside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.videos-aside .stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.01em;
}

.videos-aside .stat-label {
  color: rgba(243, 234, 214, .7);
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.5;
}

/* Benefits */
.benefits {
  padding: 88px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin: 0 0 22px;
}

.benefit-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.benefit-desc {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* Successes */
.successes {
  padding: 80px 0 80px;
  background: var(--bg);
}

.success-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

.success-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.success-stat {
  padding: 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.success-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-deep);
  letter-spacing: -.01em;
  line-height: 1;
}

.success-stat .lab {
  color: var(--ink-2);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.45;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.success-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.success-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.success-card:hover img {
  transform: scale(1.04);
}

.success-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 24, 20, .82) 100%);
}

.success-card .success-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: #fff;
  z-index: 1;
}

.success-card .success-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.success-card .success-caption span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, .78);
  margin-top: 3px;
  letter-spacing: .04em;
}

/* Testimonials */
.testimonials {
  padding: 80px 0 64px;
}

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

.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  position: relative;
}

.testi-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-name {
  font-weight: 700;
  font-size: 15px;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  margin-top: 2px;
}

.testi-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

.testi-when {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.stars .star,
.stars .star-empty {
  display: inline-flex;
}

.stars .star-empty {
  color: var(--line-strong);
}

.avatar.avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
}

.reviews-cta {
  text-align: center;
  margin-top: 34px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

.stat-num {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Callback form */
.callback {
  padding: 0 0 56px;
}

.callback-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: var(--shadow);
}

.callback-info {
  background: var(--ink);
  color: #efe7d8;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ci-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.callback-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  color: #fff;
}

.callback-info p {
  color: #c9bfae;
  margin: 0 0 26px;
  max-width: 360px;
}

.callback-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.callback-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #e6dcc9;
}

.callback-points svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.callback-phone {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #c9bfae;
}

.callback-phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.callback-phone a svg {
  color: var(--gold);
}

.callback-form {
  padding: 48px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.form-field label .req {
  color: var(--gold-deep);
}

.form-control {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.form-control::placeholder {
  color: #a89c8a;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(185, 134, 58, .15);
}

textarea.form-control {
  resize: vertical;
  min-height: 92px;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%237a7064'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='6%209%2012%2015%2018%209'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form-consent a {
  color: var(--gold-deep);
  text-decoration: underline;
}

.callback-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.callback-form .btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 14px;
  margin: 2px 0 0;
  min-height: 1.2em;
  line-height: 1.4;
}

.form-status.is-success {
  color: #2e7d32;
  font-weight: 600;
}

.form-status.is-error {
  color: #c0392b;
  font-weight: 600;
}

@media (max-width: 860px) {
  .callback-card {
    grid-template-columns: 1fr;
  }

  .callback-info {
    padding: 40px 32px;
  }

  .callback-form {
    padding: 36px 32px;
  }
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .callback-info,
  .callback-form {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Footer */
.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Legal pages (privacy policy, regulamin) */
.legal {
  padding: 56px 0 80px;
}

.legal-container {
  max-width: 820px;
}

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

.legal-head .section-tag {
  margin-bottom: 14px;
}

.legal-head .section-title {
  font-size: clamp(32px, 4vw, 44px);
}

.legal-body {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal-body a:hover {
  color: var(--ink);
}

.legal-body code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 6px 0 18px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-table-wrap {
  margin: 8px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-table thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 640px) {
  .legal {
    padding: 36px 0 56px;
  }

  .legal-body {
    font-size: 15px;
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 12px;
  }
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-image {
    max-width: 560px;
  }

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

  .feature:nth-child(2n) {
    border-right: none;
  }

  .feature:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }

  .course {
    flex-basis: calc((100% - 22px) / 2);
  }

  .course-flag {
    grid-template-columns: 1fr;
  }

  .course-flag-media {
    min-height: 280px;
  }

  .course-flag-body {
    padding: 32px;
  }

  .flag-points {
    grid-template-columns: 1fr;
  }

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

  .videos-aside {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .success-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .testi-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

}

@media (max-width: 720px) {
  .container {
    padding: 0 24px;
  }

  .top-bar-hide-mobile {
    display: none;
  }

  .top-bar-social span {
    display: none;
  }

  .top-bar-social {
    padding: 6px 8px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .feature {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 8px;
  }

  .feature:last-child {
    border-bottom: none;
  }

  .course {
    flex-basis: 100%;
  }

  .grad-card {
    width: 160px;
  }

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

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

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

  .hero-meta {
    gap: 22px;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  /* Tighter vertical rhythm on phones */
  .features {
    padding: 24px 0 40px;
  }

  .courses {
    padding: 48px 0 52px;
  }

  .videos {
    padding: 52px 0;
  }

  .benefits {
    padding: 56px 0;
  }

  .successes {
    padding: 52px 0;
  }

  .testimonials {
    padding: 52px 0 48px;
  }

  .callback {
    padding: 0 0 48px;
  }

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

  .benefits-grid {
    margin-top: 32px;
  }

  .success-intro {
    margin-bottom: 32px;
  }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(140%);
  z-index: 200;
  width: calc(100% - 32px);
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .35s ease, visibility .35s;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 11px 22px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }

  .cookie-banner .cookie-actions {
    justify-content: center;
  }
}
