:root {
  --linen: #F4F3ED;
  --shade: #E6E5DA;
  --ink: #1B241C;
  --forest: #2F6B4F;
  --mute: #7D847A;
  --deep: #24533D;
  --line: #D9D8CB;
  --cell: #D5D4C7;
  --mint: #8FC2A9;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", system-ui, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--linen);
  line-height: 1.5;
  min-height: 100%;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--deep);
}

.stripe--deep a {
  color: var(--mint);
}

.stripe--deep a:hover {
  color: #F4F3ED;
}

h1,
h2,
h3,
.headline,
.wordmark,
.menu-sheet__list a,
.statbar__num,
.pricebox__sum,
.ladder__step > strong,
.qa__q {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

/* Fejléc és teljes képernyős menü */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--linen);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--forest);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--linen);
}

.menu-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 11px;
}

.menu-toggle__icon span {
  display: block;
  height: 1.5px;
  background: currentColor;
}

.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--linen);
  overflow: auto;
  padding: 28px 24px 48px;
}

.menu-sheet[hidden] {
  display: none;
}

.menu-sheet__head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.menu-sheet__close {
  border: 1.5px solid var(--linen);
  background: transparent;
  color: var(--linen);
  font-family: "IBM Plex Sans", system-ui, Arial, sans-serif;
  font-size: 0.95rem;
  padding: 8px 14px;
  cursor: pointer;
}

.menu-sheet__close:hover {
  background: var(--linen);
  color: var(--ink);
}

.menu-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.menu-sheet__list a {
  display: inline-block;
  color: var(--linen);
  text-decoration: none;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
}

.menu-sheet__list a:hover,
.menu-sheet__list a[aria-current="page"] {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.menu-sheet__meta {
  margin-top: 40px;
  color: var(--mute);
  font-size: 0.95rem;
  display: grid;
  gap: 8px;
  max-width: 36rem;
}

.menu-sheet__meta a {
  color: var(--mint);
}

/* Csíkok, sávok, tipográfia */

.stripe {
  padding: 88px 0;
  background: var(--linen);
}

.stripe--shade {
  background: var(--shade);
}

.stripe--deep {
  background: var(--ink);
  color: var(--linen);
}

.stripe--deep .kicker {
  color: var(--mint);
}

.stripe--deep .copy,
.stripe--deep .subhead {
  color: #E6E5DA;
}

.band {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.band--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.kicker {
  display: block;
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.headline {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.subhead,
.copy {
  max-width: 66ch;
  line-height: 1.65;
}

.subhead {
  margin: 0 0 28px;
  font-size: 1.08rem;
}

.copy {
  margin: 0 0 1.15em;
  font-size: 1.02rem;
}

.copy:last-child {
  margin-bottom: 0;
}

.band > h3 {
  margin: 32px 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card,
.pricebox,
.callout,
.qa,
.ladder__step {
  background: #fff;
  border: 1px solid var(--cell);
}

.stripe--shade .card,
.stripe--shade .pricebox,
.stripe--shade .qa,
.stripe--shade .ladder__step {
  background: var(--linen);
}

.stripe--deep .card {
  background: #243126;
  border-color: #3a4a3d;
  color: var(--linen);
}

.card {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.card h3,
.pricebox h3,
.ladder__step h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.card p,
.pricebox p,
.ladder__step p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.card__meta {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--cell);
  color: var(--mute);
  font-size: 0.92rem;
}

/* Statisztikai sor */

.statbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.statbar__num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--linen);
}

.statbar__label {
  display: block;
  margin-top: 8px;
  color: #C9C8BB;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Gombok */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  font-family: "IBM Plex Sans", system-ui, Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn--solid {
  background: var(--forest);
  color: #F4F3ED;
}

.btn--solid:hover {
  background: var(--deep);
  color: #F4F3ED;
}

.btn--line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--linen);
}

.stripe--deep .btn--solid {
  background: #E6E5DA;
  color: #1B241C;
}

.stripe--deep .btn--solid:hover {
  background: #FFFFFF;
  color: #1B241C;
}

.stripe--deep .btn--line {
  border-color: #E6E5DA;
  color: #E6E5DA;
}

.stripe--deep .btn--line:hover {
  background: #E6E5DA;
  color: #1B241C;
}

/* Táblázatok */

.datagrid-scroll {
  overflow-x: auto;
}

.datagrid {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.datagrid th,
.datagrid td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--cell);
}

