/* KONZEPT Brief Form — front-end */
.kbf-shell,
.kbf-shell * {
  box-sizing: border-box;
}

.kbf-shell {
  --kbf-bg: #e8e4dc;
  --kbf-bg-soft: #f4f1ea;
  --kbf-text: #0f0f0f;
  --kbf-muted: #69645d;
  --kbf-line: #111111;
  --kbf-line-soft: rgba(17, 17, 17, .16);
  --kbf-radius: 0px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 64px);
  color: var(--kbf-text);
  background: var(--kbf-bg);
  border: 1px solid var(--kbf-line);
  font-family: inherit;
  isolation: isolate;
}

.kbf-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kbf-muted);
}

.kbf-progress {
  width: 100%;
  height: 1px;
  background: var(--kbf-line-soft);
  margin-bottom: clamp(36px, 5vw, 72px);
  overflow: hidden;
}

.kbf-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--kbf-line);
  transform-origin: left center;
  transition: width .55s cubic-bezier(.19, 1, .22, 1);
}

.kbf-form {
  position: relative;
}

.kbf-step {
  display: none;
  animation: kbfStepIn .5s cubic-bezier(.19, 1, .22, 1) both;
}

.kbf-step.is-active {
  display: block;
}

@keyframes kbfStepIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kbf-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kbf-muted);
}

.kbf-step h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .96;
  font-weight: 500;
  letter-spacing: -.06em;
  color: var(--kbf-text);
}

.kbf-lead {
  max-width: 680px;
  margin: clamp(18px, 2vw, 28px) 0 clamp(34px, 4vw, 54px);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
  letter-spacing: .01em;
  color: #25231f;
}

.kbf-choice-grid {
  display: grid;
  gap: 16px;
}

.kbf-choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kbf-choice {
  position: relative;
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--kbf-line);
  background: rgba(244, 241, 234, .52);
  cursor: pointer;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.19, 1, .22, 1), background .32s ease, color .32s ease;
}

.kbf-choice::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0%;
  background: var(--kbf-line);
  transition: height .36s cubic-bezier(.19, 1, .22, 1);
  z-index: -1;
}

.kbf-choice:hover {
  transform: translateY(-4px);
}

.kbf-choice:has(input:checked) {
  color: #fff;
}

.kbf-choice:has(input:checked)::before {
  height: 100%;
}

.kbf-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kbf-choice-num {
  display: block;
  margin-bottom: 46px;
  font-size: 13px;
  letter-spacing: .08em;
}

.kbf-choice strong {
  display: block;
  max-width: 330px;
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.04em;
}

.kbf-choice small {
  display: block;
  max-width: 360px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.45;
  color: currentColor;
  opacity: .72;
}

.kbf-dynamic-block {
  display: none;
  margin-bottom: 24px;
}

.kbf-dynamic-block.is-visible {
  display: block;
}

.kbf-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
}

.kbf-field {
  display: block;
  margin-bottom: 32px;
}

.kbf-field span,
.kbf-check span {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kbf-muted);
}

.kbf-field input,
.kbf-field select,
.kbf-field textarea {
  appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--kbf-line);
  border-radius: 0;
  background: transparent;
  color: var(--kbf-text);
  font: inherit;
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.3;
  letter-spacing: .02em;
  outline: none;
  transition: border-color .2s ease, opacity .2s ease;
}

.kbf-field textarea {
  min-height: 160px;
  resize: vertical;
}

.kbf-field select {
  background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 18px) 29px, calc(100% - 12px) 29px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.kbf-field input::placeholder,
.kbf-field textarea::placeholder {
  color: rgba(17, 17, 17, .42);
}

.kbf-field input:focus,
.kbf-field select:focus,
.kbf-field textarea:focus {
  border-bottom-width: 2px;
}

.kbf-field.is-error input,
.kbf-field.is-error select,
.kbf-field.is-error textarea,
.kbf-check.is-error,
.kbf-choice-grid.is-error .kbf-choice {
  border-color: #9d1f1f;
}

