/* ==========================================================
   Voltart – főoldal
   ========================================================== */

:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted-dark: #aab4c8;
  --bg-dark: #0a1020;
  --bg-dark-2: #101a33;
  --border-dark: #26324f;
  --bg-light: #f8fafc;
  --card: #ffffff;
  --border-light: #e2e8f0;
  --accent: #ffce00;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--accent); color: var(--bg-dark); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font: inherit; font-weight: 600; font-size: 16px;
  padding: 16px 26px; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent); color: var(--bg-dark);
  box-shadow: 0 0 0 0 rgba(255, 206, 0, 0);
}
.btn-primary:hover { box-shadow: 0 10px 30px -10px rgba(255, 206, 0, .6); }

.btn-ghost { border-color: #3b4a70; color: #f1f5f9; font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline { border-color: #cbd5e1; color: var(--ink); background: transparent; font-size: 15px; padding: 13px 21px; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-sm { font-size: 15px; padding: 12px 18px; }
.btn-block { width: 100%; }

.btn-link {
  color: var(--muted-dark); text-decoration: none; padding: 0 8px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease-out), color .25s;
}
.btn-link:hover { color: #f1f5f9; background-size: 100% 2px; }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #1b2540;
  color: #f1f5f9;
  transition: padding .3s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); }

.nav-wrap {
  height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .3s var(--ease-out);
}
.site-header.is-scrolled .nav-wrap { height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  transition: transform .5s var(--ease-out);
}
.logo-mark svg { width: 20px; height: 20px; fill: var(--bg-dark); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .06em; }

