:root {
  --navy: #10243C;
  --blue: #15304E;
  --cream: #FFFFFF;
  --sand: #E8DDC8;
  --gold: #B9975B;
  --sage: #7A8F7A;
  --text: #1F2933;
  --muted: #4B5563;
  --white: #FFFFFF;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(17, 24, 39, .08);
  --shadow-soft: 0 8px 24px rgba(17, 24, 39, .06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--white);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: .55rem 1rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.section-local-compact {
  padding-bottom: 1.75rem;
}

.section-after-local {
  padding-top: 3.15rem;
}

.section-alt {
  background: var(--white);
}

.section-soft {
  background: rgba(232, 221, 200, .34);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .7rem;
  padding: .28rem .78rem;
  border: 1px solid rgba(185, 151, 91, .38);
  border-radius: 999px;
  background: rgba(185, 151, 91, .11);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow.light {
  border-color: rgba(255, 255, 255, .25);
  background: var(--white);
  color: var(--blue);
}

.section-title,
.hero-title,
.card-title,
.footer-brand {
  font-family: "Playfair Display", Georgia, serif;
}

.section-title {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 600;
  line-height: 1.16;
  margin-bottom: .7rem;
}

.section-sub {
  color: #374151;
  font-size: 1rem;
  max-width: 680px;
}

.center .section-sub {
  margin-inline: auto;
}

.section-disclaimer {
  margin-top: .8rem;
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
}

.muted-small,
.note-small {
  color: #374151;
  font-size: .82rem;
  line-height: 1.55;
}

.card,
.info-col,
.step-card,
.acc-item,
.knowledge-card,
.trust-item {
  background: var(--white);
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 1.65rem;
}

.card-sm {
  padding: 1.25rem;
}

.card-title {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.btn,
.btn-primary,
.btn-secondary,
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .8rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.cta-link:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(185, 151, 91, .28);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--gold) 86%, var(--white));
}

.btn-secondary {
  background: var(--white);
  border-color: rgba(255, 255, 255, .36);
  color: var(--blue);
}

.btn-secondary.dark {
  background: transparent;
  border-color: rgba(30, 58, 95, .28);
  color: var(--blue);
}

.btn-block {
  width: 100%;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 24, 39, .96);
  border-bottom: 1px solid rgba(232, 221, 200, .16);
  backdrop-filter: blur(14px);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 64px;
}

