/* Runda 3: język graficzny okładki Career DNA */

@font-face {
  font-family: "Career Display";
  src: url("./assets/FreeSerif.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Career Sans";
  src: url("./assets/Lato-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Career Sans";
  src: url("./assets/Lato-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --ink: #15223b;
  --ink-soft: #3f4a60;
  --navy: #fdfcf8;
  --navy-2: #f6f2e7;
  --navy-3: #efe9d9;
  --gold: #b88920;
  --gold-bright: #a8791b;
  --gold-pale: #8a6414;
  --cream: #f8f5ee;
  --paper: #fffefa;
  --line: rgba(176, 141, 46, 0.45);
  --shadow: 0 28px 80px rgba(13, 27, 58, 0.12);
  --muted: #6f716f;
  --shadow-unused: none;
  --serif: "Career Display", "Times New Roman", serif;
  --sans: "Career Sans", Lato, Arial, sans-serif;
}

html,
body {
  overflow-x: clip;
  background: #eee8db;
}

body {
  background: #eee8db;
  font-family: var(--sans);
}

body::before {
  display: none;
}

.app-shell {
  width: min(1500px, calc(100% - 40px));
  min-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(218, 151, 31, 0.56);
  border-radius: 0;
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.topbar {
  grid-template-columns: 1fr minmax(260px, 560px) 1fr;
  min-height: 92px;
  padding: 16px 52px;
  /* Tlo paska = biel PNG logo: multiply + identyczne tlo daje bezszwowe logo. */
  background: #fefdff;
  border-bottom: 1px solid rgba(218, 151, 31, 0.46);
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  height: 52px;
  min-height: 52px;
  /* Oryginalne logo (granat + zlote szewrony) ma biale tlo: na ciemnym pasku
     siedzi na jasnej podkladce dopasowanej do proporcji, BEZ kadrowania. */
  padding: 6px 14px;
  background: #fffefa;
  border: 1px solid rgba(218, 151, 31, 0.4);
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  position: static;
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  mix-blend-mode: multiply;
  transform: none;
}

.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.brand-wordmark b {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.brand-chevrons {
  width: 52px;
  height: 31px;
  fill: var(--gold-bright);
  filter: none;
}

.save-state {
  grid-column: 3;
  color: rgba(21, 34, 59, 0.62);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.save-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  border: 0;
  box-shadow: 0 0 10px rgba(228, 170, 54, 0.32);
}

.mode-form .brand,
.mode-success .brand {
  grid-column: 1;
  justify-self: start;
  width: 166px;
  height: 44px;
  min-height: 44px;
}

.mode-form .brand-wordmark b,
.mode-success .brand-wordmark b {
  font-size: 24px;
}

.mode-form .brand-chevrons,
.mode-success .brand-chevrons {
  width: 41px;
  height: 25px;
}

.mode-form .topbar-center {
  grid-column: 2;
  grid-row: 1;
}

.progress-meta {
  margin-bottom: 12px;
  color: var(--gold-pale);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.progress-track {
  position: relative;
  height: 1px;
  overflow: visible;
  background: rgba(218, 151, 31, 0.22);
  box-shadow: none;
}

.progress-track span {
  height: 1px;
  background: var(--gold-bright);
  box-shadow: none;
}

.landing-view {
  position: relative;
  display: block;
  min-height: calc(100vh - 133px);
  overflow: hidden;
  background: var(--navy);
}

.landing-view::after {
  display: none;
}

.landing-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: none;
  border: 0;
  pointer-events: none;
}

.landing-art::before,
.context-panel::before {
  display: none;
}

.dna-mark {
  top: 50%;
  left: -72px;
  width: 280px;
  max-height: 94%;
  opacity: 0.48;
  transform: translateY(-50%);
  filter: none;
}

.dna-mark > path {
  stroke: var(--gold-bright);
  stroke-width: 0.72;
}

.dna-rungs path {
  stroke: rgba(228, 170, 54, 0.58);
  stroke-width: 0.52;
}

.dna-orbit {
  display: none;
}

.art-index,
.art-caption {
  display: none;
}

.landing-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 133px);
  padding: 58px 180px 48px;
  overflow: hidden;
  text-align: center;
  background: none;
}

.landing-content > :not(.constellation-mark) {
  position: relative;
  z-index: 2;
}

.constellation-mark {
  top: -44px;
  right: -84px;
  width: 430px;
  opacity: 0.28;
  filter: none;
}

.constellation-lines path {
  stroke: var(--gold-bright);
  stroke-width: 0.66;
}

.constellation-nodes circle {
  fill: var(--gold-bright);
  opacity: 0.86;
}

.cover-separator {
  position: relative;
  width: min(520px, 64vw);
  height: 22px;
  margin-inline: auto;
}

.cover-separator::before,
.cover-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 10px);
  height: 1px;
  background: var(--gold);
}

.cover-separator::before {
  left: 0;
}

.cover-separator::after {
  right: 0;
}

.cover-separator span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold-bright);
  transform: translate(-50%, -50%) rotate(45deg);
}

