/* ============================================================
   Magyar Egészség Piknik — style.css
   2. lépés: alapváz + fejléc/navigáció + hero szekció
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body, h1, h2, h3, p, ul, figure {
  margin: 0;
}

ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Design tokens ---------- */
:root {
  --navy: #1E3A52;
  --navy-dark: #122534;
  --maroon: #8F1D3A;
  --maroon-dark: #6B1529;
  --cream: #F5F1E8;
  --sand: #E8DFC8;
  --charcoal: #2A2620;
  --charcoal-soft: #5C574C;

  --container: 1180px;
  --header-h: 84px;
  --radius: 14px;

  --font-body: 'Montserrat', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Signature ribbon (checkerboard motif) ---------- */
.ribbon {
  height: 10px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--sand) 0% 50%);
  background-size: 10px 10px;
}

/* ============================================================
   Fejléc / navigáció
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: var(--navy);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(18, 37, 52, .28);
}

.site-header .container {
  min-height: var(--header-h);
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-width: 0;
}

.brand img {
  height: 62px;
  width: auto;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  line-height: 1.25;
  white-space: nowrap;
}

.brand-text small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: .85;
}

/* --- Desktop nav --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 2px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--maroon);
  transition: right .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.main-nav a:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
  border-radius: 2px;
}

/* --- Hamburger (mobile) --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--cream);
}

.nav-toggle .bars {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  position: relative;
}

.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-dark);
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(245, 241, 232, .1);
  }

  .main-nav a::after { display: none; }

  .nav-toggle { display: inline-flex; }
}

/* ============================================================
   Hero szekció
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(180deg, rgba(18, 37, 52, .15) 0%, rgba(18, 37, 52, .55) 55%, rgba(18, 37, 52, .92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 64px 56px;
  color: var(--cream);
}

.hero-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 24px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.hero-logo-lockup img {
  max-height: 88px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

.hero-logo-divider {
  align-self: stretch;
  width: 1px;
  background: rgba(42, 38, 32, .15);
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.01em;
  max-width: 16ch;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-bottom: 32px;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}

.hero-meta .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--sand);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--maroon);
  color: var(--cream);
}

.btn-primary:hover { background: var(--maroon-dark); }

.btn-ghost {
  border-color: rgba(245, 241, 232, .55);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(245, 241, 232, .12);
  border-color: var(--cream);
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--sand);
  opacity: .85;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { animation: none; }
  .schedule-item { transition: none; }
  .schedule-item:hover { transform: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 560px; }
  .hero-logo-lockup { padding: 12px 18px; gap: 14px; }
  .hero-logo-lockup img { max-height: 60px; }
  .hero-content { padding-block: 44px 40px; }
  .btn { padding: 13px 20px; font-size: 13px; }
}

/* ============================================================
   Közös szekció-elemek (eyebrow, cím, ribbon-elválasztó)
   ============================================================ */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 14px;
}

.section-divider {
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--sand) 0% 50%);
  background-size: 8px 8px;
}

/* ============================================================
   Célunk / bemutatkozó szekció
   ============================================================ */
.about {
  background: var(--sand);
  padding-block: 96px;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--cream) 0% 50%);
  background-size: 8px 8px;
}

.about-intro {
  max-width: 960px;
  margin-bottom: 56px;
}

.about-intro h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  max-width: 20ch;
}

.about-intro .lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal-soft);
  line-height: 1.75;
  max-width: 860px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  border: 1px solid rgba(42, 38, 32, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 58, 82, .1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(143, 29, 58, .1);
  color: var(--maroon);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal-soft);
  line-height: 1.65;
}

.honors-block {
  position: relative;
  margin-top: 32px;
  background: var(--navy);
  border-radius: 16px;
  padding: 44px 36px 40px;
  overflow: hidden;
  text-align: center;
}

.honors-ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--sand) 0% 50%);
  background-size: 6px 6px;
}

.honors-group {
  margin-bottom: 32px;
}

.honors-group:last-child {
  margin-bottom: 0;
}

.honors-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 22px;
}

.honors-people {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 40px;
}

.honors-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
}

.honors-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .14);
  color: #D4AF37;
  margin-bottom: 12px;
}

.honors-icon svg {
  width: 24px;
  height: 24px;
}

.honors-name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 4px;
}

.honors-role {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sand);
  opacity: .85;
  line-height: 1.4;
}

.honors-divider {
  width: 1px;
  height: 1px;
  max-width: 160px;
  margin: 0 auto 32px;
  border-top: 1px solid rgba(245, 241, 232, .15);
}

@media (max-width: 640px) {
  .honors-block { padding: 36px 24px 32px; }
  .honors-people { gap: 24px; }
  .honors-person { max-width: 140px; }
}