.nav-logo {
  flex: 0 0 auto;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.brand-image-link {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  text-decoration: none;
}

.brand-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-image-link:hover img {
  filter: brightness(1.06);
}

.home-link {
  display: inline-flex;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 221, 200, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.home-link:hover {
  border-color: rgba(185, 151, 91, .62);
  background: rgba(185, 151, 91, .16);
  color: var(--white);
  transform: translateY(-1px);
}

.home-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-width: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .15rem;
  border-left: 1px solid rgba(232, 221, 200, .22);
  padding-left: .75rem;
}

.language-link {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid rgba(232, 221, 200, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.language-link:hover,
.language-link.active {
  border-color: rgba(185, 151, 91, .62);
  background: rgba(185, 151, 91, .16);
  box-shadow: inset 0 0 0 1px rgba(185, 151, 91, .18);
}

.language-code {
  color: var(--white);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.nav-burger {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(232, 221, 200, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-burger.active {
  border-color: rgba(185, 151, 91, .62);
  background: rgba(185, 151, 91, .16);
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobileMenuStrip {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(185, 151, 91, .22), transparent 34%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 4.25rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-title {
  max-width: 720px;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 4.55rem);
  font-weight: 600;
  line-height: 1.05;
}

.hero-sub {
  max-width: 640px;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.72;
  margin-bottom: 1.6rem;
}

.hero-kicker {
  margin: -.25rem 0 1.05rem;
  color: var(--sand);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .01em;
}

.hero-button-grid,
.hero-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 3rem;
}

.hero-topic-btn,
.hero-tile {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 110px;
  align-items: start;
  gap: .9rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  padding: 1rem 1.15rem;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hero-topic-btn:hover,
.hero-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.topic-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: flex-start;
  justify-content: center;
  color: var(--sand);
  line-height: 1;
}

.topic-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  opacity: .95;
}

.hero-topic-btn:hover .topic-icon,
.hero-tile:hover .topic-icon {
  color: var(--gold);
}

.topic-copy {
  display: grid;
  gap: .25rem;
}

.topic-copy strong {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.topic-copy small {
  color: rgba(255, 255, 255, .66);
  font-size: .92rem;
  line-height: 1.42;
}

.hero-visual {
  position: relative;
  min-height: 370px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)),
    linear-gradient(145deg, rgba(232, 221, 200, .18), rgba(122, 143, 122, .1));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, .03), rgba(17, 24, 39, .48)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 700'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%23F7F3EA' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%23B9975B' stop-opacity='.45'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='700' fill='%23111827'/%3E%3Cpath d='M0 520 C140 470 210 520 330 470 C450 420 510 455 600 410 L600 700 L0 700 Z' fill='%237A8F7A' fill-opacity='.34'/%3E%3Cpath d='M80 590 C190 545 300 575 420 520 C500 485 555 490 600 470' fill='none' stroke='%23E8DDC8' stroke-width='10' stroke-opacity='.28'/%3E%3Cellipse cx='420' cy='190' rx='70' ry='100' fill='url(%23g)' opacity='.5'/%3E%3Cpath d='M420 100 C448 146 450 180 420 230 C390 180 392 146 420 100 Z' fill='%23F7F3EA' fill-opacity='.78'/%3E%3Crect x='388' y='238' width='64' height='160' rx='30' fill='%23F7F3EA' fill-opacity='.55'/%3E%3Cpath d='M135 505 C180 440 250 405 325 385' stroke='%23E8DDC8' stroke-width='8' stroke-linecap='round' fill='none' opacity='.3'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.hero-visual-note {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, .72);
  padding: 1rem;
  color: var(--white);
  font-size: .9rem;
  backdrop-filter: blur(8px);
}

/* Hero bemutatkozó videó (assets/hero-video.mp4). Ha a fájl hiányzik,
   a .no-video osztály visszakapcsol a képhelyes placeholderre. */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Álló videónál a doboz felveszi a videó 9:16 arányát, így a keret
   pont akkora, mint a videó - középre igazítva az oszlopban */
.hero-visual.portrait {
  aspect-ratio: 9 / 16;
  height: min(560px, 72vh);
  min-height: 0;
  width: auto;
  max-width: 100%;
  justify-self: center;
}

.hero-visual .hero-visual-note {
  display: none;
}

/* Saját indítógomb a hero videóhoz.
   A natív Play gomb sötét háttéren alig látszik, ezért egy nagy, márkás
   (arany-fehér) gombot teszünk a videó közepére. Lejátszáskor eltűnik,
   szünetnél/végén visszajön. */
.hero-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  padding: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.hero-play svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  margin-left: 5px; /* a háromszög optikai közepe */
}

.hero-play:hover,
.hero-play:focus-visible {
  background: var(--gold);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.06);
}

.hero-play:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

/* a [hidden] önmagában nem győzné le a display: grid-et */
.hero-play[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-play {
    transition: none;
  }

  .hero-play:hover,
  .hero-play:focus-visible {
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 640px) {
  .hero-play {
    width: 68px;
    height: 68px;
  }

  .hero-play svg {
    width: 28px;
    height: 28px;
  }
}

/* Hiányzó videónál vissza az eredeti fekvő képhely-kártyára */
.hero-visual.no-video .hero-play {
  display: none;
}

.hero-visual.no-video {
  aspect-ratio: auto;
  height: auto;
  width: 100%;
  min-height: 370px;
  justify-self: stretch;
}

.hero-visual.no-video .hero-video {
  display: none;
}

.hero-visual.no-video .hero-visual-note {
  display: block;
}

.subpage-hero {
  background:
    radial-gradient(circle at 85% 12%, rgba(185, 151, 91, .2), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
}

.subpage-hero-inner {
  max-width: 860px;
}

.subpage-hero .btn-row {
  margin-top: 1.4rem;
}

.hero-meta-line {
  margin-top: 1.05rem;
  color: rgba(255, 255, 255, .76);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.5;
}

.pillar-hero .hero-title {
  max-width: 920px;
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, .76);
  font-size: .82rem;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--sand);
}

.pillar-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 86px;
  padding: 1.2rem;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.toc-title {
  margin-bottom: .8rem;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.toc-card a {
  display: block;
  padding: .45rem 0;
  border-top: 1px solid rgba(232, 221, 200, .7);
  color: #374151;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.toc-card a:hover {
  color: var(--blue);
}

.pillar-content {
  min-width: 0;
}

.pillar-section {
  margin-bottom: 1.4rem;
  padding: 2rem;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.pillar-section.intro-block {
  border-left: 4px solid var(--gold);
}

.pillar-section h2 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: .85rem;
}

.pillar-section h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 1.25rem 0 .45rem;
}

.pillar-section p + p {
  margin-top: .85rem;
}

.numbered-grid,
.pillar-card-grid,
.document-list,
.related-grid {
  display: grid;
  gap: .8rem;
  margin-top: 1.2rem;
}

.numbered-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.numbered-grid div {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .95rem;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: rgba(232, 221, 200, .18);
  color: #374151;
  font-weight: 700;
}

/* Szűk képernyőn a sorszám és a cím marad egy sorban, a leíró szöveg pedig
   alájuk törik. Enélkül a három flex-elem (szám, cím, szöveg) egymás mellett
   marad, és mivel a flex elemek alapból nem szűkülnek a saját min-content
   méretük alá (min-width: auto), szétfeszítik a lapot - emiatt lógott ki a
   tartalom vízszintesen mobilon. */
@media (max-width: 700px) {
  .numbered-grid div {
    flex-wrap: wrap;
  }

  .numbered-grid div > h3 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .numbered-grid div > p {
    flex: 1 1 100%;
    min-width: 0;
  }
}

.numbered-grid span {
  display: inline-flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: .85rem;
}

.pillar-callout {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  background: rgba(122, 143, 122, .1);
  color: var(--text);
  font-weight: 700;
}

.solution-intro {
  --problem-dot: var(--sage);
}

.solution-highlight {
  border-color: rgba(197, 138, 58, .35);
  border-left: 5px solid #C58A3A;
  background: linear-gradient(90deg, rgba(197, 138, 58, .12), var(--white) 46%);
}

.danger-box {
  border-color: rgba(185, 74, 72, .35);
  border-left: 5px solid #B94A48;
  background: linear-gradient(90deg, rgba(185, 74, 72, .08), var(--white) 46%);
}

.problem-list {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text);
  font-weight: 700;
}

