/* =========================================================================
   DFI HU - Networker Ltd.
   A dfi.hu arculata kezzel irt CSS-ben (Elementor nelkul).
   Design tokenek az eredeti oldalrol: teal #009CA6, CTA #E33500,
   lablec #484848, Roboto + Archivo.
   ========================================================================= */

/* ---------- 1. Tokenek ------------------------------------------------- */

:root {
  --teal: #009ca6;
  --teal-dark: #007e86;
  --teal-light: #e6f5f6;
  --cta: #e33500;
  --cta-dark: #c22d00;
  --link: #046bd2;

  --ink: #0d1b2a;
  --body: #334155;
  --muted: #64748b;
  --faint: #94a3b8;

  --line: #e2e8f0;
  --line-soft: #eef2f6;
  --surface: #ffffff;
  --surface-alt: #f7fafc;
  --surface-hero: #eceffb;
  --footer: #484848;

  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-nav: "Archivo", var(--font);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 24px -8px rgba(15, 23, 42, .14), 0 4px 8px -4px rgba(15, 23, 42, .08);

  --radius: 6px;
  --radius-lg: 10px;

  --wrap: 1200px;
  --header-h: 76px;
}

/* ---------- 2. Alapok -------------------------------------------------- */

*, *::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: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.25;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  padding: 12px 20px;
  font-weight: 500;
}
.skip-link:focus { left: 0; }

.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;
}

/* ---------- 3. Ketnyelvuseg -------------------------------------------- */
/* A ket nyelv egyszerre van a HTML-ben; a nem aktivat a CSS rejti el,
   igy nincs villanas es JS nelkul is helyes tartalom latszik.          */

html[data-lang="hu"] [data-l="en"],
html[data-lang="en"] [data-l="hu"] { display: none !important; }

/* ---------- 4. Gombok -------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-cta { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: #fff; }

.btn-teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

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

.btn-ghost { background: #fff; border-color: #fff; color: var(--teal); border-radius: 6px; }
.btn-ghost:hover { background: transparent; color: #fff; border-color: #fff; }

.btn-sm { padding: 9px 18px; font-size: .75rem; letter-spacing: 1px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- 5. Fejlec -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.brand:hover { text-decoration: none; }
/* A DFI logó mellett a Networker logója, elválasztó vonallal. */
.brand-sub {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.brand-sub img { height: 22px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav > ul > li { margin: 0; position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-nav);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--teal); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--teal); }

.caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.nav-link[aria-expanded="true"] .caret { transform: rotate(-135deg) translate(-1px, -1px); }

/* Legordulo / mega menu */
.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  margin: 0;
  list-style: none;
  display: none;
}
.dropdown[data-open="true"] { display: block; }
.dropdown a {
  display: block;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: .875rem;
  color: var(--body);
}
.dropdown a:hover { background: var(--teal-light); color: var(--teal-dark); text-decoration: none; }
.dropdown li { margin: 0; }

.mega {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-h);
  width: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 0;
}
.mega[data-open="true"] { display: block; }
.mega-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 20px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 32px;
}
.mega-col > a.mega-title {
  display: block;
  font-family: var(--font-nav);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0 0 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.mega-col > a.mega-title:hover { background: none; color: var(--teal-dark); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col ul a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 10px;
  line-height: 1.35;
}
.mega-count {
  flex: 0 0 auto;
  font-size: .75rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* Fejlec eszkozok */
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: 8px; }

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.icon-btn:hover { background: var(--surface-alt); color: var(--teal); text-decoration: none; }
.icon-btn svg { width: 19px; height: 19px; }

.badge {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--cta);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.badge[hidden] { display: none; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang-switch button {
  padding: 7px 11px;
  border: 0;
  background: #fff;
  font-family: var(--font-nav);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.lang-switch button:hover { background: var(--surface-alt); color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--teal); color: #fff; }

.nav-toggle { display: none; }

/* ---------- 6. Mobil navigacio ----------------------------------------- */

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(400px, 100%);
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    padding: 12px 0 60px;
    transform: translateX(100%);
    transition: transform .25s ease;
    visibility: hidden;
  }
  .main-nav[data-open="true"] { transform: translateX(0); visibility: visible; }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 22px; }

  .dropdown, .mega {
    position: static;
    display: none;
    width: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--surface-alt);
    padding: 8px 12px 14px;
  }
  .dropdown[data-open="true"], .mega[data-open="true"] { display: block; }
  .mega-inner { display: block; padding: 0; }
  .mega-col { margin-bottom: 14px; }
  .mega-col > a.mega-title { padding-top: 8px; }
}

