/* ============================================================
   GreenZacc – design tokens
============================================================ */
:root {
  --green-deep: #3c6f2d;
  --green: #4d933a;
  --green-bright: #81b03c;
  --gold: #db9d26;
  --brown: #793e1e;
  --brown-deep: #32241b;
  --cream: #faf3e7;
  --cream-soft: #f3ead9;
  --paper: #fffdf9;
  --ink: #2a2118;
  --ink-soft: #5c5044;

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 30px 60px -30px rgba(50, 36, 27, 0.35);
  --shadow-card: 0 20px 40px -24px rgba(50, 36, 27, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip (not hidden/auto) avoids turning body into a second scroll container —
     that would break position:sticky containment (e.g. the timeline markers). */
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--brown-deep);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

em { font-style: italic; color: var(--green-deep); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.eyebrow.center { display: flex; width: max-content; justify-content: center; margin-left: auto; margin-right: auto; }
.eyebrow-light { color: var(--green-bright); }

.section-lead {
  max-width: 620px;
  font-size: 1.08rem;
}

/* subtle paper grain — barely visible, adds texture instead of a generic AI glow */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Icons (inline Lucide SVGs)
============================================================ */
.icon, svg.lucide {
  width: 22px;
  height: 22px;
  stroke-width: 2px;
  flex-shrink: 0;
  vertical-align: -5px;
}
.icon-xs { width: 15px; height: 15px; vertical-align: -2px; }
.icon-sm { width: 18px; height: 18px; vertical-align: -3px; }
.stat-icon { width: 26px; height: 26px; color: var(--gold); }

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(77, 147, 58, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(77, 147, 58, 0.7); }
.btn-ghost {
  background: transparent;
  border-color: rgba(50, 36, 27, 0.25);
  color: var(--brown-deep);
}
.btn-ghost:hover { background: rgba(50, 36, 27, 0.06); transform: translateY(-2px); }
.btn-light {
  background: var(--cream);
  color: var(--brown-deep);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--green-deep);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
}
.link-arrow:hover { gap: 10px; opacity: 0.85; }
.link-inline { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Header — glass nav
============================================================ */
/* Floating navbar — a permanently sticky "liquid glass" pill that stays
   pinned through the whole scroll, shrinking a little once the page scrolls. */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 1140px;
  transform: translate(-50%, 0);
  z-index: 100;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(58, 42, 30, 0.58) 0%, rgba(38, 27, 19, 0.62) 100%);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: 0 22px 46px -18px rgba(20, 14, 9, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  isolation: isolate;
  /* width/max-width as plain calc()+px values (not min()) so Chromium can
     actually interpolate them — animating a min()-typed width snaps instead
     of transitioning smoothly. */
  transition: width 0.5s var(--ease), max-width 0.5s var(--ease), top 0.5s var(--ease),
    transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
/* liquid-glass sheen — a soft highlight drifting across the top edge of the pill */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 140% at 18% -30%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(80% 120% at 85% 130%, rgba(129, 176, 60, 0.18), transparent 60%);
  mix-blend-mode: soft-light;
}

@media (min-width: 981px) {
  .site-header.scrolled {
    width: calc(100% - 48px);
    max-width: 940px;
    top: 12px;
    box-shadow: 0 16px 34px -14px rgba(20, 14, 9, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .site-header.scrolled .main-nav { gap: 22px; font-size: 0.92rem; }
  .site-header.scrolled .header-inner { padding: 8px 8px 8px 22px; }
  .site-header.scrolled .brand-logo { width: 48px; height: 48px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 12px 10px 26px;
  transition: padding 0.45s var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 60px; height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
  transition: width 0.45s var(--ease), height 0.45s var(--ease);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  color: #fff;
}
.brand-name em { font-style: normal; color: var(--green-bright); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: gap 0.45s var(--ease), font-size 0.45s var(--ease);
}
.main-nav a { position: relative; color: rgba(255, 255, 255, 0.82); white-space: nowrap; }
.main-nav a:hover { color: #fff; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after { transform: scaleX(1); }

.nav-cta {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--green-bright); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin: -6px;
  flex-shrink: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: 0.3s var(--ease); border-radius: 2px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  padding-top: 170px;
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media-duotone {
  position: absolute; inset: 0;
  background:
    linear-gradient(195deg, rgba(50, 36, 27, 0.94) 0%, rgba(60, 111, 45, 0.55) 46%, rgba(50, 36, 27, 0.9) 100%),
    linear-gradient(0deg, rgba(20, 15, 10, 0.55), transparent 55%);
  mix-blend-mode: multiply;
  background-color: #32241b;
}
.hero-media-duotone::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 10, 0.25) 0%, transparent 30%, rgba(20, 15, 10, 0.55) 100%);
}

.grounds-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-inner { position: relative; }
.hero-copy { max-width: 780px; }
.hero .eyebrow { color: #e8cf8f; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--green-bright); font-style: italic; }
.hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.14rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 52px;
}
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.stat { display: flex; align-items: center; gap: 12px; }
.stat > div { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.62);
}

.hero-mascot {
  position: absolute;
  right: clamp(-20px, 4vw, 60px);
  bottom: 70px;
  width: clamp(120px, 14vw, 210px);
  z-index: 2;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.35));
  transform-origin: bottom center;
  animation: mascot-bob 4.5s ease-in-out infinite;
}
@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  line-height: 0;
  z-index: 1;
}
.hero-wave svg { width: 100%; height: 70px; display: block; }
.hero-wave path { fill: var(--cream); }

