/* ============================================================
   MWW Kft. – honlap stíluslap
   Tokenek: brand/tokens.css alapján. Világos az alap,
   sötét a rendszerbeállítás vagy a data-theme="dark" szerint.
   ============================================================ */

/* ---------- Betűk (saját szerverről, nem a Google-tól) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokenek ---------- */
:root {
  color-scheme: light;
  --green: #0B7C68;
  --green-tint: #E0F2EC;
  --blue: #2E5BDA;
  --blue-tint: #E3EAFB;
  --on-accent: #FFFFFF;

  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --surface-2: #E9EEF2;
  --shot: #E4E9EE;
  --chip: #FFFFFF;
  --line: #DDE3E9;
  --text: #13202B;
  --muted: #4D5866;
  --tint-text: #3E5C55;
  --error: #B42318;
  --error-tint: #FDECEA;

  --sticker-1-bg: var(--blue);
  --sticker-1-fg: #FFFFFF;
  --sticker-2-bg: #13202B;
  --sticker-2-fg: #FFFFFF;

  --logo-m: var(--blue);
  --logo-w: var(--green);

  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 36px;
  --pill: 999px;
  --gutter: 24px;
  --maxw: 1240px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --green: #2FC3A0;
    --green-tint: #143029;
    --blue: #7EA6FF;
    --blue-tint: #1A2440;
    --on-accent: #0C1012;
    --bg: #111518;
    --surface: #1A1F24;
    --surface-2: #171B1F;
    --shot: #0F1215;
    --chip: #1A1F24;
    --line: #2A3038;
    --text: #E7EAEE;
    --muted: #9AA4AE;
    --tint-text: #A9BFB8;
    --error: #FF8A80;
    --error-tint: #3A1F1F;
    --sticker-1-fg: #0B1533;
    --sticker-2-bg: #E7EAEE;
    --sticker-2-fg: #111518;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --green: #2FC3A0;
  --green-tint: #143029;
  --blue: #7EA6FF;
  --blue-tint: #1A2440;
  --on-accent: #0C1012;
  --bg: #111518;
  --surface: #1A1F24;
  --surface-2: #171B1F;
  --shot: #0F1215;
  --chip: #1A1F24;
  --line: #2A3038;
  --text: #E7EAEE;
  --muted: #9AA4AE;
  --tint-text: #A9BFB8;
  --error: #FF8A80;
  --error-tint: #3A1F1F;
  --sticker-1-fg: #0B1533;
  --sticker-2-bg: #E7EAEE;
  --sticker-2-fg: #111518;
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; margin: 0; }
p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-bottom: 96px; scroll-margin-top: 24px; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.accent { color: var(--green); }
.accent-2 { color: var(--blue); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--green); color: var(--on-accent);
  padding: 10px 16px; border-radius: var(--pill); text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px; border-radius: var(--pill);
  font-size: 16px; font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-primary { background: var(--green); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); }
.btn-surface { background: var(--surface); color: var(--text); font-weight: 400; }
.btn-surface:hover { color: var(--text); }

/* ---------- Fejléc ---------- */
.site-header { padding-top: 20px; padding-bottom: 20px; }
.nav {
  background: var(--surface); border-radius: var(--pill);
  padding: 8px 8px 8px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}