.datagrid th {
  background: var(--ink);
  color: var(--linen);
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.datagrid tbody tr:nth-child(even) {
  background: rgba(244, 243, 237, 0.85);
}

.datagrid td {
  font-size: 0.96rem;
  line-height: 1.5;
}

/* Létrás fázislista */

.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: fazis;
}

.ladder__step {
  padding: 22px 24px 22px 78px;
  position: relative;
}

.ladder__step::before {
  counter-increment: fazis;
  content: counter(fazis);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--linen);
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

/* Árcsomagok */

.pricebox {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricebox--lead {
  border: 2px solid var(--forest);
  box-shadow: 0 12px 28px rgba(27, 36, 28, 0.08);
}

.pricebox__sum {
  margin: 8px 0 16px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.pricebox .btn {
  margin-top: auto;
}

/* Listák és kiemelés */

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

.callout {
  padding: 20px 22px 20px 26px;
  border-left: 4px solid var(--forest);
  background: var(--shade);
  line-height: 1.6;
}

.stripe--shade .callout {
  background: #fff;
}

.qa {
  padding: 22px 24px;
}

.qa + .qa {
  margin-top: 14px;
}

.qa__q {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.qa__a {
  margin: 0;
  line-height: 1.65;
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  max-height: 420px;
}

.figure--hero img {
  max-height: 460px;
}

.figure figcaption {
  margin-top: 10px;
  color: var(--mute);
  font-size: 0.9rem;
}

.mini-meta {
  width: 100%;
}

.mini-meta th,
.mini-meta td {
  padding: 10px 12px;
}

/* Űrlap */

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  position: relative;
}

.formgrid .field--wide,
.formgrid .field--actions {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid #C8C7BA;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}

.field__hint {
  margin: 0;
  color: var(--mute);
  font-size: 0.88rem;
}

.field__err {
  margin: 0;
  color: #8A2A22;
  font-size: 0.88rem;
}

.field--err input,
.field--err select,
.field--err textarea {
  border-color: #8A2A22;
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field--check label {
  font-weight: 400;
}

.field--check input {
  width: auto;
  margin-top: 4px;
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.success-note {
  display: none;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: var(--shade);
  border-left: 4px solid var(--forest);
  font-weight: 500;
}

.success-note.is-on {
  display: block;
}

.form-live {
  min-height: 0;
}

/* Térkép, süti, lábléc */

.mapframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  background: var(--shade);
}

.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--linen);
  padding: 16px 24px;
}

.cookiebar[hidden] {
  display: none;
}

.cookiebar__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.cookiebar p {
  margin: 0;
  flex: 1 1 320px;
  line-height: 1.5;
}

.cookiebar a {
  color: var(--mint);
}

.cookiebar .btn {
  min-height: 40px;
}

.cookiebar .btn--line {
  border-color: #E6E5DA;
  color: #E6E5DA;
}

.cookiebar .btn--line:hover {
  background: #E6E5DA;
  color: #1B241C;
}

.footline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  padding: 22px 24px 28px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 14px;
  line-height: 1.7;
}

.footline a {
  color: var(--mute);
}

.footline a:hover {
  color: var(--forest);
}

.sep {
  margin: 0 0.45em;
}

.lift-in {
  opacity: 1;
  transform: none;
}

html.js .lift-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

html.js .lift-in.in-view {
  opacity: 1;
  transform: none;
}

html.no-js .lift-in {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .lift-in,
  html.js .lift-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

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

  .band--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .stripe {
    padding: 56px 0;
  }

  .formgrid {
    grid-template-columns: 1fr;
  }

  .footline {
    padding-bottom: 88px;
  }
}

@media (max-width: 640px) {
  .triad,
  .statbar {
    grid-template-columns: 1fr;
  }

  .ladder__step {
    padding-left: 24px;
    padding-top: 68px;
  }
}