.cover-separator-top::before,
.cover-separator-top::after {
  width: calc(50% - 9px);
}

.cover-separator-rays {
  width: min(270px, 42vw);
  height: 44px;
  margin-top: 22px;
}

.cover-separator-rays span::before,
.cover-separator-rays span::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 1px;
  height: 25px;
  background: var(--gold);
  transform-origin: top;
}

.cover-separator-rays span::before {
  transform: translateX(-50%) rotate(24deg);
}

.cover-separator-rays span::after {
  transform: translateX(-50%) rotate(-24deg);
}

.eyebrow {
  margin: 8px 0 38px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-shadow: none;
  text-transform: uppercase;
}

.landing-content h1 {
  max-width: 1020px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(70px, 7.2vw, 112px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.78;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

.landing-content h1 span,
.landing-content h1 em {
  display: block;
}

.landing-content h1 em {
  margin-top: 28px;
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 400;
}

.landing-lead {
  max-width: 780px;
  margin: 6px auto 32px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
}

/* Dwa OSOBNE boxy do wyboru: odstep miedzy kafelkami, ramka per kafelek
   (zamiast jednego bloku z linia w srodku i wspolna ramka + narozniki). */
.path-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(960px, 100%);
  margin: 8px auto 0;
  border: 0;
}

.path-grid::before,
.path-grid::after {
  display: none;
}

.path-card,
.path-card-dark {
  min-height: 270px;
  padding: 25px 34px 22px;
  align-items: center;
  color: var(--ink);
  text-align: center;
  background: #fffefa;
  border: 1px solid rgba(218, 151, 31, 0.72);
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(13, 27, 58, 0.05);
  backdrop-filter: none;
}

.path-card:first-child {
  border-right: 1px solid rgba(218, 151, 31, 0.72);
}

.path-card::before,
.path-card::after {
  display: none;
}

.path-card:hover,
.path-card:focus-visible {
  z-index: 2;
  background: rgba(218, 151, 31, 0.055);
  border-color: var(--gold-bright);
  outline: 1px solid var(--gold-bright);
  outline-offset: -6px;
  transform: none;
  box-shadow: 0 14px 34px rgba(13, 27, 58, 0.08);
}

.path-number {
  top: 17px;
  right: 20px;
  color: rgba(228, 170, 54, 0.54);
  font-size: 10px;
}

.path-icon,
.path-card-dark .path-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 17px;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
}

.path-icon svg {
  width: 25px;
  stroke-width: 1.1;
}

.path-kicker {
  color: var(--gold-bright);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-shadow: none;
}

.path-card strong {
  max-width: 370px;
  margin: 8px 0 9px;
  color: #0d1b3a;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.02;
  text-transform: uppercase;
}

.path-copy,
.path-card-dark .path-copy {
  max-width: 350px;
  color: rgba(21, 34, 59, 0.66);
  font-size: 10px;
  line-height: 1.55;
}

