/* Kérdezz-felelek landing
   Stílus: Monte (refero styles): teljes szélességű színmező a hero-ban, utána meleg törtfehér
   olvasófelület, árnyék és színátmenet nélkül, ritkított nagybetűs szakaszcímkék, pirula gombok.
   Színek: a Szintetizátoriskola Klub-oldal palettája. Rózsaszín árnyalat sehol. */

:root {
  /* Márkaszínek (szintetizatoriskola.hu/klub) */
  --red: #B23A48;          /* Klub-piros: hero-mező, gomb, címsorok */
  --red-dark: #8E2D39;     /* sötétebb árnyalat: hover */
  --red-deep: #6E222C;     /* legmélyebb árnyalat: fókuszkeret, apró díszítés */
  --slate: #3A3F55;        /* palaszürke: címsorok, alcímek */
  --text: #363B3C;         /* folyó szöveg */
  --text-soft: #4E5455;    /* másodlagos szöveg (jól olvasható) */

  /* Semleges felületek (nem rózsaszínes) */
  --cream: #F7F5F1;        /* fő olvasófelület: semleges, alig meleg törtfehér */
  --cream-2: #ECE9E3;      /* fotóhely */
  --line: #DDD8CD;         /* vékony elválasztó */
  --white: #FFFFFF;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --text-body: 20px;
  --text-lead: 22px;
  --text-h3: 25px;
  --text-h2: clamp(30px, 4.4vw, 42px);
  --text-display: clamp(38px, 6.6vw, 68px);

  --radius-card: 4px;
  --radius-pill: 4px;

  --max: 1320px;
  --narrow: 780px;
  --gap-section: clamp(72px, 9vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); }

h1, h2, h3 { margin: 0; }
p { margin: 0 0 20px; }

/* Elrendezés */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: var(--narrow); }
.section { margin-top: var(--gap-section); }
.center { text-align: center; }
.prose { text-align: left; }
.strong { font-weight: 700; color: var(--slate); }

/* Elválasztó vonal két szakasz között */
.divider { border: 0; border-top: 2px solid var(--line); margin: var(--gap-section) 0 0; }

/* Szakaszcímke (Monte: ritkított nagybetűs „pecsét”) */
.eyebrow {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow--light { color: var(--white); opacity: .92; }
.eyebrow--left { text-align: left; }

h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--red);
  margin-bottom: 36px;
}
h3 { font-size: var(--text-h3); font-weight: 700; line-height: 1.3; color: var(--slate); }