.problem-list a,
.check-list a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.problem-list a:hover,
.check-list a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--problem-dot, var(--sage));
}

.problem-list.urgent {
  --problem-dot: #C58A3A;
}

.problem-list.danger {
  --problem-dot: #B94A48;
}

.cluster-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.doc-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.1rem;
}

.doc-check-grid div {
  position: relative;
  padding: .95rem 1rem .95rem 2.45rem;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.doc-check-grid div::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.18rem;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--white);
  background: var(--sage);
}

.doc-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.1rem;
}

.doc-toggle-card {
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.doc-toggle-card summary {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
  padding: 1rem 1.15rem;
}

.doc-toggle-card summary::-webkit-details-marker {
  display: none;
}

.doc-toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
  border-radius: 4px;
}

.doc-toggle-icon::before,
.doc-toggle-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 999px;
}

.doc-toggle-icon::before {
  left: 3px;
  right: 3px;
  top: 5px;
  height: 2px;
}

.doc-toggle-icon::after {
  left: 5px;
  top: 3px;
  bottom: 3px;
  width: 2px;
  transition: transform .18s ease;
}

.doc-toggle-card[open] .doc-toggle-icon::after {
  transform: scaleY(0);
}

.doc-toggle-card[open] summary {
  border-bottom: 1px solid rgba(232, 221, 200, .75);
  background: rgba(232, 221, 200, .18);
}

.doc-toggle-body {
  padding: 1rem 1.15rem 1.15rem;
}

.doc-toggle-body p {
  color: var(--text);
  font-size: .92rem;
}

.help-signal-box {
  border-color: rgba(122, 143, 122, .36);
  border-left: 5px solid var(--sage);
  background: linear-gradient(90deg, rgba(122, 143, 122, .1), var(--white) 46%);
}

.source-list {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.source-list li {
  color: var(--navy);
  font-weight: 800;
  padding-left: .2rem;
}

.source-list a {
  color: var(--blue);
  text-decoration: none;
}

.source-list a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.next-step-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.2rem;
}

.pillar-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-link-card,
.document-list > div {
  padding: 1.1rem;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
}

.pillar-link-card h3,
.document-list h3 {
  margin-top: 0;
}

.pillar-link-card a,
.document-list a,
.text-cta {
  display: inline-flex;
  margin-top: .8rem;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.pillar-link-card a:hover,
.document-list a:hover,
.text-cta:hover {
  color: var(--navy);
}

.document-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar-list {
  margin: .8rem 0 0;
  padding-left: 1.15rem;
}

.pillar-list li {
  margin-bottom: .35rem;
  color: #374151;
}

.pillar-faq-list {
  display: grid;
  gap: .65rem;
  margin-top: 1.1rem;
}

.pillar-faq {
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
}

.pillar-faq summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--navy);
  font-weight: 900;
}

.pillar-faq p {
  padding: 0 1.1rem 1rem;
}

.related-section {
  background: rgba(232, 221, 200, .18);
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-grid a {
  padding: .95rem 1rem;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.related-grid a:hover {
  color: var(--navy);
  border-color: rgba(185, 151, 91, .65);
}

.price-table-wrap {
  width: 100%;
  margin-top: 1.2rem;
  overflow-x: auto;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
}

.price-table-shell {
  position: relative;
}

.price-scroll-hint {
  display: none;
}

.price-table-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(17, 24, 39, .16));
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.price-table-shell.is-scrollable::after {
  opacity: 1;
}

.price-table-shell.is-at-end::after {
  opacity: 0;
}

.price-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: .92rem;
}

