@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── NAV ─────────────────────────────────────────────────── */

/* ─── SHARED ──────────────────────────────────────────────── */
.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::after { display: none; }

/* ─── BUR REGISTRY NOTICE ─────────────────────────────────── */
#bur-registry {
  background: rgba(74,222,128,.06);
  border-bottom: 1px solid rgba(74,222,128,.2);
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.bur-registry-text { font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-body); color: #86efac; text-align: center; }
.bur-registry-text a { color: #4ade80; font-weight: 400; text-decoration: none; border-bottom: 1px solid rgba(74,222,128,.4); transition: color .2s; }
.bur-registry-text a:hover { color: #bbf7d0; }

/* ─── HERO ────────────────────────────────────────────────── */
#df-hero {
  padding: 160px 60px 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
#df-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(96,165,250,.04) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.breadcrumb-link { font-family: var(--font-body); font-size: 11px; color: var(--muted); text-decoration: none; letter-spacing: .12em; text-transform: uppercase; transition: color .3s; }
.breadcrumb-link:hover { color: var(--white); }
.breadcrumb-sep { font-size: 11px; color: var(--muted); opacity: .5; }
.breadcrumb-current { font-family: var(--font-body); font-size: 11px; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }

.df-hero-eyebrow {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  color: var(--gold); letter-spacing: .28em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.df-hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }

.df-hero-title {
  font-family: var(--font-display); font-size: clamp(40px,5.5vw,76px);
  font-weight: var(--fw-heading); line-height: 1.08; color: var(--white);
  letter-spacing: -.01em; margin-bottom: 20px;
}
.df-hero-title em { font-style: italic; color: var(--gold); }

.df-hero-subtitle {
  font-family: var(--font-body); font-size: 17px; font-weight: var(--fw-body);
  color: var(--muted); line-height: 1.7; max-width: 560px; margin-bottom: 48px;
}

/* ─── PROFILE TILES ───────────────────────────────────────── */
.df-tiles-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 20px;
}

.df-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 880px;
}

.df-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px 24px;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .2s ease;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  text-align: left;
  position: relative;
  user-select: none;
}
.df-tile:hover {
  border-color: rgba(224,180,41,.5);
  background: rgba(224,180,41,.05);
  transform: translateY(-2px);
}
.df-tile.active {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.df-tile.active::after {
  content: '✓';
  position: absolute; top: 10px; right: 12px;
  font-size: 11px; color: var(--gold); font-family: var(--font-body);
}

.df-tile-icon { font-size: 28px; line-height: 1; }

.df-tile-name {
  font-family: var(--font-display); font-size: 18px; font-weight: var(--fw-heading);
  color: var(--white); line-height: 1.25;
}

.df-tile-hint {
  font-family: var(--font-body); font-size: 11px; font-weight: var(--fw-body);
  color: var(--muted); line-height: 1.45;
}

/* ─── RECOMMENDATION ──────────────────────────────────────── */
#df-recommendation {
  display: none;
  padding: 0 60px 80px;
  scroll-margin-top: 90px;
}
#df-recommendation.visible {
  display: block;
  animation: fade-up .5s ease forwards;
}

.df-rec-wrap {
  max-width: 880px;
  border: 1px solid var(--rec-color, var(--gold));
  background: var(--panel);
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
}
.df-rec-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--rec-color, var(--gold));
}

.df-rec-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; margin-bottom: 24px; flex-wrap: wrap;
}

.df-rec-badge {
  font-family: var(--font-body); font-size: 9px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: #0a0a0a; padding: 5px 12px; display: inline-block;
  background: var(--rec-color, var(--gold));
  flex-shrink: 0;
}

.df-rec-title {
  font-family: var(--font-display); font-size: 30px; font-weight: var(--fw-heading);
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
}

.df-rec-highlight {
  font-family: var(--font-display); font-size: 52px; font-weight: var(--fw-heading);
  line-height: 1; color: var(--rec-color, var(--gold)); margin-bottom: 4px;
}

.df-rec-highlight-note {
  font-family: var(--font-body); font-size: 12px; font-weight: var(--fw-body);
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}

.df-rec-desc {
  font-family: var(--font-body); font-size: 15px; font-weight: var(--fw-body);
  color: var(--muted); line-height: var(--lh-body); max-width: 520px; margin: 20px 0 32px;
}
.df-rec-desc strong { color: var(--white); font-weight: 400; }

.df-rec-cta {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: #0a0a0a; padding: 13px 28px;
  letter-spacing: .12em; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-block;
  background: var(--rec-color, var(--gold));
  transition: opacity .2s ease, transform .2s ease;
}
.df-rec-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ─── PROCESS STEPPER ─────────────────────────────────────── */
#process-steps {
  padding: 100px 60px;
  scroll-margin-top: 90px;
}
#process-steps .section-header { text-align: center; margin-bottom: 72px; }

