/* ==========================================================================
   FlintSign – Komponensek
   ========================================================================== */

/* --- Gombok --------------------------------------------------------------
   Figma „Button” komponens:
   .btn--primary      = Primary           (narancs; hover: fehér + narancs keret)
   .btn--outline      = Secondary-Light   (navy keret, világos háttéren; hover: navy kitöltés)
   .btn--outline-light= Secondary-Dark    (fehér keret, sötét háttéren; hover: fehér kitöltés)
   ------------------------------------------------------------------------- */
.btn {
  --btn-h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: var(--btn-h);
  padding: 0 30px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: var(--fw-semibold);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--c-orange-500); border-color: var(--c-orange-500); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--c-orange-500); }
/* Akadálymentes variáns: navy szöveg a narancson (kontraszt 7,3:1) */
.btn--primary.btn--a11y { color: var(--c-navy-900); }
.btn--primary.btn--a11y:hover { color: var(--c-orange-600); }

.btn--outline { border-color: var(--c-navy-800); color: var(--c-navy-800); background: transparent; }
.btn--outline:hover { background: var(--c-navy-800); color: #fff; }

.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--c-navy-800); }

.btn--sm { --btn-h: 42px; padding: 0 24px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
@media (max-width: 699px) { .btn--block-mobile { width: 100%; } }

.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
/* Mobilon a hosszú feliratok tördelődnek, nem lógnak ki */
@media (max-width: 699px) { .btn { white-space: normal; line-height: 1.25; padding-block: 12px; } }
@media (max-width: 699px) {
  .btn-group--stack-mobile { flex-direction: column; gap: var(--sp-3); }
  .btn-group--stack-mobile .btn { width: 100%; }
}

/* Szöveges link nyíllal („Részletek →”) */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: var(--fw-semibold); font-size: var(--fs-small);
  color: var(--c-navy-800);
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.link-arrow::after {
  content: ""; display: inline-block; vertical-align: -0.03em; flex: none; width: 1.05em; height: 0.84em;
  background-color: var(--c-orange-500);
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
  mask: var(--icon-arrow-right) center / contain no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
.cta-band--orange .link-arrow::after { background-color: currentColor; }
.is-dark .link-arrow { color: #fff; }

/* --- Értékelés badge (hero) -------------------------------------------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 8px 16px 8px 14px;
  background: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-badge);
  font-size: 13.5px; line-height: 1;
}
.rating-badge__score { font-weight: var(--fw-bold); color: var(--c-navy-800); }
.rating-badge__stars { width: 74px; height: 14px; }
.rating-badge__google { width: 16px; height: 16px; flex: none; }
.rating-badge__count { font-weight: var(--fw-medium); color: var(--c-navy-600); }

/* --- Chipek, címkék, badge-ek ------------------------------------------ */
/* Üveges kiemelés sötét háttéren (hero feature_item) */
.chip-glass {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 8px 18px 8px 14px;
  background: var(--grad-chip-glass);
  backdrop-filter: blur(2.5px); -webkit-backdrop-filter: blur(2.5px);
  border-radius: var(--r-s);
  font-size: clamp(0.875rem, 0.83rem + 0.19vw, 1.125rem); font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.92);
}
.chip-glass::before {
  content: ""; width: 10px; height: 8px; flex: none;
  background: url("../img/check.svg") center / contain no-repeat;
}
.chip-list { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* Világos chip (címkék, kategóriák) */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--c-tint-4); color: var(--c-navy-800);
  font-size: var(--fs-xs); font-weight: var(--fw-medium); line-height: 1.2;
}
.chip--orange { background: var(--c-orange-tint); color: #a45f00; }
.chip--blue   { background: var(--c-blue-tint); color: #145d93; }
.is-dark .chip { background: rgba(255,255,255,0.1); color: #fff; }

/* Kiemelő badge (pl. „Legnépszerűbb”, „−25%”) */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: var(--fw-semibold); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  background: var(--grad-brand); color: var(--c-navy-900);
}
.badge--success { background: var(--c-success-bg); color: var(--c-success); text-transform: none; letter-spacing: 0; }
.badge--success::before { content: "●"; font-size: 9px; }

/* --- Ikondoboz ---------------------------------------------------------- */
.icon-box {
  --size: 40px;
  display: inline-grid; place-items: center; flex: none;
  width: var(--size); height: var(--size);
  border-radius: var(--r-s);
  background: var(--c-orange-500); color: #fff;
}
.icon-box svg { width: 55%; height: 55%; }
.icon-box--blue { background: var(--c-blue-500); }
.icon-box--soft { background: var(--c-orange-tint); color: var(--c-orange-500); }
.icon-box--soft-blue { background: var(--c-blue-tint); color: var(--c-blue-500); }
.icon-box--lg { --size: 52px; border-radius: var(--r-m); }
.icon-box--round { border-radius: 50%; }

/* --- Kártyák ------------------------------------------------------------ */
.card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: clamp(1.25rem, 1.1rem + 0.65vw, 2rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  color: var(--text-body);
  font-size: var(--fs-small);
}
.card__head { display: flex; align-items: center; gap: var(--sp-3); }
.card__title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); line-height: var(--lh-title); color: var(--text-strong); }
.card__foot { margin-top: auto; padding-top: var(--sp-3); }

/* Kattintható kártya */
.card--link { transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--sh-hover); border-color: var(--c-line-strong); }
.card--link .card__cover-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Üveges kártya sötét háttéren („Miért”, „Kinek”) */
.card--glass {
  background: var(--grad-glass);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  color: rgba(255,255,255,0.85);
}
.card--glass .card__title { color: #fff; font-family: var(--font-body); font-size: var(--fs-body); font-weight: var(--fw-bold); }

/* Képes kártya (esettanulmány, blog, megoldás) */
.card--media { padding: 0; overflow: hidden; border-radius: var(--r-post); }
.card--media .card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-soft); }
.card--media .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card--media .card__media--wide { aspect-ratio: 16 / 9; } /* esettanulmány-borító (1280×720), mint a listaoldalon */
.card--media.card--link:hover .card__media img { transform: scale(1.04); }
.card--media .card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: clamp(1.25rem, 1.1rem + 0.65vw, 1.75rem); flex: 1; }

