:root {
  --white: #ffffff;
  --paper: #f8f8f8;
  --wash: #e7e1df;
  --band: #9c9489;
  --ink: #202730;
  --muted: #50545a;
  --orange: #cd7e17;
  --orange-dark: #a45b05;
  --navy: #202f3d;
  --line: rgba(32, 39, 48, 0.13);
  --shadow: 0 12px 32px rgba(32, 39, 48, 0.09);
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.56;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; }
button, input { font: inherit; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #0b7fab; outline-offset: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 32px);
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 8px 12px;
  border: 2px solid var(--orange);
  background: var(--white);
}

.skip-link:focus { transform: translateY(0); }

/* Obecna strona nie pokazuje klasycznej nawigacji w pierwszym widoku. */
.site-header { display: none; }

.section { padding: 56px 0; }

.hero {
  padding-top: 46px;
  background: var(--white);
}

.hero-title {
  text-align: center;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  color: var(--orange);
  font-size: 48px;
  font-weight: 700;
}

.hero-title p {
  margin: 38px 0 30px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.04fr);
  gap: 90px;
  align-items: center;
  padding-bottom: 36px;
}

.hero-media img {
  width: 100%;
  max-width: 610px;
  aspect-ratio: 4 / 2.72;
  object-fit: cover;
  margin-left: auto;
}

.hero-copy {
  max-width: 650px;
  text-align: center;
}

.hero-problem {
  margin: 0 0 30px;
  font-size: 19px;
}

.hero-problem p {
  margin: 0 0 24px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border: 3px solid var(--orange);
  border-radius: 999px;
  background: var(--white);
  color: var(--orange);
  box-shadow: none;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
}