/* Keskeny kijelzőn a fejlécnek szűkösen van helye, ezért fokozatosan
   elhagyjuk a másodlagos elemeket. A keresés a menüből így is elérhető. */
@media (max-width: 720px) {
  .header-bar { gap: 10px; }
  .brand-sub { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img { height: 28px; }
  .brand-sub img { height: 18px; }
  .header-tools { gap: 2px; margin-left: 0; }
  .header-tools > a.icon-btn[href$="search/"] { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn svg { width: 17px; height: 17px; }
  .lang-switch button { padding: 6px 8px; font-size: .7rem; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .header-tools .icon-btn[href*="compare"] { display: none; }
}

/* ---------- 7. Hero slider --------------------------------------------- */

.hero {
  position: relative;
  background: var(--surface-hero);
  overflow: hidden;
}
.hero-track { position: relative; }

.slide {
  display: none;
  position: relative;
  min-height: 460px;
}
.slide[data-active="true"] { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

/* A diaképek eltérő világosságúak, ezért a szöveg mögé halvány fátylat
   teszünk, hogy sötét háttéren is olvasható maradjon. */
.slide-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg,
              rgba(240, 242, 252, .96) 0%,
              rgba(240, 242, 252, .92) 28%,
              rgba(240, 242, 252, .55) 46%,
              rgba(240, 242, 252, 0) 62%);
}

.slide-body {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 20px 88px;
}
.slide-text { max-width: 520px; }
.slide-text h2 {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: .35em;
}
.slide-lead { font-weight: 700; color: var(--ink); margin-bottom: .5em; }
.slide-desc { font-size: .95rem; color: var(--body); margin-bottom: 1.6em; }

/* A vezérlők a dia alján, egy sorban -- így soha nem takarják a szöveget. */
.hero-controls {
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-nav {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color .18s ease;
}
.hero-nav:hover { background: #fff; }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
}
.hero-dots button {
  width: 10px; height: 10px;
  padding: 0;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: var(--teal); }

@media (max-width: 860px) {
  .slide { min-height: 0; }
  .slide-bg { position: relative; height: 210px; }
  .slide-veil { display: none; }
  .slide-body { padding: 26px 20px 58px; }
  .slide-text { max-width: none; }
  .slide-text h2 { font-size: 1.6rem; }
}

/* ---------- 8. Szekciok ------------------------------------------------ */

.section { padding: 64px 0; }
.section-alt { background: var(--surface-alt); }

.section-title {
  font-size: 2rem;
  font-weight: 500;
  color: var(--teal);
  text-align: center;
  margin-bottom: 2.2rem;
}
.section-title.left { text-align: left; }

.lead { font-size: 1.05rem; color: var(--muted); }

/* ---------- 9. Kartyaracsok -------------------------------------------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #cbd5e1; }

.card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 4;
  padding: 14px;
  background: var(--surface-alt);
}
.card-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

.card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1rem; font-weight: 500; margin-bottom: .35em; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--teal); text-decoration: none; }
.card-text { font-size: .85rem; color: var(--muted); margin: 0 0 1em; }
.card-foot { margin-top: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* A kártyákon három gomb fut egymás mellett, ezért itt tömörebbek. */
.card-foot .btn { padding: 7px 12px; font-size: .7rem; letter-spacing: .6px; border-width: 1px; }
.card-foot .btn[data-active="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Kategoriakartya a fooldalon */
.cat-card { text-align: center; }
.cat-card .card-media { aspect-ratio: 1; background: #fff; }
.cat-card .card-body { align-items: center; }
.cat-card .card-title { color: var(--ink); }
.cat-card .card-count { font-size: .8rem; color: var(--teal); font-weight: 500; }

/* ---------- 10. Termeklista -------------------------------------------- */

.product-card .card-media { position: relative; }

.status-chip {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: var(--teal);
  color: #fff;
}
.status-chip[data-status="EOL"] { background: #94a3b8; }
.status-chip[data-status="Preliminary"] { background: #f59e0b; }
.status-chip[data-status="Sample Available"] { background: #6366f1; }
.status-chip[data-status="MOQ Required"] { background: #0ea5e9; }

.spec-line {
  font-size: .8rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface-alt);
  font-size: .72rem;
  color: var(--muted);
}
a.chip:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }

/* Eszkozsor a listak felett */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.toolbar .grow { flex: 1 1 260px; }
.result-count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

.field {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--ink);
  background: #fff;
}
.field:focus { border-color: var(--teal); outline: 2px solid rgba(0, 156, 166, .18); outline-offset: 0; }
select.field { cursor: pointer; }

.empty-state {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
}

/* ---------- 11. Morzsamenu --------------------------------------------- */

.breadcrumb {
  padding: 14px 0;
  font-size: .8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; gap: 6px; align-items: center; }
.breadcrumb li + li::before { content: "›"; color: var(--faint); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- 12. Termekoldal -------------------------------------------- */

.product-head { padding: 26px 0 10px; }
.product-head h1 { font-size: 2rem; margin-bottom: .2em; }
.product-tagline { font-size: 1rem; color: var(--muted); max-width: 70ch; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 24px 0 48px;
  align-items: start;
}
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 26px; } }

.gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 4;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.gallery-thumbs button {
  width: 72px; height: 58px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease;
}
.gallery-thumbs button:hover { border-color: var(--teal); }
.gallery-thumbs button[aria-current="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.feature-list { margin: 0 0 1.5em; padding-left: 1.15em; }
.feature-list li { color: var(--body); font-size: .93rem; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.icon-strip { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.icon-strip figure { margin: 0; width: 56px; text-align: center; }
.icon-strip img { width: 38px; height: 38px; object-fit: contain; margin: 0 auto 4px; }
.icon-strip figcaption { font-size: .62rem; line-height: 1.25; color: var(--muted); }

.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }

/* Fulek */
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 26px;
  overflow-x: auto;
}
.tabs button {
  padding: 13px 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  font-family: var(--font-nav);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--teal); border-bottom-color: var(--teal); }

.tab-panel[hidden] { display: none; }

/* Specifikacios tabla */
.spec-group { margin-bottom: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-group > h3 {
  margin: 0;
  padding: 11px 18px;
  background: var(--teal);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.spec-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: .875rem;
}
.spec-row:first-of-type { border-top: 0; }
.spec-row:nth-child(even) { background: var(--surface-alt); }
.spec-row dt { font-weight: 500; color: var(--ink); margin: 0; }
.spec-row dd { margin: 0; color: var(--body); white-space: pre-line; }
@media (max-width: 680px) {
  .spec-row { grid-template-columns: 1fr; gap: 3px; }
}

/* Letoltesek */
.dl-group { margin-bottom: 26px; }
.dl-group h3 { font-size: 1rem; margin-bottom: .7em; }
.dl-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.dl-list li { margin: 0; border-top: 1px solid var(--line-soft); }
.dl-list li:first-child { border-top: 0; }
.dl-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--body);
  font-size: .875rem;
}
.dl-list a:hover { background: var(--teal-light); text-decoration: none; }
.dl-list .dl-name { flex: 1 1 240px; color: var(--link); }
.dl-list .dl-meta { font-size: .78rem; color: var(--faint); font-variant-numeric: tabular-nums; }

/* Rendelesi informacio */
.order-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-bottom: 26px; }
.order-table caption {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: .6em;
  font-size: 1rem;
}
.order-table th, .order-table td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: pre-line;
}
.order-table thead th { background: var(--surface-alt); font-weight: 600; color: var(--ink); }
.order-table tbody tr:nth-child(even) { background: #fbfdfe; }
@media (max-width: 680px) {
  .order-table, .order-table tbody, .order-table tr, .order-table td { display: block; width: 100%; }
  .order-table thead { display: none; }
  .order-table tr { margin-bottom: 12px; border: 1px solid var(--line); }
  .order-table td { border: 0; border-top: 1px solid var(--line-soft); }
  .order-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}

/* Attekintes blokkok */
.overview-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 36px; }
.overview-block:nth-child(even) .overview-media { order: -1; }
@media (max-width: 800px) { .overview-block { grid-template-columns: 1fr; } .overview-block:nth-child(even) .overview-media { order: 0; } }

/* ---------- 13. Osszehasonlitas ---------------------------------------- */

.compare-scroll { overflow-x: auto; padding-bottom: 8px; }
.compare-table { border-collapse: collapse; font-size: .85rem; min-width: 640px; width: 100%; }
.compare-table th, .compare-table td {
  padding: 11px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: pre-line;
}
.compare-table thead th { background: var(--surface-alt); vertical-align: bottom; }
.compare-table tbody th { background: #fff; font-weight: 500; color: var(--ink); width: 210px; position: sticky; left: 0; }
.compare-table .group-row th {
  background: var(--teal);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  position: static;
}
.compare-head img { height: 92px; width: auto; margin: 0 auto 8px; object-fit: contain; mix-blend-mode: multiply; }
.compare-head strong { display: block; text-align: center; color: var(--ink); }
.compare-head .remove {
  display: block;
  margin: 6px auto 0;
  border: 0;
  background: none;
  color: var(--cta);
  font-size: .75rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- 14. Ajanlatkero panel -------------------------------------- */

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 150;
  width: min(420px, 100%);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}
.drawer[data-open="true"] { transform: translateX(0); visibility: visible; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 1.05rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-item img { width: 52px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }
.drawer-item .name { flex: 1; font-size: .875rem; color: var(--ink); }
.drawer-item button { border: 0; background: none; color: var(--cta); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 4px; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }

/* ---------- 15. Urlap -------------------------------------------------- */

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-field label { display: block; font-size: .82rem; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.form-field .req { color: var(--cta); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-error { display: none; font-size: .78rem; color: var(--cta); margin-top: 4px; }
.form-field[data-invalid="true"] .form-error { display: block; }
.form-field[data-invalid="true"] .field { border-color: var(--cta); }

.form-note { font-size: .8rem; color: var(--muted); }

.alert { padding: 14px 18px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 18px; }
.alert-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-info { background: var(--teal-light); border: 1px solid #99d8dc; color: #045c62; }

/* ---------- 16. Megoldas-oldalak --------------------------------------- */

.page-hero {
  background: linear-gradient(115deg, #043b40 0%, var(--teal-dark) 55%, var(--teal) 100%);
  color: #fff;
  padding: 58px 0;
}
.page-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: .25em; }
.page-hero p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 62ch; margin: 0; }

.prose { max-width: 78ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; color: var(--teal); }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }

/* Néhány partnerlogó fehér rajzolat átlátszó háttéren (az eredeti oldalon
   teal dobozban ült). Fehér háttéren eltűnne, ezért kap egy sötét panelt. */
.prose img.on-dark {
  background: var(--teal);
  padding: 22px 28px;
  border-radius: var(--radius);
  max-width: 280px;
  width: 100%;
  height: auto;
}
.prose ul { padding-left: 1.2em; }

.solution-card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 230px; display: flex; }
.solution-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solution-card .overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(to bottom, rgba(0, 156, 166, 0) 30%, rgba(0, 126, 134, .92) 100%);
  text-align: center;
}
.solution-card h3 { color: #fff; margin: 0; font-size: 1.15rem; }

/* Milestones szamlalok */
.counter-band {
  background: linear-gradient(rgba(4, 59, 64, .82), rgba(4, 59, 64, .82));
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: 46px 28px;
  color: #fff;
}
.counter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.counter-cell { text-align: center; background: rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px 16px; }
.counter-value { font-size: 2.4rem; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.counter-value .suffix { color: var(--cta); }
.counter-label { font-size: .85rem; color: rgba(255, 255, 255, .85); }
.counter-note { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .9); text-align: center; }

/* Idovonal */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line); }
.timeline li { position: relative; margin: 0 0 26px; padding-left: 4px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -33px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline .year { font-weight: 700; color: var(--teal); display: block; }

/* ---------- 17. Lablec ------------------------------------------------- */

.site-footer { background: var(--footer); color: #d6d6d6; padding: 48px 0 0; margin-top: 64px; font-size: .875rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h2 {
  font-family: var(--font-nav);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: #d6d6d6; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #b8b8b8; }

.footer-logo { height: 30px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .95; }

.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #d6d6d6;
}
.social-row a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.social-row svg { width: 15px; height: 15px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 18px 0 22px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .5px;
  color: #adadad;
}

/* ---------- 18. Vissza a tetejere -------------------------------------- */

.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, background-color .2s ease;
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--teal-dark); }

/* ---------- 19. Nyomtatas ---------------------------------------------- */

@media print {
  .site-header, .site-footer, .to-top, .action-row, .tabs, .drawer, .scrim, .hero-nav, .hero-dots { display: none !important; }
  .tab-panel[hidden] { display: block !important; }
  body { font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}

/* ---------- 20. Mozgascsokkentes --------------------------------------- */

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