.main-nav { display: flex; gap: 28px; font-size: 15px; color: #cbd5e1; }
.main-nav a { text-decoration: none; position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-select {
  background: transparent; color: #cbd5e1; border: 1px solid var(--border-dark);
  border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: #f1f5f9; border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-dark); color: #f1f5f9;
  padding: 104px 0 120px;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.eyebrow-dark { color: #64748b; }

.hero-title {
  font-size: 64px; line-height: 1.04; font-weight: 700; letter-spacing: -.02em;
}
.accent-dot { color: var(--accent); }

.hero-lead {
  margin: 28px 0 44px; font-size: 19px; line-height: 1.6;
  color: var(--muted-dark); max-width: 560px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.stat-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 12px 36px;
  transition: border-color .4s, transform .4s var(--ease-out);
}
.stat-card:hover { border-color: #3b4a70; transform: translateY(-4px); }

.stat { padding: 28px 0; border-bottom: 1px solid var(--border-dark); }
.stat:last-child { border-bottom: 0; }
.stat-num {
  font-family: var(--font-head); font-size: 56px; font-weight: 700;
  color: var(--accent); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 8px; color: var(--muted-dark); font-size: 16px; }

/* ---------- Szekciók ---------- */
.section { padding: 112px 0; background: var(--card); }
.section-light { background: var(--bg-light); }
.section-title {
  font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.015em;
  max-width: 720px; margin-bottom: 56px;
}

/* ---------- Szakterület-kártyák ---------- */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 24px 40px -28px rgba(15, 23, 42, .35);
}
.service-card:hover .icon-tile { transform: rotate(-6deg) scale(1.06); }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.service-card ul {
  list-style: none; padding: 0; margin: 0 0 28px; flex: 1;
  color: var(--ink-soft); font-size: 15px; line-height: 1.9;
}
.service-card li { position: relative; padding-left: 16px; }
.service-card li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.icon-tile {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-dark);
  display: grid; place-items: center; margin-bottom: 24px;
  transition: transform .5s var(--ease-out);
}
.icon-tile svg {
  width: 24px; height: 24px; fill: none; stroke: var(--accent);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.card-link {
  font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none;
  align-self: flex-start;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease-out);
}
.service-card:hover .card-link { background-size: 100% 2px; }

/* ---------- Csapat ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.team-card:hover { border-color: #cbd5e1; transform: translateY(-4px); }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-dark); color: var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  display: grid; place-items: center;
  transition: transform .5s var(--ease-out);
}
.team-card:hover .avatar { transform: scale(1.08); }
.team-card h3 { font-size: 22px; font-weight: 700; margin: 24px 0 6px; }
.team-card .role { margin: 0 0 14px; color: #64748b; font-size: 14px; font-weight: 600; }
.team-card p:last-child { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Portfólió / referenciák ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 44px;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.panel:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -40px rgba(15, 23, 42, .4); }
.panel-dark { background: var(--bg-dark); color: #f1f5f9; border-color: transparent; }
.panel-dark .eyebrow { color: var(--accent); }
.panel-dark .panel-text { color: var(--muted-dark); }
.panel .eyebrow { margin-bottom: 12px; }
.panel-title { font-size: 32px; line-height: 1.15; font-weight: 700; margin-bottom: 16px; }
.panel-text { margin: 0 0 28px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* ---------- Munkaterület ---------- */
.areas { padding: 80px 0; background: var(--bg-light); border-top: 1px solid var(--border-light); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips a {
  display: inline-block; background: var(--card); border: 1px solid #cbd5e1;
  border-radius: 999px; padding: 12px 20px; font-size: 15px; text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.chips a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Kapcsolat ---------- */
.section-contact { background: var(--bg-dark); color: #f1f5f9; }
.section-contact .section-title { margin-bottom: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-lead { margin: 0 0 40px; color: var(--muted-dark); font-size: 17px; line-height: 1.6; max-width: 460px; }
.contact-info { margin: 0; display: grid; gap: 18px; font-size: 16px; }
.contact-info dt {
  color: #8794ad; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px;
}
.contact-info dd { margin: 0; }

.contact-form {
  background: var(--bg-dark-2); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 40px;
  display: grid; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: #cbd5e1; }
.field input,
.field select,
.field textarea {
  background: var(--bg-dark); border: 1px solid var(--border-dark); color: #f1f5f9;
  border-radius: 10px; padding: 14px; font: inherit; font-size: 15px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #7c89a3; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 206, 0, .18);
}

/* ---------- Lábléc ---------- */
.site-footer { background: #060a16; color: var(--muted-dark); padding: 48px 0; }
.footer-wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.footer-logo { font-family: var(--font-head); font-weight: 700; color: #f1f5f9; letter-spacing: .06em; margin-bottom: 10px; }
.footer-legal { margin: 0; font-size: 14px; line-height: 1.7; }
.footer-nav { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.footer-nav a { color: #cbd5e1; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }

/* ==========================================================
   Görgetéskor megjelenő animáció
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }


/* ==========================================================
   Reszponzív
   ========================================================== */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 52px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .lang-select { display: none; }
  .nav-actions .btn { display: none; }

  .hero-grid,
  .contact-grid,
  .split-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 36px; margin-bottom: 40px; }
  .hero-title { font-size: 42px; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 88px; }
  .hero-title { font-size: 36px; }
  .hero-lead { font-size: 17px; }
  .stat-num { font-size: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .panel { padding: 32px; }
}

/* ==========================================================
   Aloldalak (szolgáltatás, szakterület, terület, GYIK)
   ========================================================== */
.page-hero {
  background: var(--bg-dark); color: #f1f5f9;
  padding: 56px 0 88px;
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; }
.page-title {
  font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em;
  max-width: 880px; margin-bottom: 20px;
}
.page-lead { color: var(--muted-dark); font-size: 19px; line-height: 1.6; max-width: 640px; margin: 0 0 36px; }

.breadcrumb { font-size: 14px; color: var(--muted-dark); margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: #cbd5e1; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }

.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.prose h2 { font-family: var(--font-head); font-size: 28px; margin: 0 0 16px; }
.prose h2:not(:first-child) { margin-top: 40px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.prose ul { padding-left: 20px; }

.side-card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 32px;
  position: sticky; top: 110px;
}
.side-card h3 { font-family: var(--font-head); font-size: 20px; margin: 0 0 16px; }
.side-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 4px; }
.side-list a {
  display: block; padding: 10px 0; border-bottom: 1px solid var(--border-light);
  text-decoration: none; font-size: 15px; transition: color .2s, padding-left .25s var(--ease-out);
}
.side-list a:hover { color: var(--ink); padding-left: 6px; }

.service-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-link {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 24px 28px; text-decoration: none; font-weight: 600; font-size: 17px;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.service-link span:last-child { transition: transform .3s var(--ease-out); color: var(--ink); }
.service-link:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: 0 24px 40px -30px rgba(15,23,42,.4); }
.service-link:hover span:last-child { transform: translateX(6px); }

.narrow { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 14px;
}
.faq-item summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 18px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--ink-soft); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); margin: 14px 0 0; line-height: 1.7; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .side-card { position: static; }
  .page-title { font-size: 38px; }
  .service-links { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { padding: 40px 0 64px; }
  .page-title { font-size: 32px; }
}

/* ==========================================================
   Logó, portfólió-fülek, referenciák, területek, asszisztens
   ========================================================== */
.logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff; border-radius: 10px; padding: 6px 12px;
  transition: transform .5s var(--ease-out);
}
.logo:hover .logo-chip { transform: translateY(-1px) scale(1.02); }
.logo-img { display: block; height: 40px; width: auto; }
.site-footer .logo-chip { margin-bottom: 14px; }
.site-footer .logo-img { height: 44px; }

.card-tag {
  margin: -6px 0 16px; color: #64748b; font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
}
.about-lead {
  max-width: 880px; margin: -28px 0 48px; color: var(--ink-soft);
  font-size: 18px; line-height: 1.75;
}
.team-card p:not(.role) { margin: 14px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.team-card .role { margin-bottom: 0; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab-btn {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 12px 20px; border-radius: 999px;
  background: var(--card); color: var(--ink); border: 1px solid var(--border-light);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.tab-btn:hover { transform: translateY(-2px); border-color: #cbd5e1; }
.tab-btn.is-active { background: var(--bg-dark); color: #f1f5f9; border-color: var(--bg-dark); }
.tab-panel { background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 12px 36px; }
.tab-panel[hidden] { display: none; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { border-bottom: 1px solid var(--border-light); }
.plain-list li:last-child { border-bottom: 0; }
.plain-list a {
  position: relative; display: block; padding: 18px 0 18px 28px;
  text-decoration: none; font-size: 16px; color: var(--ink);
  transition: padding-left .3s var(--ease-out), color .2s;
}
.plain-list a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px;
  margin-top: -5px; border-radius: 50%; background: var(--accent);
  transition: transform .3s var(--ease-out);
}
.plain-list a:hover { padding-left: 34px; color: #000; }
.plain-list a:hover::before { transform: scale(1.3); }

.rating-row {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 32px 40px;
}
.rating-row img { display: block; height: auto; width: 213px; max-width: 100%; }
.rating-row p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; max-width: 520px; }
.rating-row a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.area-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.area-group h3 { font-family: var(--font-head); font-size: 22px; margin: 0 0 16px; }
.area-groups .chips { gap: 10px; }
.regions { margin: 0; color: var(--ink-soft); font-size: 16px; }

.contact-info dd a { color: #f1f5f9; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.contact-info dd a:hover { color: var(--accent); border-color: var(--accent); }
.field select:invalid { color: #7c89a3; }

.assistant {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-dark); color: #f1f5f9; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border-dark); box-shadow: 0 16px 40px -18px rgba(0,0,0,.6);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.assistant:hover { transform: translateY(-3px); border-color: var(--accent); }
.assistant-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,206,0,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,206,0,.55); }
  70% { box-shadow: 0 0 0 10px rgba(255,206,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,206,0,0); }
}

@media (max-width: 900px) {
  .area-groups { grid-template-columns: 1fr; }
  .tab-panel { padding: 8px 20px; }
}
@media (max-width: 600px) {
  .assistant span:last-child { display: none; }
  .assistant { padding: 14px; }
  .rating-row { padding: 24px; }
}

/* ==========================================================
   Mozgás csökkentése, ha a felhasználó kéri
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   CRM-vizuális nyelv (a Voltart CRM bejelentkező oldalának háttere):
   navy–indigó átmenet, lebegő színes foltok, áramköri pályák futó
   impulzusokkal, pontrács. Egyetlen helyen, hogy az aloldalak is örököljék.
   ========================================================== */
:root {
  --hero-bg: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)), linear-gradient(135deg, #0a1020 0%, #101a33 48%, #1a1546 100%);
  --circuit: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 900%22 preserveAspectRatio=%22xMidYMid slice%22 fill=%22none%22%3E%3Cdefs%3E%3ClinearGradient id=%22b%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23ffce00%22 stop-opacity=%22.28%22/%3E%3Cstop offset=%221%22 stop-color=%22%23ffce00%22 stop-opacity=%220%22/%3E%3C/linearGradient%3E%3Cpattern id=%22d%22 width=%2226%22 height=%2226%22 patternUnits=%22userSpaceOnUse%22%3E%3Ccircle cx=%221%22 cy=%221%22 r=%221%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3C/pattern%3E%3CradialGradient id=%22m%22%3E%3Cstop offset=%22.2%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.75%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3Cmask id=%22k%22%3E%3Crect width=%221440%22 height=%22900%22 fill=%22url(%23m)%22 transform=%22translate(720 450) scale(1.2 1) translate(-720 -450)%22/%3E%3C/mask%3E%3C/defs%3E%3Crect width=%221440%22 height=%22900%22 fill=%22url(%23d)%22 mask=%22url(%23k)%22/%3E%3Cg stroke=%22%23fff%22 stroke-opacity=%22.11%22 stroke-width=%221.5%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M-20 120 H260 L330 190 H620 L690 120 H980%22/%3E%3Cpath d=%22M1460 260 H1180 L1110 330 H860 L800 400 H560%22/%3E%3Cpath d=%22M-20 700 H180 L250 630 H520 L590 700 H900 L960 760 H1460%22/%3E%3Cpath d=%22M300 -20 V90 L360 150 V330 L300 390 V520%22/%3E%3Cpath d=%22M1100 920 V780 L1160 720 V560 L1220 500 V380%22/%3E%3Cpath d=%22M720 -20 V60 L760 100 H1000%22/%3E%3C/g%3E%3Cg fill=%22%230a1020%22 stroke=%22%23fff%22 stroke-opacity=%22.28%22 stroke-width=%221.5%22%3E%3Ccircle cx=%22260%22 cy=%22120%22 r=%225%22/%3E%3Ccircle cx=%22690%22 cy=%22120%22 r=%225%22/%3E%3Ccircle cx=%22980%22 cy=%22120%22 r=%225%22/%3E%3Ccircle cx=%221180%22 cy=%22260%22 r=%225%22/%3E%3Ccircle cx=%22560%22 cy=%22400%22 r=%225%22/%3E%3Ccircle cx=%22180%22 cy=%22700%22 r=%225%22/%3E%3Ccircle cx=%22900%22 cy=%22700%22 r=%225%22/%3E%3Ccircle cx=%22300%22 cy=%22520%22 r=%225%22/%3E%3Ccircle cx=%221220%22 cy=%22380%22 r=%225%22/%3E%3Ccircle cx=%221000%22 cy=%22100%22 r=%225%22/%3E%3C/g%3E%3Cg stroke=%22%23ffce00%22 stroke-width=%222.5%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M-20 120 H260 L330 190 H620 L690 120 H980%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%221000%22 to=%220%22 dur=%229s%22 begin=%22-0s%22 repeatCount=%22indefinite%22/%3E%3C/path%3E%3Cpath d=%22M1460 260 H1180 L1110 330 H860 L800 400 H560%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%221000%22 to=%220%22 dur=%2211s%22 begin=%22-4s%22 repeatCount=%22indefinite%22/%3E%3C/path%3E%3Cpath d=%22M-20 700 H180 L250 630 H520 L590 700 H900 L960 760 H1460%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%221000%22 to=%220%22 dur=%2213s%22 begin=%22-7s%22 repeatCount=%22indefinite%22/%3E%3C/path%3E%3Cpath d=%22M300 -20 V90 L360 150 V330 L300 390 V520%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%221000%22 to=%220%22 dur=%228s%22 begin=%22-2s%22 repeatCount=%22indefinite%22/%3E%3C/path%3E%3Cpath d=%22M1100 920 V780 L1160 720 V560 L1220 500 V380%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%221000%22 to=%220%22 dur=%2212s%22 begin=%22-9s%22 repeatCount=%22indefinite%22/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  --circuit-static: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 900%22 preserveAspectRatio=%22xMidYMid slice%22 fill=%22none%22%3E%3Cdefs%3E%3ClinearGradient id=%22b%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23ffce00%22 stop-opacity=%22.28%22/%3E%3Cstop offset=%221%22 stop-color=%22%23ffce00%22 stop-opacity=%220%22/%3E%3C/linearGradient%3E%3Cpattern id=%22d%22 width=%2226%22 height=%2226%22 patternUnits=%22userSpaceOnUse%22%3E%3Ccircle cx=%221%22 cy=%221%22 r=%221%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3C/pattern%3E%3CradialGradient id=%22m%22%3E%3Cstop offset=%22.2%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.75%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3Cmask id=%22k%22%3E%3Crect width=%221440%22 height=%22900%22 fill=%22url(%23m)%22 transform=%22translate(720 450) scale(1.2 1) translate(-720 -450)%22/%3E%3C/mask%3E%3C/defs%3E%3Crect width=%221440%22 height=%22900%22 fill=%22url(%23d)%22 mask=%22url(%23k)%22/%3E%3Cg stroke=%22%23fff%22 stroke-opacity=%22.11%22 stroke-width=%221.5%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M-20 120 H260 L330 190 H620 L690 120 H980%22/%3E%3Cpath d=%22M1460 260 H1180 L1110 330 H860 L800 400 H560%22/%3E%3Cpath d=%22M-20 700 H180 L250 630 H520 L590 700 H900 L960 760 H1460%22/%3E%3Cpath d=%22M300 -20 V90 L360 150 V330 L300 390 V520%22/%3E%3Cpath d=%22M1100 920 V780 L1160 720 V560 L1220 500 V380%22/%3E%3Cpath d=%22M720 -20 V60 L760 100 H1000%22/%3E%3C/g%3E%3Cg fill=%22%230a1020%22 stroke=%22%23fff%22 stroke-opacity=%22.28%22 stroke-width=%221.5%22%3E%3Ccircle cx=%22260%22 cy=%22120%22 r=%225%22/%3E%3Ccircle cx=%22690%22 cy=%22120%22 r=%225%22/%3E%3Ccircle cx=%22980%22 cy=%22120%22 r=%225%22/%3E%3Ccircle cx=%221180%22 cy=%22260%22 r=%225%22/%3E%3Ccircle cx=%22560%22 cy=%22400%22 r=%225%22/%3E%3Ccircle cx=%22180%22 cy=%22700%22 r=%225%22/%3E%3Ccircle cx=%22900%22 cy=%22700%22 r=%225%22/%3E%3Ccircle cx=%22300%22 cy=%22520%22 r=%225%22/%3E%3Ccircle cx=%221220%22 cy=%22380%22 r=%225%22/%3E%3Ccircle cx=%221000%22 cy=%22100%22 r=%225%22/%3E%3C/g%3E%3Cg stroke=%22%23ffce00%22 stroke-width=%222.5%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M-20 120 H260 L330 190 H620 L690 120 H980%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22 stroke-dashoffset=%22900%22/%3E%3Cpath d=%22M1460 260 H1180 L1110 330 H860 L800 400 H560%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22 stroke-dashoffset=%22900%22/%3E%3Cpath d=%22M-20 700 H180 L250 630 H520 L590 700 H900 L960 760 H1460%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22 stroke-dashoffset=%22900%22/%3E%3Cpath d=%22M300 -20 V90 L360 150 V330 L300 390 V520%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22 stroke-dashoffset=%22900%22/%3E%3Cpath d=%22M1100 920 V780 L1160 720 V560 L1220 500 V380%22 pathLength=%221000%22 stroke-dasharray=%2242 958%22 stroke-dashoffset=%22900%22/%3E%3C/g%3E%3C/svg%3E");
}

.hero,
.page-hero,
.section-contact {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--hero-bg);
}
.hero::before,
.page-hero::before,
.section-contact::before {
  content: ""; position: absolute; inset: -12%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255, 206, 0, .30), transparent) -6% -8% / 34% 46% no-repeat,
    radial-gradient(closest-side, rgba(59, 130, 246, .36), transparent) 104% 30% / 40% 52% no-repeat,
    radial-gradient(closest-side, rgba(139, 92, 246, .30), transparent) 30% 112% / 38% 50% no-repeat;
  filter: blur(24px);
  animation: blob-float 24s ease-in-out infinite;
}
.hero::after,
.page-hero::after,
.section-contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--circuit) center / cover no-repeat;
}
.page-hero .container, .hero .container { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .hero::after, .page-hero::after, .section-contact::after { background-image: var(--circuit-static); }
}
@keyframes blob-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(3%, 4%, 0) scale(1.06); }
  66% { transform: translate3d(-4%, 2%, 0) scale(.96); }
}
@keyframes login-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.page-hero .breadcrumb { animation: login-in .7s ease-out both; }
.page-hero .page-title { animation: login-in .7s ease-out .08s both; }
.page-hero .page-lead { animation: login-in .7s ease-out .16s both; }

/* Üvegkártya a hero statisztikához (mint a CRM belépőkártyája) */
.stat-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.stat { border-bottom-color: rgba(255, 255, 255, .14); }
.stat-num { text-shadow: 0 0 28px rgba(255, 206, 0, .35); }

/* Gombok: lágyabb, a CRM-es sárga fénnyel */
.btn { border-radius: 12px; }
.btn-primary { box-shadow: 0 12px 40px -12px rgba(255, 206, 0, .45); }
.btn-primary:hover { box-shadow: 0 14px 44px -10px rgba(255, 206, 0, .7); }

/* Kapcsolat: az űrlap a CRM belépőkártyája — világos kártya a sötét háttéren */
.contact-form {
  background: rgba(255, 255, 255, .95); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.contact-form .field label { color: #334155; font-weight: 500; }
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea { background: #fff; border-color: #cbd5e1; color: var(--ink); }
.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder { color: #94a3b8; }
.contact-form .field select:invalid { color: #94a3b8; }
.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 206, 0, .45); }
.contact-form .btn-primary { background: var(--bg-dark); color: #fff; box-shadow: none; }
.contact-form .btn-primary:hover { background: #1a2547; box-shadow: 0 12px 30px -12px rgba(10, 16, 32, .6); }

.site-footer { background: #060a16; }

/* ==========================================================
   Mobilmenü: teljes képernyős, elmosott overlay, ikonos gombok.
   A js/main.js építi fel (ikon + címke + nyíl a linkekben, alul gyorsgombok),
   asztali nézeten ezek rejtve vannak.
   ========================================================== */
.menu-panel { display: contents; }
.menu-ico, .menu-chev, .menu-extra { display: none; }

@media (max-width: 900px) {
  /* a fix pozíciójú overlay a viewporthoz igazodjon: a fejlécen ne legyen backdrop-filter */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0a1020; transition: background .3s, border-color .3s; }
  html.menu-open .site-header { background: transparent; border-bottom-color: transparent; box-shadow: none; }
  html.menu-open { overflow: hidden; }
  .logo, .nav-actions { position: relative; z-index: 2; }

  .nav-toggle {
    width: 46px; height: 46px; padding: 0 13px; align-items: center;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px;
    transition: background-color .25s, border-color .25s, transform .25s var(--ease-out);
  }
  .nav-toggle:active { transform: scale(.94); }
  .nav-toggle[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); }
  .nav-toggle[aria-expanded="true"] span { background: #0a1020; }
  .nav-toggle span { width: 100%; }

  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 0;
    padding: 104px 20px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background: rgba(10, 16, 32, .68);
    -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease, visibility 0s; }
  .main-nav a::after { display: none; }

  .menu-panel { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; margin: auto 0; }
  .main-nav .menu-panel > a {
    display: flex; align-items: center; gap: 14px; padding: 11px 16px 11px 11px;
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
    color: #f1f5f9; font-size: 18px; font-weight: 600; line-height: 1.2;
    opacity: 0; transform: translateY(16px);
    transition: transform .5s var(--ease-out), opacity .4s, background-color .2s, border-color .2s;
    transition-delay: calc(var(--i, 0) * 45ms + 60ms), calc(var(--i, 0) * 45ms + 60ms), 0s, 0s;
  }
  .main-nav.is-open .menu-panel > a { opacity: 1; transform: none; }
  .main-nav .menu-panel > a:hover,
  .main-nav .menu-panel > a:focus-visible { background: rgba(255, 255, 255, .13); border-color: rgba(255, 206, 0, .6); }
  .main-nav .menu-panel > a:active { transform: scale(.98); transition-delay: 0s; }
  .main-nav .menu-panel > a[aria-current] { border-color: var(--accent); background: rgba(255, 206, 0, .12); }

  .menu-ico {
    display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px;
    background: var(--accent); color: #0a1020; box-shadow: 0 8px 24px -8px rgba(255, 206, 0, .55);
  }
  .menu-ico svg, .menu-quick svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .menu-label { flex: 1; }
  .menu-chev { display: block; flex: none; width: 20px; height: 20px; color: #94a3b8; transition: transform .3s var(--ease-out), color .2s; }
  .menu-chev svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .main-nav .menu-panel > a:hover .menu-chev { transform: translateX(4px); color: var(--accent); }

  .menu-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
  .menu-extra > * {
    opacity: 0; transform: translateY(16px);
    transition: transform .5s var(--ease-out), opacity .4s, background-color .2s, border-color .2s;
    transition-delay: calc(var(--i, 0) * 45ms + 60ms), calc(var(--i, 0) * 45ms + 60ms), 0s, 0s;
  }
  .main-nav.is-open .menu-extra > * { opacity: 1; transform: none; }
  .main-nav .menu-extra a.menu-quick {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px;
    border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05);
    color: #f1f5f9; font-size: 16px; font-weight: 600;
  }
  .main-nav .menu-extra a.menu-quick svg { color: var(--accent); }
  .main-nav .menu-extra a.menu-quick:hover { border-color: var(--accent); }
  .main-nav .menu-extra a.btn { grid-column: 1 / -1; padding: 16px 26px; }
}

/* nyitott menünél a lebegő asszisztens-gomb ne lógjon az overlay fölé */
.assistant { transition: opacity .25s, transform .3s var(--ease-out), border-color .3s; }
html.menu-open .assistant { opacity: 0; pointer-events: none; }