/* ============================================================
   Mission
============================================================ */
.mission { padding: 120px 0 110px; }
.mission-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.mission-image, .mission-copy, .team-image, .team-copy, .cta-copy, .cta-form, .faq-intro, .faq-list, .offer-card {
  min-width: 0;
}
.mission-image {
  position: relative;
}
.mission-image img:first-child {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.mission-image-small {
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 46%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-card);
}
.mission-badge {
  position: absolute;
  top: 20px; left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(6px);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--green-deep);
  box-shadow: var(--shadow-card);
}
.mission-copy h2 { max-width: 480px; }
.mission-copy p { max-width: 520px; }

/* ============================================================
   Timeline ("Hogyan működik")
============================================================ */
.steps {
  padding: 110px 0 120px;
  background: var(--cream-soft);
  position: relative;
}
.steps h2 { max-width: 720px; margin-left: auto; margin-right: auto; }

.timeline {
  position: relative;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 90px;
}
.timeline-line {
  position: absolute;
  left: 74px;
  top: 34px;
  width: 4px;
  height: calc(100% - 68px);
  z-index: 0;
}
.timeline-line path {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* Aceternity-style timeline: a sticky number + icon rail that stays
   pinned in view while its (taller) content card scrolls past it. */
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 30px;
  align-items: start;
}
.timeline-sticky {
  position: sticky;
  top: 140px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  height: fit-content;
}
.timeline-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  color: rgba(50, 36, 27, 0.16);
  line-height: 1;
}
.timeline-marker {
  position: relative;
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  box-shadow: var(--shadow-card);
}
.timeline-marker .icon { width: 28px; height: 28px; }

.timeline-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 34px 38px;
  min-height: 260px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.timeline-item:hover .timeline-card { transform: translateY(-4px); }
