:root {
  --ink: #062f31;
  --ink-deep: #032527;
  --ink-soft: #0a3d3e;
  --paper: #f4f3ed;
  --paper-warm: #ebe9df;
  --white: #ffffff;
  --accent: #dfff54;
  --muted: #677273;
  --line: rgba(6, 47, 49, 0.18);
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.14);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: .14em;
  line-height: 1;
}

.brand-copy small {
  color: rgba(255,255,255,.56);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.desktop-nav a {
  transition: color .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 650;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.header-cta svg,
.button svg,
.contact-section svg,
.speaker-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-deep);
}

.hero-grid {
  min-height: calc(100vh - 182px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  padding-block: 70px 62px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: 760px;
  margin: 25px 0 25px;
  font-size: clamp(55px, 7.4vw, 106px);
  line-height: .92;
  letter-spacing: -.058em;
  font-weight: 560;
}

.hero h1 em,
.section-heading h2 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.58;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  padding: 0 23px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

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

.button-accent {
  background: var(--accent);
  color: var(--ink-deep);
}

.button-ghost {
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.88);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255,255,255,.08);
}

.hero-note {
  margin: 22px 0 0;
  color: rgba(255,255,255,.43);
  font-size: 11px;
  letter-spacing: .08em;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.image-frame {
  position: absolute;
  inset: 0 30px 30px 0;
  overflow: hidden;
  border-radius: 3px;
  background: #173d3e;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  display: block;
  filter: saturate(.78) contrast(1.05);
}

.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,37,39,.04) 40%, rgba(3,37,39,.9) 100%);
}

.image-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.5;
}

.image-label p {
  margin: 0;
}

.image-label strong {
  color: white;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(223,255,84,.14);
}

.credential-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 186px;
  min-height: 118px;
  background: var(--accent);
  color: var(--ink-deep);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

.credential-number {
  font-size: 42px;
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 750;
}

.credential-card span:last-child {
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.visual-index {
  position: absolute;
  top: -24px;
  right: 31px;
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.38);
}

.hero-stats {
  min-height: 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  position: relative;
  z-index: 3;
}

.hero-stats > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-right: 1px solid rgba(255,255,255,.14);
}

.hero-stats > div:first-child {
  padding-left: 0;
}

.hero-stats > div:last-child {
  border-right: 0;
}

.hero-stats strong {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: -.04em;
}

.hero-stats span {
  max-width: 140px;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: .04em;
}

.section {
  padding-block: clamp(90px, 11vw, 155px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .62fr);
  gap: 70px;
  align-items: end;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 18px;
  color: #607071;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(46px, 6.5vw, 82px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 570;
}

.section-heading h2 em {
  color: var(--ink-soft);
}

.section-intro {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}

.topic-card {
  min-height: 285px;
  padding: 30px 30px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .25s ease, color .25s ease;
}

.topic-card:hover {
  background: var(--ink);
  color: var(--white);
}

.topic-number {
  color: #8d9899;
  font-size: 10px;
  letter-spacing: .17em;
}

.topic-card h3 {
  max-width: 230px;
  margin: 54px 0 16px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  transition: color .25s ease;
}

.topic-card:hover p {
  color: rgba(255,255,255,.65);
}

.topic-line {
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width .3s ease;
}

.topic-card:hover .topic-line {
  width: calc(100% - 60px);
}

.section-kicker-light {
  color: rgba(255,255,255,.46);
}

.formats {
  background: var(--paper-warm);
}

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

.format-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.12);
  transition: background .25s ease, transform .25s ease;
}

.format-card:hover {
  background: rgba(255,255,255,.58);
  transform: translateY(-4px);
}