@media (max-width: 880px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .about { padding-block: 64px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Térkép / helyszín szekció
   ============================================================ */
.location {
  background: var(--cream);
  padding-block: 96px;
  position: relative;
}

.location::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--sand) 0% 50%);
  background-size: 8px 8px;
}

.location-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.location-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 18px;
  max-width: 16ch;
}

.location-info .lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal-soft);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 28px;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--charcoal);
}

.location-list .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--maroon);
}

.location-map {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(30, 58, 82, .14);
  line-height: 0;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 420px;
}

@media (max-width: 880px) {
  .location-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .location-map iframe { height: 320px; }
}

@media (max-width: 560px) {
  .location { padding-block: 64px; }
}

/* ============================================================
   Lábléc
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  position: relative;
}

.footer-ribbon {
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--sand) 0% 50%);
  background-size: 8px 8px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-block: 64px 40px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--sand);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h3 {
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sand);
}

.footer-col .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--sand);
  opacity: .85;
}

.footer-col a {
  color: var(--sand);
  transition: color .2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}

.footer-links li { padding: 0; }

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, .12);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(245, 241, 232, .6);
  margin: 0;
}

.footer-credit a {
  color: rgba(245, 241, 232, .8);
  font-weight: 600;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 52px 32px;
  }
}

/* ============================================================
   Partnerségi kiajánló oldal
   ============================================================ */

/* --- Cover --- */
.kiajanlo-cover {
  background: var(--navy);
  padding-block: 56px 72px;
  text-align: center;
}

.legal-back--light {
  color: var(--sand);
}

.legal-back--light:hover,
.legal-back--light:focus-visible {
  color: var(--cream);
}

.kiajanlo-cover-logo {
  height: 96px;
  width: auto;
  margin: 28px auto 22px;
}

.kiajanlo-cover .hero-eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}

.kiajanlo-cover h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}

.kiajanlo-year {
  font-size: 15px;
  font-weight: 500;
  color: var(--sand);
  opacity: .8;
  margin-bottom: 18px;
}

.kiajanlo-tagline {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 22px;
}

.kiajanlo-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--sand);
}

.kiajanlo-meta .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.kiajanlo-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--maroon);
  display: inline-block;
}

/* --- Általános szekció keret --- */
.kiajanlo-section {
  background: var(--cream);
  padding-block: 72px;
}

.kiajanlo-section--sand {
  background: var(--sand);
}

.kiajanlo-h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  max-width: 22ch;
}

.kiajanlo-lead {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--charcoal-soft);
  line-height: 1.75;
  max-width: 820px;
  margin-bottom: 32px;
}

/* --- Bemutatkozás --- */
.kiajanlo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.kiajanlo-text-block p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.75;
}

/* --- Statisztika sor --- */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 44px;
}

.stat-item {
  flex: 1 1 180px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(42, 38, 32, .06);
}

.stat-number {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* --- Elismerések / célok listák --- */
.achievements-list,
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.achievements-list li,
.goals-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
}

.achievements-list .icon {
  color: var(--maroon);
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
}

.goals-list .icon {
  color: #fff;
  background: var(--maroon);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  padding: 4px;
  flex: none;
}

/* --- Támogatói szintek --- */
.tier-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tier-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(42, 38, 32, .08);
  border-left: 6px solid var(--tier-color, var(--maroon));
  padding: 28px 32px;
}

.tier-card--top {
  box-shadow: 0 10px 28px rgba(143, 29, 58, .14);
}

.tier-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tier-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-dark);
}

.tier-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--tier-color, var(--maroon));
}

.tier-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-benefits li {
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.65;
}

.tier-benefits li strong {
  color: var(--navy-dark);
}

.tier-benefits .tier-inherited {
  font-size: 13px;
  font-style: italic;
  color: var(--charcoal-soft);
}

/* --- Kapcsolat kártya --- */
.kiajanlo-contact-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(42, 38, 32, .08);
  padding: 32px;
  max-width: 480px;
}

.contact-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.contact-role {
  font-size: 13.5px;
  color: var(--charcoal-soft);
  margin-bottom: 20px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.contact-list .icon {
  width: 19px;
  height: 19px;
  color: var(--maroon);
  flex: none;
}

.contact-list a {
  color: var(--navy-dark);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--maroon);
  text-decoration: underline;
}

@media (max-width: 880px) {
  .kiajanlo-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { flex-direction: column; }
}

@media (max-width: 560px) {
  .kiajanlo-cover { padding-block: 44px 56px; }
  .kiajanlo-cover-logo { height: 76px; }
  .kiajanlo-section { padding-block: 52px; }
  .tier-card { padding: 22px 22px; }
}

/* ============================================================
   Jogi oldalak (Impresszum, Adatkezelési tájékoztató)
   ============================================================ */