.path-meta,
.path-card-dark .path-meta {
  margin-top: auto;
  padding-top: 12px;
  color: rgba(21, 34, 59, 0.52);
  font-size: 8px;
}

.path-action,
.path-card-dark .path-action {
  align-self: stretch;
  margin-top: 11px;
  padding-top: 10px;
  color: var(--gold-pale);
  border-color: rgba(218, 151, 31, 0.46);
  font-size: 9px;
}

.cover-facts {
  justify-content: center;
  width: min(760px, 100%);
  margin: 24px auto 0;
  color: rgba(21, 34, 59, 0.55);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover-facts svg {
  width: 15px;
  stroke-width: 1.1;
}

.form-view {
  position: relative;
  display: block;
  min-height: calc(100vh - 133px);
  overflow: hidden;
  background: var(--navy);
}

.context-panel {
  display: none !important;
}

.question-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - 133px);
  overflow: hidden;
  background: var(--navy);
}

.form-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.24;
  filter: none;
  pointer-events: none;
}

.form-dna path,
.form-network path {
  stroke: var(--gold-bright);
  stroke-width: 0.58;
  vector-effect: non-scaling-stroke;
}

.form-network circle {
  fill: var(--gold-bright);
}

.question-wrap {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  width: min(900px, calc(100% - 140px));
  margin: 0 auto;
  padding: 78px 0 120px;
}

.step-head {
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
}

.step-head::after {
  content: "◇";
  display: block;
  width: min(290px, 50vw);
  height: 18px;
  margin: 28px auto 0;
  color: var(--gold-bright);
  background: linear-gradient(
    to bottom,
    transparent calc(50% - 0.5px),
    rgba(218, 151, 31, 0.64) calc(50% - 0.5px),
    rgba(218, 151, 31, 0.64) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
  font-family: var(--sans);
  font-size: 14px;
  line-height: 18px;
}

.step-badge {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-bright);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-shadow: none;
}

.step-badge::before {
  display: none;
}

.step-title {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(49px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.92;
  text-shadow: none;
  text-transform: uppercase;
}

.step-title span,
.step-title em {
  display: block;
}

.step-title em {
  margin-top: 7px;
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 400;
}

.step-subtitle {
  max-width: 690px;
  margin: 20px auto 0;
  color: rgba(21, 34, 59, 0.62);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.fields-stack,
.consent-list,
#step-content > .review-card {
  width: min(760px, 100%);
  margin-inline: auto;
}

.fields-stack {
  gap: 28px;
}

.field-label,
.field legend,
.slider-top label {
  margin-bottom: 11px;
  color: var(--gold-pale);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.text-input,
.text-area,
.select-input {
  color: var(--ink);
  background: rgba(13, 27, 58, 0.12);
  border: 1px solid rgba(218, 151, 31, 0.42);
  border-radius: 0;
  box-shadow: none;
}

.text-input,
.select-input {
  min-height: 58px;
}

.text-area {
  min-height: 144px;
}

.text-input:focus,
.text-area:focus,
.select-input:focus {
  color: var(--ink);
  background: rgba(13, 27, 58, 0.16);
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(228, 170, 54, 0.18);
}

.field-help,
.number-unit {
  color: rgba(21, 34, 59, 0.48);
  font-size: 9px;
}

.choice-grid {
  gap: 12px;
}

.choice-option label {
  min-height: 62px;
  color: rgba(21, 34, 59, 0.75);
  background: rgba(13, 27, 58, 0.1);
  border: 1px solid rgba(218, 151, 31, 0.36);
  border-radius: 0;
  box-shadow: none;
}

.choice-option label:hover {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.035);
  border-color: var(--gold-bright);
  box-shadow: none;
  transform: none;
}

.choice-option input:checked + label {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.07);
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(228, 170, 54, 0.19);
}

.choice-key {
  color: var(--gold-bright);
  border-color: rgba(218, 151, 31, 0.62);
  border-radius: 50%;
}

.choice-option input:checked + label .choice-key {
  color: var(--gold-bright);
  background: transparent;
  border-color: var(--gold-bright);
}

