/* ====================================================================
   RezilienciaREC — v3
   Hero · EKFV módszertan (card-grid) · Szoftver · dimenzió-oldalak · Rólunk · Kapcsolat
   Type: Archivo (display) · IBM Plex Sans (body) · IBM Plex Mono (labels)
   Tokens coherent with v2.
   ==================================================================== */

/* ---- betűtípusok saját tárhelyről (korábban Google Fonts) ----
   gyorsabb első megjelenés mobilon (nincs két külső szerver a kritikus úton), és a látogatók
   IP-címe nem jut el a Google-hoz. Csak latin + latin-ext (ő, ű); az Archivo és a Plex Sans
   változtatható vastagságú, egy fájl fed le minden vastagságot. Licenc: SIL OFL 1.1. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url("assets/fonts/archivo-latin-ext-var.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url("assets/fonts/archivo-latin-var.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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-ext-400.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-400.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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-ext-500.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-500.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: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-ext-var.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-var.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; }

:root {
  --paper:      #F7F9FB;
  --paper-2:    #FFFFFF;
  --paper-edge: #E7EBEF;

  --ink:        #101C2C;
  --ink-soft:   #46586D;
  --ink-faint:  #8B99A8;
  --brand-gray: #A0A0A0;   /* a logó "Reziliencia" szürkéje */

  --accent:        #3182ED;   /* az app kékje (ügyfél, 2026-10) */
  --accent-strong: #1D63C9;
  --accent-soft:   #E5EFFC;

  --warn: #E8973A; --warn-ink: #9A5A12;
  --fail: #DC4B43; --fail-ink: #A6271F;
  --ok:   #2FA46A; --ok-ink:  #1C7349;

  --line:      #D7DEE6;
  --line-soft: #E4E9EF;

  --night:   #0C1828;
  --night-2: #13263C;

  --shadow-rest:  0 1px 2px rgba(16,28,44,0.04), 0 12px 32px -20px rgba(16,28,44,0.14);
  --shadow-hover: 0 2px 4px rgba(16,28,44,0.05), 0 24px 48px -20px rgba(49,130,237,0.22);
  --shadow-float: 0 0 0 1px rgba(16,28,44,0.07), 0 2px 6px rgba(16,28,44,0.06), 0 48px 100px -40px rgba(16,28,44,0.45);

  --maxw: 1240px;
  --edge: clamp(16px, 2.4vw, 34px);   /* fejléc oldalmargója, a dotnav is ehhez igazodik */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: "Archivo", sans-serif; line-height: 1.04; letter-spacing: -0.022em; font-weight: 800; }
h2 { line-height: 1.12; letter-spacing: -0.028em; }
h3 { line-height: 1.25; letter-spacing: -0.012em; }
em { font-style: normal; color: var(--accent); }
strong { font-weight: 600; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 54px); }
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1340px; }

.eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500;
}
.eyebrow--accent { color: var(--accent-strong); }

/* ===================================================== BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 11px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* ===================================================== HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
/* a fejléc nem a tartalom-konténerhez igazodik: a logó balra zárt, kis margóval,
   jobb oldalon ugyanekkora margó (ügyfél-feedback) */
.site-header .container { max-width: none; padding-inline: var(--edge); }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: clamp(30px, 3.2vw, 38px); width: auto; }
.header-actions { display: flex; align-items: center; gap: 16px; position: relative; }

/* page back-link */
.page-back {
  font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--accent-strong); display: inline-flex; align-items: center; gap: 8px; transition: gap .2s var(--ease);
}
.page-back:hover { gap: 12px; }
.page-back svg { width: 16px; height: 16px; stroke: currentColor; }