.nav-logo { display: flex; align-items: center; padding: 4px 10px 4px 6px; }
.logo { width: 96px; height: auto; display: block; }
.logo path { stroke-width: 13; }
.logo .logo-m { stroke: var(--logo-m); }
.logo .logo-w { stroke: var(--logo-w); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; flex: 1 1 auto; }
.nav-links a { text-decoration: none; padding: 10px 0; }
.nav-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.partner-badge { display: flex; margin-right: 4px; }
.partner-badge img { height: 44px; width: auto; }
.lang-switch {
  display: flex; background: var(--bg); border-radius: var(--pill); padding: 4px;
  font-family: var(--font-mono); font-size: 13px;
}
.lang-switch a { text-decoration: none; padding: 9px 12px; border-radius: var(--pill); color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--line); color: var(--text); }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { color: var(--green); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

@media (max-width: 900px) {
  .nav { border-radius: var(--r-md); padding: 12px 16px; }
  .nav-links { order: 3; flex-basis: 100%; gap: 4px 20px; }
}

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 112px;
}
.hero-text { flex: 1 1 560px; min-width: 0; }
.chips { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 13px; }
.chip { background: var(--chip); color: var(--muted); padding: 7px 14px; border-radius: var(--pill); }
.chip-accent { background: var(--green-tint); color: var(--green); }
.hero h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 28px; }
.lead { font-size: 20px; color: var(--muted); max-width: 600px; margin-bottom: 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { flex: 1 1 400px; min-width: 0; position: relative; height: 420px; }
.trend-card {
  position: absolute; inset: 24px 0 0 24px;
  background: var(--surface); border-radius: 28px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.trend-head, .trend-legend { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
.trend-legend { justify-content: flex-start; }
.trend { width: 100%; flex: 1 1 auto; min-height: 0; }
.trend path { fill: none; vector-effect: non-scaling-stroke; }
.trend-grid { stroke: var(--line); stroke-width: 1; }
.trend-now { stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.trend-prev { stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.trend-dot { fill: var(--surface); stroke: var(--green); stroke-width: 3; }
.sticker {
  position: absolute; padding: 9px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 600;
}
.sticker-1 { top: 0; left: 0; background: var(--sticker-1-bg); color: var(--sticker-1-fg); font-size: 13px; font-weight: 500; transform: rotate(-4deg); }
.sticker-2 { bottom: -18px; right: 20px; background: var(--sticker-2-bg); color: var(--sticker-2-fg); transform: rotate(3deg); }

@media (max-width: 600px) {
  .hero { padding-top: 40px; gap: 48px; }
  .hero-visual { height: 320px; }
}

/* ---------- Szolgáltatások (bento) ---------- */
.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.card {
  flex: 1 1 280px; min-width: 0;
  background: var(--surface); border-radius: var(--r-md); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.card-wide { flex: 2 1 560px; }
.card-tinted { background: var(--green-tint); }
.card-tinted .muted { color: var(--tint-text); }
.card-title { font-size: 24px; margin-top: 8px; }
.card-wide .card-title { font-size: 26px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--green-tint); color: var(--green);
}
.card-tinted .icon-tile { background: var(--surface); }
.icon-software { background: var(--blue-tint); color: var(--blue); }
.card-about { justify-content: space-between; gap: 20px; }
.about-line { font-size: 22px; line-height: 1.5; font-weight: 500; max-width: 640px; }
.link-accent { color: var(--green); }

/* ---------- Termékek ---------- */
.band { background: var(--surface-2); border-radius: var(--r-lg); padding: 64px 40px; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 16px 48px; margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(32px, 4vw, 42px); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.product {
  background: var(--surface); border-radius: var(--r-md); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .15s ease;
}
.product:hover { transform: translateY(-2px); color: inherit; }
.product-shot {
  margin: 12px 12px 0; height: 200px; border-radius: var(--r-sm); background: var(--shot);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 13px; color: var(--muted);
}
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.product-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.product-body h3 { font-size: 22px; }
.product-body .muted { font-size: 15px; line-height: 1.55; }
.tag { align-self: flex-start; font-size: 12px; padding: 5px 12px; border-radius: var(--pill); }
.tag-green { background: var(--green-tint); color: var(--green); }
.tag-blue { background: var(--blue-tint); color: var(--blue); }
.tag-neutral { background: var(--bg); color: var(--muted); }

@media (max-width: 600px) { .band { padding: 40px 20px; border-radius: var(--r-md); } }

/* ---------- Partnerek ---------- */
.partners-lead { max-width: 460px; }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.partner {
  height: 92px; background: var(--surface); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; padding: 0 24px;
  font-size: 13px; color: var(--muted);
}
.partner img { max-height: 48px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* ---------- Kapcsolat (szöveg + űrlap) ---------- */
.contact {
  position: relative; overflow: hidden;
  background: var(--green-tint); border-radius: var(--r-lg); padding: 56px;
  display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start;
}
.contact-rings { position: absolute; inset: 0; pointer-events: none; }
.contact-rings::before, .contact-rings::after {
  content: ""; position: absolute; border: 2px solid var(--green); border-radius: 50%; pointer-events: none;
}
.contact-rings::before { left: -110px; bottom: -110px; width: 320px; height: 320px; opacity: .3; }
.contact-rings::after { left: -50px; bottom: -50px; width: 200px; height: 200px; opacity: .5; }
.contact-text { flex: 1 1 360px; min-width: 0; position: relative; padding-top: 8px; }
.contact-text h2 { font-size: clamp(32px, 4vw, 42px); margin-bottom: 16px; }
.contact-lead { font-size: 18px; color: var(--tint-text); margin-bottom: 28px; }
.contact-bullets { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.7; color: var(--tint-text); }
.contact-bullets li::before { content: "● "; }

.form-card {
  flex: 1 1 520px; min-width: 0; position: relative;
  background: var(--surface); border-radius: var(--r-md); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-row .field { flex: 1 1 200px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.optional { font-weight: 400; }
.field input, .field textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  font: inherit; font-size: 16px; line-height: 1.5;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.has-error input, .has-error textarea { border-color: var(--error); }
.field-error { font-size: 14px; color: var(--error); }
.form-alert {
  background: var(--error-tint); color: var(--error); border-radius: 14px; padding: 12px 16px; font-size: 15px;
}
.form-topic { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.form-privacy { flex: 1 1 260px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-privacy a { color: var(--muted); }
.form-sent { align-items: flex-start; gap: 12px; color: var(--green); }
.form-sent h3 { font-size: 26px; color: var(--text); margin-top: 4px; }
/* Csalimező: képernyőn kívül (nem display:none, mert azt egyes robotok kihagyják). */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-page { padding-top: 48px; }
@media (max-width: 600px) {
  .contact { padding: 32px 20px; border-radius: var(--r-md); }
  .form-card { padding: 24px 20px; }
}

/* ---------- Termékoldal ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 40px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--text); }
.chip-blue { background: var(--blue-tint); color: var(--blue); }
.product-hero {
  display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; justify-content: space-between;
  padding-top: 48px; padding-bottom: 56px;
}
.product-hero-text { flex: 1 1 640px; min-width: 0; }
.product-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 24px; }
.product-hero .lead { margin-bottom: 0; max-width: 640px; }
.hero-shot { background: var(--surface); border-radius: 32px; padding: 14px; margin-bottom: 24px; }
.hero-shot-inner { border-radius: 22px; overflow: hidden; background: var(--shot); aspect-ratio: 16 / 9; }
.hero-shot-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fact { background: var(--surface); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.fact dt { font-size: 12px; color: var(--muted); }
.fact dd { margin: 0; font-size: 17px; font-weight: 600; }
.section-lead { max-width: 520px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.feature-grid .card { padding: 28px; gap: 12px; }
.feature-grid .card-title { font-size: 22px; }
.icon-blue { background: var(--blue-tint); color: var(--blue); }
.band-title { font-size: clamp(32px, 4vw, 42px); margin-bottom: 32px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-shot { display: block; height: 280px; border-radius: 20px; overflow: hidden; background: var(--shot); border: 1px solid var(--line); }
.gallery-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .2s ease; }
.gallery-shot:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: 13px; color: var(--muted); padding-left: 4px; }
.specs-wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.specs-wrap h2 { flex: 1 1 300px; font-size: clamp(32px, 4vw, 42px); }
.specs { flex: 2 1 640px; min-width: 0; margin: 0; border-bottom: 1px solid var(--line); }
.spec { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.spec dt { flex: 0 0 220px; font-size: 14px; color: var(--muted); }
.spec dd { flex: 1 1 300px; margin: 0; }
.others-title { font-size: 32px; margin-bottom: 28px; }
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.other { text-decoration: none; gap: 10px; padding: 28px; }
.other:hover { color: inherit; }
.other h3 { font-size: 22px; }
.other .muted { font-size: 15px; }

/* ---------- Működési ábra (inline SVG, a témával vált) ---------- */
.diagram { background: var(--surface); border-radius: var(--r-lg); padding: 24px; overflow-x: auto; }
.diagram svg.dg { display: block; width: 100%; min-width: 960px; height: auto; font-family: var(--font-sans); }
.dg-panel { stroke-width: 2; stroke-dasharray: 8 7; }
.dg-panel-a { fill: var(--bg); stroke: var(--line); }
.dg-panel-b { fill: var(--green-tint); stroke: var(--green); stroke-opacity: .45; }
.dg-panel-c { fill: var(--blue-tint); stroke: var(--blue); stroke-opacity: .45; }
.dg-col { font-family: var(--font-mono); font-size: 19px; font-weight: 500; letter-spacing: .06em; }
.dg-col-a { fill: var(--muted); } .dg-col-b { fill: var(--green); } .dg-col-c { fill: var(--blue); }
.dg-box { fill: var(--surface); stroke-width: 2.5; }
.dg-box-a { stroke: var(--line); } .dg-box-b { stroke: var(--green); } .dg-box-c { stroke: var(--blue); }
.dg-inner { stroke-width: 1.5; }
.dg-inner-a { fill: var(--bg); stroke: var(--line); }
.dg-inner-c { fill: var(--blue-tint); stroke: var(--blue); stroke-opacity: .4; }
.dg-h { fill: var(--text); font-size: 27px; font-weight: 600; }
.dg-h-c { fill: var(--blue); }
.dg-h2 { fill: var(--text); font-size: 22px; font-weight: 600; }
.dg-sub { fill: var(--muted); font-size: 18px; }
.dg-i { font-style: italic; }
.dg-body { fill: var(--text); font-size: 21px; opacity: .85; }
.dg-body2 { fill: var(--text); font-size: 19px; }
.dg-acc-b { fill: var(--green); font-size: 21px; font-weight: 600; }
.dg-acc-c { fill: var(--blue); font-size: 21px; font-weight: 600; }
.dg-small-b, .dg-small-c { font-size: 18px; }
.dg-strong-c { fill: var(--blue); font-weight: 600; }
.dg-note-b { fill: var(--green-tint); stroke: var(--green); stroke-width: 2; }
.dg-note-t { fill: var(--green); font-size: 21px; font-weight: 600; }
.dg-lbl { fill: var(--text); font-size: 18px; font-weight: 500; }
.dg-lbl-sm { font-size: 17px; }
.dg-ar-a, .dg-ar-b, .dg-ar-c { stroke-width: 2.5; }
.dg-ar-a { stroke: var(--text); } .dg-ar-b { stroke: var(--green); } .dg-ar-c { stroke: var(--blue); }
.dg-ar-a-head { fill: var(--text); } .dg-ar-b-head { fill: var(--green); } .dg-ar-c-head { fill: var(--blue); }
.dg-badge-a { fill: var(--text); } .dg-badge-b { fill: var(--green); } .dg-badge-c { fill: var(--blue); }
.dg-badge-t { fill: var(--surface); font-size: 18px; font-weight: 700; }
.diagram-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.diagram-hint { display: none; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 1000px) { .diagram-hint { display: block; } }

/* ---------- Kattintható szolgáltatás-kártya ---------- */
.card-link { text-decoration: none; transition: transform .15s ease; }
.card-link:hover { transform: translateY(-2px); color: inherit; }
.card-more { margin-top: auto; padding-top: 6px; }

/* ---------- Összes termék ---------- */
.catalog-hero { padding-top: 40px; padding-bottom: 64px; }
.catalog-hero h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.025em; margin-bottom: 20px; }
.catalog-hero .lead { margin-bottom: 0; }
.catalog-group { padding-bottom: 72px; }
.catalog-group .section-head { margin-bottom: 24px; }
.catalog { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.catalog-row {
  display: flex; align-items: center; gap: 24px;
  background: var(--surface); border-radius: var(--r-md); padding: 14px 28px 14px 14px;
  text-decoration: none; color: inherit;
}
.catalog-link { transition: transform .15s ease; }
.catalog-link:hover { transform: translateX(3px); color: inherit; }
.catalog-link:hover h3 { color: var(--green); }
.catalog-thumb {
  flex: 0 0 176px; height: 110px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--shot); /* nincs kép → szürke */
}
.catalog-thumb-empty { background: var(--line); } /* nincs kép → szürke */
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.catalog-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.catalog-tag { font-size: 12px; color: var(--blue); }
.catalog-body h3 { font-size: 21px; transition: color .15s ease; }
.catalog-body .muted { font-size: 15px; line-height: 1.55; max-width: 760px; }
.catalog-arrow { flex: 0 0 auto; font-size: 22px; color: var(--green); }
@media (max-width: 600px) {
  .catalog-row { flex-wrap: wrap; padding: 12px; gap: 14px; }
  .catalog-thumb { flex: 1 1 100%; height: 150px; }
  .catalog-body { padding: 0 6px 6px; }
  .catalog-arrow { display: none; }
}

/* ---------- Rendszerintegráció ---------- */
.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.stat { background: var(--surface); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.stat dt { font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--green); }
.stat dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.feature-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.card-big { padding: 32px; }
.card-big .card-title { font-size: 24px; }
.layers { display: flex; flex-direction: column; align-items: stretch; }
.layer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  background: var(--surface); border-radius: var(--r-md); padding: 24px 28px; border: 2px solid transparent;
}
.layer-green { border-color: var(--green); background: var(--green-tint); }
.layer-blue { border-color: color-mix(in srgb, var(--blue) 45%, transparent); }
.layer-head { flex: 0 0 220px; display: flex; flex-direction: column; gap: 4px; }
.layer-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.layer-blue .layer-kicker { color: var(--blue); }
.layer-green .layer-kicker { color: var(--green); }
.layer-head h3 { font-size: 22px; }
.layer-items { flex: 1 1 400px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.layer-items li { background: var(--bg); color: var(--text); border-radius: var(--pill); padding: 7px 14px; font-size: 14px; }
.layer-green .layer-items li { background: var(--surface); font-weight: 600; }
.layer-link { display: flex; justify-content: center; padding: 6px 0; color: var(--muted); }
@media (max-width: 600px) { .layer-head { flex-basis: 100%; } }

/* ---------- Lábléc ---------- */
.site-footer {
  padding-top: 8px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between;
  font-size: 14px; color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--muted); }

/* ---------- Szöveges oldalak ---------- */
.text-page { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.text-page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 32px; }
.text-page h2 { font-size: 24px; margin: 40px 0 12px; }
.text-page p { margin-bottom: 12px; color: var(--muted); }
.error-page { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 96px; }
.error-page h1 { margin-bottom: 0; }
.error-page p.mono { font-size: 15px; margin: 0; }

/* ---------- Témához kötött képek (pl. sötét/világos képernyőkép, logóváltozat) ---------- */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