.legal-hero {
  background: var(--sand);
  padding-block: 48px 0;
  position: relative;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--cream) 0% 50%);
  background-size: 8px 8px;
}

.legal-hero .eyebrow { margin-bottom: 10px; }

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 14px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon-dark);
  margin-bottom: 20px;
}

.legal-back:hover { text-decoration: underline; }

.legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding-block: 56px 88px;
}

.legal-content .updated {
  font-size: 13px;
  color: var(--charcoal-soft);
  margin-bottom: 36px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 40px 0 14px;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.legal-content strong { color: var(--navy-dark); }

.legal-content .placeholder-note {
  background: rgba(143, 29, 58, .07);
  border: 1px dashed var(--maroon);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--maroon-dark);
  margin-bottom: 36px;
}

/* ============================================================
   Program szekció
   ============================================================ */
.program {
  background: var(--sand);
  padding-block: 96px;
  position: relative;
}

.program::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--cream) 0% 50%);
  background-size: 8px 8px;
}

.program-intro {
  max-width: 860px;
  margin-bottom: 48px;
}

.program-intro h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  max-width: 20ch;
}

.program-intro .lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal-soft);
  line-height: 1.75;
  max-width: 780px;
}

.program-venue {
  margin-bottom: 48px;
}

.program-venue:last-child {
  margin-bottom: 0;
}

.venue-title {
  display: inline-block;
  font-size: 19px;
  font-weight: 700;
  color: var(--maroon-dark);
  border-bottom: 2px solid var(--maroon);
  padding-bottom: 10px;
  margin-bottom: 22px;
}

/* --- Napirend lista (nagyszínpad) --- */
.schedule {
  background: #fff;
  border: 1px solid rgba(42, 38, 32, .08);
  border-radius: 12px;
  overflow: hidden;
}

.schedule-item {
  display: flex;
  gap: 24px;
  padding: 18px 24px;
  border-top: 1px solid rgba(42, 38, 32, .06);
  border-left: 5px solid transparent;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.schedule-item:first-child { border-top: none; }

.schedule-item:hover {
  transform: translateX(5px);
  box-shadow: -6px 0 16px rgba(30, 58, 82, .1);
  z-index: 1;
}

.schedule-time {
  flex: none;
  width: 110px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-dark);
  padding-top: 1px;
}

.schedule-content { flex: 1; }

.schedule-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 4px;
}

.schedule-detail {
  font-size: 13.5px;
  font-weight: 500;
  font-style: italic;
  color: var(--charcoal-soft);
}

.schedule-participants {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 4px;
}

.schedule-break {
  display: flex;
  justify-content: space-between;
  padding: 10px 24px;
  background: var(--cream);
  border-top: 1px solid rgba(42, 38, 32, .06);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.schedule-break span:last-child {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* --- Múzeumkert programok — workshop rács --- */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.workshop-card {
  background: #fff;
  border: 1px solid rgba(42, 38, 32, .08);
  border-radius: 12px;
  padding: 24px;
}

.workshop-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin-bottom: 6px;
}

.workshop-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}

.workshop-organizer {
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  color: var(--charcoal-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}

.workshop-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.time-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon-dark);
  background: rgba(143, 29, 58, .08);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .workshop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .schedule-item { flex-direction: column; gap: 6px; padding: 16px 18px; }
  .schedule-time { width: auto; }
  .schedule-break { padding: 10px 18px; }
  .workshop-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .program { padding-block: 64px; }
}

.program-note {
  margin-top: 32px;
  font-size: 13px;
  font-style: italic;
  color: var(--charcoal-soft);
  opacity: .85;
}

.program-callout {
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--cream);
  border-left: 4px solid var(--maroon);
  border-radius: 8px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
}

.program-callout p {
  margin: 0;
}

.program-callout p + p {
  margin-top: 8px;
}

.program-callout a {
  color: var(--maroon-dark);
  font-weight: 700;
  text-decoration: underline;
}

.program-sponsor {
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================================
   GYIK szekció
   ============================================================ */
.faq {
  background: var(--cream);
  padding-block: 96px;
  position: relative;
}

.faq::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--sand) 0% 50%);
  background-size: 8px 8px;
}

.faq-intro {
  max-width: 640px;
  margin-bottom: 40px;
}

.faq-intro h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(42, 38, 32, .08);
  border-radius: 12px;
  margin-bottom: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--maroon);
  transition: transform .2s ease;
}

.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--charcoal-soft);
  line-height: 1.7;
  max-width: 640px;
}

@media (max-width: 880px) {
  .faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .faq { padding-block: 64px; }
  .faq-item summary { font-size: 15px; padding: 16px 18px; }
  .faq-answer { padding: 0 18px 18px; }
}

/* ============================================================
   Partnerek / támogatók szekció
   ============================================================ */
