/* =============================================================
   AI4Note / ai4note.itware.hu – ITware
   1. Tokenek   2. Reset   3. Alap   4. Layout   5. Komponensek
   6. Szekciók  7. Footer  8. Reszponzív
   ============================================================= */

/* ------------------------------------------------- 1. TOKENEK */
:root {
  --blue-900: #1B457F;
  --blue-700: #1B457F;
  --blue-500: #1B457F;
  --blue-300: #8DA2CA;
  --blue-200: #A9B9D7;
  --blue-100: #E8ECF4;
  --white:    #FFFFFF;
  --gray-50:  #F7F8FA;
  --gray-200: #E3E6EB;
  --gray-500: #6B7280;
  --gray-900: #1A1D21;
  --orange-500: #F89400;  /* ITware narancs: CTA, badge, kiemelés  */
  --orange-600: #E08600;  /* CTA hover                               */
  --orange-700: #A86400;  /* narancs SZÖVEG világos háttéren (4,7:1)  */

  --wrap: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(27, 69, 127, .08);
  --shadow-lg: 0 18px 48px rgba(27, 69, 127, .14);
  --header-h: 84px;

  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --t: 180ms cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.i18n-pending body { visibility: hidden; }
body { margin: 0; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------------------------------------------------- 3. ALAP */
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue-900); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none;
  transition: top var(--t);
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--orange-700); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------- 4. LAYOUT */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 860px); }

.section, section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--gray { background: var(--gray-50); }

.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }

.eyebrow {
  font-family: var(--serif); font-size: .95rem; font-weight: 700;
  color: var(--blue-500); margin-bottom: 10px;
}
.eyebrow--light { color: var(--blue-200); }

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--blue-900);
  margin-bottom: 18px;
  max-width: none;
}
.section-lead { color: var(--gray-500); max-width: none; margin-bottom: 40px; }
.body-lg { color: var(--gray-500); max-width: none; margin-bottom: 28px; }

/* ---------------------------------------------- 5. KOMPONENSEK */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange-500); color: var(--gray-900); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(248, 148, 0, .28); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }

/* ---- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.site-header.is-stuck { border-color: var(--gray-200); box-shadow: 0 2px 16px rgba(27, 69, 127, .07); }

.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h); padding: 10px 0;
}

.brand { flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; object-fit: contain; }
.brand-sep { width: 1px; align-self: stretch; min-height: 34px; background: var(--gray-200); flex-shrink: 0; }

.partners { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.partners img { height: 32px; width: auto; object-fit: contain; }

.mainnav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.mainnav a {
  text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--gray-900);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color var(--t), border-color var(--t);
}
.mainnav a:not(.btn):hover { color: var(--blue-500); border-color: var(--orange-500); }
.mainnav .nav-cta, .mainnav .lang-switch--mobile { display: none; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--gray-200); border-radius: 999px;
  padding: 3px; background: #fff; flex-shrink: 0;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 6px 13px; font-size: .82rem; font-weight: 700; letter-spacing: .03em;
  color: var(--gray-500); transition: background var(--t), color var(--t);
}
.lang-switch button:hover { color: var(--blue-500); }
.lang-switch button[aria-pressed="true"] { background: var(--blue-500); color: #fff; }

.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--gray-200);
  background: #fff; border-radius: var(--radius-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--blue-900); transition: transform var(--t), opacity var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: 48px; align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
}
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.15fr .85fr; } }

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin-bottom: 20px; max-width: 16ch;
}
.hero h1 em { font-style: normal; color: #F89400; }
.hero .lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: #D7DFED; max-width: 58ch; margin-bottom: 32px; }

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

.hero-trust { display: grid; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 26px; }
@media (min-width: 620px) { .hero-trust { grid-template-columns: repeat(3, 1fr); } }
.hero-trust strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.hero-trust span { display: block; font-size: .85rem; color: #A9B9D7; line-height: 1.45; }

.hero-visual { display: flex; justify-content: center; }
.visual-col { display: flex; justify-content: center; }
@media (min-width: 900px) { .split--visual-left .visual-col { order: -1; } }

/* ---- Cserélhető illusztrációk (assets/img/*.svg) */
.figure { margin: 0; width: 100%; }
.figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.figure--float img { box-shadow: 0 26px 60px rgba(0, 0, 0, .3); }
.figure--plain { max-width: 900px; margin: 0 auto 34px; }
.figure--plain img { box-shadow: var(--shadow); background: #fff; }
@media (min-width: 980px) {
  .hero-inner--wide { grid-template-columns: .92fr 1.08fr; }
}

/* ---- Panelek (kihívás) */
.panel { padding: 30px; border-radius: var(--radius); }
.panel h3 { font-size: 1.2rem; margin-bottom: 16px; color: var(--blue-900); }
.panel--problem { background: var(--blue-100); }
.panel--solution { background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow); }
.panel--solution p { color: var(--gray-500); }
.panel-kicker { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gray-200); font-weight: 700; color: var(--blue-900) !important; }

