/* ============================================================
   kris.center/kepzes · Alkalmazott Légzés Facilitátor Képzés
   A ../styles.css tokenjeire épül.
   ============================================================ */

/* Hero: GSAP nélkül, CSS animációval jelenik meg */
.page-kepzes .hero { min-height: 92vh; }
.page-kepzes .hero-meta,
.page-kepzes .hero-sub,
.page-kepzes .hero-cta,
.page-kepzes .hero-facts {
  opacity: 0;
  transform: translateY(12px);
  animation: kkRise 1s var(--ease) forwards;
}
.page-kepzes .hero-meta  { animation-delay: .15s; }
.page-kepzes .hero-title { opacity: 0; transform: translateY(20px); animation: kkRise 1.1s var(--ease) .3s forwards; }
.page-kepzes .hero-sub   { animation-delay: .65s; }
.page-kepzes .hero-facts { animation-delay: .85s; }
.page-kepzes .hero-cta   { animation-delay: 1s; }
@keyframes kkRise { to { opacity: 1; transform: translateY(0); } }

.page-kepzes .breath-bg .wave-1 { animation: kkDrift 28s linear infinite, kkBreath 5.5s ease-in-out infinite alternate; }
.page-kepzes .breath-bg .wave-2 { animation: kkDrift 36s linear infinite reverse, kkBreath 6.2s ease-in-out infinite alternate; }
.page-kepzes .breath-bg .wave-3 { animation: kkDrift 44s linear infinite, kkBreath 7.4s ease-in-out infinite alternate; }
@keyframes kkDrift  { from { translate: 0 0; } to { translate: -25% 0; } }
@keyframes kkBreath { from { transform: translateY(-10px); } to { transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  .page-kepzes *, .page-kepzes *::before { animation: none !important; }
  .page-kepzes .hero-meta, .page-kepzes .hero-title, .page-kepzes .hero-sub,
  .page-kepzes .hero-cta, .page-kepzes .hero-facts { opacity: 1; transform: none; }
}

.page-kepzes .hero-title { font-size: clamp(40px, 6.4vw, 84px); }

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  border: 1px solid var(--kk-line-light);
  border-radius: 4px;
  min-width: 112px;
  background: rgba(22, 28, 40, 0.35);
}
.hero-facts strong {
  font-family: var(--kk-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  color: var(--kk-cream);
}
.hero-facts span {
  font-family: var(--kk-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kk-mute-light);
}

.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn-block { width: 100%; }

/* ============== SECTIONS ============== */
.section-cream { background: var(--kk-cream); }
.section-deep  { background: var(--kk-cream-deep); }
.section-midnight { background: var(--kk-midnight); color: var(--kk-midnight-fg); }
.section-title.small { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 28px; }
.section-title.light { color: var(--kk-cream); }
.section-midnight .section-title em { color: var(--kk-midnight-accent); }
.section-sub {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(28, 28, 28, 0.7);
}

/* ============== CARDS ============== */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: white;
  border: 1px solid var(--kk-line);
  border-radius: 4px;
  padding: 40px 32px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--kk-bronze); }
.card-num, .pillar-row .pillar-num {
  font-family: var(--kk-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--kk-bronze);
  margin-bottom: 22px;
}
.card h3, .pillar-row h3 {
  font-family: var(--kk-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.card p, .pillar-row p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(28, 28, 28, 0.72);
  margin: 0;
}

/* ============== PILLARS ============== */
.pillar-list { border-top: 1px solid var(--kk-line); }
.pillar-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--kk-line);
}
.pillar-row .pillar-num { margin: 8px 0 0; }
.pillar-row p { max-width: 680px; }
.pull-quote {
  margin: 64px 0 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--kk-bronze);
  font-family: var(--kk-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  max-width: 820px;
}