.price-table th,
.price-table td {
  border-bottom: 1px solid rgba(232, 221, 200, .82);
  padding: .85rem .95rem;
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: rgba(232, 221, 200, .26);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-table td:nth-child(2) {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-note {
  margin-top: .85rem;
  color: #374151;
  font-size: .92rem;
}

.price-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1rem;
}

.pillar-cta-box {
  display: grid;
  gap: .75rem;
  margin-top: 1.2rem;
  padding: 1.15rem;
  border: 1px solid rgba(185, 151, 91, .32);
  border-radius: var(--radius);
  background: rgba(185, 151, 91, .1);
}

.pillar-cta-box h3 {
  margin: 0;
}

.pillar-cta-box .btn {
  width: fit-content;
}

.step-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.2rem;
  padding: 1.15rem;
  border: 1px solid rgba(185, 151, 91, .34);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(185, 151, 91, .1);
}

.step-cta h3 {
  margin: 0 0 .3rem;
}

.step-cta p {
  color: #374151;
  font-size: .92rem;
  margin: 0;
}

.step-cta .btn {
  flex: 0 0 auto;
}

.step-cta.compact {
  display: block;
  margin-top: 1rem;
  padding: .95rem;
  border-left-width: 4px;
  background: rgba(185, 151, 91, .07);
}

.step-cta.compact.simple {
  padding: 0;
  border: 0;
  background: transparent;
}

.step-cta.compact h3 {
  margin-bottom: .7rem;
  font-size: .98rem;
}

.step-cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}

.step-cta-links .btn {
  min-height: 38px;
  padding: .58rem .85rem;
  font-size: .86rem;
}

.step-cta-link {
  display: none;
}

.step-cta-link.active {
  display: inline-flex;
}

.step-cta.simple .step-cta-link {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.step-cta.simple .step-cta-link:hover {
  background: var(--navy);
  color: var(--white);
}

.placeholder-note {
  color: #374151;
  font-weight: 700;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.hub-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  border: 1px solid rgba(232, 221, 200, .9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
  scroll-margin-top: 96px;
}

.hub-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(185, 151, 91, .12);
  color: var(--blue);
}

.hub-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.hub-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.28;
  margin-bottom: .45rem;
}

.hub-card p {
  color: #374151;
  font-size: .9rem;
}

.hub-card a {
  margin-top: auto;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}

.hub-card a:hover {
  color: var(--navy);
}

/* Még el nem készült útmutató a hub-kártyán: szándékosan nem link (nincs
   céloldal), de a kártya elrendezése változatlan marad. */
.hub-card .hub-soon {
  margin-top: auto;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  cursor: default;
}

.urgent-section {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 1.25rem 0;
}

.urgent-panel {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(240px, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(185, 151, 91, .35);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1rem;
}

.urgent-title {
  color: var(--navy);
  font-weight: 800;
}

.urgent-sub {
  color: var(--muted);
  font-size: .84rem;
}

.urgent-search {
  display: flex;
  gap: .65rem;
  align-items: center;
}

.quick-input,
.fg input,
.fg select {
  width: 100%;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  padding: .78rem .95rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.quick-input:focus,
.fg input:focus,
.fg select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 151, 91, .16);
}

#quickCityLabel {
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
}

#quickResults {
  display: none;
  margin-top: 1rem;
  border-top: 1px solid rgba(185, 151, 91, .25);
  padding-top: 1rem;
}

.quick-results-label {
  margin-bottom: .7rem;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

#quickGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: .8rem;
}

.quick-card {
  position: relative;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  padding: .95rem;
}

.quick-card.top {
  border-color: rgba(232, 221, 200, .42);
  box-shadow: 0 12px 26px rgba(16, 36, 60, .18);
  padding-top: 2.35rem;
}

.quick-badge {
  position: absolute;
  top: 0;
  left: 1rem;
  border-radius: 0 0 6px 6px;
  background: var(--blue);
  color: var(--white);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  padding: .22rem .7rem;
}

.quick-rank {
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}

.quick-name {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.3;
}

.quick-address {
  margin: .35rem 0 .55rem;
  color: var(--muted);
  font-size: .74rem;
}

.quick-rating {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  align-items: center;
}

.stars {
  color: var(--gold);
  font-size: .86rem;
}

.rn {
  color: var(--navy);
  font-weight: 800;
}

.rc,
.rno {
  color: var(--muted);
  font-size: .76rem;
}

.quick-bar {
  height: 4px;
  margin-top: .45rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(232, 221, 200, .75);
}

.quick-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
}

.quick-source {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .76rem;
}

.kalk-grid,
.info-cols,
.trust-grid,
.knowledge-grid {
  display: grid;
  gap: 1.35rem;
}

.kalk-grid {
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1fr);
  align-items: start;
}