.list-x { display: grid; gap: 12px; }
.list-x li { position: relative; padding-left: 30px; color: var(--blue-700); }
.list-x li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 13px; height: 13px;
  background:
    linear-gradient(to bottom right, transparent 44%, var(--orange-500) 44%, var(--orange-500) 56%, transparent 56%),
    linear-gradient(to bottom left, transparent 44%, var(--orange-500) 44%, var(--orange-500) 56%, transparent 56%);
}

/* ---- Minikártyák + callout */
.minicards { display: grid; gap: 14px; margin-bottom: 26px; }
@media (min-width: 560px) { .minicards { grid-template-columns: 1fr 1fr; } }
.minicard {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.minicard h3 { font-size: 1rem; margin-bottom: 6px; color: var(--blue-900); }
.minicard p { font-size: .9rem; color: var(--gray-500); line-height: 1.5; }

.callout {
  display: flex; align-items: center; gap: 16px;
  background: var(--blue-100); border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px;
  font-size: .95rem; color: var(--blue-700);
}
.callout-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--orange-700); line-height: 1; }

/* ---- Bento kártyák */
.bento { display: grid; gap: 18px; }
@media (min-width: 620px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bento { grid-template-columns: repeat(3, 1fr); } .card--wide { grid-column: span 2; } }

.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--blue-900); }
.card p { color: var(--gray-500); font-size: .95rem; }

.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-500); margin-bottom: 18px;
}
.icon svg { width: 23px; height: 23px; }