.stepper {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative; max-width: 960px; margin: 0 auto;
}
.stepper::before {
  content: ''; position: absolute;
  top: 36px; left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 1px; background: var(--line); z-index: 0;
}

.step-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 16px; position: relative; z-index: 1;
}

.step-number {
  width: 56px; height: 56px;
  border: 1px solid var(--line); background: var(--black);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; flex-shrink: 0;
}
.step-number-inner {
  font-family: var(--font-display); font-size: 22px;
  font-weight: var(--fw-heading); color: var(--gold); line-height: 1;
}

.step-title {
  font-family: var(--font-display); font-size: 18px; font-weight: var(--fw-heading);
  color: var(--white); line-height: 1.3; margin-bottom: 10px;
}
.step-desc {
  font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-body);
  color: var(--muted); line-height: 1.65;
}
.step-free-badge {
  display: inline-block; font-family: var(--font-body); font-size: 9px;
  font-weight: 500; color: #0a0a0a; background: var(--green);
  padding: 2px 8px; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px;
}

/* ─── DETAILS ACCORDION ───────────────────────────────────── */
#details-accordion {
  padding: 0 60px 80px;
  background: var(--deep);
}

.details-toggle-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.details-toggle {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.details-toggle-label {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-heading);
  color: var(--white); transition: color .25s;
}
.details-toggle:hover .details-toggle-label { color: var(--gold-light); }

.details-toggle-icon {
  font-size: var(--fs-h4); color: var(--gold); flex-shrink: 0;
  transition: transform .35s ease; line-height: 1;
}
.details-toggle.open .details-toggle-icon { transform: rotate(45deg); }

.details-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 40px;
}
.details-content.open { display: grid; animation: fade-up .4s ease forwards; }

.detail-card {
  background: var(--panel); border: 1px solid var(--line);
  padding: 36px 32px;
}

.detail-card-badge {
  font-family: var(--font-body); font-size: 9px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: #0a0a0a; padding: 4px 10px; display: inline-block; margin-bottom: 16px;
}
.detail-card-badge.bur { background: var(--green); }
.detail-card-badge.kfs { background: var(--blue); }

.detail-card-title {
  font-family: var(--font-display); font-size: 22px; font-weight: var(--fw-heading);
  color: var(--white); margin-bottom: 16px; line-height: 1.2;
}

.detail-card-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.detail-card-list li {
  font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-body);
  color: var(--muted); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 10px;
}
.detail-card-list li::before { content: '◈'; font-size: 10px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.detail-card-list li strong { color: var(--white); font-weight: 400; }

/* ─── FAQ ─────────────────────────────────────────────────── */
#faq { padding: 100px 60px; }
#faq .section-header { margin-bottom: 48px; }

.faq-list { max-width: 800px; display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none;
  padding: 24px 0; cursor: pointer; gap: 20px; text-align: left;
}
.faq-question-text {
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-heading);
  color: var(--white); line-height: 1.3; transition: color .25s;
}
.faq-question:hover .faq-question-text { color: var(--gold-light); }
.faq-icon { font-size: var(--fs-h4); color: var(--gold); flex-shrink: 0; transition: transform .35s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer { display: none; padding-bottom: 24px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-family: var(--font-body); font-size: 15px; font-weight: var(--fw-body); color: var(--muted); line-height: var(--lh-body); }
.faq-answer strong { color: var(--white); font-weight: 400; }

/* ─── CTA FORM ────────────────────────────────────────────── */
#df-cta { padding: 100px 60px; background: var(--deep); position: relative; overflow: hidden; }
#df-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(224,180,41,.04) 0%, transparent 65%);
  pointer-events: none;
}

.df-cta-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }

.df-cta-title {
  font-family: var(--font-display); font-size: clamp(32px,4vw,52px);
  font-weight: var(--fw-heading); color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.df-cta-desc {
  font-family: var(--font-body); font-size: var(--fs-body); font-weight: var(--fw-body);
  color: var(--muted); line-height: var(--lh-body); margin-bottom: 48px;
}

.df-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }

.df-form-group { display: flex; flex-direction: column; gap: 10px; }

.df-form-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: .16em; text-transform: uppercase;
}
.df-required { color: #f87171; }

.df-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.df-radio-group--compact { grid-template-columns: repeat(3,1fr); }

.df-radio-card { position: relative; cursor: pointer; }
.df-radio-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.df-radio-label {
  display: block; font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-body);
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  padding: 12px 16px; line-height: 1.4;
  transition: border-color .2s, color .2s, background .2s; text-align: left;
}
.df-radio-card input[type="radio"]:checked + .df-radio-label {
  border-color: var(--gold); color: var(--white); background: var(--gold-dim);
}
.df-radio-card:hover .df-radio-label { border-color: rgba(224,180,41,.5); color: var(--white); }