.partners {
  background: var(--sand);
  padding-block: 96px;
  position: relative;
}

.partners::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--cream) 0% 50%);
  background-size: 8px 8px;
}

.partners-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.partners-intro h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}

.partners-intro .lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal-soft);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 14px;
}

.partners-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon-dark);
}

.partners-cta:hover,
.partners-cta:focus-visible {
  color: var(--maroon);
  text-decoration: underline;
}

.partner-tier {
  margin-bottom: 44px;
}

.partner-tier:last-child {
  margin-bottom: 0;
}

.partners-empty {
  font-size: 14px;
  font-style: italic;
  color: var(--charcoal-soft);
  opacity: .85;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Alap (nem kiemelt) partner csempe --- */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  border-radius: 10px;
  padding: 24px 36px;
  min-width: 190px;
  max-width: 260px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.partner-logo img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(30, 58, 82, .18);
}

/* --- Kiemelt partner csempe — jelentősen nagyobb --- */
.partners-grid--featured {
  gap: 24px;
}

.partner-logo--featured {
  padding: 34px 56px;
  min-width: 300px;
  max-width: 460px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(30, 58, 82, .12);
}

.partner-logo--featured img {
  max-height: 108px;
  max-width: 100%;
  width: auto;
  height: auto;
}

@media (max-width: 560px) {
  .partners { padding-block: 64px; }
  .partner-logo--featured { min-width: 220px; padding: 26px 36px; }
  .partner-logo--featured img { max-height: 80px; }
}

/* --- Szöveges partnerlista (logó nélkül) --- */
.partners-grid--text {
  gap: 10px;
}

.partner-name {
  display: inline-flex;
  align-items: center;
  background: var(--navy-dark);
  color: var(--cream);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.005em;
}

.partner-name--featured {
  font-size: 18px;
  font-weight: 800;
  padding: 13px 26px;
  background: var(--maroon-dark);
}

@media (max-width: 560px) {
  .partner-name--featured { font-size: 16px; padding: 11px 20px; }
}

/* --- Világos (fehér) partner csempe — színes/fekete logókhoz --- */
.partner-logo--light {
  background: #fff;
  border: 1px solid rgba(42, 38, 32, .08);
  box-shadow: 0 2px 8px rgba(30, 58, 82, .06);
}

.partner-logo--light:hover,
.partner-logo--light:focus-visible {
  box-shadow: 0 10px 24px rgba(30, 58, 82, .14);
}

/* ============================================================
   Süti (cookie) consent sáv
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--navy-dark);
  border-top: 3px solid var(--maroon);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-block: 20px;
}

.cookie-banner__inner p {
  font-size: 13.5px;
  color: var(--sand);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.cookie-banner__inner p a {
  color: var(--cream);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex: none;
}

.cookie-banner__actions .btn {
  padding: 11px 22px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .cookie-banner__inner { padding-block: 18px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; text-align: center; justify-content: center; }
}

/* --- Süti beállítások gomb a láblábban (linkként stílusozva) --- */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--sand);
  cursor: pointer;
  transition: color .2s ease;
}

.footer-link-btn:hover,
.footer-link-btn:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}

/* --- Térkép consent-placeholder --- */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  background: var(--sand);
  min-height: 420px;
  justify-content: center;
}

.map-placeholder p {
  font-size: 14px;
  color: var(--charcoal-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

@media (max-width: 880px) {
  .map-placeholder { min-height: 320px; padding: 28px; }
}

/* ============================================================
   Közérdekű közlemény
   ============================================================ */
.public-notice {
  background: var(--sand);
  padding-block: 40px;
  position: relative;
}

.public-notice::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-conic-gradient(var(--maroon) 0% 25%, var(--cream) 0% 50%);
  background-size: 8px 8px;
}

.public-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.public-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(143, 29, 58, .1);
  color: var(--maroon);
}

.public-notice-icon svg {
  width: 22px;
  height: 22px;
}

.public-notice h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.public-notice p {
  font-size: 13.5px;
  color: var(--charcoal-soft);
  line-height: 1.7;
  max-width: 900px;
}

.public-notice p a {
  color: var(--maroon-dark);
  font-weight: 600;
}

.public-notice p a:hover,
.public-notice p a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .public-notice { padding-block: 32px; }
  .public-notice-inner { gap: 14px; }
  .public-notice-icon { width: 38px; height: 38px; }
  .public-notice-icon svg { width: 18px; height: 18px; }
}

/* --- Múzeumkert sávok (AB/C/D/E terület) --- */
.track-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.track-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--maroon-dark);
  margin-bottom: 12px;
}

.schedule--compact .schedule-item {
  padding: 14px 20px;
}

.schedule--compact .schedule-time {
  width: 100px;
}