.format-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #768182;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.format-card h3 {
  margin: 72px 0 20px;
  font-size: clamp(25px, 2.4vw, 33px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.format-card > p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.format-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 680;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.format-meta .status-dot {
  flex: none;
  margin: 0;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(6,47,49,.08);
}

.method {
  padding-block: clamp(95px, 11vw, 150px);
  background: var(--ink-deep);
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.method-copy h2 {
  margin: 0;
  font-size: clamp(43px, 5.7vw, 72px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 560;
}

.method-copy h2 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.method-copy > p:last-child {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 15px;
  line-height: 1.75;
}

.steps-list {
  border-top: 1px solid rgba(255,255,255,.16);
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.step-number {
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .17em;
  padding-top: 5px;
}

.step h3 {
  margin: 0 0 7px;
  font-size: 19px;
  letter-spacing: -.025em;
}

.step p {
  margin: 0;
  color: rgba(255,255,255,.52);
  font-size: 13px;
  line-height: 1.6;
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(430px, 1.14fr);
  gap: clamp(70px, 11vw, 160px);
}

.audience h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 560;
}

.audience h2 em,
.faq-heading h2 em {
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.audience-intro {
  max-width: 590px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.audience-list svg {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-deep);
  flex: none;
}

.speaker {
  background: var(--ink);
  color: var(--white);
}

.speaker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, .72fr);
  gap: clamp(60px, 10vw, 140px);
}

.speaker-role {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.speaker h2 {
  margin: 0 0 38px;
  font-size: clamp(57px, 7.5vw, 96px);
  line-height: .88;
  letter-spacing: -.06em;
  font-weight: 550;
}

.speaker-lead,
.speaker-text {
  max-width: 670px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.72;
}

.speaker-text {
  margin-top: 20px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
}

.speaker-aside {
  align-self: start;
}

.speaker-quote {
  min-height: 245px;
  padding: 30px;
  background: var(--accent);
  color: var(--ink-deep);
}

.speaker-quote > span {
  display: block;
  height: 55px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  line-height: .9;
}

.speaker-quote p {
  margin: 32px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 33px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.credential-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.credential-row > span {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: .14em;
}

.credential-row p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.5;
}

.speaker-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 680;
}

.speaker-link:hover,
.speaker-link:focus-visible {
  color: var(--accent);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  gap: clamp(70px, 11vw, 155px);
  align-items: start;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 680;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 400;
  transition: background .2s ease, transform .2s ease;
  flex: none;
}

.faq-list details[open] .faq-plus {
  background: var(--accent);
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 680px;
  margin: -5px 55px 26px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-section {
  background: var(--ink-deep);
  color: var(--white);
  padding-top: clamp(95px, 11vw, 150px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr);
  gap: clamp(70px, 12vw, 170px);
  align-items: end;
  padding-bottom: clamp(90px, 10vw, 140px);
}

.contact-section h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(54px, 7.6vw, 96px);
  line-height: .94;
  letter-spacing: -.06em;
  font-weight: 550;
}

.contact-copy > p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 15px;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.contact-phone {
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 680;
}

.contact-phone:hover,
.contact-phone:focus-visible,
.contact-email:hover,
.contact-email:focus-visible {
  color: var(--accent);
}

.contact-email {
  display: inline-block;
  margin-top: 24px;
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

.site-footer {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.42);
  font-size: 10px;
  letter-spacing: .06em;
}

.site-footer p {
  margin: 0;
}

.site-footer > a:last-child {
  justify-self: end;
}

.footer-brand {
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr .74fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(54px, 8.5vw, 78px);
  }

  .hero-visual {
    min-height: 460px;
  }

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

  .hero-stats > div:nth-child(2) {
    border-right: 0;
  }

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

  .method-grid,
  .speaker-grid,
  .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 640px);
  }

  .site-header {
    height: 78px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    padding: 10px 13px;
    font-size: 0;
  }

  .header-cta::before {
    content: "Szkolenia";
    font-size: 11px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 54px 50px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(49px, 15vw, 72px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-note {
    line-height: 1.6;
  }

  .hero-visual {
    min-height: 470px;
  }

  .image-frame {
    inset: 0 18px 24px 0;
  }

  .credential-card {
    width: 174px;
    min-height: 104px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats > div {
    min-height: 86px;
    padding: 14px 13px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-stats > div:first-child {
    padding-left: 13px;
  }

  .hero-stats > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .hero-stats span {
    line-height: 1.3;
  }

  .section-heading,
  .method-grid,
  .audience-grid,
  .speaker-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading {
    padding-bottom: 40px;
  }

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

  .topic-card {
    min-height: 230px;
  }

  .topic-card h3 {
    margin-top: 36px;
  }

  .formats-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .format-card {
    min-height: 295px;
  }

  .format-card h3 {
    margin-top: 52px;
  }

  .method-copy {
    margin-bottom: 24px;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .audience-grid,
  .speaker-grid,
  .faq-grid,
  .contact-grid {
    gap: 48px;
  }

  .speaker h2 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .speaker-lead {
    font-size: 16px;
  }

  .speaker-quote {
    min-height: 215px;
  }

  .faq-list summary {
    min-height: 76px;
    font-size: 14px;
  }

  .contact-section h2 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .site-footer {
    min-height: 170px;
    grid-template-columns: 1fr auto;
    align-content: center;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer > a:last-child {
    justify-self: end;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .button {
    width: 100%;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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