/* --- Pipás lista -------------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li {
  position: relative; padding-left: 30px;
  font-size: var(--fs-small); font-weight: var(--fw-medium); line-height: 1.4; color: var(--c-navy-800);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; border-radius: var(--r-xs);
  background: var(--c-orange-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.3 8.5 11 1.5' fill='none' stroke='%23fc9c10' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.is-dark .check-list li { color: rgba(255,255,255,0.92); }
.check-list--lg li { font-size: var(--fs-body); padding-left: 34px; }
.check-list--lg li::before { width: 22px; height: 22px; }

/* --- Tooltip („i” ikon + buborék) ---------------------------------------
   Árkártyák címe és listasorai. Az ikon az utolsó szóval nem törhető (.tip);
   a buborékot a main.js teszi a body-ba (.tip-pop), így karusszel sem vágja le. */
.tip { position: relative; white-space: nowrap; } /* a rejtett .tip__text ne lógjon ki a karusszelből (mobilon oldalra csúszott az oldal) */
.tip__btn {
  position: relative; display: inline-grid; place-items: center;
  width: 16px; height: 16px; margin-left: 6px; padding: 0; vertical-align: -3px;
  border: 0; border-radius: 50%; background: none;
  color: var(--c-navy-400); cursor: help;
  transition: color var(--t-fast);
}
.tip__btn::before { content: ""; position: absolute; inset: -10px; } /* nagyobb érintési felület */
.tip__btn svg { width: 16px; height: 16px; }
.tip__btn:hover, .tip__btn[aria-expanded="true"] { color: var(--c-orange-500); }
.tip__btn:focus-visible { outline: 2px solid var(--c-blue-500); outline-offset: 2px; color: var(--c-orange-500); }
.is-dark .tip__btn { color: rgba(255,255,255,0.55); }
.is-dark .tip__btn:hover, .is-dark .tip__btn[aria-expanded="true"] { color: var(--c-orange-500); }
.tip__text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.tip-pop {
  position: fixed; left: 0; top: 0; z-index: var(--z-dropdown);
  width: max-content; max-width: min(300px, calc(100vw - 24px));
  padding: 11px 15px; border-radius: 12px;
  background: var(--c-navy-800); color: rgba(255,255,255,0.92);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 400; line-height: 1.5;
  letter-spacing: 0; text-transform: none; text-align: left; white-space: normal;
  box-shadow: var(--sh-dropdown);
  pointer-events: none; opacity: 0; visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}
.tip-pop[data-side="bottom"] { transform: translateY(-4px); }
.tip-pop.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s; }
/* Nyíl az ikon felé */
.tip-pop::after {
  content: ""; position: absolute; left: var(--arrow-x, 50%); bottom: -5px;
  width: 10px; height: 10px; background: inherit; border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}
.tip-pop[data-side="bottom"]::after { top: -5px; bottom: auto; }

/* --- Szegmentált kapcsoló (1 év / 3 év) --------------------------------- */
.seg {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--c-bg-muted); border-radius: var(--r-pill);
}
.seg button {
  white-space: nowrap;
  border: 0; background: transparent; padding: 5px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--c-navy-600); line-height: 1.2;
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--c-navy-800); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
@media (hover: hover) {
  .seg button:hover { color: var(--c-navy-800); box-shadow: inset 0 0 0 1px var(--c-orange-500); }
  .seg button[aria-pressed="true"]:hover { box-shadow: inset 0 0 0 1px var(--c-orange-500), 0 1px 3px rgba(0,0,0,0.08); }
}
/* JS-sel: a fehér „pirula” csúszik az aktív gomb alá, az ár beúszik. */
.seg--slide { position: relative; }
.seg--slide button { position: relative; z-index: 1; }
.seg--slide button[aria-pressed="true"] { background: transparent; }
.seg--slide button[aria-pressed="true"]:not(:hover) { box-shadow: none; }
.seg__thumb {
  position: absolute; top: var(--seg-pad, 3px); bottom: var(--seg-pad, 3px); left: 0;
  width: var(--seg-w, 0); transform: translateX(var(--seg-x, 0));
  background: #fff; border-radius: var(--r-pill); box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 2px 8px rgba(37,46,88,0.10);
  transition: transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1), width 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.seg__thumb.is-init { transition: none; }