.calculator-shell {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.fg {
  margin-bottom: 1.25rem;
}

.fg label {
  display: block;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .055em;
  margin-bottom: .46rem;
  text-transform: uppercase;
}

.hint {
  color: #374151;
  font-size: .78rem;
  margin-top: .35rem;
}

.rg {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.ro {
  display: flex;
  flex: 1 1 120px;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  padding: .62rem .75rem;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ro:hover,
.ro.sel {
  border-color: var(--gold);
  background: rgba(185, 151, 91, .1);
}

.ro input[type="radio"] {
  accent-color: var(--gold);
}

input[type="range"] {
  width: 100%;
  height: 5px;
  margin: .45rem 0;
  border-radius: 999px;
  background: var(--sand);
  outline: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 2px 8px rgba(17, 24, 39, .22);
  cursor: pointer;
  appearance: none;
}

.range-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .78rem;
}

.range-value {
  color: var(--blue);
  font-weight: 800;
}

.irsz-box {
  display: none;
  margin-top: .75rem;
  border: 1px solid rgba(122, 143, 122, .45);
  border-radius: var(--radius);
  background: rgba(122, 143, 122, .12);
  padding: .85rem 1rem;
}

.irsz-box.vis {
  display: block;
}

.irsz-city {
  color: var(--blue);
  font-weight: 800;
  margin-bottom: .15rem;
}

#irszInfo {
  color: var(--sage);
  font-size: .82rem;
}

.choice-panel {
  color: var(--text);
}

.choice-panel strong {
  display: block;
  color: var(--blue);
  font-size: .88rem;
  margin-bottom: .25rem;
}

.choice-panel p {
  color: #374151;
  font-size: .8rem;
  margin-bottom: .7rem;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .5rem;
}

.choice-btn {
  border: 1px solid rgba(185, 151, 91, .45);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  padding: .65rem .75rem;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.choice-btn:hover {
  border-color: var(--gold);
  background: rgba(185, 151, 91, .12);
  transform: translateY(-1px);
}

.choice-btn span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  margin-top: .15rem;
}

.search-message {
  border: 1px solid rgba(185, 151, 91, .35);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  padding: 1rem;
}

.search-message.error {
  border-color: rgba(185, 151, 91, .65);
  background: rgba(185, 151, 91, .1);
}

.result-panel {
  display: none;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.35rem;
}

.result-panel.vis {
  display: block;
}

.result-title {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: .9rem;
}

.ci {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  padding: .9rem;
}

.ci-l {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: .2rem;
  text-transform: uppercase;
}

.ci-v {
  color: var(--blue);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.cost-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .95rem;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  padding: 1rem 1.1rem;
}

.ct-l {
  color: var(--white);
  font-size: .85rem;
}

.ct-v {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.info-box,
.alert,
.soft-note {
  border: 1px solid rgba(185, 151, 91, .3);
  border-radius: var(--radius);
  background: rgba(185, 151, 91, .12);
  color: var(--blue);
  padding: .85rem 1rem;
}

.quick-steps-section .alert {
  position: relative;
  border-color: rgba(185, 151, 91, .62);
  border-left: 6px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(185, 151, 91, .18), rgba(185, 151, 91, .08));
  box-shadow: 0 12px 26px rgba(16, 36, 60, .08);
  color: var(--navy);
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.6;
  padding: 1.05rem 1.2rem;
}

.info-box {
  margin-bottom: .9rem;
  font-size: .86rem;
}

.prog-wrap {
  margin-bottom: .4rem;
}

.prog-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .76rem;
  margin-bottom: .2rem;
}

.prog-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sand);
}

.prog-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
  transition: width .5s ease;
}

.empty-state {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px dashed rgba(185, 151, 91, .55);
  border-radius: var(--radius);
  background: var(--white);
  padding: 2rem;
  text-align: center;
}

.empty-mark {
  color: var(--gold);
  font-size: 2.4rem;
  opacity: .75;
}

#companiesSection {
  display: none;
  margin-top: 1.6rem;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: .9rem;
  margin-top: 1rem;
}

.cc {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cc:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cc-name {
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .3rem;
}

.cc-addr {
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: .45rem;
}

.zip-b {
  display: inline-block;
  border-radius: 999px;
  background: rgba(122, 143, 122, .14);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  padding: .12rem .55rem;
}

.company-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.stat-strip {
  background: var(--navy);
  padding: 2.4rem 0;
}

.stat-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-num {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.15rem;
  font-weight: 600;
}

.stat-label {
  color: var(--white);
  font-size: .8rem;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.4rem;
}

#teendok .section-head {
  margin-inline: auto;
  text-align: center;
}

#arak .section-head {
  margin-inline: auto;
  text-align: center;
}

#gyik .section-head {
  margin-inline: auto;
  text-align: center;
}