/* HERO: teljes szélességű piros mező */
.hero {
  background: var(--red);
  color: var(--white);
  min-height: 92vh;
  display: flex; flex-direction: column;
  padding: 28px 20px 72px;
}
/* Fejléc: szöveg balra, kép jobbra, egyforma széles és magas oszlopok */
.hero__grid {
  flex: 1;
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: stretch;
  padding-top: 48px;
}
.hero__grid .hero__inner { padding-top: 0; align-items: flex-start; text-align: left; max-width: none; margin: 0; }
.hero__grid .meta { justify-content: center; align-self: stretch; }
.hero .eyebrow--light { font-size: clamp(17px, 2vw, 22px); }
.hero__grid h1 { font-size: clamp(36px, 4.4vw, 60px); }
.hero__photo { position: relative; min-height: 380px; margin: 0; }
.hero__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 35%;
  border-radius: var(--radius-card);
}
.hero__bar { display: flex; justify-content: center; }
.logo { width: 320px; height: auto; }
.logo--light { filter: brightness(0) invert(1); }
.hero__inner {
  flex: 1;
  max-width: 940px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding-top: 48px;
}
.hero__heart { width: 76px; margin-bottom: 28px; filter: brightness(0) invert(1); }
.hero h1 {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__sub {
  margin: 18px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__lead { font-size: var(--text-lead); max-width: 700px; margin: 28px auto 0; }
.hero__note { font-size: 18px; margin: 24px 0 0; opacity: .92; }

/* Adatsor (időpont, hossz, ár) */
.meta {
  list-style: none; padding: 0; margin: 36px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.meta li {
  border: 1.5px solid rgba(255,255,255,.75);
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  font-size: 19px; font-weight: 600;
}

/* Gombok: pirula forma, telt kitöltés (idős olvasónak egyértelműbb, mint a körvonalas) */
.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 21px;
  padding: 18px 48px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.btn--light { background: var(--white); color: var(--red); border: 0; }
.hero__grid .btn { align-self: center; }
/* A szövegoszlop teteje és alja a fotó széleihez igazodik */
.hero__grid .hero__inner { justify-content: space-between; }
.hero__grid .hero__inner > * { margin-top: 0; margin-bottom: 0; }
.hero__grid .hero__inner { gap: 22px; }
/* Elválasztó vonal a fejléc sorai között: balra igazítva, a hasáb felének szélességében */
.hero__rule { border: 0; border-top: 1.5px solid rgba(255,255,255,.6); width: 50%; align-self: flex-start; margin: 0; }
@media (max-width: 900px) { .hero__rule { align-self: center; } } /* mobilon ez a minimális térköz */
.btn--light:hover, .btn--light:focus-visible { background: var(--cream); color: var(--red-dark); }
.btn:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }

/* Fotóhelyek (Monte: a fotó sarka nem kerekített) */
.photo {
  background: var(--cream-2);
  border: 1.5px dashed var(--slate);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  color: var(--text-soft);
  font-size: 18px; font-weight: 600;
}
/* Képernyőkép 16:9; a „széles” fotó se legyen nagyobb a szövegoszlopnál */
.photo { aspect-ratio: 16 / 9; }
.photo--wide { max-width: 760px; margin: 64px auto 0; }

/* Rólam: portré + szöveg */
.about {
  display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 56px;
  align-items: stretch;
  grid-template-columns: 1fr 1fr;
}
.portrait { margin: 0; position: relative; }
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius-card);
}
.about h2 { text-align: left; }

/* Lépések */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}
.card .num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 3px;
  background: var(--slate); color: var(--white);
  font-weight: 800; font-size: 20px;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-soft); margin: 0; }
.card--note {
  text-align: left;
  background: var(--slate);
  border: 0;
  border-radius: var(--radius-card);
  padding: 36px 40px;
}
.card--note h3 { color: var(--white); font-size: clamp(24px, 2.6vw, 30px); }
.card--note p { color: var(--white); font-size: var(--text-lead); opacity: .95; }

/* Kép + szöveg pár */
.pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  margin-top: 80px;
}
.pair--reverse > :first-child { order: 2; }

/* Kép és szöveg egyforma magas: a kép kitölti a szöveg magasságát */
.pair { align-items: stretch; }
.pair .photo { aspect-ratio: 16 / 9; height: auto; min-height: 0; align-self: center; }
.pair--video { align-items: center; }
/* Valódi fotó a fotóhely helyén: 16:9, keret és háttér nélkül */
.photo.photo--img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 0; background: none; }
.pair--video .video { margin-top: 0; }
.pair__title { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; color: var(--red); margin-bottom: 20px; line-height: 1.15; }
.pair__text p:last-child { margin-bottom: 0; }
.section > .pair:first-child { margin-top: 0; }