[data-price-for].is-swap { animation: fs-price-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-price-for].is-swap .t-price { animation: fs-price-flash 0.9s ease-out both; }
@keyframes fs-price-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes fs-price-flash {
  0%, 30% { color: var(--c-orange-500); }
}
@media (prefers-reduced-motion: reduce) {
  .seg__thumb, [data-price-for].is-swap, [data-price-for].is-swap .t-price { transition: none; animation: none; }
}
.seg--static { padding: 5px 12px; background: #fff; border: 1px solid var(--c-line-strong); font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--c-navy-800); line-height: 1.2; }

/* --- Árkártya ----------------------------------------------------------- */
.price-card {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: clamp(1.25rem, 1.1rem + 0.65vw, 2rem);
  background: #fff; border: 1px solid var(--c-line-strong); border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.price-card__label { font-size: 12.5px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-navy-800); }
.price-card__price { display: flex; flex-direction: column; gap: 6px; padding-bottom: var(--sp-4); border-bottom: 1px solid var(--c-line-strong); }
.price-card__meta { font-size: 13.5px; color: var(--c-navy-600); }
.price-card .check-list { flex: 1; align-content: start; }
.price-card--featured { border-color: rgba(252,156,16,0.5); box-shadow: 0 16px 44px rgba(252,156,16,0.12); }

/* --- Lépések ------------------------------------------------------------ */
.step {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  border-radius: var(--r-card-s);
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-card);
  font-size: var(--fs-small);
}
.step__head { display: flex; align-items: center; gap: var(--sp-3); }
.step__num {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-orange-500); color: #fff;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 17px; line-height: 1;
}
.step__title { font-weight: var(--fw-bold); font-size: var(--fs-body); color: var(--text-strong); }
.is-dark .step {
  background: var(--grad-step); border-color: rgba(255,255,255,0.07); box-shadow: none;
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  color: rgba(255,255,255,0.85);
}
.is-dark .step__title { color: #fff; }

/* --- Accordion (GYIK) --------------------------------------------------- */
.accordion { display: grid; gap: 12px; }
.accordion__item {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card-s);
  box-shadow: var(--sh-card);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.accordion__item[open] { border-color: rgba(252,156,16,0.4); box-shadow: 0 10px 26px rgba(26,33,71,0.06); }
.accordion__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: clamp(1rem, 0.9rem + 0.4vw, 1.375rem) clamp(1rem, 0.9rem + 0.4vw, 1.5rem);
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-h5); line-height: 1.3; color: var(--c-navy-800);
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q::after {
  content: "+"; display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-tint-7); color: var(--c-navy-800);
  font-family: var(--font-body); font-size: 16px; font-weight: var(--fw-semibold); line-height: 1;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.accordion__item[open] .accordion__q::after { content: "−"; background: var(--c-orange-500); color: #fff; }
.accordion__a {
  padding: 0 clamp(1rem, 0.9rem + 0.4vw, 1.5rem) clamp(1rem, 0.9rem + 0.4vw, 1.375rem);
  font-size: var(--fs-small); line-height: 1.6; color: var(--c-navy-600);
}

/* --- CTA sáv ------------------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-5);
  padding: clamp(2.5rem, 2rem + 2.5vw, 4.5rem) clamp(1.25rem, 0.5rem + 3vw, 4rem);
  border-radius: clamp(1.5rem, 1.35rem + 0.6vw, 2rem);
  background: var(--c-navy-800);
  box-shadow: var(--sh-band);
  text-align: center; color: var(--text-on-dark-body);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1;
  width: 140%; aspect-ratio: 1; left: -95%; top: -60%;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 50%, rgba(28,124,196,0.22), rgba(26,33,74,0.6) 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.625rem, 1.4rem + 0.95vw, 2.5rem); }
.cta-band p { max-width: 780px; font-size: var(--fs-body); }
.cta-band--orange { background: var(--grad-brand); color: var(--c-navy-900); box-shadow: 0 24px 60px rgba(252,156,16,0.25); }
.cta-band--orange::before { display: none; }
.cta-band--orange h2 { color: var(--c-navy-900); }

/* --- Médiadoboz (lekerekített kép) -------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--grad-hero-img); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--shadow { box-shadow: var(--sh-hover); }

/* --- Statisztika -------------------------------------------------------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); line-height: 1; color: var(--c-navy-800); }
.stat__label { font-size: var(--fs-small); color: var(--c-navy-600); }
.is-dark .stat__value { color: #fff; }

/* --- Karusszel mobilon (desktopon rács) --------------------------------- */
@media (max-width: 1099px) {
  .carousel-m {
    display: grid; grid-template-columns: none; justify-content: start; grid-auto-flow: column; grid-auto-columns: min(82%, 340px);
    gap: var(--grid-gap);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px;
    scroll-padding-inline: var(--gutter);
  }
  .carousel-m::-webkit-scrollbar { display: none; }
  .carousel-m > * { scroll-snap-align: start; }
}
.dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--sp-3); }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--c-line-strong); transition: width var(--t-base) var(--ease), background-color var(--t-base); }
.dots button[aria-current="true"] { width: 18px; background: var(--c-orange-500); }
@media (min-width: 1100px) { .dots { display: none; } }

/* --- Összehasonlító táblázat -------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--c-line); box-shadow: 0 10px 26px rgba(13,18,46,0.06); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 640px; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.table thead th { background: var(--c-bg-soft); font-family: var(--font-display); font-size: var(--fs-h5); color: var(--c-navy-800); }
.table tbody th { font-weight: var(--fw-semibold); color: var(--c-navy-800); }
.table tr:last-child > * { border-bottom: 0; }
.table .yes { color: var(--c-success); font-weight: var(--fw-bold); }
.table .no  { color: var(--c-navy-400); }
.table .col-hl { background: rgba(252,156,16,0.06); }

/* ==========================================================================
   Űrlapelemek
   ========================================================================== */
.form-card {
  padding: clamp(1.25rem, 0.9rem + 1.5vw, 2.5rem);
  background: #fff; border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(26,33,71,0.08);
}
.form-grid { display: grid; gap: var(--sp-5) var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 13.5px; font-weight: var(--fw-semibold); color: var(--c-navy-800); line-height: 1.2; }
.label .req { color: var(--c-orange-500); margin-left: 2px; }

.input, .select, .textarea {
  width: 100%; min-height: 48px;
  padding: 12px 16px;
  background: var(--c-bg-soft);
  border: 1px solid rgba(37,46,88,0.14);
  border-radius: 10px;
  font-size: 0.9375rem; color: var(--c-navy-800); line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
  appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--c-navy-400); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(37,46,88,0.28); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; background: #fff; border-color: var(--c-blue-500);
  box-shadow: 0 0 0 4px rgba(28,124,196,0.14);
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23252e58' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--c-error); background: #fff; }
.field.has-error .input:focus { box-shadow: 0 0 0 4px var(--c-error-bg); }
.field__help  { font-size: var(--fs-xs); color: var(--c-navy-600); }
.field__error { display: flex; gap: 6px; align-items: center; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--c-error); }
.field__error::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--c-error-bg); font-size: 11px; font-weight: 700; }