/* ===================================================== FOOTER */
.site-footer {
  background: linear-gradient(180deg, #00479a, #00204b 240px);
  color: rgba(255,255,255,0.7); padding: clamp(48px, 7vw, 80px) 0 32px; margin-top: clamp(40px, 7vw, 90px);
  position: relative;
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(49,130,237,0.45), transparent); }
.site-footer :focus-visible { outline-color: #6CA8FF; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand-logo { height: 34px; filter: brightness(1.15); margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; color: rgba(255,255,255,0.55); }
.footer-brand .footer-tagline { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
/* a szlogen helye megmarad, szöveg nélkül (ügyfél, 2026-10) */
.footer-brand .footer-tagline:empty { min-height: 1.5em; }
.footer-col .footer-col-title { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.footer-col p, .footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.7); display: block; margin-bottom: 8px; }
.footer-col a { transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover { color: #6CA8FF; transform: translateX(3px); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; color: rgba(255,255,255,0.4);
}

/* ===================================================== HERO (slide 0) */
.slide--hero { justify-content: center; overflow: hidden; }
/* nincs színátmenet a hero-n: a fejléc és az első szekció egy háttéren fut, nem válik el;
   a pontrács a fejléc alatt indul, hogy a fejléc mögött se legyen eltérés */
.slide--hero::after {
  content: ""; position: absolute; inset: var(--header-h) 0 0; pointer-events: none;
  background-image: radial-gradient(rgba(16,28,44,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 60% at 78% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 78% 40%, #000, transparent 75%);
}
.hero-inner { position: relative; }
.slide--hero h1 {
  /* a fő mondat a doc szerint pontosan 3 sorban törik (br-d), a betűméret ehhez van lőve */
  font-size: min(6vw, 3.65rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08;
  /* alatta egy (saját) sornyi térköz: a főcím jobban elválik a menüpontoktól (ügyfél, 2026-10-28) */
  margin: 0.4em 0 1.08em;
}
.hero-lead { margin-top: 1.4em; font-size: clamp(1.02rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; }
/* egy mondat arról, hova érkezett a látogató — kisebb, kevésbé hangsúlyos */
.hero-sub { margin-top: clamp(20px, 3vh, 32px); font-size: clamp(0.95rem, 1.4vw, 1.1rem); color: var(--ink-faint); font-weight: 500; }
.chips { margin-top: clamp(32px, 4.5vh, 52px); display: flex; flex-wrap: wrap; gap: 16px 48px; }

/* ---- menüpontok: [ Szöveg ] ----
   v2 design keret nélkül; a szöveg a RezilienciaREC szürkéje, kijelölve kék.
   A zárójel minden menüben kék, félkövér, kb. 3 ponttal (4px) nagyobb a szövegnél. */
.chip, .header-link, .section-nav a {
  display: inline-flex; align-items: center; gap: 0.35em; white-space: nowrap;
  font-family: "Archivo", sans-serif; font-weight: 700; color: var(--brand-gray);
  transition: color .2s var(--ease);
}
.chip .br, .header-link .br, .section-nav .br {
  font-family: "Archivo", sans-serif; font-size: calc(1em + 4px); font-weight: 800; line-height: 1;
  color: var(--accent); display: inline-block; transition: transform .25s var(--ease);
}
.chip:hover, .header-link:hover, .section-nav a:hover,
.section-nav a[aria-current] { color: var(--accent); }
.chip:hover .br:first-child, .header-link:hover .br:first-child, .section-nav a:hover .br:first-child { transform: translateX(-3px); }
.chip:hover .br:last-child,  .header-link:hover .br:last-child,  .section-nav a:hover .br:last-child  { transform: translateX(3px); }
.chip { font-size: clamp(0.98rem, 1.25vw, 1.12rem); }

/* szekció végi almenü (Módszer / Szoftver / Szakértő) */
.section-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: clamp(36px, 5vw, 56px); }
.section-nav a { font-size: 1rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--ink-faint); }
.scroll-cue-txt { font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue-arrow { width: 1px; height: 30px; background: currentColor; position: relative; animation: cue 2s var(--ease) infinite; }
.scroll-cue-arrow::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateX(-50%) rotate(45deg); }
@keyframes cue { 0%,100%{ transform: translateY(0); opacity:.7 } 50%{ transform: translateY(6px); opacity:1 } }

/* ===================================================== PAGE HEAD (sub-pages) */
.page-head { padding: calc(var(--header-h) + clamp(34px, 6vw, 70px)) 0 clamp(24px, 4vw, 44px); }
.page-head .page-back { margin-bottom: clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-top: 0.2em; }
.page-head .lead { margin-top: 1em; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 60ch; }
.page-head .lead + .lead { margin-top: 0.7em; }

/* bracket title style */
.bracket-title { display: inline; }
.bracket-title .bk { color: var(--accent); font-weight: 800; }

.section { padding: clamp(40px, 6vw, 80px) 0; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }

/* ===================================================== DECK / SLIDES
   (a snap-görgetés az ügyfél-feedback szerint zavarta az olvasást →
    természetes görgetés, a slide-ok teljes magasságú szekciók maradnak) */
.slide {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--header-h) + 18px) 0 clamp(44px, 6vh, 72px);
}
/* adaptív igazítás: ha a tartalom elfér, az auto margók középre teszik;
   ha magasabb a viewportnál, az auto margó 0-ra esik → fentről indul és a slide-on belül görgethető */
.slide > .container { margin-block: auto; }
.slide--alt { background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); border-block: 1px solid var(--line-soft); }
.slide--last { padding-bottom: 0; }
.slide--last .site-footer { margin-top: clamp(80px, 14vh, 160px); width: 100%; z-index: 1; }

/* ---- dot nav (oldalsó pöttyök) ---- */
.dotnav {
  position: fixed; top: 50%; right: var(--edge); z-index: 50;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.dotnav::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.dotnav a { display: grid; place-items: center; width: 18px; height: 18px; position: relative; }
.dotnav a::after {
  content: attr(aria-label); position: absolute; right: 26px; top: 50%; translate: 0 -50%;
  font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--ink-soft); white-space: nowrap; opacity: 0; transform: translateX(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none;
}
.dotnav a:hover::after { opacity: 1; transform: none; }
.dotnav i {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--ink-faint);
  background: var(--paper);
  transition: all .3s var(--ease);
}
.dotnav a:hover i { border-color: var(--accent); transform: scale(1.25); }
.dotnav a.is-active i { background: var(--accent); border-color: var(--accent); transform: scale(1.15); box-shadow: 0 0 0 4px var(--accent-soft); }
.slide-head { margin: 0 auto clamp(44px, 5.5vw, 72px); text-align: center; }
.slide-head .bracket-title { justify-content: center; }
.slide-head h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
/* a címek alatti szövegek egységesen a teljes oszlopszélességen, balra zárva futnak:
   a fölöttük és alattuk lévő tartalom szélességéhez igazodnak (ügyfél, 2026-10) */
.slide-head .lead, .lead--bowtie { margin-top: 20px; color: var(--ink-soft); font-size: clamp(1rem, 1.45vw, 1.14rem); line-height: 1.65; text-align: left; }
.slide-head .lead + .lead { margin-top: 0.7em; }

/* ===================================================== EKFV MÓDSZERTAN (card grid) */
.method-intro {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 18px;
  padding: clamp(24px, 3vw, 36px); margin-bottom: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 60px -44px rgba(16,28,44,0.5);
}
.method-intro .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.method-intro .ic svg { width: 24px; height: 24px; stroke: var(--accent-strong); }
.method-intro p { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink); font-weight: 500; line-height: 1.5; }
.method-intro p strong { color: var(--accent-strong); font-weight: 700; }

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m-list { display: grid; gap: 9px; }
.m-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.95rem; color: var(--ink); }
.m-list li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; line-height: 1.5; }
.m-eval { display: grid; gap: 11px; }
.m-eval li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; font-size: 0.93rem; }
.m-eval li svg { width: 22px; height: 22px; stroke: var(--accent-strong); }
.m-eval .lab { font-weight: 600; color: var(--ink); }
.m-eval .desc { color: var(--ink-soft); }
.m-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.m-controls span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.84rem; font-weight: 600; }
.m-controls span svg { width: 15px; height: 15px; stroke: currentColor; }
.m-note {
  margin-top: auto; padding: 13px 15px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent-strong); font-weight: 600; font-size: 0.92rem; display: flex; gap: 9px; align-items: flex-start; line-height: 1.45;
}
.m-note .arr { font-weight: 800; flex: none; }
.m-aside { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; color: var(--accent-strong); font-size: 0.9rem; font-weight: 500; line-height: 1.5; }
.m-card--span2 { grid-column: span 2; }
.m-card--span2 .m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }

/* closing CTA panel */
.method-cta {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 36px); align-items: center;
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 20px; padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 30px 70px -44px rgba(16,28,44,0.5);
}
.method-cta .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.method-cta .ic svg { width: 28px; height: 28px; stroke: var(--accent-strong); }
.method-cta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.method-cta h2 em { color: var(--accent); }
.method-cta .btn { white-space: nowrap; }

/* ===================================================== DASHBOARD MOCKUP */
.demo-block { display: grid; gap: clamp(20px, 3vw, 34px); }
.demo-block h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.browser-frame { border-radius: 16px; overflow: hidden; border: none; box-shadow: var(--shadow-float); background: var(--paper-2); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line-soft); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--paper-edge); }

.dash { display: grid; grid-template-columns: 210px 1fr; min-height: 440px; }
.dash-side { background: var(--night); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.dash-side .dash-logo { display: flex; align-items: center; gap: 9px; padding: 6px 10px 16px; }
.dash-side .dash-logo .dot { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; }
.dash-side .dash-logo .dot svg { width: 13px; height: 13px; stroke: #fff; }
.dash-side .dash-logo span { font-family: "Archivo"; font-weight: 700; font-size: 0.92rem; color: #fff; }
.dash-side a, .dash-side .nav-i {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px;
  font-size: 0.82rem; color: rgba(255,255,255,0.62); font-weight: 500;
}
.dash-side .nav-i svg { width: 16px; height: 16px; stroke: currentColor; flex: none; }
.dash-side .nav-i.is-active { background: rgba(49,130,237,0.22); color: #fff; }
.dash-side .nav-i.is-active svg { stroke: #6CA8FF; }

.dash-main { padding: clamp(16px, 2vw, 24px); background: var(--paper); overflow: hidden; }
.dash-main h4 { font-family: "Archivo"; font-size: 1.05rem; margin-bottom: 14px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.dash-stats.cols3 { grid-template-columns: 1fr 1fr 1fr; }
.stat-tile { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 5px; }
.stat-tile .k { font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); font-family: "IBM Plex Mono", monospace; }
.stat-tile .v { font-family: "Archivo"; font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.stat-tile .v small { font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; }
.stat-tile .v.accent { color: var(--accent); }
.stat-tile .badge { align-self: flex-start; font-size: 0.7rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.badge.warn { background: rgba(232,151,58,0.16); color: var(--warn-ink); }
.badge.ok { background: rgba(47,164,106,0.16); color: var(--ok-ink); }
.badge.fail { background: rgba(220,75,67,0.14); color: var(--fail-ink); }

.donut-tile { align-items: center; flex-direction: row; gap: 12px; }
.donut { width: 64px; height: 64px; flex: none; }
.donut .track { fill: none; stroke: var(--line); stroke-width: 7; }
.donut .val { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.donut-tile .donut-num { font-family: "Archivo"; font-weight: 800; font-size: 1.3rem; }
.donut-tile .donut-lab { font-size: 0.74rem; color: var(--ink-soft); }

.dash-lower { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.dash-panel { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; }
.dash-panel h5 { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.trend { width: 100%; height: 96px; }
.trend .area { fill: rgba(49,130,237,0.10); }
.trend .ln { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.trend .gl { stroke: var(--line-soft); stroke-width: 1; }
.alerts { display: grid; gap: 9px; }
.alerts li { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; font-size: 0.82rem; }
.alerts .dot { width: 8px; height: 8px; border-radius: 50%; }
.alerts .dot.warn { background: var(--warn); }
.alerts .dot.fail { background: var(--fail); }
.alerts .dot.ok { background: var(--ok); }
.alerts .t { color: var(--ink); }
.alerts .meta { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; color: var(--ink-faint); }

.demo-caption { color: var(--ink-soft); font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.demo-caption svg { width: 16px; height: 16px; stroke: var(--accent); flex: none; }

/* dimension page intro + sticky feature columns */
.dim-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(8px, 2vw, 18px); }
.dim-point { background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; }
.dim-point .n { font-family: "IBM Plex Mono", monospace; color: var(--accent); font-size: 0.78rem; letter-spacing: 0.08em; }
.dim-point h3 { font-size: 1.05rem; margin: 9px 0 6px; }
.dim-point p { color: var(--ink-soft); font-size: 0.9rem; }

/* ===================================================== SZOFTVER feature list */
/* align-items: start — a videó doboz nem mozdul, amikor a bal oldali
   accordion-szöveg nyílik/záródik (ügyfél-feedback: ne ugráljon) */
/* align-items: center — az ábra a 3 szöveges blokkhoz képest függőlegesen középen áll
   (középvonala a középső blokk középvonalán, ügyfél-feedback); a leírások mindig
   láthatók, így váltáskor semmi nem ugrik */
.demo-shell { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.feature-list { margin-top: 18px; display: grid; gap: 6px; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 16px; border-radius: 12px; transition: background .2s var(--ease); }
.feature-list li:hover { background: var(--paper-2); }
.feature-list .fn { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent); padding-top: 2px; }
.feature-list h3 { font-size: 1.08rem; }
.feature-list p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 3px; }

/* ===================================================== RÓLUNK */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.about-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-areas li { padding: 8px 15px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.86rem; font-weight: 600; }
.stat-stack { display: grid; gap: 16px; }
.stat-card { background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.stat-card .num { font-family: "Archivo"; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--accent); line-height: 1; }
.stat-card .lab { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: clamp(24px, 2.5vw, 32px); box-shadow: var(--shadow-rest);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.value-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.value-card .vnum { font-family: "IBM Plex Mono", monospace; color: var(--accent); font-size: 0.72rem; letter-spacing: 0.16em; }
.value-card .vnum::after { content: ""; display: block; width: 22px; height: 2px; background: var(--accent); margin-top: 10px; }
.value-card h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; margin: 14px 0 10px; }
.value-card p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.62; }

/* szakértő: 4 kártya egy sorban */

/* ===================================================== KAPCSOLAT */
/* az űrlap kikerült: a lista és az elérhetőségek egymás mellett, függőlegesen középre zárva,
   a value-card kártyák stílusában */
/* a jobb oldali két doboz a bal oldali lista tetejéhez és aljához igazodik */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.contact-card:hover { transform: none; }
.contact-direct { display: grid; grid-auto-rows: 1fr; gap: 16px; }
.contact-item {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--line-soft);
  border-radius: 16px; background: var(--paper-2); box-shadow: var(--shadow-rest); position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
/* betűtípus/méret a value-card kártyákéval azonos (szöveg + cím), hogy kevesebb fajta legyen */
.contact-item span { font-size: 0.94rem; color: var(--ink-soft); }
.contact-item strong { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
/* Rólunk: a profes.hu link ugyanilyen dobozban, középre zárva */
.contact-item--center { display: inline-flex; align-items: center; text-align: center; min-width: min(100%, 320px); }
/* e-mail = fő CTA: a nyíl kék keretben, hogy egyértelműen kattintható legyen */
.contact-item--cta { padding-right: 76px; }
.contact-arrow {
  position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--accent);
  display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 1.1rem; color: var(--accent);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.contact-item--cta:hover .contact-arrow { background: var(--accent); color: #fff; }

/* ===================================================== REVEAL */
.rv { opacity: 0; transform: translateY(22px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }

/* ===================================================== RESPONSIVE */
@media (max-width: 980px) {
  .method-grid { grid-template-columns: 1fr 1fr; }
  .m-card--span2 { grid-column: span 2; }
  .m-card--span2 .m-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-grid, .demo-shell, .contact-grid { grid-template-columns: 1fr; }
  .values-grid, .dim-points { grid-template-columns: 1fr; }
  .method-cta { grid-template-columns: auto 1fr; }
  .method-cta .btn { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .method-grid { grid-template-columns: 1fr; }
  .m-card--span2 { grid-column: auto; }
  /* dashboard becomes horizontally scrollable to keep proportions */
  .browser-frame.scrollable .dash { min-width: 720px; }
  .browser-frame.scrollable { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .chips { flex-direction: column; gap: 14px; }
  .header-actions .btn { display: none; }   /* CTA lives in the menu + on every page */
  .method-intro { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .dash-side .dash-logo { width: 100%; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-lower { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  .scroll-cue-arrow { animation: none; }
}

/* ====================================================================
   v4 KIEGÉSZÍTÉSEK
   fejléc-linkek · dimenzió-illusztrációk · beágyazott bowtie · kattintható demo
   ==================================================================== */

/* ---- fejléc: [ Kapcsolat ] [ Bejelentkezés ] — közös menüpont-stílus (lásd .chip) ---- */
.header-link { font-size: 0.95rem; }

/* ---- beágyazott bowtie (módszertan) ---- */
.bowtie-panel {
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: clamp(18px, 2.6vw, 32px); box-shadow: var(--shadow-rest), 0 30px 70px -44px rgba(16,28,44,0.4);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.bowtie-cols { display: flex; justify-content: space-between; margin-bottom: 2px; padding: 0 10px; }
.bowtie-cols span { font-family: "Archivo", sans-serif; font-weight: 700; font-size: clamp(0.85rem, 1.4vw, 1.05rem); color: var(--ink); position: relative; padding-bottom: 8px; }
.bowtie-cols span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--accent); }
.bowtie-cols span:last-child::after { left: auto; right: 0; }
.bowtie-svg-wrap { position: relative; }
.bowtie-svg { width: 100%; height: auto; overflow: visible; }
.bowtie-scrollhint { display: none; }

/* jelmagyarázat: Hatások · Mechanizmus · Kontroll */
.bowtie-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 12px; }
.lg-item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--fail); }
.lg-dot--after { width: 7px; height: 7px; background: var(--accent); opacity: 0.55; margin-left: -4px; }
.lg-line { width: 26px; height: 0; border-top: 2px solid var(--line); }
.lg-shield { width: 17px; height: 17px; fill: var(--ok); }
.lg-shield .chk { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* a diagram alá költöztetett magyarázó szöveg (ügyfél-copy) */
.lead--bowtie { margin-top: clamp(32px, 4.5vw, 52px); margin-bottom: clamp(28px, 4vw, 44px); }

/* svg elemek */
.bt-line { stroke: var(--line); stroke-width: 1.8; fill: none; opacity: 0.85; transition: stroke .2s var(--ease), stroke-width .2s var(--ease), opacity .2s var(--ease); }
.bt-line.is-active { stroke: var(--accent); stroke-width: 2.8; opacity: 1; }
.bt-dot { fill: var(--fail); opacity: 0.95; }
.bt-shield { cursor: help; outline-offset: 6px; }
.bt-shield-halo { fill: var(--paper-2); stroke: var(--line-soft); stroke-width: 1; filter: drop-shadow(0 2px 5px rgba(16,28,44,0.14)); }
.bt-shield-body { fill: var(--ok); transition: fill .2s var(--ease); }
.bt-shield-chk { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bt-shield:hover .bt-shield-body, .bt-shield:focus-visible .bt-shield-body { fill: var(--ok-ink); }
.bt-open-hit { stroke: transparent; stroke-width: 20; fill: none; cursor: help; }
.bt-threat {
  height: 100%; display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.3;
  transition: border-color .2s var(--ease);
}
.bt-threat.is-active { border-color: var(--accent); }
.bt-threat-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; }
.bt-threat-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-strong); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bt-center-halo { fill: var(--accent-soft); }
.bt-center-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.4; }
.bt-center-body { fill: var(--paper-2); stroke: var(--accent); stroke-width: 2; }
.bt-center-t { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 17px; fill: var(--ink); text-anchor: middle; }
/* következmény-kártya: a veszélyeztetésekével azonos (szöveg + kis ikon); nem kattintható */
.bt-cons { display: flex; align-items: center; gap: 12px; height: 100%;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 14px;
  font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.3; transition: border-color .2s var(--ease); }
.bt-cons.is-active { border-color: var(--accent); }
.bowtie-tip {
  position: absolute; z-index: 8; max-width: 280px; pointer-events: none;
  background: var(--paper-2); border: 1.5px solid var(--accent); border-radius: 12px;
  padding: 12px 14px; box-shadow: 0 18px 44px -20px rgba(16,28,44,0.5);
  opacity: 0; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease);
  display: none;
}
.bowtie-tip.show { opacity: 1; transform: none; }
.bowtie-tip .tip-code { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--accent-strong); display: block; margin-bottom: 2px; }
.bowtie-tip .tip-name { font-family: "Archivo"; font-weight: 700; font-size: 0.98rem; display: block; margin-bottom: 5px; }
.bowtie-tip .tip-desc { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }

/* módszertan: 3 lépés kártya */
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---- kattintható demo (szoftver) ---- */
.demo-tab {
  width: 100%; text-align: left; display: block;
  padding: 16px 18px; border-radius: 14px; border: 1px solid transparent;
  border-left: 3px solid transparent; transition: all .25s var(--ease);
}
.demo-tab:hover { background: var(--paper); }
.demo-tab.is-active { background: var(--paper); border-color: var(--line-soft); border-left-color: var(--accent); box-shadow: var(--shadow-rest); }
.demo-tab h3 { font-size: 1.08rem; }
/* a leírások mindig láthatók — váltáskor semmi nem mozdul (ügyfél: ne ugráljon) */
.demo-tab p { color: var(--ink-soft); font-size: 0.9rem; margin-top: 6px; }
.demo-viewport { position: relative; aspect-ratio: 1920/1080; border-radius: 16px; }
/* feliratok a két készülék fölött. A képeken a webes keret a szélesség 2,6–73,3%-án,
   a telefon a 76,2–97,4%-án áll (mindhárom képen azonos), a feliratok ezek közepére igazodnak.
   A negatív margó a kép felső üres sávjába húzza őket, közvetlenül a keretek fölé. */
.demo-labels { position: relative; z-index: 1; height: 1.6em; margin-bottom: -3.5%; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.demo-labels span { position: absolute; bottom: 0; transform: translateX(-50%); white-space: nowrap; }
.demo-labels .lbl-web { left: 37.95%; }
.demo-labels .lbl-mobile { left: 86.8%; }

/* általános infó a demó alatt (a korábbi 04-es pont, sorszám nélkül) */
.demo-note {
  margin-top: clamp(24px, 3.5vw, 40px);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line-soft));
  border-radius: 16px; padding: clamp(20px, 2.6vw, 30px);
}
.demo-note h3 { font-size: 1.12rem; margin-bottom: 8px; }
.demo-note p { color: var(--ink-soft); font-size: 0.96rem; }
/* egy üres sornyi köz a bekezdések között (a body line-height-ja 1.6) — Szakmai közösség felhívás (ügyfél, 2026-10-28) */
.demo-note p + p { margin-top: 1.6em; }
/* Szakértő: ugyanez a doboz inverzben — a Szoftver slide hátterével, a sima slide-on (ügyfél, 2026-10) */
.demo-note--inverse { background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); border-color: var(--line-soft); box-shadow: var(--shadow-rest); }
/* a képcsere a viewport teljes fade-je mögött történik (lásd site.js) */
.demo-viewport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 16px; opacity: 0; }
.demo-viewport img.is-active { opacity: 1; }

/* ---- lábléc: jogi linkek ---- */
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #6CA8FF; }

/* ---- v4 reszponzív ---- */
@media (max-width: 980px) {
  .method-steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* a fejléc és az ábra együtt görgethető; különben a fejléc min-width-je kitolja az oldalt */
  .bowtie-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .bowtie-svg-wrap { min-width: 860px; }
  .bowtie-svg { min-width: 860px; }
  .bowtie-scrollhint { display: block; text-align: center; font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; color: var(--ink-faint); padding: 4px 0 0; }
  .bowtie-cols { min-width: 860px; }
}
@media (max-width: 700px) {
  /* menü híján a linkek maradnak, csak kompaktabban */
  .header-link { font-size: 0.85rem; }
  .header-actions { gap: 10px; }
}
@media (max-width: 420px) {
  .site-header .brand-logo { height: 24px; }
  .header-link { font-size: 0.78rem; }
  .header-actions { gap: 8px; }
}

/* ---- deck reszponzív ---- */
@media (max-width: 700px) {
  /* kis kijelzőn a fix törés nem fér ki: természetes tördelés */
  .br-d { display: none; }
  .slide--hero h1 { font-size: clamp(2.1rem, 9.4vw, 3rem); }
}
/* a dotnav csak akkor fér el, ha a tartalom-konténer mellett van szabad sáv */
@media (max-width: 1200px) { .dotnav { display: none; } }
@media (max-width: 860px) {
  .slide { min-height: 100svh; }
  .scroll-cue { display: none; }
}

/* ====================================================================
   v4 — jelölők a szoftver-demón (hover / koppintás, automatikus léptetés nélkül)
   ==================================================================== */
.demo-viewport { transition: opacity .32s var(--ease); }
.demo-viewport.is-fading { opacity: 0; }
.demo-viewport.no-anim .demo-tooltip { transition: none !important; }
/* blokkonként mind a 3 jelölő látszik (kék, pulzáló pötty); a buborék csak hoverre / koppintásra */
.demo-hotspot {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; border: 0; padding: 0; z-index: 4;
  background: var(--accent); cursor: pointer;
  box-shadow: 0 0 0 0 rgba(49,130,237,0.55);
  animation: hotspotPulse 2s infinite;
  transition: transform .2s var(--ease);
}
/* nagyobb, láthatatlan találati felület érintéshez */
.demo-hotspot::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.demo-hotspot:hover, .demo-hotspot:focus-visible, .demo-hotspot.is-active { transform: scale(1.2); }
@keyframes hotspotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(49,130,237,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(49,130,237,0); }
  100% { box-shadow: 0 0 0 0 rgba(49,130,237,0); }
}
.demo-tooltip {
  position: absolute; z-index: 5; width: max-content; max-width: 260px; min-width: 150px;
  background: var(--accent); color: #fff;
  font-family: "IBM Plex Sans", sans-serif; font-weight: 500; font-size: 0.9rem; line-height: 1.45;
  padding: 12px 15px; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(16,28,44,0.5);
  transition: opacity .2s var(--ease); pointer-events: none;
}
.demo-tooltip::after { content: ""; position: absolute; width: 0; height: 0; border: 8px solid transparent; }
.demo-tooltip.t-top    { transform: translate(-26px, 22px); }
.demo-tooltip.t-bottom { transform: translate(-26px, calc(-100% - 22px)); }
.demo-tooltip.t-right  { transform: translate(22px, -18px); }
.demo-tooltip.t-left   { transform: translate(calc(-100% - 22px), -18px); }
.demo-tooltip.t-bottom::after { top: 100%; left: 26px; border-top-color: var(--accent); }
.demo-tooltip.t-top::after    { bottom: 100%; left: 26px; border-bottom-color: var(--accent); }
.demo-tooltip.t-left::after   { left: 100%; top: 18px; border-left-color: var(--accent); }
.demo-tooltip.t-right::after  { right: 100%; top: 18px; border-right-color: var(--accent); }
.demo-tooltip.is-hidden { opacity: 0; }
/* keskeny kijelzőn minden szöveg alatt a saját képe (site.js építi), a közös kép-színpad rejtve;
   a fülek ott nem váltanak, ezért kiemelés nélkül, sima szövegként jelennek meg */
.demo-mstage { display: none; }
@media (max-width: 980px) {
  .demo-stage { display: none; }
  .demo-mstage { display: block; margin: 4px 0 28px; }
  .demo-tab, .demo-tab.is-active, .demo-tab:hover {
    background: none; border-color: transparent; box-shadow: none; padding: 0; cursor: default;
  }
}
/* a jelölő szövege a kép alatt: asztali nézetben csak képernyőolvasónak,
   keskeny kijelzőn látható (ott a buborék nem fér el a képen) */
.demo-subtitle {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 700px) {
  .demo-tooltip { display: none; }
  .demo-hotspot { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
  .demo-subtitle {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    margin-top: 12px; min-height: 3em; text-align: center; font-weight: 500; color: var(--accent-strong);
  }
}

/* ====================================================================
   v4 — BOWTIE belépő animáció + áramló részecskék (a v1 landing nyomán)
   ==================================================================== */
.bt-anim-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: btDraw 0.9s var(--ease) forwards; }
@keyframes btDraw { to { stroke-dashoffset: 0; } }
.bt-anim-fade { animation: btFade 0.7s var(--ease) backwards; }
@keyframes btFade { from { opacity: 0; } }
.bt-anim-pop { animation: btPop 0.65s var(--ease) backwards; transform-box: fill-box; transform-origin: center; }
@keyframes btPop { from { opacity: 0; transform: scale(0.55); } }
/* a foreignObject-en belüli HTML-t Safari a position/transform animációknál
   rossz helyre rendereli — ezért csak layout-tulajdonságot (margókat) animálunk */
.bowtie-svg foreignObject { overflow: visible; }
.bt-threat { animation: btSlideL 0.7s var(--ease) 0.1s backwards; }
@keyframes btSlideL { from { opacity: 0; margin-left: -16px; margin-right: 16px; } }
.bt-cons { animation: btSlideR 0.6s var(--ease) backwards; animation-delay: var(--bd, 1s); }
@keyframes btSlideR { from { opacity: 0; margin-left: 16px; margin-right: -16px; } }
.bt-radar { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0;
  transform-box: fill-box; transform-origin: center; animation: btRadar 3.2s var(--ease) 1.4s infinite; }
.bt-radar--2 { animation-delay: 3s; }
@keyframes btRadar { 0% { opacity: 0.55; transform: scale(1); } 70% { opacity: 0; transform: scale(1.45); } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .bt-anim-draw, .bt-anim-fade, .bt-anim-pop, .bt-threat, .bt-cons, .bt-radar { animation: none; }
  .bt-anim-draw { stroke-dashoffset: 0; }
  .demo-hotspot { animation: none; }
}


/* ---- alacsony kijelző: kompaktabb slide-tartalom, hogy többnyire kiférjen ---- */
@media (min-width: 861px) and (max-height: 840px) {
  .slide-head { margin-bottom: 22px; }
  .slide-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
  .slide-head .lead, .lead--bowtie { font-size: 1rem; }
  .bowtie-panel { padding: 14px 18px 12px; margin-bottom: 22px; }
  .bowtie-svg-wrap, .bowtie-cols { max-width: 920px; margin-inline: auto; }
  .bowtie-legend { margin-top: 6px; }
  .method-steps { gap: 14px; }
  .value-card { padding: 18px 20px; }
  .value-card h3, .contact-item strong { font-size: 1.1rem; }
  .value-card p, .contact-item span { font-size: 0.88rem; }
  .demo-tab { padding: 10px 14px; }
  .demo-tab p { font-size: 0.84rem; }
}


/* ---- rólunk slide: az üresség szándékos levegővé tétele (hero-rím) ---- */
#rolunk { overflow: hidden; }
#rolunk::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 50% at 12% 20%, rgba(49,130,237,0.06), transparent 60%);
}
#rolunk::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(16,28,44,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(50% 55% at 15% 30%, #000, transparent 75%);
  mask-image: radial-gradient(50% 55% at 15% 30%, #000, transparent 75%);
}

/* ---- jogi aloldalak (impresszum, adatvédelem) ---- */
.legal-main { padding-bottom: clamp(48px, 8vw, 96px); }
.legal-body h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.legal-body p { color: var(--ink-soft); margin-bottom: 12px; max-width: 72ch; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--accent-strong); }
.legal-foot { border-top: 1px solid var(--line-soft); padding: 24px 0; }
.legal-foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; color: var(--ink-faint); }
.legal-foot a:hover { color: var(--accent-strong); }

/* ---- kontakt bevezető sor a lista fölött ---- */
/* a lista címe ugyanakkora, mint a lista (a .value-card p kisebb méretét felülírja), félkövér */
.value-card .contact-intro { font-size: inherit; font-weight: 600; color: var(--ink); margin-bottom: 16px; }

/* ---- kontakt pipa-lista: körbe zárt ikon a nyers ✓ helyett ---- */
.check-list { display: grid; gap: 14px; color: var(--ink-soft); }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list li::before {
  content: "✓"; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-strong);
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
}