.card--accent { background: var(--blue-900); border-color: var(--blue-900); color: #fff; }
.card--accent h3 { color: #fff; }
.card--accent p { color: #C6D1E5; }
.card--accent .icon { background: rgba(255, 255, 255, .12); color: #fff; }
.card--accent:hover { border-color: var(--orange-500); }

/* ---- Lépések */
.steps { display: grid; gap: 22px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 26px; border-top: 3px solid var(--gray-200); transition: border-color var(--t); }
.step:hover { border-color: var(--blue-500); }
.step-num { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--blue-300); line-height: 1; display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--blue-900); }
.step p { font-size: .93rem; color: var(--gray-500); }

/* ---- Biztonsági lista */
.seclist { display: grid; gap: 0; margin: 0; }
/* széles szekcióban két hasáb, hogy a sorhossz olvasható maradjon */
@media (min-width: 900px) {
  .seclist--2col { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .seclist--2col .secitem:nth-child(2) { border-top: 2px solid var(--blue-500); }
  .seclist--2col .secitem:nth-last-child(-n+2) { border-bottom: 2px solid var(--gray-200); }
}
.secitem { padding: 22px 0 28px; border-top: 2px solid var(--blue-500); }
.secitem:last-child { border-bottom: 2px solid var(--gray-200); }
.secitem dt { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; color: var(--blue-900); margin-bottom: 6px; }
.secitem dd { margin: 0; font-size: .94rem; color: var(--gray-500); max-width: none; }

/* ---- Alcím szekción belül */
.sub-title {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--blue-900); margin: 60px 0 14px;
}

.sub-title--tight { margin-top: 40px; margin-bottom: 20px; }
.sub-title--flush { margin-top: 0; }

/* ---- Feladatlista (pipás rács) */
.tasklist { display: grid; gap: 12px; margin-bottom: 52px; }
@media (min-width: 620px) { .tasklist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tasklist { grid-template-columns: repeat(3, 1fr); } }
.tasklist li {
  position: relative; padding: 14px 18px 14px 46px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .94rem; color: var(--blue-900);
  transition: border-color var(--t), transform var(--t);
}
.tasklist li:hover { border-color: var(--blue-300); transform: translateY(-2px); }
.tasklist li::before {
  content: ""; position: absolute; left: 18px; top: 50%; margin-top: -4px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--orange-500); border-bottom: 2px solid var(--orange-500);
  transform: rotate(-45deg);
}

/* ---- Számozott folyamatlista */
.flowlist { counter-reset: fl; display: grid; gap: 0; }
.flowlist li {
  counter-increment: fl; position: relative;
  padding: 22px 0 22px 66px; border-top: 1px solid var(--gray-200);
}
.flowlist li:last-child { border-bottom: 1px solid var(--gray-200); }
.flowlist li::before {
  content: counter(fl, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-500);
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flowlist h4 { font-family: var(--serif); font-size: 1.08rem; color: var(--blue-900); margin: 0 0 5px; }
.flowlist p { font-size: .94rem; color: var(--gray-500); max-width: none; }

/* ---- Hero jelölő (állapot-badge) */
.pill {
  display: inline-block; margin-bottom: 18px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: #D7DFED;
}

/* ---- Prioritás-jelölő a kártyákon */
.card-rank {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-700); margin-bottom: 6px;
}
.card--accent .card-rank { color: #FFB84D; }

/* ---- Minőségi szintek (szélesedő sávok) */
.qlevels { display: grid; gap: 10px; }
.qlevels li { display: flex; align-items: center; gap: 18px; }
.qbar {
  flex-shrink: 0; height: 52px; border-radius: 10px;
  background: linear-gradient(90deg, var(--blue-100), #D1DAEA);
}
.qlevels li:nth-child(1) .qbar { width: 64px; }
.qlevels li:nth-child(2) .qbar { width: 104px; }
.qlevels li:nth-child(3) .qbar { width: 144px; }
.qlevels li:nth-child(4) .qbar { width: 184px; }
.qlevels li:nth-child(5) .qbar { width: 224px; }
.qlevels li:nth-child(6) .qbar { width: 264px; background: linear-gradient(90deg, #D1DAEA, var(--blue-500)); }
.qlevels h4 { font-family: var(--serif); font-size: 1.02rem; color: var(--blue-900); margin: 0 0 3px; }
.qlevels p { font-size: .9rem; color: var(--gray-500); }
@media (max-width: 720px) {
  .qlevels li { flex-direction: column; align-items: stretch; gap: 8px; }
  .qbar { height: 8px; }
  .qlevels li:nth-child(1) .qbar { width: 20%; }
  .qlevels li:nth-child(2) .qbar { width: 34%; }
  .qlevels li:nth-child(3) .qbar { width: 48%; }
  .qlevels li:nth-child(4) .qbar { width: 62%; }
  .qlevels li:nth-child(5) .qbar { width: 80%; }
  .qlevels li:nth-child(6) .qbar { width: 100%; }
}

/* ---- Összehasonlító táblázat */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* ha közvetlenül kártyarács után jön, kell közé levegő */
.bento + .table-scroll { margin-top: clamp(32px, 4vw, 48px); }
.bento + .split { margin-top: clamp(48px, 6vw, 76px); }
.cmptable {
  width: 100%; min-width: 640px; border-collapse: collapse;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.cmptable th, .cmptable td { padding: 15px 20px; text-align: left; font-size: .94rem; }
.cmptable thead th {
  background: var(--blue-900); color: #fff;
  font-family: var(--serif); font-size: .98rem; font-weight: 700;
}
.cmptable thead th.is-ours { background: var(--blue-500); }
.cmptable tbody tr { border-top: 1px solid var(--gray-200); }
.cmptable tbody td:first-child { color: var(--blue-900); font-weight: 600; }
.cmptable tbody td:nth-child(2) { color: var(--gray-500); }
.cmptable tbody td:last-child { color: var(--blue-700); font-weight: 700; background: var(--gray-50); }

/* ---- Közvetlen elérhetőség */
.contact-direct { margin-top: 26px; font-size: 1rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact-direct a { color: var(--blue-500); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--blue-100); }
.contact-direct a:hover { border-color: var(--orange-500); }
.contact-direct span { color: var(--gray-200); }

/* ---- Tech grid */
.techgrid { display: grid; gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 620px) { .techgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .techgrid { grid-template-columns: repeat(3, 1fr); } }
.tech { background: #fff; padding: 24px; transition: background var(--t); }
.tech:hover { background: var(--gray-50); }
@media (min-width: 620px) { .tech--wide { grid-column: 1 / -1; } }
.tech h3 { font-size: 1rem; margin-bottom: 6px; color: var(--blue-900); }
.tech p { font-size: .88rem; color: var(--gray-500); line-height: 1.5; }

/* ---- GYIK */
.faq { border-top: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 22px 4px; font-family: var(--serif); font-size: 1.08rem; font-weight: 700;
  color: var(--blue-900); transition: color var(--t);
}
.faq-q:hover { color: var(--blue-500); }
.faq-ico { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px;
  background: var(--orange-500); transition: transform var(--t);
}
.faq-ico::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-ico::after { transform: rotate(0); }
.faq-a { overflow: hidden; height: 0; transition: height var(--t); }
.faq-a p { padding: 0 4px 24px; color: var(--gray-500); max-width: none; }

/* ---- CTA sáv */
.ctaband { background: var(--blue-900); color: #fff; padding: clamp(44px, 6vw, 68px) 0; }
.ctaband-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .ctaband-inner { grid-template-columns: 1fr auto; gap: 48px; } }
.ctaband h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.ctaband p { color: #C6D1E5; max-width: none; }

/* ---- Kapcsolat */
.contact-points { display: grid; gap: 18px; margin-top: 8px; }
.contact-points li { padding-left: 20px; border-left: 3px solid var(--blue-100); }
.contact-points strong { display: block; font-family: var(--serif); font-size: 1.02rem; color: var(--blue-900); margin-bottom: 3px; }
.contact-points span { font-size: .93rem; color: var(--gray-500); }

.form {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 34px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--blue-900); margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(27, 69, 127, .14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.has-error input, .field.has-error textarea { border-color: var(--orange-500); }

.err { display: none; font-size: .82rem; color: var(--orange-700); margin-top: 6px; }
.field.has-error .err { display: block; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; font-weight: 400 !important; color: var(--gray-500) !important; line-height: 1.5; cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue-500); flex-shrink: 0; }

.form-status { margin-top: 14px; font-size: .9rem; font-weight: 700; min-height: 1.4em; }
.form-status.ok { color: #1D7A4C; }
.form-status.is-error { color: var(--orange-700); }
.field--captcha { min-height: 78px; }
.field--captcha[hidden] { display: none; }
.form [type="submit"][disabled] { opacity: .7; cursor: progress; transform: none; }

/* ----------------------------------------------------- 7. FOOTER */
.site-footer { background: var(--blue-900); color: #C6D1E5; padding: clamp(44px, 6vw, 68px) 0 28px; font-size: .92rem; }
.footer-top { display: grid; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }

.brand-chip {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px;
}
.brand-chip img { height: 30px; width: auto; object-fit: contain; }
.brand-chip .brand-logo { height: 38px; }
.partners a, .brand-chip a { display: flex; align-items: center; }
.footer-tag { font-family: var(--serif); font-size: 1.05rem; color: #fff; max-width: none; }

.site-footer h3 { font-size: .95rem; color: #fff; margin-bottom: 14px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.site-footer a { color: #C6D1E5; text-decoration: none; transition: color var(--t); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-top: 22px; font-size: .84rem; color: #A9B9D7; }

/* ------------------------------------------------ 8. ANIMÁCIÓ */
/* Csak akkor rejtünk, ha a JS fut (különben a tartalom láthatatlan maradna). */
.js .reveal > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in > * { opacity: 1; transform: none; }
.reveal.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal.is-in > *:nth-child(6) { transition-delay: .35s; }
.reveal.is-in > *:nth-child(7) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) { .js .reveal > * { opacity: 1; transform: none; } }

/* ----------------------------------------------- 9. RESZPONZÍV */
@media (max-width: 1100px) {
  .mainnav { gap: 16px; }
  .mainnav a { font-size: .88rem; }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .burger { display: flex; }
  .header-cta, .lang-switch--desktop { display: none; }

  .mainnav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg); padding: 10px 20px 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .mainnav.is-open { display: flex; }
  .mainnav a { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
  .mainnav a:not(.btn):hover { border-color: var(--orange-500); }
  .mainnav .nav-cta { display: inline-flex; margin-top: 18px; border-bottom: 0; }
  .mainnav .lang-switch--mobile { display: inline-flex; align-self: flex-start; margin: 6px 0 12px; }
  .lang-switch--mobile button { padding: 10px 20px; font-size: .9rem; }
}

@media (max-width: 720px) {
  .header-inner { gap: 10px; }
  .brand-logo { height: 34px; }
  .partners img { height: 24px; }
  .partners { gap: 10px; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; row-gap: 8px; }
  .brand { order: 1; }
  .burger { order: 2; }
  .partners { order: 3; width: 100%; gap: 12px; }
  .brand-sep { display: none; }
  .partners img { height: 22px; }
  .hero-actions .btn { width: 100%; }
}

/* ------------------------------------------- USP és célcsoportok */
.usp-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
.usp {
  padding: 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--gray-200);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.usp-num {
  display: block; margin-bottom: 14px; font-size: .82rem; font-weight: 800;
  letter-spacing: .14em; color: var(--orange-700);
}
.usp h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--blue-900); }
.usp p { color: var(--gray-500); font-size: .97rem; }
.usp--lead { background: var(--blue-900); border-color: var(--blue-900); }
.usp--lead .usp-num { color: var(--blue-200); }
.usp--lead h3 { color: #fff; }
.usp--lead p { color: #C6D1E5; }
.usp--lead:hover { border-color: var(--orange-500); }

.aud-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
.aud {
  display: flex; flex-direction: column; padding: 28px 30px 30px;
  border-radius: var(--radius); background: #fff;
  border: 1px solid var(--gray-200); border-top: 3px solid var(--blue-500);
  transition: transform var(--t), box-shadow var(--t);
}
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud-tag {
  align-self: flex-start; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-500);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.aud h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 10px; color: var(--blue-900); }
.aud p:last-child { color: var(--gray-500); font-size: .95rem; }
.aud-roles { margin-top: 28px; max-width: none; color: var(--gray-500); }
.aud-roles strong { color: var(--blue-900); }

/* Fókuszgyűrű sötét felületen: a világos narancs látszik jól */
.hero :focus-visible, .ctaband :focus-visible, .site-footer :focus-visible,
.panel--dark :focus-visible, .card--accent :focus-visible { outline-color: var(--orange-500); }

/* Footer: link az élő alkalmazásra */
@media (min-width: 860px) { .footer-top--4 { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-app { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.footer-app a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.footer-app .ext-ico { flex-shrink: 0; }
.footer-app p { font-size: .84rem; color: var(--blue-200); max-width: 24ch; }
