/* ==========================================================================
   Közműszer – fő stíluslap
   Mobile-first, rendszerbetűtípusokkal (külső betöltés nélkül), akadálymentes fókuszjelzéssel.
   ========================================================================== */

/* ---------- Tokenek ---------- */
:root {
  --c-ink: #0a2540;
  --c-text: #1b2a3a;
  --c-muted: #566879;
  --c-bg: #f5f8fb;
  --c-surface: #ffffff;
  --c-line: #d9e3ee;
  --c-brand: #0a66b2;
  --c-brand-dark: #08508c;
  --c-brand-soft: #e6f1fa;
  --c-aqua: #12b3c8;
  --c-accent: #ffb703;
  --c-accent-dark: #f0a500;
  --c-ok: #0b7a43;
  --c-ok-soft: #e4f6ec;
  --c-err: #b3261e;
  --c-err-soft: #fdeceb;
  --c-info-soft: #e6f1fa;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .06);
  --shadow: 0 12px 32px rgba(10, 37, 64, .14);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--c-ink); line-height: 1.2; letter-spacing: -.01em; font-weight: 750; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.35rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
a { color: var(--c-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand-dark); }

:focus-visible { outline: 3px solid var(--c-aqua); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.container-auth { max-width: calc(520px + var(--gutter) * 2); }
.text-center { text-align: center; }
.muted { color: var(--c-muted); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.4em;
  font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .94rem; }
.btn-lg { min-height: 54px; padding: .8em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--c-brand); color: #fff; box-shadow: 0 6px 16px rgba(10, 102, 178, .28); }
.btn-primary:hover { background: var(--c-brand-dark); color: #fff; }
.btn-accent { background: var(--c-accent); color: var(--c-ink); box-shadow: 0 6px 16px rgba(255, 183, 3, .3); }
.btn-accent:hover { background: var(--c-accent-dark); color: var(--c-ink); }
.btn-outline { background: transparent; color: var(--c-brand); border-color: var(--c-brand); }
.btn-outline:hover { background: var(--c-brand); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn.is-loading { opacity: .75; cursor: progress; }
.btn[disabled] { cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); position: relative; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); }
.brand:hover { color: var(--c-ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-tag { font-size: .76rem; color: var(--c-muted); font-weight: 500; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-tag { color: rgba(255, 255, 255, .7); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; background: transparent; color: var(--c-ink);
  border: 1.5px solid var(--c-line); border-radius: 12px; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

.nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 12px var(--gutter) 20px;
  border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
}
.nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0 0 12px; padding: 0; }
.nav-list a {
  display: block; padding: 14px 4px; color: var(--c-ink); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--c-brand); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.lang-switch { display: inline-flex; border: 1.5px solid var(--c-line); border-radius: 999px; overflow: hidden; font-size: .85rem; font-weight: 700; }
.lang-switch a, .lang-switch span { padding: .4em .85em; text-decoration: none; line-height: 1.3; }
.lang-switch a { color: var(--c-muted); }
.lang-switch a:hover { background: var(--c-brand-soft); color: var(--c-brand); }
.lang-switch .is-active { background: var(--c-ink); color: #fff; }

/* JS nélkül a menü mindig látszik */
.no-js .nav { display: block; position: static; box-shadow: none; padding-inline: 0; }
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; padding-block: 10px; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex; align-items: center; gap: 28px; position: static; background: transparent;
    padding: 0; border: 0; box-shadow: none;
  }
  .nav-list { display: flex; gap: 6px; margin: 0; }
  .nav-list a { padding: 10px 14px; border: 0; border-radius: 999px; font-size: .98rem; }
  .nav-list a:hover { background: var(--c-brand-soft); }
  .nav-list a[aria-current="page"] { background: var(--c-brand-soft); }
  .no-js .nav { display: flex; }
}

/* ---------- Szekciók ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.section-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-head.text-center { text-align: center; }
.section-more { margin-top: 32px; }

.eyebrow {
  display: inline-block; margin: 0 0 .8em; padding: .3em .85em;
  font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-brand); background: var(--c-brand-soft); border-radius: 999px;
}
.eyebrow-light { color: #bff1f8; background: rgba(255, 255, 255, .12); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--c-muted); line-height: 1.6; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(18, 179, 200, .38), transparent 60%),
    radial-gradient(700px 360px at -10% 110%, rgba(10, 102, 178, .55), transparent 60%),
    linear-gradient(135deg, #0a2540 0%, #0b3a66 55%, #0a5a9c 100%);
  padding-block: clamp(48px, 7vw, 96px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(245, 248, 251, .06));
  pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 56ch; margin-bottom: 1.6em; }
.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .92); }
.hero-points .icon { color: #7fe3f0; margin-top: 2px; }
.hero-media { margin: 0; position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 22px;
}
.hero-media img {
  position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow); background: linear-gradient(135deg, #0b3a66, #12b3c8);
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

/* ---------- Bizalmi sáv ---------- */
.trust { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.trust-list { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; }
.trust-list .icon { color: var(--c-brand); margin-top: 2px; }
.trust-list strong { display: block; color: var(--c-ink); line-height: 1.3; }
.trust-list span { display: block; color: var(--c-muted); font-size: .92rem; line-height: 1.45; }
@media (min-width: 640px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-list { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

/* ---------- Kártyák ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bcd3e8; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--c-muted); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px;
  color: var(--c-brand); background: linear-gradient(135deg, var(--c-brand-soft), #d3ecf5);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-icon-lg { width: 64px; height: 64px; margin: 0; }
.card-icon-lg .icon { width: 30px; height: 30px; }

/* ---------- Szolgáltatások oldal ---------- */
.service-list { display: grid; gap: 18px; }
.service-item {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.service-item h3 { margin-bottom: .35em; }
.service-item p { margin: 0; color: var(--c-muted); max-width: 70ch; }
.service-item .card-icon { flex: none; }
@media (max-width: 560px) { .service-item { flex-direction: column; gap: 14px; } }

/* ---------- Folyamat ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); }
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--c-muted); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  font-weight: 800; color: #fff; background: var(--c-brand); box-shadow: 0 6px 14px rgba(10, 102, 178, .3);
}
.step-num-sm { width: 30px; height: 30px; margin: 0; font-size: .9rem; flex: none; box-shadow: none; }

/* ---------- Rólunk ---------- */
.about-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.about-grid p { color: var(--c-text); }
.about-card {
  background: linear-gradient(160deg, #0a2540, #0b3a66); color: #fff;
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.about-card h3 { color: #fff; }
.about-card p { color: rgba(255, 255, 255, .85); }
.about-card .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.about-card .btn-outline:hover { background: #fff; color: var(--c-ink); }
.about-card .btn-primary { box-shadow: none; }

/* ---------- Galéria ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.gallery li { overflow: hidden; border-radius: var(--radius); background: #dbe7f2; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s ease; }
.gallery li:hover img { transform: scale(1.04); }

/* ---------- GYIK ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.faq details[open] { background: #fff; border-color: #bcd3e8; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 650; color: var(--c-ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--c-brand); border-bottom: 2px solid var(--c-brand);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 22px 18px; color: var(--c-muted); }
.faq-answer p { margin: 0; }

/* ---------- Felhívás-sáv ---------- */
.cta-band { background: linear-gradient(135deg, #0a2540 0%, #0a5a9c 100%); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 60ch; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-inner .btn-row { justify-content: flex-end; } }

/* ---------- Oldalfej (belső oldalak) ---------- */
.page-hero {
  color: #fff; padding-block: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(18, 179, 200, .35), transparent 60%),
    linear-gradient(135deg, #0a2540 0%, #0b3a66 70%, #0a5a9c 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: .3em; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 62ch; margin: 0; }
.breadcrumb ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; }
.breadcrumb li { color: rgba(255, 255, 255, .8); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ---------- Kétoszlopos elrendezés (űrlap + oldalsáv) ---------- */
.split { display: grid; gap: clamp(24px, 4vw, 40px); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .split-reverse { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .split-account { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .aside { position: sticky; top: calc(var(--header-h) + 20px); }
  .split-account .aside { position: static; }
}
.panel {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.panel > h2, .panel > h3 { margin-bottom: .8em; }
.aside { display: grid; gap: 18px; }
.aside-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h2, .aside-card h3 { font-size: 1.15rem; margin-bottom: .7em; }
.aside-card p:last-child { margin-bottom: 0; }
.aside-card-dark { background: linear-gradient(160deg, #0a2540, #0b3a66); border-color: transparent; color: #fff; }
.aside-card-dark h2 { color: #fff; }
.aside-card-dark p { color: rgba(255, 255, 255, .85); }
.aside-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-steps li { display: flex; gap: 12px; align-items: flex-start; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--c-ok); margin-top: 3px; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--c-brand); margin-top: 2px; }
.contact-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.contact-list a { font-weight: 650; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Űrlapok ---------- */
.form { display: grid; gap: 18px; }
.form-note { margin: 0; font-size: .9rem; color: var(--c-muted); }
.fieldset { min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius); display: grid; gap: 16px; background: #fbfdff; }
.fieldset legend { padding: 0 8px; font-weight: 750; color: var(--c-ink); }
.fieldset.has-error { border-color: var(--c-err); }
.fieldset > .hint { margin: -6px 0 0; }

.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { font-weight: 650; font-size: .95rem; color: var(--c-ink); }
.req { color: var(--c-err); font-weight: 700; }
.opt { font-weight: 500; color: var(--c-muted); font-size: .85rem; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"],
.field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7em 1em; font: inherit; color: var(--c-text);
  background: #fff; border: 1.5px solid #b9c8d8; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-brand) 50%), linear-gradient(135deg, var(--c-brand) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4em; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8ea6bd; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px rgba(18, 179, 200, .25); }
.field input[readonly] { background: var(--c-bg); color: var(--c-muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-err); background: #fffafa; }
.hint { margin: 0; font-size: .86rem; color: var(--c-muted); }
.error { margin: 0; font-size: .88rem; font-weight: 600; color: var(--c-err); }

.input-wrap { position: relative; }
.input-wrap input { padding-right: 3.2em; }
.pw-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-muted); background: transparent; border: 0; border-radius: 8px; cursor: pointer;
}
.pw-toggle:hover { color: var(--c-brand); background: var(--c-brand-soft); }
.pw-toggle[aria-pressed="true"] { color: var(--c-brand); }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--c-brand); }
.check a { font-weight: 600; }

.check-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-card {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; min-height: 56px;
  background: #fff; border: 1.5px solid #b9c8d8; border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 600; color: var(--c-ink); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.check-card:hover { border-color: var(--c-brand); }
.check-card input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--c-brand); }
.check-card:has(input:checked) { border-color: var(--c-brand); background: var(--c-brand-soft); box-shadow: 0 0 0 3px rgba(10, 102, 178, .12); }
.check-card:has(input:focus-visible) { outline: 3px solid var(--c-aqua); outline-offset: 2px; }

.other-wrap { margin-top: 4px; }
.other-wrap[hidden] { display: none; }

.form-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-alt { margin: 6px 0 0; text-align: center; color: var(--c-muted); }
.form-alt-muted { font-size: .92rem; }
.form-alt a { font-weight: 650; }

/* A honeypot mező láthatatlan (a képernyőolvasók elől is elrejtve) */
.kz-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Visszajelzések ---------- */
.alert { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 550; }
.alert p { margin: 0; }
.alert-success { background: var(--c-ok-soft); border-color: #b5e2c8; color: #0a5d34; }
.alert-error { background: var(--c-err-soft); border-color: #f2c3c0; color: #8c1d18; }
.alert-info { background: var(--c-info-soft); border-color: #bcd8ee; color: #08436f; }
.alert:focus { outline: 3px solid var(--c-aqua); outline-offset: 2px; }

.success-panel { text-align: center; padding-block: 12px; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%;
  color: #fff; background: var(--c-ok); box-shadow: 0 10px 24px rgba(11, 122, 67, .3);
}
.success-icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.success-panel p { color: var(--c-muted); max-width: 48ch; margin-inline: auto; margin-bottom: 1.6em; }

/* ---------- Fiók ---------- */
.account-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.account-head h2 { margin: 0; }
.inquiries { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.inquiry { padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: #fbfdff; }
.inquiry-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.inquiry-type { font-weight: 750; color: var(--c-ink); }
.inquiry-date { margin: 2px 0 10px; font-size: .86rem; color: var(--c-muted); }
.inquiry-subject { margin: 0; color: var(--c-text); }
.inquiry-meta { margin: 0; display: grid; gap: 6px; }
.inquiry-meta div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: .94rem; }
.inquiry-meta dt { color: var(--c-muted); font-weight: 600; }
.inquiry-meta dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .inquiry-meta div { grid-template-columns: 1fr; gap: 0; } }

.badge { display: inline-block; padding: .25em .8em; border-radius: 999px; font-size: .78rem; font-weight: 750; letter-spacing: .02em; background: #e8eef4; color: #3b4d60; }
.badge-new { background: #e3f0fb; color: #0a4f8a; }
.badge-in_progress { background: #fff1cc; color: #7a5200; }
.badge-offered { background: #d9f3f7; color: #065a66; }
.badge-done { background: #dff3e8; color: #0a5d34; }
.badge-closed { background: #e8eef4; color: #3b4d60; }

/* ---------- Szöveges oldalak (adatkezelés, tartalék sablon) ---------- */
.prose { color: var(--c-text); }
.prose h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); margin-top: 1.8em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); }

/* ---------- Lábléc ---------- */
.site-footer { background: #071b30; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 64px); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; } }
.footer-title { margin: 0 0 14px; font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-about p { margin: 16px 0 0; max-width: 42ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: #7fe3f0; }
.footer-partner { margin: 16px 0 0; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .85); }

/* ---------- Mobil hívógomb ---------- */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
  background: var(--c-accent); color: var(--c-ink); font-weight: 750; text-decoration: none;
  border-radius: 999px; box-shadow: 0 10px 24px rgba(10, 37, 64, .3);
}
.call-fab:hover { color: var(--c-ink); background: var(--c-accent-dark); }
.call-fab .icon { width: 20px; height: 20px; }
@media (max-width: 979px) { .footer-bottom-inner { padding-bottom: 78px; } }
@media (min-width: 980px) { .call-fab { display: none; } }

/* ---------- Megjelenési animáció ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- Nyomtatás ---------- */
@media print {
  .site-header, .site-footer, .call-fab, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero { background: none; color: #000; padding-block: 12px; }
  .hero h1, .page-hero h1 { color: #000; }
}