.kbf-upload input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kbf-upload-box {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px dashed var(--kbf-line);
  background: rgba(244, 241, 234, .56);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.kbf-upload-box:hover {
  background: rgba(244, 241, 234, .9);
  transform: translateY(-2px);
}

.kbf-upload-box strong {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.kbf-upload-box small,
.kbf-upload-box em {
  font-size: 14px;
  line-height: 1.45;
  color: var(--kbf-muted);
  font-style: normal;
}

.kbf-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 0;
  border: 1px solid transparent;
}

.kbf-check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #111;
}

.kbf-check span {
  margin: 0;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 14px;
  line-height: 1.45;
  color: #292722;
}

.kbf-summary {
  border: 1px solid var(--kbf-line);
  background: rgba(244, 241, 234, .64);
}

.kbf-summary-row {
  display: grid;
  grid-template-columns: minmax(170px, 34%) 1fr;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--kbf-line-soft);
}

.kbf-summary-row:last-child {
  border-bottom: 0;
}

.kbf-summary-row span {
  color: var(--kbf-muted);
  font-size: 13px;
}

.kbf-summary-row strong {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  white-space: pre-wrap;
}

.kbf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(34px, 5vw, 70px);
  padding-top: 24px;
  border-top: 1px solid var(--kbf-line);
}

.kbf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 26px;
  border: 1px solid var(--kbf-line);
  border-radius: 0;
  background: var(--kbf-line);
  color: #fff;
  font: inherit;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.19, 1, .22, 1), opacity .2s ease, background .2s ease, color .2s ease;
}

.kbf-btn:hover {
  transform: translateY(-2px);
}

.kbf-btn--ghost {
  background: transparent;
  color: var(--kbf-text);
}

.kbf-btn[disabled] {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}

[data-kbf-submit] {
  display: none;
}

.kbf-message {
  display: none;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--kbf-line);
  background: var(--kbf-bg-soft);
  font-size: 15px;
  line-height: 1.5;
}

.kbf-message.is-visible {
  display: block;
  animation: kbfStepIn .35s ease both;
}

.kbf-message.is-success {
  background: #111;
  color: #fff;
}

.kbf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.kbf-shell.is-sent .kbf-progress,
.kbf-shell.is-sent .kbf-topline,
.kbf-shell.is-sent .kbf-step,
.kbf-shell.is-sent .kbf-actions {
  display: none !important;
}