.slider-field {
  padding: 18px 20px;
  background: rgba(13, 27, 58, 0.1);
  border: 1px solid rgba(218, 151, 31, 0.36);
  border-radius: 0;
  box-shadow: none;
}

.slider-value {
  width: 42px;
  height: 42px;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: none;
}

.range-input {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright) var(--range-progress, 50%), rgba(218, 151, 31, 0.22) var(--range-progress, 50%));
}

.range-input::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  background: var(--navy);
  border: 2px solid var(--gold-bright);
  box-shadow: none;
}

.upload-zone {
  min-height: 190px;
  color: var(--ink);
  background: rgba(13, 27, 58, 0.09);
  border: 1px solid rgba(218, 151, 31, 0.42);
  border-radius: 0;
}

.upload-zone:hover,
.upload-zone.dragging {
  background: rgba(218, 151, 31, 0.04);
  border-color: var(--gold-bright);
  transform: none;
}

.upload-icon {
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
}

.consent-list {
  gap: 14px;
}

.consent-row label {
  color: rgba(21, 34, 59, 0.72);
  background: rgba(13, 27, 58, 0.09);
  border: 1px solid rgba(218, 151, 31, 0.34);
  border-radius: 0;
}

.consent-row input:checked + label {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.055);
  border-color: var(--gold-bright);
}

.consent-box {
  border-color: rgba(218, 151, 31, 0.68);
  border-radius: 0;
}

.consent-row input:checked + label .consent-box {
  color: var(--gold-bright);
  background: transparent;
  border-color: var(--gold-bright);
}

.review-card {
  padding: 24px 28px;
  color: var(--ink);
  background: rgba(13, 27, 58, 0.08);
  border: 1px solid rgba(218, 151, 31, 0.4);
  border-radius: 0;
  box-shadow: none;
}

.review-card + .review-card {
  margin-top: 15px;
}

.review-card h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.review-step,
.contract-checks span {
  color: var(--ink-soft);
  background: transparent;
  border-color: rgba(218, 151, 31, 0.32);
  border-radius: 0;
}

.review-step:hover,
.review-step:focus-visible {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.04);
  border-color: var(--gold-bright);
  box-shadow: none;
  transform: none;
}

.form-controls {
  min-height: 84px;
  background: #fbf9f2;
  border-top: 1px solid rgba(218, 151, 31, 0.46);
  box-shadow: none;
  backdrop-filter: none;
}

.control-next {
  min-width: 178px;
  color: var(--gold-pale);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
}

.control-next:hover,
.control-next:focus-visible {
  color: #0b1731;
  background: #e4aa36;
  outline: 0;
  box-shadow: none;
  transform: none;
}

