:root {
  --dark: #17181E;
  --text: #2b2c33;
  --muted: #747577;
  --accent: #D73A42;
  --soft: #FDF3F3;
  --card: #F3F3F4;
  --line: #ececee;
  --font: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Cantarell, "Fira Sans", "Helvetica Neue", Arial, sans-serif;
  --entry: 44rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; }
body { margin: 0; font-family: var(--font); color: var(--text); font-size: 1.0625rem; line-height: 1.7; background: #fff; }
a { color: inherit; }
h1, h2, h3 { color: var(--dark); line-height: 1.25; }

/* Felső sáv */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 10; background: rgba(23,24,30,.82); backdrop-filter: blur(6px); }
.topbar__inner { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; height: 3.25rem; display: flex; align-items: center; justify-content: space-between; }
.logo { color: #fff; text-decoration: none; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu { display: flex; gap: 1.4rem; }
.menu a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: .78rem; letter-spacing: .02em; opacity: .9; }
.menu a:hover { opacity: 1; color: #FFC074; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; padding: .3rem .7rem; font: inherit; font-size: .8rem; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: min(72vh, 640px); display: flex; align-items: flex-end; background: linear-gradient(160deg, #2a2b33 0%, #17181E 70%); overflow: hidden; color: #fff; }
.hero__blobs .b { position: absolute; border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; filter: blur(2px); opacity: .55; }
.b1 { width: 34vw; height: 30vw; left: -6vw; bottom: -8vw; background: #c7363e; }
.b2 { width: 26vw; height: 24vw; left: 22vw; bottom: -10vw; background: #e7b43a; }
.b3 { width: 28vw; height: 24vw; left: 44vw; bottom: -6vw; background: #2f7f86; }
.b4 { width: 30vw; height: 27vw; right: -4vw; bottom: -9vw; background: #2c3f7a; }
.b5 { width: 16vw; height: 16vw; right: 14vw; top: 14vh; background: #F6DC90; opacity: .18; filter: blur(30px); }
.hero--photo { background: #17181E url("hero.jpg") center 60% / cover no-repeat; background-image: image-set(url("hero.webp") type("image/webp"), url("hero.jpg") type("image/jpeg")); }
.hero--photo .hero__blobs { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,30,.25) 0%, rgba(23,24,30,.55) 100%); }
.hero--photo::after { background: linear-gradient(180deg, rgba(23,24,30,.35) 0%, rgba(23,24,30,.45) 45%, rgba(23,24,30,.8) 100%); }
.hero__content { position: relative; z-index: 1; width: 100%; max-width: var(--entry); margin: 0 auto; padding: 7rem 1.25rem 4.5rem; }
.hero h1 { color: #FDEFEF; font-size: clamp(2.2rem, 5vw, 3rem); margin: 0 0 .4rem; font-weight: 700; }
.hero__sub { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 700; margin: 0 0 1rem; }
.hero__links { margin: 0; line-height: 1.8; }
.hero__links a { color: #fff; text-underline-offset: 3px; }
.hero__links a:hover { color: #FFC074; }

/* Idézet */
.wrap { max-width: 72rem; margin: 0 auto; padding: 3rem 1.25rem 0; }
.quote { margin: 0; background: var(--soft); border: 1px solid #f5d5d7; border-radius: 10px; padding: 2.5rem 1.5rem; text-align: center; }
.quote p { font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.35; color: var(--dark); max-width: 46rem; margin: 0 auto; }
.quote__line { display: block; width: 2.6rem; height: 2px; background: var(--accent); margin: 1.4rem auto 1rem; }
.quote cite { color: var(--muted); font-style: normal; font-size: .95rem; }

/* Szakaszok */
.section { padding: 4rem 1.25rem; }
.section--soft { background: #fafafa; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.entry { max-width: var(--entry); margin: 0 auto; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: 0 0 1.25rem; position: relative; padding-bottom: .8rem; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.6rem; height: 2px; background: var(--accent); }
.lead { font-size: 1.2rem; color: var(--dark); }

/* Kártyák */
.cards { max-width: 46rem; margin: 2rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.card { display: flex; align-items: center; gap: .9rem; background: var(--card); border-radius: 6px; padding: .95rem 1.1rem; line-height: 1.4; }
.card small { color: var(--muted); }
.ico { flex: 0 0 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; }
.ico svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--teal { background: #dbecee; color: #2f7f86; }
.ico--red { background: #f7dfe0; color: #c7363e; }
.ico--blue { background: #dfe3ef; color: #2c3f7a; }
.ico--yellow { background: #f6ecd2; color: #b7861a; }
.places { max-width: 46rem; margin: 1.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.place { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; padding: 1rem 1.2rem; }
.place h3 { margin: 0; font-size: 1.15rem; }
.place p { margin: .2rem 0 0; color: var(--muted); }

/* Idővonal */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.year { color: var(--accent); font-weight: 700; font-size: .95rem; padding-top: .15rem; }
.timeline h3 { margin: 0 0 .25rem; font-size: 1.12rem; }
.timeline p { margin: 0; }
.timeline .meta { color: var(--muted); font-size: .85rem; margin-top: .3rem; }

/* Listák */
.sub { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.sub:first-of-type { margin-top: .5rem; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding: .45rem 0 .45rem 1.4rem; }
.list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); opacity: .75; }
.list span { color: var(--muted); }

/* Kapcsolat */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact__item { display: flex; align-items: center; gap: .9rem; background: var(--card); border-radius: 6px; padding: 1rem 1.1rem; text-decoration: none; font-size: 1.1rem; color: var(--dark); }
.contact__item:hover { background: #ebebed; }
.contact__note { color: var(--muted); margin-top: 1.2rem; }

.footer { background: var(--dark); color: #9D9D9D; text-align: center; padding: 2.5rem 1.25rem; font-size: .9rem; }
.footer a { color: #CECBCB; }

@media (max-width: 860px) {
  .logo { font-size: 1rem; max-width: 75vw; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 3.25rem; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(23,24,30,.96); padding: .5rem 1.25rem 1rem; }
  .menu.open { display: flex; }
  .menu a { padding: .7rem 0; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 640px) {
  .cards, .places, .contact__grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: .2rem; }
  .hero { min-height: min(64vh, 560px); }
  .b1, .b2, .b3, .b4 { width: 55vw; height: 48vw; }
  .b2 { left: 30vw; } .b3 { left: 60vw; }
  .section { padding: 3rem 1.25rem; }
}
