/* Regisztráció page – hero, form section, contact block */

/* Hero (Figma "Regisztracio hero": pad 80/90/90, gap 24, centered) */
.reg-hero {
  margin-top: 10px; /* Figma frame gap between header and hero */
  background: #0a0a14 url("../img/hero-regisztracio-768.webp") center / cover no-repeat;
  background-image: image-set(url("../img/hero-regisztracio-768.webp") 1x, url("../img/hero-regisztracio-1440.webp") 2x);
  color: var(--c-white);
  text-align: center;
}
.reg-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 48px 56px; }
.reg-hero__title { display: flex; flex-direction: column; gap: 24px; padding-bottom: 24px; }
.reg-hero__title h1 { text-transform: uppercase; }
.reg-hero__intro { max-width: 832px; margin-inline: auto; font-weight: 600; font-size: 17px; line-height: 1.3; } /* Mobil/Alcím 17/22.1 */
.reg-hero__intro p + p { margin-top: 12px; } /* p margins are reset globally */
.reg-hero__cards { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 690px; text-align: left; }
.reg-card { flex: 1; display: flex; flex-direction: column; gap: 24px; padding: 32px 24px; background: var(--c-primary); }
.reg-card p { color: var(--c-white); }
.reg-card__icon {
  display: grid; place-items: center;
  width: 59.6px; height: 59.6px; border-radius: 50%;
  background: rgba(254, 244, 241, .2); color: var(--c-white);
}
.reg-card p.t-body-l { font-size: 18px; line-height: 1.6; }

/* Form section (Figma "Urlap": pad 80/90, gap 24, column 690) */
.reg-form__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 48px; }
.reg-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; color: var(--c-navy); }
.reg-head__kicker { color: var(--c-primary); }
.reg-head__sub, .reg-head h2 { color: var(--c-navy); }
.reg-col { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 690px; }

.reg-info { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 6px; background: var(--c-light); }
.reg-info h3 { color: var(--c-navy); }
.reg-info dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.reg-info dl > div { display: flex; flex-direction: column; gap: 2px; }
.reg-info dt { font-weight: 700; color: var(--c-navy); }
.reg-info dd { margin: 0; }

.reg-lead { color: var(--c-navy); font-weight: 600; }
.reg-iframe {
  display: block; width: 100%; height: 1800px; border: 0; border-radius: 6px; background: var(--c-white);
}
.reg-fallback { text-align: center; }
.reg-fallback a { color: var(--c-primary); }

/* Contact block */
.reg-contact__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 48px; text-align: center; color: var(--c-navy); }
.reg-contact__list { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.reg-contact__list li { display: flex; align-items: center; gap: 10px; }
.reg-contact__list .ico { color: var(--c-primary); }
.reg-contact__list a { text-decoration: none; }
.reg-contact__list a:hover { text-decoration: underline; }

@media (min-width: 700px) { .reg-iframe { height: 1460px; } }

@media (min-width: 768px) {
  .reg-hero { background-image: url("../img/hero-regisztracio-1440.webp"); }
  .reg-hero { background-image: image-set(url("../img/hero-regisztracio-1440.webp") 1x, url("../img/hero-regisztracio-2880.webp") 2x); }
  .reg-hero__inner { padding-block: 64px 72px; }
  .reg-hero__intro { font-size: 17px; }
  .reg-hero__cards { flex-direction: row; }
  .reg-card { padding: 40px; }
  .reg-card p.t-body-l { font-size: 20px; }
  .reg-form__inner { padding-block: 64px; }
  .reg-info dl > div { flex-direction: row; gap: 16px; }
  .reg-info dt { flex: 0 0 140px; }
}

@media (min-width: 1024px) {
  .reg-hero__inner { padding-block: 80px 90px; }
  .reg-form__inner { padding-block: 80px; }
  .reg-contact__inner { padding-block: 64px; }
}