.df-input {
  font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-body);
  color: var(--white); background: var(--panel);
  border: 1px solid var(--line); padding: 16px 20px; width: 100%;
  outline: none; transition: border-color .25s; letter-spacing: .02em;
}
.df-input::placeholder { color: var(--muted); }
.df-input:focus { border-color: var(--gold); }

.df-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7872' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 44px; cursor: pointer;
}
.df-select option { background: var(--panel); color: var(--white); }

.df-field-hint {
  font-family: var(--font-body); font-size: 11px; font-weight: var(--fw-body);
  color: var(--muted); line-height: 1.55; opacity: .8;
}

.df-conditional { animation: fade-up .3s ease forwards; }

/* ─── MULTI-SELECT SZKOLENIA ──────────────────────────────── */
.df-ms-wrap {
  position: relative;
}
.df-ms-field {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  background: var(--panel); border: 1px solid var(--line);
  padding: 10px 14px; cursor: text; min-height: 52px;
  transition: border-color .25s;
}
.df-ms-wrap.focused .df-ms-field { border-color: var(--gold); }
.df-ms-wrap.error .df-ms-field { border-color: #f87171; }
.df-ms-text-input {
  font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-body);
  color: var(--white); background: transparent; border: none; outline: none;
  flex: 1; min-width: 160px; padding: 4px 0; letter-spacing: .02em;
}
.df-ms-text-input::placeholder { color: var(--muted); }
.df-ms-dropdown {
  position: absolute; top: calc(100% + 2px); left: 0; right: 0; z-index: 50;
  background: var(--panel); border: 1px solid var(--gold);
  list-style: none; max-height: 220px; overflow-y: auto;
}
.df-ms-dropdown[hidden] { display: none; }
.df-ms-dropdown li {
  font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-body);
  color: var(--muted); padding: 11px 16px; cursor: pointer;
  transition: background .15s, color .15s;
}
.df-ms-dropdown li:hover,
.df-ms-dropdown li[aria-selected="true"] { background: var(--gold-dim); color: var(--white); }
.df-ms-dropdown li.df-ms-no-match { cursor: default; font-style: italic; }
.df-ms-dropdown li.df-ms-no-match:hover { background: transparent; color: var(--muted); }
.df-ms-dropdown li.df-ms-add-custom { color: var(--gold); }
.df-ms-dropdown li.df-ms-add-custom:hover { background: var(--gold-dim); color: var(--gold-light); }
.df-ms-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-dim); border: 1px solid var(--line);
  padding: 3px 10px 3px 10px; flex-shrink: 0;
}
.df-ms-tag-text {
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  color: var(--white); line-height: 1.4; max-width: 220px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.df-ms-tag-remove {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--muted); font-size: 14px; line-height: 1;
  transition: color .15s; flex-shrink: 0;
}
.df-ms-tag-remove:hover { color: #f87171; }
.df-ms-error-msg {
  font-family: var(--font-body); font-size: 11px; font-weight: var(--fw-body);
  color: #f87171; display: none;
}
.df-ms-wrap.error .df-ms-error-msg { display: block; }

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

.df-form-submit { margin-top: 8px; text-align: center; }

.df-form-note {
  font-family: var(--font-body); font-size: 12px; font-weight: var(--fw-body);
  color: var(--muted); margin-top: 16px; line-height: 1.6; text-align: center;
}

/* ─── FOOTER ──────────────────────────────────────────────── */

/* ─── SCROLL REVEAL ───────────────────────────────────────── */

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  #df-hero, #bur-registry, #df-recommendation, #process-steps, #details-accordion, #faq, #df-cta { padding-left: 36px; padding-right: 36px; }
  .df-tiles-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  #df-hero { padding: 120px 24px 64px; }
  #bur-registry { padding: 14px 24px; }
  #df-recommendation { padding: 0 24px 60px; }
  .df-rec-wrap { padding: 32px 24px; }
  .df-rec-header { flex-direction: column; gap: 16px; }
  #process-steps { padding: 60px 24px; }
  .stepper { grid-template-columns: 1fr; gap: 36px; }
  .stepper::before { display: none; }
  .step-item { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
  .step-number { flex-shrink: 0; margin-bottom: 0; }
  #details-accordion { padding: 0 24px 60px; }
  .details-content { grid-template-columns: 1fr; }
  #faq { padding: 60px 24px; }
  #df-cta { padding: 60px 24px; }
  .df-form-row { grid-template-columns: 1fr; }
  .df-radio-group { grid-template-columns: 1fr; }
  .df-radio-group--compact { grid-template-columns: 1fr 1fr 1fr; }
  .df-tiles-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .df-tiles-grid { grid-template-columns: 1fr; }
  .df-radio-group--compact { grid-template-columns: 1fr; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