.timeline-index {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.timeline-card h3 { margin-bottom: 10px; }
.timeline-card p { margin-bottom: 16px; }
.timeline-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0; padding: 0;
}
.timeline-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream-soft);
  color: var(--brown-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ============================================================
   Offer
============================================================ */
.offer { padding: 100px 0; }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.offer-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 46px 42px;
  overflow: hidden;
}
.offer-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 22px;
  color: #fff;
}
.offer-icon .icon { width: 28px; height: 28px; }
.offer-card-dark {
  background: var(--brown-deep);
  color: #fff;
}
.offer-card-dark h3 { color: #fff; }
.offer-card-light {
  background: var(--green);
  color: #fff;
}
.offer-card-light h3 { color: #fff; }

.check-list {
  list-style: none;
  margin: 26px 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}
.check-list li .icon { color: var(--gold); margin-top: 2px; }
.offer-card .link-arrow { color: #fff; border-color: rgba(255,255,255,0.6); }

/* ============================================================
   Kártyás kínálat — Apple-cards-carousel-style horizontal cards
============================================================ */
.cards { padding: 100px 0 110px; }
.cards-head { margin-bottom: 44px; }
.cards-head .section-lead { margin: 0; }

.cards-viewport {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cards-track {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 28px;
  padding: 6px 28px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cards-track::-webkit-scrollbar { display: none; }

.prod-card {
  position: relative;
  flex: 0 0 calc((100% - 28px * 2 - 24px * 2) / 3);
  aspect-ratio: 4/5;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.prod-card:hover, .prod-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  outline: none;
}
.prod-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.prod-card:hover img { transform: scale(1.06); }
.prod-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(24, 18, 12, 0.9) 0%, rgba(24, 18, 12, 0.25) 55%, transparent 85%);
}
.prod-card-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px;
  text-align: left;
}
.prod-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.prod-card-content h3 { color: #fff; font-size: 1.18rem; margin: 0; }

.cards-nav {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(50, 36, 27, 0.15);
  background: var(--paper);
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cards-nav:hover { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.06); }
.cards-nav-icon-prev { transform: rotate(180deg); }

.cards-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.cards-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(50, 36, 27, 0.18);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.cards-dots span.active { background: var(--green); transform: scale(1.35); }

/* Expanded card modal */
.cards-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.cards-modal.visible { opacity: 1; pointer-events: auto; }
.cards-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(24, 18, 12, 0.72);
  backdrop-filter: blur(8px);
}
.cards-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.cards-modal.visible .cards-modal-panel { transform: translateY(0) scale(1); opacity: 1; }
.cards-modal-media { aspect-ratio: 16/9; overflow: hidden; }
.cards-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.cards-modal-body { padding: 30px 34px 34px; }
.cards-modal-body .prod-card-tag { background: var(--cream-soft); color: var(--green-deep); margin-bottom: 14px; }
.cards-modal-body h3 { margin-bottom: 12px; }
.cards-modal-body p { margin: 0; }
.cards-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brown-deep);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  z-index: 1;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.cards-modal-close:hover { background: var(--green); color: #fff; transform: rotate(90deg); }

@media (max-width: 980px) {
  .prod-card { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 640px) {
  .prod-card { flex: 0 0 100%; aspect-ratio: 3/4; scroll-snap-align: center; }
  .cards-track { padding: 6px 18px 18px; scroll-padding-left: 18px; }
  .cards-nav { width: 40px; height: 40px; }
}

/* ============================================================
   Story scroll — cinematic pinned horizontal gallery
============================================================ */
.story { padding: 100px 0 0; overflow: hidden; }
.story-intro { margin-bottom: 56px; }

.story-pin {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.story-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}
.story-panel {
  position: relative;
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.story-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.story-panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(24, 18, 12, 0.88) 0%, rgba(24, 18, 12, 0.35) 45%, rgba(24, 18, 12, 0.15) 100%);
}
.story-panel-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 clamp(28px, 8vw, 120px) 90px;
  color: #fff;
  max-width: 680px;
}
.story-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
}
.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 8px 0 16px;
}
.story-panel-content h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.story-panel-content p { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; max-width: 480px; margin: 0; }

.story-progress {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 3;
}
.story-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--green-bright));
}
.story-dots {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.story-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.story-dots span.active { background: var(--gold); transform: scale(1.4); }

/* mobile fallback: no pinning, a normal vertical stack of cinematic cards */
@media (max-width: 900px) {
  .story-pin { height: auto; min-height: 0; }
  .story-track { flex-direction: column; width: 100%; transform: none !important; }
  .story-panel { width: 100%; height: 62vh; min-height: 420px; }
  .story-progress, .story-dots { display: none; }
}

/* ============================================================
   FAQ
============================================================ */
.faq { padding: 100px 0 120px; background: var(--cream-soft); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-intro p { max-width: 380px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 6px 26px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span:first-child { flex: 1; }
.faq-chevron {
  flex-shrink: 0;
  width: 34px; height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--green-deep);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); background: var(--green); color: #fff; }
.faq-answer { overflow: hidden; height: 0; transition: height 0.32s var(--ease); }
.faq-answer-inner { padding-bottom: 22px; }
.faq-answer p { margin: 0; }

/* ============================================================
   Team
============================================================ */
.team { padding: 100px 0 120px; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.team-image { position: relative; }
.team-image img:first-child {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.team-mascot {
  position: absolute;
  bottom: -30px; left: -30px;
  width: 120px;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,0.25));
}
.team-copy p { max-width: 500px; }
.team-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.team-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease);
}
.team-contact-item:hover { transform: translateY(-2px); }