.control-back,
.text-button {
  color: rgba(21, 34, 59, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

kbd {
  color: var(--gold-pale);
  background: transparent;
  border-color: rgba(218, 151, 31, 0.42);
  border-radius: 0;
}

.success-view {
  min-height: calc(100vh - 133px);
  color: var(--ink);
  background: var(--navy);
}

.success-view::before,
.success-view::after {
  border-width: 1px;
  border-color: rgba(218, 151, 31, 0.24);
  box-shadow: none;
}

.success-emblem {
  width: 82px;
  height: 82px;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
}

.success-view h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.success-view h1 em {
  display: block;
  margin-top: 7px;
  color: var(--gold-bright);
  font-style: normal;
}

.success-details {
  border-color: rgba(218, 151, 31, 0.5);
}

.success-details div + div {
  border-color: rgba(218, 151, 31, 0.5);
}

.toast {
  color: var(--ink);
  background: var(--navy-2);
  border: 1px solid var(--gold);
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(13, 27, 58, 0.16);
}

@media (max-width: 1120px) {
  .landing-content {
    padding-inline: 120px;
  }

  .landing-content h1 {
    font-size: clamp(66px, 8vw, 92px);
  }
}

@media (max-width: 860px) {
  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
  }

  /* Konstelacja wystaje poza prawa krawedz waskich ekranow (right:-84px,
     szer. 430px) i rozpycha viewport na telefonach - na mobile znika. */
  .constellation-mark {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr auto 1fr;
    min-height: 74px;
    padding: 12px 18px;
    background: #fbf9f2;
  }

  .brand {
    grid-column: 2;
  }

  .brand-wordmark {
    gap: 8px;
  }

  .brand-wordmark b {
    font-size: 23px;
  }

  .brand-chevrons {
    width: 38px;
    height: 23px;
  }

  .save-state {
    grid-column: 3;
    font-size: 0;
  }

  .mode-form .topbar,
  .mode-success .topbar {
    grid-template-columns: 1fr 1fr;
  }

  .mode-form .brand,
  .mode-success .brand {
    grid-column: 1;
  }

  .mode-form .save-state,
  .mode-success .save-state {
    grid-column: 2;
  }

  .mode-form .topbar-center {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .landing-view,
  .form-view,
  .question-panel {
    min-height: calc(100vh - 74px);
  }

  .landing-art {
    position: absolute;
    inset: 0;
    display: block;
  }

  .dna-mark {
    left: -78px;
    width: 220px;
    opacity: 0.32;
  }

  .constellation-mark {
    top: -22px;
    right: -170px;
    width: 390px;
    opacity: 0.2;
  }

  .landing-content {
    min-height: calc(100vh - 74px);
    padding: 56px 48px 42px;
    background: none;
  }

  .landing-content h1 {
    font-size: clamp(58px, 11vw, 78px);
  }

  .landing-lead {
    font-size: 10px;
  }

  .question-panel {
    background: var(--navy);
  }

  .question-wrap {
    width: min(760px, calc(100% - 64px));
    padding: 58px 0 120px;
  }

  .step-title {
    font-size: clamp(43px, 8vw, 58px);
  }

  .form-atmosphere {
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    opacity: 0.18;
  }

  .form-controls {
    background: #fbf9f2;
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 68px;
    padding: 11px 16px;
  }

  .brand,
  .mode-form .brand,
  .mode-success .brand {
    width: 148px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  .brand-wordmark b,
  .mode-form .brand-wordmark b,
  .mode-success .brand-wordmark b {
    font-size: 20px;
  }

  .brand-chevrons,
  .mode-form .brand-chevrons,
  .mode-success .brand-chevrons {
    width: 34px;
    height: 21px;
  }

  .landing-content {
    justify-content: flex-start;
    min-height: calc(100vh - 68px);
    padding: 48px 22px 36px;
  }

  .cover-separator {
    width: min(300px, 76vw);
  }

  .eyebrow {
    margin-bottom: 30px;
    font-size: 8px;
    letter-spacing: 0.23em;
  }

  .landing-content h1 {
    font-size: clamp(36px, 12vw, 50px);
    line-height: 0.86;
  }

  .success-view h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .landing-content h1 em {
    margin-top: 20px;
  }

  .cover-separator-rays {
    margin-top: 17px;
  }

  .landing-lead {
    margin-bottom: 28px;
    font-size: 9px;
    line-height: 1.7;
  }

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

  .path-card,
  .path-card-dark {
    min-height: 292px;
    padding: 25px 25px 20px;
  }

  .path-grid {
    gap: 18px;
  }

  .path-card:first-child {
    border-right: 1px solid rgba(218, 151, 31, 0.72);
    border-bottom: 1px solid rgba(218, 151, 31, 0.72);
  }

  .path-card strong {
    font-size: 30px;
  }

  .cover-facts {
    gap: 12px 20px;
  }

  .question-wrap {
    width: calc(100% - 40px);
    padding: 46px 0 116px;
  }

  .step-head {
    margin-bottom: 36px;
  }

  .step-title {
    font-size: clamp(36px, 11.2vw, 48px);
  }

  .step-subtitle {
    font-size: 10px;
  }

  .choice-grid,
  .choice-grid.choice-grid-three,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 20px;
  }

  .form-controls {
    min-height: 74px;
  }

  .control-next {
    width: min(230px, 100%);
  }
}


/* === Jasna skorka (decyzja Patryka): biale tlo formularza === */

.brand {
  padding: 0;
  background: transparent;
  border: 0;
}

.brand img {
  mix-blend-mode: multiply; /* biale tlo PNG znika na jasnym pasku */
}


/* Pola formularza na jasnym tle: papierowe wnetrza, granatowy tekst. */
.text-input,
.text-area,
.select-input {
  color: var(--ink);
  background: #fffefa;
  border: 1px solid rgba(176, 141, 46, 0.5);
}

.text-input:focus,
.text-area:focus,
.select-input:focus {
  color: var(--ink);
  background: #ffffff;
  border-color: #b88920;
  box-shadow: inset 0 0 0 1px rgba(184, 137, 32, 0.25);
}

.text-input::placeholder,
.text-area::placeholder {
  color: rgba(21, 34, 59, 0.38);
  opacity: 1;
}

.choice-option label {
  color: rgba(21, 34, 59, 0.8);
  background: #fffefa;
  border: 1px solid rgba(176, 141, 46, 0.4);
}

.choice-option label:hover {
  background: #fff;
}

.choice-option input:checked + label {
  background: rgba(184, 137, 32, 0.08);
}

.slider-field,
.review-card,
.consent-list label {
  background: #fffefa;
}



/* Realna helisa DNA po lewej ekranu startowego: DOKLADNIE jak na landingach
   (landing.css .hero::before) i w ostatniej sekcji uslugi.html. */
.landing-view .landing-art::after {
  position: absolute;
  z-index: 1;
  top: -4%;
  left: 0;
  width: 156px;
  height: 108%;
  content: "";
  opacity: 0.6;
  background: url("./assets/helix-gold.png") left center / auto 108% no-repeat;
  filter: url("./assets/gold-cutout-filter.svg#gold-cutout");
  pointer-events: none;
}

/* === Formularz 1:1 z Tally (v2): labele pytan, pasek postepu, przycisk Dalej === */

/* Labele pytan: pogrubione i WYRAZNIE wieksze (dyrektywa Patryka).
   Placeholdery pol bez zmian. */
.field-label,
.field legend,
.slider-top label {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-transform: none;
}

/* Pasek postepu: grubszy, bardziej widoczny. */
.progress-track {
  height: 5px;
  border-radius: 3px;
  background: rgba(218, 151, 31, 0.25);
}

.progress-track span {
  height: 5px;
  border-radius: 3px;
  background: var(--gold-bright);
}

/* Przycisk "Dalej": granatowy z bialym napisem, spojnie z CTA na stronach. */
.control-next {
  color: #fff;
  background: #0d1b3a;
  border: 1px solid #0d1b3a;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(231, 181, 70, 0.16);
}

.control-next:hover,
.control-next:focus-visible {
  color: #fff;
  background: #08142e;
  border-color: #08142e;
}

/* Ekran powitalny (tekst 1:1 z Tally). */
.intro-copy p {
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.75;
}

/* Matryca kompetencji: wiersz = etykieta + segmenty 0-3. */
.matrix-grid {
  display: grid;
  gap: 10px;
}

.matrix-row {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(218, 151, 31, 0.22);
}

.matrix-row-label {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.4;
}

.matrix-cells {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
}

.matrix-cell {
  min-height: 40px;
  padding: 4px 6px;
  color: var(--ink);
  background: rgba(13, 27, 58, 0.06);
  border: 1px solid rgba(218, 151, 31, 0.4);
  border-radius: 0;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
}

.matrix-cell:hover {
  border-color: var(--gold-bright);
}

.matrix-cell.is-active {
  color: #fff;
  background: #0d1b3a;
  border-color: #0d1b3a;
}

/* Pole "Inne (doprecyzuj)": pokazywane po wyborze opcji Inne. */
.choice-other {
  margin-top: 12px;
}

.choice-other .text-input {
  width: 100%;
}

@media (max-width: 620px) {
  .field-label,
  .field legend,
  .slider-top label {
    font-size: 15px;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .matrix-cell {
    min-height: 44px;
  }
}

/* Bloki informacyjne z Tally (step.notes): tresci miedzy pytaniami i koncowe. */
.step-notes {
  max-width: 720px;
  margin: 34px auto 0;
  padding: 20px 24px;
  background: rgba(218, 151, 31, 0.06);
  border-left: 2px solid var(--gold-bright);
}

.step-notes p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}

.step-notes p:last-child {
  margin-bottom: 0;
}

/* Instrukcja inline z Tally: renderowana tuz NAD swoim pytaniem (uwaga klienta
   2026-08-19), nie w step-notes na dole kroku. */
.field-note {
  max-width: 720px;
  margin: 26px auto 10px;
  padding: 10px 16px;
  background: rgba(218, 151, 31, 0.06);
  border-left: 2px solid var(--gold-bright);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

/* === Ekran powitalny wg wzorca klienta (Nanio 2026-08-19) === */
.welcome {
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 8px 8px;
  text-align: center;
}

.welcome-eyebrow {
  margin: 0 0 18px;
  color: var(--gold-ink, #b88920);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.welcome-title {
  margin: 0;
  color: #15223b;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
}

.welcome-title span {
  color: transparent;
  background: linear-gradient(112deg, #c89427 0%, #f3d477 30%, #c58f20 55%, #f7dc88 80%, #b9851c 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.welcome-ornament {
  position: relative;
  width: min(320px, 60%);
  height: 13px;
  margin: 26px auto 24px;
}

.welcome-ornament::before,
.welcome-ornament::after {
  position: absolute;
  top: 6px;
  width: calc(50% - 12px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(184, 137, 32, 0.15), #c89427);
}

.welcome-ornament::before { left: 0; }
.welcome-ornament::after { right: 0; transform: rotate(180deg); }

.welcome-ornament i {
  position: absolute;
  top: 2px;
  left: calc(50% - 4.5px);
  width: 9px;
  height: 9px;
  border: 1px solid #c89427;
  transform: rotate(45deg);
}

.welcome-lead {
  max-width: 700px;
  margin: 0 auto;
  color: #3d4658;
  font-size: 17.5px;
  line-height: 1.7;
}

.welcome-lead strong { color: #15223b; }

.welcome-grid {
  display: grid;
  margin: 44px auto 40px;
  grid-template-columns: repeat(4, 1fr);
}

.welcome-card {
  padding: 4px 22px;
}

.welcome-card + .welcome-card {
  border-left: 1px solid rgba(184, 137, 32, 0.28);
}

.welcome-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #c89427;
  border-radius: 50%;
  color: #b8891f;
}

.welcome-icon svg { width: 26px; height: 26px; }

.welcome-card h2 {
  margin: 0 0 10px;
  color: #15223b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.welcome-card p {
  margin: 0;
  color: #5a6274;
  font-size: 14.5px;
  line-height: 1.6;
}

.welcome-start {
  display: inline-flex;
  min-width: 320px;
  min-height: 58px;
  padding: 0 44px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #15223b;
  box-shadow: 0 10px 26px rgba(21, 34, 59, 0.28);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.welcome-start:hover { background: #0d1b3a; transform: translateY(-2px); }

.welcome-secure {
  display: flex;
  margin: 20px 0 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8a8f9c;
  font-size: 13px;
}

.welcome-secure-icon { display: inline-flex; color: #8a8f9c; }
.welcome-secure-icon svg { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .welcome-card:nth-child(3) { border-left: 0; }
}

@media (max-width: 560px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-card + .welcome-card { border-left: 0; }
  .welcome-card { padding: 4px 6px; }
  .welcome-start { min-width: 100%; }
}

/* Przycisk "Zacznij od nowa" w pasku formularza (odblokowanie sesji - Nanio). */
.reset-form {
  margin-left: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(184, 137, 32, 0.5);
  border-radius: 3px;
  background: transparent;
  color: var(--gold-ink, #b88920);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.reset-form:hover { background: rgba(184, 137, 32, 0.1); }