#teendok .tab-nav {
  justify-content: center;
}

.quick-steps-section .tab-nav {
  justify-content: center;
}

.quick-steps-section .timeline-grid {
  margin-top: 1.4rem;
}

.tab-btn {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  padding: .58rem .95rem;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.tab-btn:hover,
.tab-btn.active {
  border-color: var(--gold);
  background: rgba(185, 151, 91, .1);
  color: var(--blue);
}

.tab-btn.active {
  font-weight: 800;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
}

#teendok .steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#pillar-tab-kulfoldi .alert {
  margin-bottom: 2.6rem;
}

.step-card {
  padding: 1.25rem;
}

.step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.step-title {
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .35rem;
}

.step-desc {
  color: #374151;
  font-size: .86rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.timeline-panel {
  display: none;
}

.timeline-panel.active {
  display: block;
}

.timeline-card {
  --timeline-color: var(--blue);
  --timeline-bg: rgba(21, 48, 78, .05);
  border-left: 4px solid var(--timeline-color);
  background: linear-gradient(90deg, var(--timeline-bg), var(--white) 42%);
}

.timeline-card.urgent {
  --timeline-color: #B94A48;
  --timeline-bg: rgba(185, 74, 72, .07);
}

.timeline-card.soon {
  --timeline-color: #C58A3A;
  --timeline-bg: rgba(197, 138, 58, .08);
}

.timeline-card.later {
  --timeline-color: var(--blue);
  --timeline-bg: rgba(21, 48, 78, .06);
}

.timeline-label {
  color: var(--timeline-color);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: .55rem;
  text-transform: uppercase;
}

.check-list,
.info-list,
.link-list {
  list-style: none;
}

.check-list li {
  position: relative;
  color: var(--text);
  font-size: .9rem;
  padding: .35rem 0 .35rem 1.3rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--timeline-color);
}

.info-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-col {
  padding: 1.35rem;
}

.info-col h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: .85rem;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(232, 221, 200, .75);
  color: #374151;
  font-size: .9rem;
  padding: .58rem 0;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list strong {
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.sum-box {
  margin-top: 1rem;
  border-radius: var(--radius);
  background: rgba(185, 151, 91, .12);
  padding: .9rem 1rem;
}

.sum-label {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sum-value {
  color: var(--blue);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.local-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr);
  gap: 1.4rem;
  align-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  padding: 2rem;
}

.local-panel .section-title {
  color: var(--white);
}

.local-panel .section-sub {
  color: var(--white);
}

.local-preview {
  display: grid;
  gap: .8rem;
}

.local-preview-card {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  padding: 1rem;
}

.knowledge-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.knowledge-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 1.25rem;
  scroll-margin-top: 128px;
}

.knowledge-card p {
  color: #374151;
  font-size: .9rem;
  margin: .55rem 0 1rem;
}

.link-list {
  display: grid;
  gap: .38rem;
  margin-bottom: 1rem;
}