/* ============================================================
   CTA / Contact
============================================================ */
.cta {
  padding: 120px 0;
  background: var(--brown-deep);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.cta-copy h2 { color: #fff; max-width: 460px; }
.cta-copy h2 em { font-style: italic; color: var(--green-bright); }
.cta-copy p { color: rgba(255, 255, 255, 0.72); max-width: 440px; }
.cta-contact-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.cta-contact-row a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}

.cta-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cta-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 0.86rem; color: var(--ink); }
.cta-form input[type="text"], .cta-form input[type="email"], .cta-form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(50, 36, 27, 0.15);
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.3s var(--ease);
}
.cta-form input:focus, .cta-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 500 !important;
  font-size: 0.84rem !important;
  color: var(--ink-soft) !important;
}
.form-consent input { margin-top: 3px; accent-color: var(--green); }
.form-consent a { text-decoration: underline; color: var(--green-deep); }
.form-note { font-size: 0.88rem; color: var(--green-deep); font-weight: 700; min-height: 1.2em; }

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: #241a12;
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 26px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-footer .brand-logo { width: 44px; height: 44px; }
.brand-footer .brand-name { color: #fff; font-size: 1.3rem; }
.footer-tagline { margin-top: 14px; max-width: 300px; color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; font-weight: 600; font-size: 0.92rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.75); }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-weight: 600; font-size: 0.92rem; }
.footer-contact a, .footer-area { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.75); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Cookie banner
============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 200;
  max-width: 880px;
  margin: 0 auto;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(50, 36, 27, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px 26px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cookie-banner-text { flex: 1 1 320px; }
.cookie-banner-text strong { display: block; margin-bottom: 4px; color: var(--brown-deep); }
.cookie-banner-text p { margin: 0; font-size: 0.86rem; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   Legal page
============================================================ */
.legal-page { padding: 170px 0 100px; }
.legal-container { max-width: 760px; }
.legal-updated { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 40px; }
.legal-page section { margin-bottom: 36px; }
.legal-page h2 { font-size: 1.4rem; margin-bottom: 12px; }
.legal-list { padding-left: 20px; color: var(--ink-soft); }
.legal-list li { margin-bottom: 6px; }
.legal-note { font-size: 0.86rem; font-style: italic; color: var(--ink-soft); }
.legal-table { border: 1px solid rgba(50,36,27,0.12); border-radius: var(--radius-sm); overflow: hidden; margin: 18px 0; }
.legal-table-row { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; padding: 14px 16px; font-size: 0.88rem; border-bottom: 1px solid rgba(50,36,27,0.08); }
.legal-table-row:last-child { border-bottom: none; }
.legal-table-head { background: var(--cream-soft); font-weight: 700; color: var(--brown-deep); }

/* ============================================================
   404
============================================================ */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px;
}
.not-found img { width: 70px; margin-bottom: 10px; }
.not-found h1 { font-size: 4rem; color: var(--green); }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1180px) {
  .main-nav { gap: 16px; font-size: 0.86rem; }
}