/* Témacímkék */
.tags {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.tags li {
  border: 1.5px solid var(--slate);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 19px; font-weight: 600; color: var(--slate);
}

.tags--left { justify-content: flex-start; margin-bottom: 0; }
.tags li { white-space: nowrap; }
@media (max-width: 600px) { .tags li { white-space: normal; } }
.note-wide { margin-top: 48px; }

/* Tudnivalók */
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li {
  position: relative;
  padding: 20px 0 20px 44px;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute; left: 2px; top: 27px;
  width: 22px; height: 22px; border-radius: 3px;
  background: var(--slate);
}
.checklist li::after {
  content: "";
  position: absolute; left: 9px; top: 31px;
  width: 6px; height: 11px;
  border: solid var(--white); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.checklist strong { color: var(--slate); }

/* Aláírás */
.sign { font-weight: 700; color: var(--slate); margin-top: 36px; }
.sign span { font-weight: 400; color: var(--text-soft); }

/* Videó */
.video {
  position: relative; aspect-ratio: 16 / 9;
  margin-top: 36px; background: var(--slate);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* GY.I.K. */
.faq { border-top: 1.5px solid var(--slate); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 24px 56px 24px 0;
  font-weight: 700; font-size: 21px; color: var(--slate);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 3px;
  border: 1.5px solid var(--red); color: var(--red);
  display: grid; place-items: center;
  font-weight: 600; font-size: 24px; line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--red); color: var(--white); }
.faq details p { padding: 0 0 24px; margin: 0; color: var(--text-soft); }

/* JELENTKEZÉS: záró piros mező */
.final {
  background: var(--red);
  color: var(--white);
  margin-top: var(--gap-section);
  padding: 96px 20px;
}
.final__inner { max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { color: var(--white); margin-bottom: 24px; }
/* A két dátumdoboz egyforma széles */
.final .meta { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 420px; }
.final .meta li { text-align: center; padding: 12px 22px; font-size: 20px; font-weight: 700; }
.final .meta li span { display: block; font-size: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
@media (max-width: 600px) { .final .meta { grid-template-columns: 1fr; } }
.final__lead { font-size: var(--text-lead); max-width: 700px; margin: 0; }
.form-slot {
  width: 100%;
  background: var(--cream);
  color: var(--text-soft);
  border-radius: var(--radius-card);
  min-height: 240px;
  display: grid; place-items: center;
  font-weight: 600;
}

/* SIO Form widget a jelentkezési mezőben. A színeit a HTML-ben, a .siofw elem
   style attribútumában kapja (a bővítmény csak onnan fogadja el őket). */
.form-slot { display: block; padding: 36px 40px; text-align: left; min-height: 0; }
@media (max-width: 600px) { .form-slot { padding: 24px 18px; } }

/* Jelentkezés két hasábban: balra a szöveg, jobbra az űrlap, egyforma széles oszlopok */
.final__grid {
  max-width: var(--max); padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; text-align: left;
}
.final__text { display: flex; flex-direction: column; align-items: flex-start; }
.final__text .hero__heart { margin-left: 0; }
.final__text .meta { max-width: 420px; }
.final__text .final__lead { margin-bottom: 32px; }
.final__text .meta { margin: 0 0 8px; align-self: center; }
.final__grid .form-slot { margin-top: 0; }
@media (max-width: 900px) {
  .final__grid { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .final__text { align-items: center; text-align: center; }
  .final__text .hero__heart { margin: 0 auto 28px; }
}

/* Lábléc */
/* A Klub-oldal láblécéhez igazítva: palaszürke sáv, fehér szöveg, logó nélkül */
.foot {
  background: var(--slate);
  min-height: 70px;
  padding: 0 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px;
  font-family: 'Epilogue', sans-serif;
  font-size: 16px; font-weight: 400;
  color: var(--white);
}
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; }

/* Mobil */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; gap: 32px; }
  .pair--reverse > :first-child { order: 0; }
  .pair .photo { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .hero__grid .hero__inner { align-items: center; text-align: center; }
  .hero__grid .meta { justify-content: center; }
  .hero__photo { min-height: 0; aspect-ratio: 1 / 1; }
  .portrait { max-width: 300px; margin: 0 auto; width: 100%; }
  .portrait img { position: static; height: auto; }
}
@media (max-width: 600px) {
  :root { --text-body: 19px; --text-lead: 20px; }
  .hero { min-height: auto; padding-bottom: 56px; }
  .logo { width: 250px; }
  .btn { display: block; width: 100%; padding: 18px 24px; text-align: center; }
  .card { padding: 26px; }
  .final { padding: 72px 20px; }
  .eyebrow { font-size: 15px; letter-spacing: 0.1em; }
}