.link-list a {
  color: var(--blue);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

/* Még el nem készült útmutatók: szándékosan NEM link, hogy ne vezessen
   zsákutcába (404). Amint elkészül az oldal, <a href="...">-re cserélhető. */
.link-list .soon {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  cursor: default;
}

.link-list .soon::after {
  content: " (hamarosan)";
  font-weight: 400;
  opacity: .7;
}

.knowledge-card .btn-secondary {
  margin-top: auto;
}

.trust-blue-section {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}

.trust-blue-section .section-head {
  max-width: 820px;
}

.trust-blue-section .section-title,
.trust-blue-section .section-sub {
  color: var(--white);
}

.trust-blue-section .section-sub {
  opacity: .86;
}

.trust-eyebrow {
  border-color: rgba(232, 221, 200, .28);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.trust-blue-section .trust-item {
  border-color: rgba(232, 221, 200, .18);
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
}

.trust-blue-section .trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* FONTOS: a lentebbi reszponzív `.trust-grid` felülírások gyengébbek ennél a
   szelektornál (0-1-0 vs 0-2-0), és a media query ezen nem változtat. Ezért a
   kék szekciónak SAJÁT töréspontok kellenek - különben mobilon is 4 oszlop
   maradna, a tartalom kilógna, és az egész oldal oldalra görgethetővé válna. */
@media (max-width: 980px) {
  .trust-blue-section .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .trust-blue-section .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-blue-section .trust-icon {
  color: var(--gold);
}

.trust-blue-section .trust-item h3,
.trust-blue-section .trust-item p {
  color: var(--white);
}

.trust-blue-section .trust-item p {
  opacity: .78;
}

.trust-panel {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.trust-item {
  box-shadow: none;
  padding: 1rem;
}

.trust-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: .65rem;
  border-radius: 999px;
  background: rgba(122, 143, 122, .14);
  color: var(--blue);
  font-weight: 900;
}

.trust-item h3 {
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.3;
  margin-bottom: .35rem;
}

.trust-item p {
  color: #374151;
  font-size: .82rem;
  line-height: 1.55;
}

.acc-item {
  overflow: hidden;
  margin-bottom: .7rem;
  box-shadow: none;
}

.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--navy);
  font-weight: 800;
}

.acc-header:hover {
  background: var(--white);
}

.acc-arrow {
  color: var(--gold);
  transition: transform .2s ease;
}

.acc-arrow.open {
  transform: rotate(180deg);
}

.acc-body {
  display: none;
  border-top: 1px solid var(--sand);
  background: var(--white);
  color: var(--text);
  padding: 1rem 1.15rem 1.2rem;
}

.acc-body.open {
  display: block;
}

.closing-cta {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  padding: 3.4rem 0;
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.closing-inner .section-title {
  color: var(--white);
}

.closing-inner .section-sub {
  color: var(--white);
}

.share-section {
  border-top: 1px solid var(--sand);
  background: var(--white);
  padding: 2.4rem 0;
  text-align: center;
}

.share-section .muted-small {
  color: #777299;
  font-size: 1.08rem;
}

.share-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.45rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .68rem;
  min-width: 190px;
  min-height: 62px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  padding: .95rem 1.35rem;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(16, 36, 60, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.share-btn:hover {
  color: var(--white);
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(16, 36, 60, .16);
}

.share-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.share-facebook {
  background: #1877F2;
}

.share-x {
  background: #000000;
}

.share-linkedin {
  background: #0A66C2;
}

.share-native {
  background: #1F568D;
}

#shareNativeBtn {
  display: inline-flex;
  cursor: pointer;
}

footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.2rem 0;
}

footer .muted-small {
  color: rgba(255, 255, 255, .78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, .6fr));
  gap: 1.5rem;
}

.footer-brand {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

footer h3 {
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .08em;
  margin-bottom: .6rem;
  text-transform: uppercase;
}

footer a {
  display: block;
  color: var(--white);
  font-size: .88rem;
  text-decoration: none;
  margin-bottom: .32rem;
}

footer a:hover {
  color: var(--white);
}

#kapcsolat {
  scroll-margin-top: 96px;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1rem;
  color: var(--white);
  font-size: .82rem;
}

#cookieBanner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid rgba(232, 221, 200, .18);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
  padding: 1rem;
  transform: translateY(calc(100% + 2rem));
  transition: transform .35s ease;
}

#cookieBanner.show {
  transform: translateY(0);
}

.cb-text {
  color: var(--white);
  font-size: .82rem;
  line-height: 1.55;
}

.cb-text a {
  color: var(--sand);
}

.cb-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  flex-shrink: 0;
}

.cb-accept,
.cb-decline {
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  padding: .6rem 1rem;
}

.cb-accept {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.cb-decline {
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: var(--white);
}

#privacyModal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  background: rgba(17, 24, 39, .68);
  padding: 3rem 1rem;
}

#privacyModal.open {
  display: flex;
}