/* Checkbox / radio */
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: var(--fs-xs); line-height: 1.5; color: var(--c-navy-600); }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 1px 0 0;
  width: 20px; height: 20px; border-radius: 5px;
  border: 1.5px solid rgba(37,46,88,0.25); background: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--c-orange-500); border-color: var(--c-orange-500); }
.check input:checked::after {
  content: ""; width: 10px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.3 8.5 11 1.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check input[type="radio"]:checked::after { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.check a { color: var(--c-navy-800); text-decoration: underline; text-underline-offset: 2px; }

/* Választókártya (radio kártyaként – pl. csomag vagy igénylő típus) */
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice__box {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: var(--sp-5); border-radius: var(--r-card-s);
  background: #fff; border: 1.5px solid var(--c-line-strong);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.choice__title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h5); color: var(--c-navy-800); }
.choice__desc { font-size: var(--fs-xs); color: var(--c-navy-600); }
.choice input:checked + .choice__box { border-color: var(--c-orange-500); box-shadow: 0 0 0 4px var(--c-orange-tint); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--c-blue-500); outline-offset: 3px; }

/* Űrlap üzenetek */
.alert { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4) var(--sp-5); border-radius: var(--r-m); font-size: var(--fs-small); }
.alert--success { background: var(--c-success-bg); color: #10673a; }
.alert--error   { background: var(--c-error-bg); color: #a83434; }
.alert--info    { background: var(--c-blue-100); color: #145d93; }

/* Többlépéses űrlap előrehaladás */
.progress-steps { display: flex; gap: var(--sp-2); list-style: none; padding: 0; margin: 0 0 var(--sp-6); counter-reset: ps; }
.progress-steps li {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--c-navy-400);
}
.progress-steps li::before { content: ""; height: 4px; border-radius: 4px; background: var(--c-line-strong); }
.progress-steps li.is-done, .progress-steps li.is-current { color: var(--c-navy-800); }
.progress-steps li.is-done::before, .progress-steps li.is-current::before { background: var(--c-orange-500); }

/* ==========================================================================
   Header
   ========================================================================== */
/* Mobilon/tableten (<1024px) tömör navy sáv (Figma: mobile_header #252E58, 64px).
   ≥1024px-en teljes menü, sötét heróval induló oldalon átlátszó (overlay);
   1024–1199 között 64px magas és sűrített, ≥1200px-en magasabb fejléc. */
.site-header {
  position: sticky; top: var(--wp-admin-bar, 0px); z-index: var(--z-header);
  background: var(--c-navy-800);
  color: #fff;
  transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base), padding var(--t-base);
}
@media (min-width: 1024px) {
  .fs-header-overlay .site-header { position: absolute; inset: var(--wp-admin-bar, 0px) 0 auto; background: transparent; }
}
@media (min-width: 1200px) {
  body:not(.fs-header-overlay) .site-header { --header-h: 96px; }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, -24px + 3.4vw, 32px);
  height: var(--header-h);
}
/* Logó: 118px mobilon -> 160px (1200) -> 212px (>=1720) */
.site-header__logo { display: block; flex: none; width: clamp(118px, 34px + 10.5vw, 212px); }
.site-header__logo img { width: 100%; height: auto; }
@media (max-width: 1199px) { .site-header__logo { width: clamp(118px, 100px + 3vw, 140px); } }

.nav { display: none; min-width: 0; }
/* Menüpontok közti rés: 18px (1200) -> 30px (>=1500) */
.nav__list { display: flex; gap: clamp(18px, -30px + 4vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0; border: 0; background: none;
  font-size: var(--fs-nav); font-weight: var(--fw-medium); color: rgba(255,255,255,0.9);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: #fff; }
.nav__link .caret { font-size: 10px; transition: transform var(--t-fast); }
.nav__link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.site-header__actions { display: none; flex: none; align-items: center; gap: clamp(10px, -2px + 1vw, 14px); }
.site-header__actions .nav__link { margin-right: 4px; }
/* Fejléc-gombok belső margója: 18px (1200) -> 30px (>=1600) */
.site-header__actions .btn { padding-inline: clamp(18px, -18px + 3vw, 30px); }

/* A teljes menü 1024px-től látszik (alatta tablet = hamburger).
   1024–1199px között sűrítve, hogy egy sorba férjen:
   betű 14 -> 15px, menürés 14 -> 18px, gombmargó 14 -> 18px (1200-on a fenti értékekbe fut). */
@media (min-width: 1024px) {
  .nav, .site-header__actions { display: flex; }
  .site-header .burger { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header__inner { gap: 14px; }
  .nav__list { gap: clamp(14px, -9.27px + 2.273vw, 18px); }
  .nav__link { gap: 4px; font-size: clamp(14px, 8.18px + 0.568vw, 15px); }
  .site-header__actions { gap: 8px; }
  .site-header__actions .btn { padding-inline: clamp(14px, -9.27px + 2.273vw, 18px); font-size: clamp(14px, 8.18px + 0.568vw, 15px); }
}

/* Ragadós állapot görgetés után (JS teszi rá: .is-stuck) */
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
@media (min-width: 1200px) {
  .site-header.is-stuck { position: fixed; inset: var(--wp-admin-bar, 0px) 0 auto; background: rgba(26,33,74,0.96); backdrop-filter: blur(12px); --header-h: 84px; }
  .site-header.is-stuck .site-header__logo { width: 160px; }
}
/* 1024–1199: az átlátszó fejléc görgetés után rögzül és sötét hátteret kap (a többi oldalon sticky marad) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .fs-header-overlay .site-header.is-stuck { position: fixed; inset: var(--wp-admin-bar, 0px) 0 auto; background: rgba(26,33,74,0.96); backdrop-filter: blur(12px); }
}

/* WP admin sáv (bejelentkezve): a fejléc és a mobilmenü alatta kezdődik */
.admin-bar { --wp-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --wp-admin-bar: 46px; } }
/* 600px alatt a WP admin sáv görgetéskor kimegy a képből -> a ragadós fejléc a képernyő tetejére tapad */
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Mega-dropdown */
.nav__item { position: relative; }
.dropdown {
  position: absolute; left: 50%; top: calc(100% + 12px); z-index: var(--z-dropdown);
  width: 804px; max-width: calc(100vw - 40px);
  padding: 32px;
  background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-dropdown);
  color: var(--text-body);
  opacity: 0; visibility: hidden; transform: translate(calc(-50% + var(--dd-shift, 0px)), 8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--dd-shift, 0px)), 0); }