/* ============== TIMELINE ============== */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 190px;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--kk-line);
}
.tl-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 40px;
  padding: 18px 0;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 186px;
  top: 26px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--kk-cream);
  border: 1px solid var(--kk-bronze);
}
.tl-live::before { background: var(--kk-bronze); }
.tl-date {
  font-family: var(--kk-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kk-mute);
  padding-top: 4px;
  text-align: right;
}
.tl-live .tl-date { color: var(--kk-bronze-deep); }
.tl-tag {
  font-family: var(--kk-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kk-mute);
}
.tl-live .tl-tag { color: var(--kk-bronze); }
.tl-body h3 {
  font-family: var(--kk-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 4px 0 0;
}
.tl-body p {
  margin: 6px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(28, 28, 28, 0.72);
  max-width: 640px;
}
.tl-major .tl-body {
  background: var(--kk-graphite);
  color: var(--kk-cream);
  padding: 24px 28px;
  border-radius: 4px;
}
.tl-major .tl-body p { color: rgba(245, 240, 234, 0.78); }
.tl-major .tl-body strong { color: var(--kk-cream); }

/* ============== TWO-UP ============== */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--kk-line);
  font-size: 16.5px;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 23px;
  width: 14px; height: 1px;
  background: var(--kk-bronze);
}
.frame-note {
  margin-top: 72px;
  padding: 36px 40px;
  background: var(--kk-cream);
  border: 1px solid var(--kk-bronze);
  border-radius: 4px;
}
.frame-note p { margin: 0; font-size: 17px; line-height: 1.7; max-width: 860px; }

/* ============== ABOUT (újrahasznált) ============== */
.page-kepzes .about-grid { grid-template-columns: minmax(240px, 360px) 1fr; }

/* ============== PRICE ============== */
.price-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.price-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(241, 236, 227, 0.75);
  max-width: 480px;
  margin: 24px 0 0;
}
.price-card {
  background: var(--kk-cream);
  color: var(--kk-graphite);
  border-radius: 4px;
  padding: 40px 36px;
}
.price-amount {
  font-family: var(--kk-serif);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  color: var(--kk-bronze-deep);
}
.price-note {
  margin-top: 10px;
  font-family: var(--kk-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kk-mute);
}
.price-list { list-style: none; margin: 28px 0 32px; padding: 0; }
.price-list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--kk-line);
  position: relative;
  font-size: 15.5px;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 12px; height: 1px;
  background: var(--kk-bronze);
}

/* ============== APPLY ============== */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.step-list { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.step-list li {
  counter-increment: s;
  position: relative;
  padding: 0 0 26px 52px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(28, 28, 28, 0.78);
}
.step-list li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--kk-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--kk-bronze);
}
.step-list strong { color: var(--kk-graphite); font-weight: 500; }

.apply-form {
  background: white;
  border: 1px solid var(--kk-line);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span {
  font-family: var(--kk-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kk-mute);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--kk-line);
  border-radius: 4px;
  background: var(--kk-cream);
  color: var(--kk-graphite);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--kk-bronze);
  background: white;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--kk-rust); }
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(28, 28, 28, 0.75);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--kk-bronze); }
.consent.invalid span { color: var(--kk-rust); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.apply-form button[disabled] { opacity: .6; cursor: progress; }
.form-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
  background: var(--kk-cream-deep);
}
.form-note[data-tone="error"]   { color: var(--kk-rust); }
.form-note[data-tone="success"] { background: var(--kk-graphite); color: var(--kk-cream); }

/* ============== FAQ ============== */
.faq-wrap .section-head { margin-bottom: 40px; }
.faq { border-top: 1px solid var(--kk-line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--kk-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: var(--kk-serif);
  font-size: 24px;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 18px;
  font-family: var(--kk-mono);
  font-size: 20px;
  color: var(--kk-bronze);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(28, 28, 28, 0.75);
  max-width: 760px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 880px) {
  .card-grid-3, .two-up, .price-wrap, .apply-grid { grid-template-columns: 1fr; }
  .page-kepzes .about-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 4px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .tl-item::before { left: 0; top: 24px; }
  .tl-date { text-align: left; }
  .pillar-row { grid-template-columns: 1fr; gap: 6px; }
  .frame-note { padding: 28px 24px; }
}
@media (max-width: 560px) {
  .page-kepzes .nav-link { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero-facts li { min-width: calc(50% - 5px); flex: 1 1 calc(50% - 5px); }
  .page-kepzes .hero { padding-top: 120px; }
  .faq summary { font-size: 21px; }
}

/* ============== NYÍLT ÓRA / KÉSŐI CSATLAKOZÁS ============== */
#nyilt-ora .section-sub { margin-bottom: 24px; }
#nyilt-ora .check-list { margin-bottom: 8px; }
.late-note {
  margin: 8px 0 0;
  padding: 18px 20px;
  border-left: 2px solid var(--kk-bronze);
  background: var(--kk-cream-deep);
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(28, 28, 28, 0.78);
}
.late-note strong { color: var(--kk-graphite); font-weight: 500; }