.kbf-shell.is-sent .kbf-message {
  display: block;
  padding: clamp(34px, 5vw, 70px);
  min-height: 280px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: clamp(24px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

@media (max-width: 920px) {
  .kbf-shell {
    padding: 28px 18px;
  }

  .kbf-choice-grid--three,
  .kbf-field-row {
    grid-template-columns: 1fr;
  }

  .kbf-field-row {
    gap: 0;
  }

  .kbf-choice {
    min-height: 190px;
  }

  .kbf-choice-num {
    margin-bottom: 34px;
  }
}

@media (max-width: 620px) {
  .kbf-shell {
    border-left: 0;
    border-right: 0;
  }

  .kbf-topline {
    font-size: 10px;
    letter-spacing: .16em;
  }

  .kbf-step h2 {
    font-size: clamp(38px, 13vw, 62px);
  }

  .kbf-lead {
    font-size: 15px;
  }

  .kbf-choice,
  .kbf-upload-box {
    padding: 20px;
  }

  .kbf-field input,
  .kbf-field select,
  .kbf-field textarea {
    font-size: 18px;
  }

  .kbf-summary-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .kbf-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-left: -18px;
    margin-right: -18px;
    padding: 14px 18px;
    background: rgba(232, 228, 220, .92);
    backdrop-filter: blur(12px);
  }

  .kbf-btn {
    width: 100%;
    min-height: 50px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 11px;
    letter-spacing: .14em;
  }
}

/* v1.1 — KONZEPT refinements: compact typography, forced black accents, micro animations */
.kbf-shell {
  --kbf-bg: #e7e2d8 !important;
  --kbf-bg-soft: #f3efe7 !important;
  --kbf-text: #0b0b0b !important;
  --kbf-muted: #5f5a52 !important;
  --kbf-line: #0b0b0b !important;
  --kbf-line-soft: rgba(11, 11, 11, .18) !important;
  --kbf-error: #7b1717 !important;
  width: min(100%, 1120px) !important;
  padding: clamp(22px, 3vw, 46px) !important;
  color: #0b0b0b !important;
  background: #e7e2d8 !important;
  border-color: #0b0b0b !important;
  accent-color: #0b0b0b !important;
  caret-color: #0b0b0b !important;
}

.kbf-shell * {
  border-color: var(--kbf-line) !important;
  box-shadow: none !important;
}

.kbf-shell a,
.kbf-shell button,
.kbf-shell input,
.kbf-shell select,
.kbf-shell textarea,
.kbf-shell label,
.kbf-shell span,
.kbf-shell strong,
.kbf-shell small,
.kbf-shell em,
.kbf-shell p,
.kbf-shell h2 {
  color: inherit;
}

.kbf-topline {
  margin-bottom: 14px !important;
  font-size: 10px !important;
  letter-spacing: .18em !important;
  color: var(--kbf-muted) !important;
}

.kbf-progress {
  margin-bottom: clamp(24px, 3vw, 44px) !important;
  background: var(--kbf-line-soft) !important;
}

.kbf-progress span,
.kbf-choice::before,
.kbf-btn,
.kbf-message.is-success,
.kbf-shell.is-sent .kbf-message {
  background: #0b0b0b !important;
}

.kbf-eyebrow {
  margin-bottom: 10px !important;
  font-size: 10px !important;
  letter-spacing: .18em !important;
  color: var(--kbf-muted) !important;
}

.kbf-step h2 {
  max-width: 820px !important;
  font-size: clamp(30px, 4.2vw, 58px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.045em !important;
  font-weight: 500 !important;
  color: #0b0b0b !important;
}

.kbf-step--confirm h2 {
  font-size: clamp(28px, 3.2vw, 44px) !important;
}

.kbf-lead {
  max-width: 620px !important;
  margin: clamp(12px, 1.6vw, 20px) 0 clamp(24px, 3vw, 36px) !important;
  font-size: clamp(14px, 1.05vw, 17px) !important;
  line-height: 1.55 !important;
  letter-spacing: .005em !important;
  color: #292621 !important;
}

.kbf-choice-grid {
  gap: 12px !important;
}

.kbf-choice {
  min-height: 172px !important;
  padding: 20px !important;
  background: rgba(243, 239, 231, .64) !important;
  color: #0b0b0b !important;
  border-color: #0b0b0b !important;
}

.kbf-choice:hover {
  transform: translateY(-3px) !important;
}

.kbf-choice:has(input:checked) {
  color: #fff !important;
}

.kbf-choice-num {
  margin-bottom: 30px !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}

.kbf-choice strong {
  max-width: 290px !important;
  font-size: clamp(20px, 1.65vw, 29px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

.kbf-choice small {
  max-width: 310px !important;
  margin-top: 14px !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  opacity: .76 !important;
}

.kbf-field {
  margin-bottom: 22px !important;
}

.kbf-field-row {
  gap: 32px !important;
}

.kbf-field span,
.kbf-check span {
  margin-bottom: 8px !important;
  font-size: 10.5px !important;
  letter-spacing: .12em !important;
  color: var(--kbf-muted) !important;
}

.kbf-field input,
.kbf-field select,
.kbf-field textarea {
  min-height: 46px !important;
  padding: 10px 0 !important;
  color: #0b0b0b !important;
  background-color: transparent !important;
  border-color: #0b0b0b !important;
  border-width: 0 0 1px 0 !important;
  border-radius: 0 !important;
  font-size: clamp(15px, 1.15vw, 18px) !important;
  line-height: 1.35 !important;
  letter-spacing: .01em !important;
  outline: none !important;
  box-shadow: none !important;
}

.kbf-field textarea {
  min-height: 118px !important;
}

.kbf-field select {
  background-image: linear-gradient(45deg, transparent 50%, #0b0b0b 50%), linear-gradient(135deg, #0b0b0b 50%, transparent 50%) !important;
  background-position: calc(100% - 16px) 22px, calc(100% - 10px) 22px !important;
}

.kbf-field input:focus,
.kbf-field select:focus,
.kbf-field textarea:focus {
  border-bottom-color: #0b0b0b !important;
  border-bottom-width: 1.5px !important;
  box-shadow: none !important;
}

.kbf-field input::placeholder,
.kbf-field textarea::placeholder {
  color: rgba(11, 11, 11, .42) !important;
  opacity: 1 !important;
}

.kbf-field.is-error input,
.kbf-field.is-error select,
.kbf-field.is-error textarea,
.kbf-check.is-error,
.kbf-choice-grid.is-error .kbf-choice {
  border-color: var(--kbf-error) !important;
}

.kbf-upload-box {
  gap: 8px !important;
  padding: 20px !important;
  background: rgba(243, 239, 231, .66) !important;
  border-color: #0b0b0b !important;
}

.kbf-upload-box strong {
  font-size: 19px !important;
  letter-spacing: -.02em !important;
  color: #0b0b0b !important;
}

.kbf-upload-box small,
.kbf-upload-box em {
  font-size: 12.5px !important;
  color: var(--kbf-muted) !important;
}

.kbf-check input {
  accent-color: #0b0b0b !important;
}

.kbf-check span {
  font-size: 13px !important;
  line-height: 1.45 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: #292621 !important;
}

.kbf-summary {
  background: rgba(243, 239, 231, .72) !important;
  border-color: #0b0b0b !important;
}

.kbf-summary-row {
  grid-template-columns: minmax(150px, 30%) 1fr !important;
  gap: 16px !important;
  padding: 11px 16px !important;
  border-bottom-color: var(--kbf-line-soft) !important;
}

.kbf-summary-row span {
  color: var(--kbf-muted) !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
}

.kbf-summary-row strong {
  color: #0b0b0b !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
  font-weight: 500 !important;
}

.kbf-actions {
  margin-top: clamp(24px, 3.2vw, 42px) !important;
  padding-top: 18px !important;
  border-top-color: #0b0b0b !important;
}

.kbf-btn {
  min-height: 44px !important;
  padding: 12px 22px !important;
  border-color: #0b0b0b !important;
  background: #0b0b0b !important;
  color: #fff !important;
  font-size: 11px !important;
  letter-spacing: .15em !important;
  text-decoration: none !important;
}

.kbf-btn--ghost {
  background: transparent !important;
  color: #0b0b0b !important;
}

.kbf-btn:hover,
.kbf-btn:focus,
.kbf-btn:active {
  border-color: #0b0b0b !important;
  background: #0b0b0b !important;
  color: #fff !important;
  outline: none !important;
}

.kbf-btn--ghost:hover,
.kbf-btn--ghost:focus,
.kbf-btn--ghost:active {
  background: #0b0b0b !important;
  color: #fff !important;
}

.kbf-message {
  padding: 14px 16px !important;
  background: var(--kbf-bg-soft) !important;
  color: #0b0b0b !important;
  border-color: #0b0b0b !important;
  font-size: 13.5px !important;
}

.kbf-message.is-success {
  background: #0b0b0b !important;
  color: #fff !important;
}

.kbf-shell.is-sent .kbf-message {
  padding: clamp(28px, 4vw, 52px) !important;
  min-height: 210px !important;
  background: #0b0b0b !important;
  color: #fff !important;
  font-size: clamp(22px, 2.4vw, 34px) !important;
  line-height: 1.14 !important;
}

/* Staggered micro-animations for elements appearing inside each step */
.kbf-step.is-active .kbf-eyebrow,
.kbf-step.is-active h2,
.kbf-step.is-active .kbf-lead,
.kbf-step.is-active .kbf-choice,
.kbf-step.is-active .kbf-field,
.kbf-step.is-active .kbf-check,
.kbf-step.is-active .kbf-upload,
.kbf-step.is-active .kbf-summary {
  animation: kbfReveal .52s cubic-bezier(.19, 1, .22, 1) both !important;
}

.kbf-step.is-active .kbf-eyebrow { animation-delay: .02s !important; }
.kbf-step.is-active h2 { animation-delay: .06s !important; }
.kbf-step.is-active .kbf-lead { animation-delay: .10s !important; }
.kbf-step.is-active .kbf-choice:nth-child(1),
.kbf-step.is-active .kbf-field:nth-child(1) { animation-delay: .14s !important; }
.kbf-step.is-active .kbf-choice:nth-child(2),
.kbf-step.is-active .kbf-field:nth-child(2) { animation-delay: .20s !important; }
.kbf-step.is-active .kbf-choice:nth-child(3),
.kbf-step.is-active .kbf-field:nth-child(3),
.kbf-step.is-active .kbf-upload { animation-delay: .26s !important; }
.kbf-step.is-active .kbf-summary { animation-delay: .12s !important; }

.kbf-dynamic-block.is-visible {
  animation: kbfReveal .42s cubic-bezier(.19, 1, .22, 1) both !important;
}

.kbf-summary-row {
  animation: kbfSummaryRow .32s ease both !important;
}
.kbf-summary-row:nth-child(1) { animation-delay: .03s !important; }
.kbf-summary-row:nth-child(2) { animation-delay: .06s !important; }
.kbf-summary-row:nth-child(3) { animation-delay: .09s !important; }
.kbf-summary-row:nth-child(4) { animation-delay: .12s !important; }
.kbf-summary-row:nth-child(5) { animation-delay: .15s !important; }
.kbf-summary-row:nth-child(6) { animation-delay: .18s !important; }
.kbf-summary-row:nth-child(7) { animation-delay: .21s !important; }
.kbf-summary-row:nth-child(8) { animation-delay: .24s !important; }

@keyframes kbfReveal {
  from { opacity: 0; transform: translateY(12px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes kbfSummaryRow {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  .kbf-shell { padding: 22px 16px !important; }
  .kbf-choice { min-height: 146px !important; }
  .kbf-choice-num { margin-bottom: 22px !important; }
}

@media (max-width: 620px) {
  .kbf-step h2 {
    font-size: clamp(30px, 9.5vw, 44px) !important;
    line-height: 1.06 !important;
  }
  .kbf-lead { font-size: 14px !important; }
  .kbf-choice,
  .kbf-upload-box { padding: 18px !important; }
  .kbf-field input,
  .kbf-field select,
  .kbf-field textarea { font-size: 16px !important; }
  .kbf-actions {
    background: rgba(231, 226, 216, .95) !important;
    border-top-color: #0b0b0b !important;
  }
  .kbf-summary-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kbf-shell * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* v1.2 — transparent front background */
.kbf-shell {
  --kbf-bg: transparent !important;
  background: transparent !important;
}

.kbf-choice,
.kbf-upload-box,
.kbf-summary,
.kbf-message:not(.is-success) {
  background: rgba(243, 239, 231, .38) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

@media (max-width: 620px) {
  .kbf-actions {
    background: rgba(243, 239, 231, .54) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }
}

/* v1.4 — full-height thank-you screen + mobile pull-to-next-button UX */
.kbf-shell.is-sent {
  min-height: 100vh !important;
  min-height: 100svh !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  padding: clamp(18px, 3vw, 44px) !important;
  border-color: transparent !important;
}

.kbf-shell.is-sent .kbf-form {
  width: 100% !important;
  display: flex !important;
}

.kbf-shell.is-sent .kbf-message.kbf-thankyou {
  width: 100% !important;
  min-height: calc(100vh - 88px) !important;
  min-height: calc(100svh - 88px) !important;
  margin: 0 !important;
  padding: clamp(28px, 6vw, 82px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #0b0b0b !important;
  background: #0b0b0b !important;
  color: #fff !important;
  overflow: hidden !important;
  position: relative !important;
}

.kbf-shell.is-sent .kbf-message.kbf-thankyou::before,
.kbf-shell.is-sent .kbf-message.kbf-thankyou::after {
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

.kbf-shell.is-sent .kbf-message.kbf-thankyou::before {
  inset: clamp(14px, 2vw, 28px) !important;
}

.kbf-shell.is-sent .kbf-message.kbf-thankyou::after {
  width: clamp(160px, 24vw, 420px) !important;
  height: clamp(160px, 24vw, 420px) !important;
  right: clamp(-100px, -8vw, -40px) !important;
  bottom: clamp(-100px, -8vw, -40px) !important;
  border-radius: 999px !important;
  opacity: .45 !important;
}

.kbf-thankyou-inner {
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 760px) !important;
  text-align: center !important;
  animation: kbfThankYouIn .7s cubic-bezier(.19, 1, .22, 1) both !important;
}

.kbf-thankyou-kicker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 8px 14px !important;
  margin-bottom: clamp(22px, 3vw, 38px) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.kbf-thankyou-inner strong {
  display: block !important;
  color: #fff !important;
  font-size: clamp(34px, 6.2vw, 82px) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
  font-weight: 500 !important;
}

.kbf-thankyou-inner p {
  max-width: 560px !important;
  margin: clamp(18px, 2.4vw, 28px) auto 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: clamp(15px, 1.4vw, 19px) !important;
  line-height: 1.55 !important;
  letter-spacing: .01em !important;
}

.kbf-thankyou-inner small {
  display: block !important;
  margin-top: clamp(26px, 3.2vw, 44px) !important;
  color: rgba(255,255,255,.56) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

@keyframes kbfThankYouIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@media (max-width: 620px) {
  .kbf-shell.is-sent {
    padding: 12px !important;
  }
  .kbf-shell.is-sent .kbf-message.kbf-thankyou {
    min-height: calc(100svh - 24px) !important;
    padding: 34px 22px !important;
  }
  .kbf-thankyou-inner {
    text-align: left !important;
  }
  .kbf-thankyou-inner strong {
    font-size: clamp(34px, 11vw, 54px) !important;
  }
  .kbf-thankyou-inner p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* v1.6 — smoother premium hover states */
.kbf-choice {
  will-change: transform, box-shadow, background-color !important;
  transform: translate3d(0,0,0) !important;
  transition:
    transform .55s cubic-bezier(.16, 1, .3, 1),
    box-shadow .55s cubic-bezier(.16, 1, .3, 1),
    background-color .45s ease,
    color .35s ease,
    border-color .35s ease !important;
}

.kbf-choice::before {
  transition: height .62s cubic-bezier(.16, 1, .3, 1) !important;
}

.kbf-choice::after {
  content: "" !important;
  position: absolute !important;
  inset: 10px !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  opacity: 0 !important;
  transform: scale(.985) !important;
  transition: opacity .45s ease, transform .55s cubic-bezier(.16, 1, .3, 1) !important;
  pointer-events: none !important;
}

.kbf-choice:hover {
  transform: translate3d(0,-6px,0) !important;
  box-shadow: 0 18px 45px rgba(17,17,17,.08) !important;
  background: rgba(248, 245, 238, .58) !important;
}

.kbf-choice:hover::after,
.kbf-choice:has(input:checked)::after {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.kbf-choice:active {
  transform: translate3d(0,-2px,0) scale(.995) !important;
}

.kbf-btn {
  position: relative !important;
  overflow: hidden !important;
  transform: translate3d(0,0,0) !important;
  transition:
    transform .42s cubic-bezier(.16, 1, .3, 1),
    background-color .35s ease,
    color .35s ease,
    border-color .35s ease,
    box-shadow .42s ease !important;
}

.kbf-btn::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -120% !important;
  width: 80% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent) !important;
  transform: skewX(-18deg) !important;
  transition: left .7s cubic-bezier(.16, 1, .3, 1) !important;
}

.kbf-btn:hover {
  transform: translate3d(0,-2px,0) !important;
  box-shadow: 0 12px 30px rgba(17,17,17,.12) !important;
}

.kbf-btn:hover::after {
  left: 140% !important;
}

.kbf-field input,
.kbf-field select,
.kbf-field textarea {
  transition: border-color .28s ease, border-width .28s ease, transform .28s ease !important;
}

.kbf-field:focus-within input,
.kbf-field:focus-within select,
.kbf-field:focus-within textarea {
  transform: translateY(-1px) !important;
}

.kbf-upload-box {
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease, background-color .35s ease !important;
}

.kbf-upload-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 42px rgba(17,17,17,.08) !important;
}

/* v1.8 — final polish: readability, premium motion, stronger Elementor isolation */
.kbf-shell {
  max-width: 1080px !important;
  border-color: rgba(11,11,11,.86) !important;
}

.kbf-step h2 {
  text-wrap: balance !important;
}

.kbf-lead {
  text-wrap: pretty !important;
}

.kbf-choice {
  isolation: isolate !important;
  transform-origin: center bottom !important;
}

.kbf-choice strong,
.kbf-choice small,
.kbf-choice-num {
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .35s ease, color .35s ease !important;
}

.kbf-choice:hover strong {
  transform: translateX(4px) !important;
}

.kbf-choice:hover small {
  opacity: .9 !important;
  transform: translateX(4px) !important;
}

.kbf-choice:has(input:checked) .kbf-choice-num::after {
  content: " / wybrane" !important;
  opacity: .68 !important;
}

.kbf-choice:focus-within,
.kbf-btn:focus-visible,
.kbf-upload:focus-within .kbf-upload-box {
  outline: 1px solid #0b0b0b !important;
  outline-offset: 4px !important;
}

.kbf-field:focus-within span {
  color: #0b0b0b !important;
}

.kbf-field input:-webkit-autofill,
.kbf-field input:-webkit-autofill:hover,
.kbf-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0b0b0b !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

.kbf-summary {
  max-width: 860px !important;
}

.kbf-step--confirm .kbf-lead {
  margin-bottom: 18px !important;
}

.kbf-message.is-error {
  border-color: #7b1717 !important;
  background: rgba(123, 23, 23, .08) !important;
  color: #7b1717 !important;
}

.kbf-btn.is-loading {
  pointer-events: none !important;
}

.kbf-btn.is-loading::before {
  content: "" !important;
  width: 13px !important;
  height: 13px !important;
  margin-right: 10px !important;
  border: 1px solid currentColor !important;
  border-right-color: transparent !important;
  border-radius: 999px !important;
  animation: kbfSpin .8s linear infinite !important;
}

@keyframes kbfSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 620px) {
  .kbf-shell {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .kbf-choice {
    min-height: 132px !important;
  }
  .kbf-choice strong {
    font-size: 20px !important;
  }
  .kbf-choice small {
    font-size: 12px !important;
  }
  .kbf-summary {
    max-height: 46svh !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* v1.9 — safer mobile progression: always lead user to the next action */
@media (max-width: 780px) {
  .kbf-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 30 !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
    background: rgba(243, 239, 231, .76) !important;
    -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
    backdrop-filter: blur(18px) saturate(120%) !important;
    border-top: 1px solid rgba(11, 11, 11, .18) !important;
  }

  .kbf-actions.is-scroll-target .kbf-btn:not([style*="display: none"]) {
    animation: kbfActionNudge .72s cubic-bezier(.19, 1, .22, 1) both !important;
  }

  .kbf-step--confirm .kbf-summary {
    margin-bottom: 8px !important;
  }

  .kbf-shell.is-confirm-step .kbf-actions {
    background: rgba(243, 239, 231, .88) !important;
  }
}

@keyframes kbfActionNudge {
  0% { transform: translateY(8px); }
  45% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