/* Kis asztali nézet: arányosan kisebb panel (a képernyőn belül tartását a main.js végzi) */
@media (max-width: 1679px) { .dropdown { width: clamp(640px, 50vw, 804px); padding: clamp(22px, 1.67vw, 32px); } .dropdown__grid { column-gap: clamp(16px, 1.9vw, 36px); } }
/* Menücím: narancs pötty + eyebrow (Figma: „● SZOLGÁLTATÁSOK”) */
.dropdown__title { display: flex; align-items: center; gap: 10px; margin: 0 0 24px 8px; color: var(--c-orange-500); }
.dropdown__title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 36px; list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px; border-radius: 14px;
  transition: background-color var(--t-fast);
}
.dropdown__link:hover { background: var(--c-bg-soft); }
.dropdown__link .icon-box { --size: 46px; border-radius: 10px; }
.dropdown__link .icon-box svg { width: 20px; height: 20px; }
.dropdown__text { display: flex; flex-direction: column; gap: 4px; padding-top: 1px; min-width: 0; }
.dropdown__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 16px; line-height: 1.25; color: var(--c-navy-800); }
.dropdown__desc { font-size: 13.5px; line-height: 1.45; color: var(--c-navy-600); }
.dropdown__link:hover .dropdown__name { color: var(--c-navy-900); }

/* Bejelentkezés + regisztráció 1024px alatt (a hamburger mellett); 600px alatt csak ikon */
.site-header__quick { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-header__quick .btn { padding-inline: 16px; }
.site-header__quick .btn svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .site-header__quick { display: none; } }
@media (max-width: 599px) {
  .site-header__quick .btn { --btn-h: 40px; width: 40px; padding: 0; }
  .site-header__quick-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Hamburger */
.burger {
  display: grid; place-items: center end; width: 44px; height: 44px;
  border: 0; background: none; color: #fff; flex: none;
}
.burger svg { width: 24px; height: 24px; }

/* Mobilmenü: jobbról beúszó panel + háttérfátyol.
   Telefonon teljes szélességű, tableten 420px széles oldalpanel. */
.mobile-menu {
  position: fixed; top: var(--wp-admin-bar, 0px); right: 0; bottom: 0; z-index: var(--z-modal);
  width: min(100%, 420px);
  display: flex; flex-direction: column;
  background: var(--c-navy-800); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: -24px 0 60px rgba(10, 14, 36, 0.35);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 380ms cubic-bezier(0.22, 0.8, 0.24, 1), visibility 0s linear 380ms;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { transform: translateX(0); visibility: visible; transition: transform 380ms cubic-bezier(0.22, 0.8, 0.24, 1), visibility 0s; }
/* A panel elemei kis késleltetéssel úsznak be */
.mobile-menu__nav > *, .mobile-menu__bottom > * { opacity: 0; transform: translateX(24px); transition: opacity 300ms ease, transform 300ms ease; }
.mobile-menu.is-open .mobile-menu__nav > *, .mobile-menu.is-open .mobile-menu__bottom > * { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__nav > :nth-child(1) { transition-delay: 90ms; }
.mobile-menu.is-open .mobile-menu__nav > :nth-child(2) { transition-delay: 130ms; }
.mobile-menu.is-open .mobile-menu__nav > :nth-child(3) { transition-delay: 170ms; }
.mobile-menu.is-open .mobile-menu__nav > :nth-child(4) { transition-delay: 210ms; }
.mobile-menu.is-open .mobile-menu__nav > :nth-child(n+5) { transition-delay: 250ms; }
.mobile-menu.is-open .mobile-menu__bottom > * { transition-delay: 280ms; }

.mobile-menu-backdrop {
  position: fixed; inset: 0; z-index: calc(var(--z-modal) - 1);
  background: rgba(10, 14, 36, 0.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 380ms ease, visibility 0s linear 380ms;
}
.mobile-menu-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity 380ms ease, visibility 0s; }

/* Kis képernyőn a WP admin sáv abszolút pozíciójú -> a nyitott menü a sáv fölé kerül */
@media (max-width: 600px) { .admin-bar .mobile-menu { top: 0; z-index: 100000; } }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu.is-open, .mobile-menu-backdrop, .mobile-menu-backdrop.is-open,
  .mobile-menu__nav > *, .mobile-menu__bottom > * { transition: none !important; }
}

.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 var(--sp-5); flex: none; }
.mobile-menu__nav { padding: var(--sp-2) var(--sp-5); flex: 1; }
.mobile-menu__group { border-bottom: 1px solid rgba(255,255,255,0.14); }
.mobile-menu__group > summary, .mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 54px; list-style: none; cursor: pointer;
  font-size: 17px; font-weight: var(--fw-semibold); color: #fff;
}
.mobile-menu__group > summary::-webkit-details-marker { display: none; }
.mobile-menu__group > summary::after { content: "+"; color: var(--c-orange-500); font-size: 20px; font-weight: var(--fw-medium); }
.mobile-menu__group[open] > summary::after { content: "−"; }
.mobile-menu__sub { list-style: none; margin: 0; padding: 0 0 var(--sp-4) var(--sp-1); display: grid; gap: 2px; }
.mobile-menu__sub a { display: block; padding: 9px 0; font-size: 15px; color: rgba(255,255,255,0.8); }
.mobile-menu__sub a:hover { color: #fff; }
.mobile-menu__bottom { display: grid; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5) var(--sp-6); flex: none; }
.mobile-menu__bottom .btn { --btn-h: 50px; font-size: 16px; }

