/* ==========================================================================
   Klinikai vizsgálatok landing (2-es típusú diabétesz) — lap-specifikus réteg
   Az első handoff lapja; többlépéses (intro → kérdések → eredmény) kérdőívvel.
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */

.hero-dots-1 { right: 4%; top: 8%; width: 190px; height: 130px; opacity: 0.9; }
.hero-dots-2 { left: 44%; bottom: 6%; width: 170px; height: 110px; opacity: 0.9; }
.hero-dots-3 { right: -18px; top: 26px; width: 150px; height: 100px; }

.hero-grid {
  padding-top: 84px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 540px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-ekg {
  width: 100%;
  max-width: 520px;
  height: 40px;
  margin-top: 38px;
  display: block;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.stat-num {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-3);
}

/* --- Aktuális vizsgálatok ------------------------------------------------- */

.section-trials {
  padding-top: 72px;
  padding-bottom: 40px;
}

.trials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trial-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.badge-recruiting {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.trial-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.trial-details {
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 15px;
}

.trial-details dt {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.trial-details dd {
  margin: 0;
  color: var(--ink-3);
  line-height: 1.6;
  font-family: var(--font-body);
}

.trial-footer {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.trial-duration {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-body);
}

.soon-card {
  border: 1.5px dashed var(--border-dashed);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  background: var(--mint-panel);
}

.soon-heart {
  font-size: 26px;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.soon-card h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.soon-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #6d7a86;
  margin: 0;
}

/* --- Hogyan működik (menta sáv, fehér kártyák) ---------------------------- */

.section-steps {
  position: relative;
  margin-top: 60px;
}

.steps-band {
  background: var(--mint);
  position: relative;
  overflow: hidden;
}

.steps-dots { right: 6%; top: 30px; width: 160px; height: 100px; opacity: 0.9; }

.steps-inner {
  padding-top: 40px;
  padding-bottom: 72px;
  position: relative;
}

.steps-inner .section-head { margin-bottom: 44px; }

.steps-band .step-card {
  background: #fff;
  box-shadow: var(--shadow-soft);
}

/* --- Kérdőív-szekció ----------------------------------------------------- */

.form-dots { left: -40px; bottom: -30px; width: 150px; height: 100px; opacity: 0.5; }

.form-grid {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  position: relative;
}

.form-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.quiz-noscript {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: auto 0;
}

/* Kérdőív — intro fázis */

.quiz-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: auto 0;
}

.quiz-intro h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}

.disease-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1.5px solid var(--border-input);
  background: #fff;
  color: var(--nav-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.chip:hover { border-color: var(--blue); }

.chip.selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.quiz-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}

.btn-quiz {
  background: var(--cta-gradient);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 15px 28px;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
}

.btn-quiz:hover:not(:disabled) { filter: brightness(1.08); }

.btn-quiz:disabled {
  background: var(--cta-disabled);
  cursor: not-allowed;
}

/* Kérdőív — kérdések fázis */

.quiz-questions {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.progress-track {
  height: 6px;
  background: #e8f0ee;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2f6bd9, #3fc1c9);
  border-radius: 999px;
  transition: width 0.3s;
}

.quiz-question {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  text-wrap: pretty;
}

.quiz-number-input {
  font-family: inherit;
  font-size: 17px;
  padding: 13px 16px;
  border: 1.5px solid var(--border-input);
  border-radius: 8px;
  width: 200px;
}

.quiz-number-input:focus {
  border-color: var(--blue);
  outline: none;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  text-align: left;
  border: 1.5px solid var(--border-option);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.quiz-option:hover { border-color: var(--blue); }

.quiz-option.selected {
  border-color: var(--blue);
  background: var(--option-selected);
}

.quiz-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-back {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 10px 0;
}

.quiz-back:hover { color: var(--ink-2); }

.quiz-next {
  background: var(--cta-gradient);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 26px;
  border-radius: 8px;
  cursor: pointer;
}

.quiz-next:hover:not(:disabled) { filter: brightness(1.08); }

.quiz-next:disabled {
  background: var(--cta-disabled);
  cursor: not-allowed;
}

/* Kérdőív — eredmény fázis */

.quiz-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: auto 0;
  text-align: center;
  align-items: center;
}

.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.quiz-result h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.result-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0;
  max-width: 400px;
}

.quiz-restart {
  background: none;
  border: 1.5px solid var(--border-input);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 6px;
}

.quiz-restart:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* --- Érthetően ----------------------------------------------------------- */

.section-plain {
  padding-top: 80px;
  padding-bottom: 40px;
}

.plain-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.plain-grid h2 { margin-bottom: 16px; }

.section-plain .fact-row { background: var(--mint-panel); }

/* --- Orvosoknak (menta kártya) ------------------------------------------- */

.section-doctors {
  padding-top: 40px;
  padding-bottom: 90px;
}

.doctors-card-mint { background: var(--mint); }

.doctors-card-mint .doctors-copy p { color: var(--ink-2); }
.doctors-card-mint .doctors-email { color: var(--ink); }
.doctors-card-mint .doctors-dots { opacity: 0.8; }

.doctors-dots { right: 30px; top: 24px; width: 130px; height: 80px; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid,
  .form-grid,
  .plain-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-grid {
    padding-top: 56px;
    padding-bottom: 72px;
  }

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

@media (max-width: 640px) {
  .hero-stats { gap: 22px; }
  .trial-card, .soon-card { padding: 26px 22px; }
}