.modal-box {
  width: min(760px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.modal-header,
.modal-footer {
  position: sticky;
  background: var(--white);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
}

.modal-header {
  top: 0;
  border-bottom: 1px solid var(--sand);
}

.modal-footer {
  bottom: 0;
  border-top: 1px solid var(--sand);
  justify-content: flex-end;
}

.modal-footer .cb-decline {
  border-color: var(--sand);
  color: var(--blue);
}

.modal-footer .cb-accept {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.modal-header h2 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.modal-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
}

.modal-body {
  color: var(--text);
  padding: 1.35rem;
}

.modal-body h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  margin: 1.2rem 0 .45rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p,
.modal-body li {
  font-size: .9rem;
}

.modal-body ul {
  margin: .4rem 0 .9rem 1.2rem;
}

.modal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: .75rem 0 1rem;
  font-size: .84rem;
}

.modal-body th,
.modal-body td {
  border: 1px solid var(--sand);
  padding: .55rem;
  text-align: left;
  vertical-align: top;
}

.modal-body th {
  background: var(--white);
  color: var(--navy);
}

.sticky-mobile-cta {
  position: fixed;
  right: 1rem;
  bottom: 80px;
  z-index: 500;
  display: none;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .22);
  font-size: .84rem;
  font-weight: 800;
  padding: .65rem 1rem;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav-inner {
    height: 64px;
  }

  .nav-logo {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-image-link {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .home-link {
    width: 38px;
    height: 38px;
  }

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

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    z-index: 200;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(232, 221, 200, .16);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(17, 24, 39, .98);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
    padding: .45rem;
    white-space: normal;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: .82rem .95rem;
    border-radius: 6px;
    color: var(--white);
    font-size: .95rem;
    font-weight: 700;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, .08);
  }

  .language-switcher {
    flex: 0 0 auto;
    justify-content: flex-start;
    margin: .35rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(232, 221, 200, .16);
    padding: .65rem .95rem .25rem;
  }

  .pillar-layout {
    grid-template-columns: 1fr;
  }

  .toc-card {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem .8rem;
  }

  .toc-title {
    grid-column: 1 / -1;
  }

  .toc-card a {
    border-top: 0;
    padding: .35rem 0;
  }

  .pillar-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .local-panel,
  .kalk-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-grid,
  .trust-grid,
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #teendok .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .urgent-panel {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-width: 980px) {
  .brand-image-link {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .nav-burger {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: .55rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    white-space: normal;
  }

  .nav-links a {
    padding: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    font-weight: 400;
  }

  .nav-links a:hover {
    background: transparent;
    color: var(--white);
  }

  .language-switcher {
    justify-content: center;
    gap: .2rem;
    margin: 0 0 0 .1rem;
    border-top: 0;
    border-left: 1px solid rgba(232, 221, 200, .22);
    padding: 0 0 0 .55rem;
  }

  .language-link {
    width: 28px;
    height: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(245px, .75fr);
  }
}

@media (max-width: 820px) {
  .hero-visual.portrait {
    height: min(440px, 60vh);
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 3rem 0;
  }

  .nav-inner {
    height: 58px;
    min-height: 0;
    padding-block: 0;
  }

  .nav-logo {
    font-size: 1rem;
    max-width: 170px;
  }

  .brand-image-link {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .nav-burger {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    margin-top: 0;
    padding: .45rem;
  }

  .nav-links a {
    font-size: .95rem;
  }

  .language-switcher {
    gap: .25rem;
    margin-left: 0;
    padding-left: .95rem;
  }

  .language-link {
    width: 28px;
    height: 28px;
    font-size: .95rem;
  }

  .pillar-section {
    padding: 1.25rem;
  }

  .toc-card,
  .numbered-grid,
  .cluster-timeline,
  .doc-check-grid,
  .doc-toggle-grid,
  .source-list,
  .document-list,
  .related-grid,
  .price-summary-grid {
    grid-template-columns: 1fr;
  }

  .pillar-cta-box .btn {
    width: 100%;
  }

  .step-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .step-cta .btn {
    width: 100%;
  }

  .next-step-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    padding: 1.9rem 0 1.6rem;
  }

  .hero-visual {
    min-height: 245px;
  }

  .hero-visual.portrait {
    height: min(360px, 56vh);
  }

  .hero-grid {
    gap: 1.2rem;
  }

  .btn-row,
  .urgent-search,
  .closing-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-button-grid,
  .hero-tile-grid {
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-top: 1.1rem;
  }

  .hero-topic-btn,
  .hero-tile {
    min-height: 68px;
    padding: .9rem 1rem;
  }

  .price-scroll-hint {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 1rem 0 -.4rem;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 800;
  }

  .price-scroll-hint::before {
    content: "\2194";
    color: var(--gold);
    font-size: 1rem;
  }

  .price-table-wrap {
    margin-top: .8rem;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(232, 221, 200, .45);
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .cta-link,
  .share-btn {
    width: 100%;
  }

  .stat-inner,
  #teendok .steps-grid,
  .timeline-grid,
  .info-cols,
  .knowledge-grid,
  .hub-grid,
  .trust-grid,
  .footer-grid,
  .cost-grid {
    grid-template-columns: 1fr;
  }

  .local-panel,
  .trust-panel,
  .calculator-shell {
    padding: 1.2rem;
  }

  #cookieBanner {
    display: block;
  }

  .cb-btns {
    margin-top: .8rem;
  }
}

/* ── AJÁNLATKÉRÉS FORM (kalkulátor eredménypanel) ── */
.lead-box {
  margin-top: 1.2rem;
  padding: 1.1rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: #FAF8F4;
}

.lead-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

@media (max-width: 640px) {
  .lead-row {
    grid-template-columns: 1fr;
  }
}

.lead-consent {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: .6rem 0 .9rem;
  cursor: pointer;
}

.lead-consent input {
  margin-top: .2rem;
  flex: 0 0 auto;
}

.lead-consent a {
  color: var(--gold);
  text-decoration: underline;
}

.req {
  color: #A2543C;
}

.lead-status {
  margin-top: .6rem;
  font-size: .88rem;
  min-height: 1.2em;
  color: var(--muted);
}

.lead-status.err {
  color: #A2543C;
}

.lead-success {
  padding: .9rem;
  border-radius: var(--radius);
  background: #EFF5EF;
  border: 1px solid var(--sage);
  color: #2F3A2F;
  font-weight: 600;
  line-height: 1.5;
}