.button:active { transform: translateY(0); }
.button-large { width: min(100%, 620px); min-height: 60px; font-size: 20px; }
.button-dark { background: var(--white); color: var(--orange); }
.button-small {
  min-height: 42px;
  padding: 9px 14px;
  border-width: 2px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.statement-band {
  padding: 28px 0;
  background: var(--band);
  color: var(--white);
  text-align: center;
}

.statement-band p {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.26;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h2 {
  font-size: 34px;
  font-weight: 700;
}

.section-heading p,
.lead {
  color: var(--muted);
  font-size: 19px;
}

.benefits {
  background: var(--paper);
  padding-top: 40px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 42px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: benefits;
}

.benefit-grid li {
  min-width: 0;
  display: grid;
  gap: 10px;
  text-align: center;
}

.benefit-grid li::before {
  counter-increment: benefits;
  content: counter(benefits) ".";
  color: var(--ink);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.benefit-grid strong {
  display: none;
}

.benefit-grid span {
  max-width: 380px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.instructor {
  background: var(--wash);
  padding-top: 36px;
  padding-bottom: 36px;
}

.instructor-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
  max-width: 1120px;
}

.portrait-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
}

.portrait-wrap img {
  width: min(100%, 430px);
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
}

.instructor-copy {
  align-self: center;
}

.instructor .eyebrow {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
}

.instructor h2 {
  margin-top: 24px;
  text-align: center;
}

.instructor p {
  max-width: 760px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.offer {
  background: var(--paper);
  padding-top: 46px;
  padding-bottom: 46px;
}

.offer-repeat {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 64%, #f3f3f3 100%);
  padding-top: 16px;
}

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.52fr);
  gap: 32px;
  align-items: center;
  max-width: 1060px;
}

.offer-copy {
  text-align: center;
}

.offer-copy .eyebrow {
  display: none;
}

.offer-copy p {
  font-size: 18px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 30px;
  font-weight: 800;
}

.old-price {
  color: var(--orange);
  font-size: 30px;
  text-decoration: line-through;
}

.new-price {
  color: var(--ink);
  font-size: 30px;
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  padding: 0;
  margin: 12px 0 0;
  color: var(--ink);
  list-style: none;
  font-size: 18px;
  font-weight: 700;
}

.assurances li::before {
  content: "✓";
  margin-right: 5px;
  color: #149447;
  font-family: Arial, sans-serif;
}

.checkout-note {
  max-width: 620px;
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(207, 126, 23, 0.34);
  background: rgba(207, 126, 23, 0.08);
  color: var(--orange-dark);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.body-map {
  margin: 0;
  text-align: center;
}

.body-map img {
  max-height: 390px;
  width: auto;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(32, 39, 48, 0.08);
}

.body-map figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.program {
  background: var(--white);
  padding-top: 48px;
}

.program h2,
.extras h2 {
  color: var(--orange);
  font-size: 34px;
}

.module-carousel {
  max-width: 1040px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
  margin: 0 auto;
}

.module-viewport {
  min-width: 0;
  overflow: hidden;
}

.module-track {
  display: flex;
  gap: 18px;
  transition: transform 220ms ease;
  will-change: transform;
}

.module-arrow {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--white);
  color: var(--orange);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.module-arrow:hover {
  background: var(--orange);
  color: var(--white);
}

.module-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.module-arrow:disabled:hover {
  background: var(--white);
  color: var(--orange);
}

.module-card {
  flex: 0 0 calc((100% - 18px) / 2);
  min-width: 0;
  min-height: 430px;
  padding: 24px 26px;
  border: 1px solid rgba(32, 39, 48, 0.12);
  border-radius: 8px;
  background: #f2efec;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.module-card:nth-child(odd) {
  background: var(--navy);
  color: var(--white);
}

.module-card span {
  display: block;
  margin-bottom: 12px;
  color: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.module-card h3 {
  display: block;
  margin: 0 0 18px;
  font-size: 21px;
  text-align: center;
}

.module-card ol {
  display: grid;
  gap: 8px;
  padding-left: 24px;
  margin: 0;
  font-size: 16px;
  line-height: 1.38;
}

.scroll-hint {
  margin: 14px auto 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

.lesson-preview {
  background: var(--wash);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.video-embed {
  width: min(760px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #101820;
  box-shadow: var(--shadow);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

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

.extras-grid article {
  padding: 0 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.extras-grid p {
  margin-bottom: 0;
  color: var(--ink);
}

.guarantee {
  background: var(--wash);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.seal {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border: 6px double var(--orange);
  border-radius: 999px;
  color: var(--orange-dark);
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.faq-list {
  max-width: 900px;
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

.faq-list details {
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 24px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 30px;
}

.site-footer strong {
  color: #fff;
}

.footer-grid div:last-child {
  display: grid;
  gap: 10px;
  align-content: start;
}

.copyright {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: min(520px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.cookie-banner p { margin: 0 0 12px; }
.cookie-banner div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .instructor-grid,
  .offer-grid,
  .guarantee-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 34px; }
  .hero-media img { margin: 0 auto; }
  .hero-copy { margin: 0 auto; }
  .portrait-wrap { min-height: 340px; }
  .portrait-wrap img { width: min(100%, 360px); max-height: 340px; }
  .body-map img { max-height: 340px; }
  .benefit-grid, .extras-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 40px; }
  .hero-title p { margin-top: 28px; font-size: 30px; }
  h2 { font-size: 31px; }
  .statement-band p { font-size: 25px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  h1 { font-size: 31px; }
  .hero-title p { font-size: 24px; }
  h2 { font-size: 27px; }
  .program h2, .extras h2 { font-size: 29px; }
  .hero-problem, .offer-copy p, .section-heading p, .lead { font-size: 17px; }
  .benefit-grid, .extras-grid { grid-template-columns: 1fr; }
  .benefit-grid { gap: 42px; }
  .benefit-grid li::before { font-size: 34px; }
  .benefit-grid span { font-size: 17px; }
  .button, .button-large {
    width: 100%;
    min-height: 54px;
    padding-right: 18px;
    padding-left: 18px;
    border-width: 3px;
    font-size: 16px;
  }
  .price { display: grid; gap: 0; }
  .old-price, .new-price { font-size: 28px; }
  .statement-band p { font-size: 21px; }
  .module-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }
  .module-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
  .module-card {
    flex-basis: 100%;
    min-height: 430px;
  }
  .module-card { padding: 22px; }
  .module-card span { font-size: 22px; }
  .module-card h3 { font-size: 19px; }
  .module-card ol { font-size: 16px; }
  .portrait-wrap { min-height: 300px; }
  .portrait-wrap img { width: min(100%, 320px); max-height: 300px; }
  .body-map img { max-height: 300px; }
  .guarantee-grid { gap: 22px; }
  .seal { margin: 0 auto; }
}