/* ==========================================================================
   Footer
   Desktop: világos gradiens, 5 hasáb (Figma: footer_desktop)
   Mobil:   navy háttér, a linkcsoportok lenyílnak (Figma: mobile_footer)
   ========================================================================== */
.site-footer {
  padding: clamp(2.5rem, 2.2rem + 2vw, 4.5rem) 0 var(--sp-8);
  font-size: var(--fs-small); color: var(--c-navy-600);
  background: var(--grad-footer);
}
.site-footer__top { display: grid; gap: var(--sp-10); }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: minmax(260px, 340px) 1fr; justify-content: space-between; gap: 48px; } }
@media (min-width: 1600px) { .site-footer__top { grid-template-columns: minmax(300px, 400px) 1fr; gap: 64px; } }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 380px; }
.site-footer__brand .logo { width: 145px; }
.site-footer__badges { display: flex; gap: 11px; }
.site-footer__badges img { height: 40px; width: auto; }
.site-footer__cols { display: grid; gap: var(--sp-8) var(--sp-6); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1600px) { .site-footer__cols { grid-template-columns: repeat(6, auto); justify-content: space-between; } }
.site-footer__title {
  display: block; margin-bottom: 14px; list-style: none;
  font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-navy-800);
}
.site-footer__title::-webkit-details-marker { display: none; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; line-height: 1.28; }
.site-footer__links a:hover { color: var(--c-navy-800); }
.site-footer__contact { display: grid; gap: 14px; align-content: start; }
.site-footer__contact .eyebrow { font-size: 11.5px; letter-spacing: 0.04em; margin-bottom: 4px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between;
  margin-top: var(--sp-10); padding-top: 18px; border-top: 1px solid var(--c-line-strong);
  font-size: 13px;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 10px; font-weight: var(--fw-medium); }
.site-footer__legal span { color: rgba(102,112,143,0.5); }
.site-footer__legal a:hover, .site-footer__legal button:hover { color: var(--c-navy-800); }
.site-footer__legal button { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* Desktopon a csoportok mindig nyitva (JS is ráteszi az open-t), a summary nem kattintható */
@media (min-width: 1100px) {
  .site-footer__group > summary { pointer-events: none; }
}

/* --- Mobil / tablet footer (< 1100px) --- */
@media (max-width: 1099px) {
  .site-footer { background: var(--c-navy-800); color: rgba(255,255,255,0.55); }
  .site-footer__brand p { color: rgba(255,255,255,0.82); }
  .site-footer__cols { display: flex; flex-direction: column; gap: 0; }
  .site-footer__contact { gap: 16px; margin-bottom: var(--sp-10); font-size: 15px; }
  .site-footer__contact > .site-footer__title { display: none; }
  .site-footer__contact .eyebrow { font-size: 12px; letter-spacing: 0.06em; }
  .site-footer__contact a:hover { color: #fff; }
  .site-footer__group { border-bottom: 1px solid rgba(255,255,255,0.14); }
  .site-footer__group > summary {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 54px; margin: 0; cursor: pointer;
    font-size: 14px; letter-spacing: 0.08em; color: #fff;
  }
  .site-footer__group > summary::after { content: "+"; color: var(--c-orange-500); font-size: 20px; font-weight: var(--fw-medium); letter-spacing: 0; }
  .site-footer__group[open] > summary::after { content: "−"; }
  .site-footer__links { padding-bottom: var(--sp-5); }
  .site-footer__links a { color: rgba(255,255,255,0.75); }
  .site-footer__links a:hover { color: #fff; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; border-top-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.6); margin-top: var(--sp-8); padding-top: var(--sp-6); }
  .site-footer__legal span { color: rgba(255,255,255,0.35); }
  .site-footer__legal a:hover, .site-footer__legal button:hover { color: #fff; }
  .site-footer .social a { background: rgba(255,255,255,0.1); color: #fff; }
}

.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-tint-7); color: var(--c-navy-800); font-weight: var(--fw-semibold); transition: background-color var(--t-fast), color var(--t-fast); }
.social a:hover { background: var(--c-navy-800); color: #fff; }
.social svg { width: 15px; height: 15px; }

/* ==========================================================================
   Cookie-kezelő (saját CMP) – nincs a Figmában, a design systemből levezetve
   ========================================================================== */
.cookie-banner {
  position: fixed; z-index: var(--z-cookie);
  left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4);
  max-width: 560px;
  padding: var(--sp-6);
  background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-dropdown);
  border: 1px solid var(--c-line);
  font-size: var(--fs-small); color: var(--c-navy-600);
}
@media (min-width: 700px) { .cookie-banner { left: var(--sp-6); bottom: var(--sp-6); } }
.cookie-banner__title { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-2); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h5); color: var(--c-navy-800); }
.cookie-banner__text a { color: var(--c-navy-800); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--sp-5); }
.cookie-banner__actions .btn { --btn-h: 44px; padding: 0 16px; font-size: 15px; }
.cookie-banner__actions .btn--settings { grid-column: 1 / -1; }
@media (min-width: 520px) { .cookie-banner__actions { grid-template-columns: auto 1fr 1fr; } .cookie-banner__actions .btn--settings { grid-column: auto; } }
.btn--ghost { background: transparent; border-color: transparent; color: var(--c-navy-800); text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.btn--ghost:hover { color: var(--c-orange-500); }

/* Állandó süti-gomb bal alul (amíg a sáv látszik, rejtve) */
.cookie-fab {
  position: fixed; z-index: calc(var(--z-cookie) - 1);
  left: var(--sp-4); bottom: var(--sp-4);
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--c-line); border-radius: 50%;
  background: #fff; color: var(--c-orange-500); box-shadow: var(--sh-hover);
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.cookie-fab svg { width: 24px; height: 24px; }
.cookie-fab:hover { background: var(--c-orange-500); color: #fff; transform: translateY(-2px); }
.cookie-fab:focus-visible { outline: 2px solid var(--c-orange-500); outline-offset: 3px; }
@media (max-width: 699px) { .cookie-fab { left: 12px; bottom: 12px; width: 40px; height: 40px; } .cookie-fab svg { width: 20px; height: 20px; } }
@media (min-width: 700px) { .cookie-fab { left: var(--sp-6); bottom: var(--sp-6); } }
.cookie-banner:not([hidden]) ~ .cookie-fab { display: none; }
@media print { .cookie-fab { display: none; } }

.cookie-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--sp-4); background: rgba(26,33,74,0.55); backdrop-filter: blur(4px); }
.cookie-modal[hidden] { display: none; }
.cookie-modal__panel { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-dropdown); }
.cookie-modal__head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: var(--sp-6) var(--sp-6) var(--sp-4); border-bottom: 1px solid var(--c-line); }
.cookie-modal__body { padding: var(--sp-4) var(--sp-6); display: grid; gap: 4px; }
.cookie-modal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: var(--sp-4) var(--sp-6) var(--sp-6); border-top: 1px solid var(--c-line); }
.cookie-modal__foot .btn { --btn-h: 44px; font-size: 15px; padding-inline: var(--sp-5); }
.cookie-modal__foot .btn--ghost { margin-right: auto; padding-inline: 0; }
@media (max-width: 560px) {
	.cookie-modal__foot { flex-direction: column-reverse; align-items: stretch; }
	.cookie-modal__foot .btn { width: 100%; }
	.cookie-modal__foot .btn--ghost { margin: 4px auto 0; width: auto; }
}
.cookie-cat { padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.cookie-cat:last-child { border-bottom: 0; }
.cookie-cat__row { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.cookie-cat__name { font-weight: var(--fw-semibold); color: var(--c-navy-800); font-size: var(--fs-body); }
.cookie-cat__desc { margin-top: 4px; font-size: var(--fs-xs); color: var(--c-navy-600); }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--c-tint-4); color: var(--c-navy-800); }
.icon-btn:hover { background: var(--c-tint-7); }

