/* HVML Akadémia: kezdőlapi sáv és az /akademia oldal */
.hv-academy,
.hv-academy-banner {
  --hv-red: #e10600;
  --hv-card: #1c1c1c;
  --hv-line: rgba(255, 255, 255, 0.09);
}

.hv-academy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background: var(--hv-red);
  border: 0;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hv-academy-btn:hover {
  color: #fff;
  background: #ff1a14;
  transform: translateX(3px);
}

.hv-academy-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Kezdőlapi sáv */
.hv-academy-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 3rem;
  padding: 22px 26px;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.035) 0 14px, transparent 14px 28px),
    linear-gradient(100deg, #2a0705 0%, #1c1c1c 60%);
  border: 1px solid rgba(225, 6, 0, 0.45);
  border-left: 4px solid var(--hv-red);
  border-radius: 8px;
}

.hv-academy-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff5a55;
}

.hv-academy-banner__title {
  margin: 0 0 4px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.hv-academy-banner__text {
  margin: 0;
  font-size: 0.95rem;
  color: #c4c4c4;
}

/* Akadémia oldal */
.hv-academy__hero {
  padding: 72px 0 64px;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.03) 0 18px, transparent 18px 36px),
    linear-gradient(110deg, #2a0705 0%, #151515 55%, #0a0a0a 100%);
  border-bottom: 1px solid var(--hv-line);
}

.hv-academy__hero-inner {
  max-width: 760px;
  padding-left: 22px;
  border-left: 4px solid var(--hv-red);
}

.hv-academy__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hv-red);
  border-radius: 3px;
}

.hv-academy__title {
  margin: 0 0 16px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.03;
  color: #fff;
  text-wrap: balance;
}

.hv-academy__lead {
  margin: 0 0 26px;
  max-width: 60ch;
  font-size: 1.12rem;
  line-height: 1.6;
  color: #d0d0d0;
}

.hv-academy__section {
  padding: 56px 0;
}

.hv-academy__section--alt {
  background: #0d0d0d;
}

.hv-academy__h2 {
  margin: 0 0 28px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #fff;
}

.hv-academy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hv-topic {
  padding: 22px;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
}

.hv-topic__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  font-size: 1.15rem;
  color: #fff;
  background: rgba(225, 6, 0, 0.18);
  border: 1px solid rgba(225, 6, 0, 0.45);
  border-radius: 6px;
}

.hv-topic__title,
.hv-step__title {
  margin: 0 0 8px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.hv-topic p,
.hv-step p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.55;
  color: #bdbdbd;
}

.hv-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hv-step;
}

.hv-step {
  position: relative;
  padding: 20px 20px 20px 72px;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
  counter-increment: hv-step;
}

.hv-step::before {
  content: counter(hv-step);
  position: absolute;
  left: 20px;
  top: 18px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hv-red);
}

/* Jelentkezési űrlap */
.hv-apply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: start;
  scroll-margin-top: calc(var(--header-stack-height, 170px) + 16px);
}

.hv-apply__intro p {
  font-size: 1rem;
  line-height: 1.6;
  color: #c4c4c4;
}

.hv-apply__note {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 0.93rem;
  color: #d0d0d0;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 6px;
}

.hv-apply__note i {
  margin-top: 3px;
  color: #8f9bff;
}

.hv-form {
  padding: 26px;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
}

.hv-form__honeypot {
  display: none;
}

.hv-field {
  margin-bottom: 18px;
}

.hv-field label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e6e6e6;
}

.hv-field label small {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #8f8f8f;
}

.hv-field input,
.hv-field select,
.hv-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 1rem;
  color: #fff;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hv-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hv-field input::placeholder,
.hv-field textarea::placeholder {
  color: #6f6f6f;
}

.hv-field input:focus,
.hv-field select:focus,
.hv-field textarea:focus {
  outline: none;
  border-color: var(--hv-red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.25);
}

.hv-field .is-invalid {
  border-color: #ff5a55;
}

.hv-field__error {
  margin-top: 5px;
  font-size: 0.88rem;
  color: #ff7a75;
}

.hv-form__submit {
  width: 100%;
}

.hv-alert {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  color: #d7f5e3;
  background: rgba(25, 135, 84, 0.18);
  border: 1px solid rgba(25, 135, 84, 0.5);
  border-radius: 6px;
}

@media (max-width: 991.98px) {
  .hv-academy__grid,
  .hv-steps {
    grid-template-columns: 1fr;
  }

  .hv-apply {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .hv-academy-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .hv-academy__hero {
    padding: 44px 0 40px;
  }

  .hv-academy__hero-inner {
    padding-left: 16px;
  }

  .hv-academy__section {
    padding: 40px 0;
  }

  .hv-form {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hv-academy-btn {
    transition: none;
  }

  .hv-academy-btn:hover {
    transform: none;
  }
}