@media (max-width: 980px) {
  .site-header { width: calc(100% - 24px); top: 10px; }
  .header-inner { padding: 10px 10px 10px 18px; gap: 14px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-name { font-size: 1.12rem; }
  .nav-cta { display: none; }

  .main-nav {
    display: flex;
    position: fixed;
    top: var(--header-height, 140px); left: 16px; right: 16px;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 28px 26px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    max-height: calc(100vh - var(--header-height, 140px) - 30px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s var(--ease);
  }
  .main-nav a { color: var(--ink) !important; opacity: 0.85; }
  /* teljes sor kattintható: a link kitölti a menü szélességét */
  .main-nav a { display: block; padding: 15px 4px; border-bottom: 1px solid rgba(50, 36, 27, 0.08); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .main-nav.nav-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }

  .mission-grid, .team-grid, .cta-inner, .faq-grid { grid-template-columns: 1fr; }
  .mission-image-small { display: none; }
  .offer-grid { grid-template-columns: 1fr; }
  .hero-mascot { display: none; }
  .team-mascot { width: 90px; bottom: -18px; left: 8px; }

  .hero { padding-top: 140px; padding-bottom: 80px; }
  .mission { padding: 80px 0 70px; }
  .steps { padding: 70px 0 80px; }
  .offer { padding: 70px 0; }
  .story { padding: 70px 0 0; }
  .faq { padding: 70px 0 80px; }
  .team { padding: 70px 0 80px; }
  .cta { padding: 80px 0; }

  .timeline { gap: 40px; margin-top: 54px; }
  .timeline-item { grid-template-columns: 68px 1fr; gap: 20px; }
  .timeline-sticky { position: static; flex-direction: row; }
  .timeline-num { display: none; }
  .timeline-line { left: 34px; }
  .timeline-card { padding: 24px 24px; min-height: 0; }
  .offer-card { padding: 34px 28px; }
  .cta-form { padding: 28px; }

  .legal-table-row { grid-template-columns: 1fr; gap: 6px; }
  .legal-table-head { display: none; }
  .legal-table-row span[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--brown-deep);
  }
  .legal-page { padding: 120px 0 70px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 130px; }
  .hero-stats { gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .footer-brand .brand-footer { justify-content: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-nav, .footer-contact { align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .timeline-item { grid-template-columns: 52px 1fr; gap: 16px; }
  .timeline-marker { width: 52px; height: 52px; }
  .timeline-marker .icon { width: 22px; height: 22px; }
  .timeline-line { left: 26px; top: 26px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .cookie-banner-inner { gap: 10px; }
  .cookie-banner-icon { display: none; }
  .cookie-banner-text { flex-basis: 100%; }
  .cookie-banner-text strong { font-size: 0.9rem; margin-bottom: 2px; }
  .cookie-banner-text p { font-size: 0.78rem; line-height: 1.4; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; padding: 10px 12px; font-size: 0.82rem; }
  .story-panel { height: 52vh; min-height: 360px; }
  .story-panel-content { padding-bottom: 44px; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stat-num { font-size: 1.3rem; }
  .offer-card { padding: 28px 22px; }
  .timeline-card { padding: 20px 18px; }
  .cta-form { padding: 22px; }
}

/* ============================================================
   Blog
============================================================ */
.blog-hero {
  padding: 170px 0 60px;
  background: linear-gradient(180deg, var(--cream-soft), var(--cream));
}
.blog-hero-inner { max-width: 760px; }
.blog-hero .hero-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; }

.blog-featured { padding: 10px 0 40px; }
.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.featured-media { position: relative; min-height: 280px; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 4px; }
.featured-body p { margin-bottom: 4px; }

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(219, 157, 38, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-category {
  color: var(--green-deep);
  background: rgba(77, 147, 58, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-body { padding: 20px 0 90px; }
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.blog-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(50, 36, 27, 0.18);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brown-deep);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter-chip:hover { background: rgba(50, 36, 27, 0.06); }
.filter-chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-category-badge { position: absolute; top: 14px; left: 14px; background: var(--paper); }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-body h3 { font-size: 1.2rem; margin-bottom: 2px; }
.post-card-body h3 a:hover { color: var(--green-deep); }
.post-card-body p { font-size: 0.94rem; margin-bottom: 2px; }
.blog-empty { padding: 40px 0; text-align: center; color: var(--ink-soft); }

.blog-grid-wrapper { transition: opacity 0.25s var(--ease); }
.blog-grid-wrapper.is-loading { opacity: 0.35; pointer-events: none; }
.blog-grid-wrapper .post-grid {
  animation: blog-grid-in 0.4s var(--ease);
}
@keyframes blog-grid-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.sidebar-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.sidebar-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  margin-bottom: 14px;
}
.sidebar-about { text-align: center; }
.sidebar-mascot { width: 74px; margin: 0 auto 12px; }
.sidebar-about p { font-size: 0.92rem; margin-bottom: 16px; }

.sidebar-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(50, 36, 27, 0.08);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.sidebar-categories a:hover, .sidebar-categories a.is-active { color: var(--green-deep); padding-left: 8px; }

.sidebar-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent-item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-recent-item img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.sidebar-recent-item span { display: flex; flex-direction: column; gap: 4px; }
.sidebar-recent-item strong { font-size: 0.88rem; line-height: 1.3; color: var(--brown-deep); font-weight: 700; }
.sidebar-recent-item:hover strong { color: var(--green-deep); }
.sidebar-recent-item em { font-style: normal; font-size: 0.75rem; color: var(--ink-soft); }

.sidebar-contact p { font-size: 0.9rem; margin-bottom: 14px; }
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brown-deep);
  padding: 8px 0;
}
.sidebar-contact-item:hover { color: var(--green-deep); }

/* Single post */
.post-hero { position: relative; padding: 190px 0 60px; overflow: hidden; }
.post-hero-media { position: absolute; inset: 0; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-media .hero-media-duotone { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 33, 24, 0.55), rgba(42, 33, 24, 0.82)); }
.post-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.post-hero h1 { color: #fff; margin-bottom: 18px; }
.post-hero .post-meta { color: rgba(255, 255, 255, 0.85); }
.post-hero .post-category { background: rgba(255, 255, 255, 0.16); color: #fff; }
.breadcrumbs { font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.75); margin-bottom: 16px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin: 0 6px; }

.post-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.post-toc { position: sticky; top: 110px; }
.post-toc-inner {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.post-toc h4 { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; margin-bottom: 12px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.post-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.post-toc li.toc-level-3 a { padding-left: 22px; font-size: 0.8rem; }
.post-toc a:hover { color: var(--green-deep); background: rgba(77, 147, 58, 0.07); }
.post-toc a.is-active { color: var(--green-deep); border-left-color: var(--green); background: rgba(77, 147, 58, 0.1); }

.post-content { min-width: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-deep);
  background: rgba(77, 147, 58, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
}
.post-content h2 { margin-top: 1.6em; font-size: 1.7rem; scroll-margin-top: 110px; }
.post-content h3 { margin-top: 1.3em; font-size: 1.25rem; scroll-margin-top: 110px; }
.post-content p { font-size: 1.03rem; }
.post-content a:not(.btn) { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote {
  margin: 28px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--gold);
  background: var(--cream-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brown-deep);
}
.post-content blockquote p { margin: 0; color: inherit; }

.post-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(50, 36, 27, 0.12);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--brown-deep);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.post-share a:hover { background: var(--green); color: #fff; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease);
}
.post-nav-item:hover { transform: translateY(-3px); }
.post-nav-next { text-align: right; margin-left: auto; }
.post-nav-label { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-deep); }
.post-nav-item strong { font-size: 0.94rem; color: var(--brown-deep); }

.blog-related { padding: 30px 0 90px; }
.blog-related .eyebrow, .blog-related h2 { display: flex; }
.blog-related h2 { margin-bottom: 34px; }

.cta-blog .cta-inner-centered { justify-content: center; }
.cta-inner-centered .cta-copy { max-width: 640px; text-align: center; }
.hero-actions.center { justify-content: center; }

@media (max-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .post-toc { display: none; }
}

@media (max-width: 900px) {
  .blog-layout, .post-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-sidebar { position: static; order: 2; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; margin-left: 0; }
}

@media (max-width: 620px) {
  .post-grid, .blog-related .post-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 24px; }
  .post-hero { padding: 150px 0 44px; }
  .blog-hero { padding: 150px 0 44px; }
}

/* Blog preview on the landing page */
.home-blog { padding: 110px 0; background: var(--cream-soft); }
.home-blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}
.home-blog-head h2 { margin-bottom: 12px; }
.home-blog-head .section-lead { margin-bottom: 0; }
.home-blog-all { flex-shrink: 0; }
.home-blog-grid { grid-template-columns: repeat(3, 1fr); }
.home-blog-all-mobile { display: none; width: 100%; margin-top: 34px; }

@media (max-width: 900px) {
  .home-blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .home-blog { padding: 80px 0; }
  .home-blog-head { flex-direction: column; align-items: flex-start; }
  .home-blog-all { display: none; }
  .home-blog-all-mobile { display: inline-flex; }
  .home-blog-grid { grid-template-columns: 1fr; }
}

.post-card[hidden], .blog-empty[hidden] { display: none !important; }

/* ============================================================
   Támogatás / Brancs kampány
============================================================ */
.support { padding: 40px 0 90px; }
.support-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 0% 0%, #4a3527 0%, var(--brown-deep) 60%);
  color: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.support-card > * { min-width: 0; }
.support-intro h2 { color: #fff; max-width: 520px; }
.support-intro h2 em { font-style: italic; color: var(--green-bright); }
.support-intro > p { color: rgba(255, 255, 255, 0.78); max-width: 520px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.support-quote {
  margin-top: 30px;
  font-family: var(--font-display);
  font-style: italic;
  color: #e8cf8f;
  max-width: 420px;
}
.support-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.support-ways li {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.support-ways h3 { margin: 0 0 6px; font-size: 1.05rem; color: #fff; }
.support-ways p { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.support-ways .link-arrow { margin-top: 10px; color: var(--green-bright); }
.support-way-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
}
.support-way-icon svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .support-card { grid-template-columns: 1fr; padding: 40px 24px; gap: 36px; }
}
.cta-note { margin-top: 18px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 560px) {
  .cta-blog h2 { font-size: clamp(1.6rem, 7.4vw, 2rem); overflow-wrap: break-word; }
  .cta-blog .btn { width: 100%; }
}