/* Kapcsoló (toggle) */
.switch { position: relative; display: inline-flex; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 44px; height: 26px; border-radius: var(--r-pill); background: rgba(37,46,88,0.2); transition: background-color var(--t-fast); position: relative; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform var(--t-fast) var(--ease); }
.switch input:checked + .switch__track { background: var(--c-orange-500); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:disabled + .switch__track { background: rgba(252,156,16,0.45); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--c-blue-500); outline-offset: 2px; }

/* Consent előtti beágyazás helyőrzője (YouTube, térkép) */
.embed-placeholder {
  display: grid; place-items: center; gap: var(--sp-3); text-align: center;
  aspect-ratio: 16 / 9; padding: var(--sp-6);
  border-radius: var(--r-card); background: var(--c-navy-800); color: var(--text-on-dark-body);
  font-size: var(--fs-small);
}
.embed-placeholder strong { color: #fff; font-family: var(--font-display); font-size: var(--fs-h5); }

/* ==========================================================================
   Aloldal hero + morzsamenü (Figma: sub_hero)
   ========================================================================== */
.page-hero { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
@media (min-width: 1200px) { .fs-header-overlay .page-hero:first-child { padding-top: calc(var(--header-h) + clamp(1.5rem, 1rem + 1.5vw, 2.5rem)); } }
/* 1024–1199: az átlátszó fejléc alatt a megszokott felső térköz + fejlécmagasság */
@media (min-width: 1024px) and (max-width: 1199px) { .fs-header-overlay .page-hero:first-child { padding-top: calc(var(--header-h) + clamp(2rem, 1.5rem + 2vw, 3rem)); } }
.page-hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1100px) { .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.page-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); max-width: 780px; }
.page-hero__lead { font-size: clamp(1.0625rem, 0.98rem + 0.36vw, 1.3125rem); font-weight: var(--fw-medium); line-height: 1.4; color: #fff; }
.page-hero__text { font-size: clamp(0.9375rem, 0.9rem + 0.13vw, 1.0625rem); line-height: 1.55; color: rgba(255,255,255,0.72); }
.page-hero__content .btn-group { margin-top: var(--sp-2); }
.page-hero__media img { width: 100%; height: auto; }
@media (max-width: 1099px) { .page-hero__media { order: -1; max-width: 560px; } }

/* Középre zárt, kompakt változat (Kapcsolat, Blog, Fogalomtár) */
.page-hero--center .page-hero__content { align-items: center; text-align: center; margin-inline: auto; max-width: 1200px; }
.page-hero--center .page-hero__text { max-width: 800px; }
.page-hero--center .page-hero__text p + p { margin-top: 1.4em; }
.page-hero--compact { padding-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; list-style: none; margin: 0; padding: 0;
  font-size: var(--fs-eyebrow); font-weight: var(--fw-semibold); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; color: var(--c-navy-800); }
.breadcrumb li + li::before { content: "→"; letter-spacing: 0; color: var(--c-navy-400); font-weight: var(--fw-regular); }
.breadcrumb a { color: var(--c-orange-500); }
.breadcrumb a:hover { color: var(--c-navy-800); }
.is-dark .breadcrumb li { color: rgba(255,255,255,0.88); }
.is-dark .breadcrumb li + li::before { color: rgba(255,255,255,0.55); }
.is-dark .breadcrumb a:hover { color: #fff; }

/* --- Aktív menüpont ------------------------------------------------------- */
/* Főmenü: narancs pirula (a szomszédok helyét nem tolja el) */
.nav__link.is-active {
  padding-inline: 14px; margin-inline: -14px;
  border-radius: var(--r-pill);
  background: var(--c-orange-500); color: #fff;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__link.is-active:hover { background: var(--c-orange-600); color: #fff; }
.site-header__actions .nav__link.is-active { margin-right: -10px; }
/* Sűrített fejléc (1024–1199): kisebb menürés mellett keskenyebb pirula, hogy ne érjen a szomszédhoz */
@media (min-width: 1024px) and (max-width: 1199px) { .nav__link.is-active { padding-inline: 10px; margin-inline: -10px; } }

/* Dropdown: az aktív elem ugyanazt a hátteret kapja, mint hoverkor */
.dropdown__link.is-active { background: var(--c-bg-soft); }
.dropdown__link.is-active .dropdown__name { color: var(--c-navy-900); }

/* Mobilmenü: aktív csoport és aktív alelem */
.mobile-menu__group.is-active > summary { color: var(--c-orange-500); }
.mobile-menu__link.is-active {
  align-self: flex-start;
  padding: 6px 14px; margin: 6px 0;
  border-radius: var(--r-pill);
  background: var(--c-orange-500); color: #fff;
}
.mobile-menu__sub a.is-active {
  display: inline-block; padding: 7px 12px; margin: 2px 0;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.14); color: #fff; font-weight: var(--fw-semibold);
}

/* Kis keretes gomb nyíllal (Figma „cl”): Inter Semi Bold 14, 11/20 padding, 1,5px navy keret, narancs nyíl */
.btn--pill { --btn-h: 39px; gap: 8px; padding: 0 20px; border: 1.5px solid var(--c-navy-800); background: transparent; color: var(--c-navy-800); font-size: 14px; font-weight: var(--fw-semibold); }
.btn--pill::after { content: ""; width: 14px; height: 11px; background-color: var(--c-orange-500); -webkit-mask: var(--icon-arrow-right) center / contain no-repeat; mask: var(--icon-arrow-right) center / contain no-repeat; transition: transform var(--t-fast); }
.btn--pill:hover { background: var(--c-navy-800); color: #fff; }
.btn--pill:hover::after { transform: translateX(3px); }
.btn--pill-light { border-color: #fff; color: #fff; }
.btn--pill-light:hover { background: #fff; color: var(--c-navy-800); }

/* Sütilista a süti-beállítások ablakban */
.cookie-cat__cookies { margin-top: 10px; }
.cookie-cat__cookies > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-size: 13px; font-weight: var(--fw-semibold); color: var(--c-navy-800); }
.cookie-cat__cookies > summary::-webkit-details-marker { display: none; }
.cookie-cat__cookies > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--c-orange-500); border-bottom: 2px solid var(--c-orange-500); transform: translateY(-2px) rotate(45deg); transition: transform var(--t-fast); }
.cookie-cat__cookies[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.cookie-cat__cookies > summary:hover { color: var(--c-orange-500); }
.cookie-list { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.cookie-list__item { padding: 10px 12px; border-radius: 10px; background: var(--c-bg-soft); }
.cookie-list__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cookie-list__name { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; font-weight: var(--fw-semibold); color: var(--c-navy-800); word-break: break-word; }
.cookie-list__exp { flex: none; font-size: 12px; color: var(--c-navy-600); }
.cookie-list__desc { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--c-navy-600); }
.cookie-list__desc strong { color: var(--c-navy-800); font-weight: var(--fw-semibold); }

/* Videó hozzájárulás-függő helyőrzővel (YouTube, Vimeo) */
.fs-video, .fs-video__iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
.fs-video { overflow: hidden; background: var(--c-navy-900) url("../img/bg-hero.png") center / cover no-repeat; }
.fs-video__open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; padding: 20px; border: 0; background: rgba(26,33,74,0.35); cursor: pointer; text-align: center; color: #fff; font: inherit; }
.fs-video__play { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,0.18); transition: background-color var(--t-fast), transform var(--t-fast); }
.fs-video__play::after { content: ""; margin-left: 4px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.fs-video__note { max-width: 340px; font-size: 14px; font-weight: var(--fw-medium); line-height: 1.45; color: #fff; }
.fs-video__btn { --btn-h: 38px; min-height: 38px; padding: 0 18px; font-size: 13.5px; pointer-events: none; }
.fs-video__open:hover .fs-video__play, .fs-video__open:focus-visible .fs-video__play { background: var(--c-orange-500); transform: scale(1.05); }
.fs-video__open:focus-visible { outline: 3px solid var(--c-orange-500); outline-offset: -3px; }
@media (max-width: 699px) { .fs-video__open { gap: 8px; padding: 12px; } .fs-video__play { width: 44px; height: 44px; } .fs-video__note { font-size: 13px; } }
.prose .fs-video, .prose .fs-video__iframe { margin-block: 1.2em; }
/* Fejléc: az „Árak” és a Bejelentkezés gomb közti távolság = a két gomb közti távolság (aktív állapotban is) */
.site-header__actions .nav__link, .site-header__actions .nav__link.is-active { margin-right: 0; }

/* Megamenü ikonok: alapból kék (halványkék háttér), hoverre / fókuszra / aktív menüpontnál narancs – a kártyák hover-mintájához igazítva */
.dropdown__link .icon-box { background: var(--c-blue-tint); color: var(--c-blue-500); transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.dropdown__link:is(:hover, :focus-visible, .is-active) .icon-box { background: var(--c-orange-tint); color: var(--c-orange-500); }
