/* ============================================================
   Zentus Landing — base styles (faithful to zentus-landing-claude.pen)
   Tokens mapped 1:1 from /tokens (colors, typography, spacing, shadows, radius)
   ============================================================ */

:root {
  /* color tokens */
  --bg: #F2F3F7;
  --bg-deep: #C5D6EA;
  --blue: #1884F0;
  --blue-hover: #0F6FD1;
  --border: #E2E6EF;
  --error: #D64545;
  --graphite: #1A1F2E;
  --graphite-2: #232a3d;
  --ice: #D8F0F0;
  --navy: #303C60;
  --success: #1FA971;
  --text: #3A4252;
  --text-muted: #6B7488;
  --warning: #D9920A;
  --white: #FAFBFD;

  /* radius tokens */
  --r-badge: 8px;
  --r-btn: 12px;
  --r-card: 24px;
  --r-card-lg: 28px;
  --r-input: 12px;

  /* shadow tokens (Deep Navy based, never pure black) */
  --sh-xs: 0 1px 2px rgba(48,60,96,0.06);
  --sh-sm: 0 2px 8px rgba(48,60,96,0.08);
  --sh-md: 0 8px 24px rgba(48,60,96,0.10);
  --sh-lg: 0 16px 48px rgba(48,60,96,0.12);
  --glow-blue: 0 4px 16px rgba(24,132,240,0.25);
  --glow-blue-strong: 0 6px 22px rgba(24,132,240,0.42);
  --focus-ring: 0 0 0 3px rgba(24,132,240,0.35);

  /* layout */
  --container: 1200px;
  --section-y: 120px;
  --gutter: 24px;

  --font: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

/* lucide icons: size via inherited custom prop, color via currentColor */
.lucide, svg.lucide {
  width: var(--icon, 20px);
  height: var(--icon, 20px);
  stroke-width: 2;
  flex: none;
}

.section {
  position: relative;
  padding: var(--section-y) var(--gutter);
}
.solution--white { background: var(--white); }

/* ---------- shared heads ---------- */
.head { display: flex; flex-direction: column; gap: 14px; }
.head--center { align-items: center; text-align: center; margin-inline: auto; max-width: 780px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--center { justify-content: center; }
.eyebrow-line { width: 28px; height: 2px; background: var(--blue); flex: none; }
.eyebrow-label { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; }

.h2 {
  color: var(--navy);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); /* ~44px */
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.1;
}
.h2--lg { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -1px; line-height: 1.08; } /* ~48px */
.h2--left { text-align: left; }
.h2.on-dark { color: var(--ice); }

.sub {
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
}
.head--center .sub { margin-inline: auto; }
.sub--ice { color: rgba(216,240,240,0.73); }
.sub--left { text-align: left; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  border-radius: var(--r-btn); cursor: pointer; border: 1px solid transparent;
  --icon: 16px;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  padding: 14px 22px; box-shadow: var(--glow-blue);
}
.btn-secondary {
  background: rgba(250,251,253,0); color: var(--navy);
  padding: 13px 21px; border-color: var(--blue);
}
.btn-block { width: 100%; }

/* ---------- generic icon boxes ---------- */
.iconbox {
  width: 48px; height: 48px; border-radius: var(--r-badge);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(24,132,240,0.07); color: var(--blue); --icon: 26px;
}
.iconbox--lg { width: 60px; height: 60px; border-radius: 14px; --icon: 30px; }
.iconbox--solid { background: var(--blue); color: var(--white); }
.iconbox--soft { width: 44px; height: 44px; border-radius: 10px; background: rgba(24,132,240,0.07); --icon: 22px; }

/* ---------- links ---------- */
.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-size: 14px; font-weight: 600; --icon: 16px;
}
.link--on-dark { color: var(--blue); font-size: 15px; }

/* ---------- badges / tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 600;
  --icon: 14px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.badge .dot--success { background: var(--success); }
.badge--blue { background: rgba(24,132,240,0.2); color: var(--ice); letter-spacing: 0.6px; }
.badge--outline { background: var(--white); border: 1px solid var(--blue); color: var(--blue); letter-spacing: 0.5px; }
.badge--white { background: var(--white); border: 1px solid var(--border); color: var(--navy); letter-spacing: 0.6px; }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }

/* ============================================================
   01 NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,251,253,0.9);
  border-bottom: 1px solid var(--border);
  padding: 18px var(--gutter);
}
/* 3 sáv: logó balra | menü középen | gomb jobbra. A középső "auto" sávot
   két 1fr fog közre, így a menü valóban a navbar közepén van. */
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.nav-inner > .nav-logo-link { justify-self: start; }
.nav-inner > .nav-menu { justify-self: center; }
.nav-inner > .btn { justify-self: end; }
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.nav-logo { height: 36px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--text); font-size: 15px; font-weight: 500; position: relative; }
.nav-link--demo { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }
.nav-link--demo .dot { width: 6px; height: 6px; }
/* Hamburger gomb — asztali nézeten rejtve, mobilon jelenik meg (lásd responsive). */
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 10px; justify-self: end; }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.26s ease, opacity 0.2s ease; }
.navbar.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.navbar.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta-mobile { display: none; }

/* ============================================================
   02 HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 120px var(--gutter);
  background: linear-gradient(180deg, #F2F3F7 0%, #E9EEF8 100%);
}
.hero-hex {
  position: absolute; top: 30px; right: max(20px, calc(50% - 660px));
  width: 420px; height: 420px; object-fit: contain; opacity: 0.07; pointer-events: none;
}
.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 64px; position: relative; }
.hero-left { width: 640px; max-width: 100%; display: flex; flex-direction: column; gap: 28px; }
.hero-headline {
  color: var(--navy); font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4rem); /* 64px */
  letter-spacing: -1.6px; line-height: 1.02;
}
.hero-sub { color: var(--text); font-size: 18px; line-height: 1.6; max-width: 560px; }
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; font-style: italic; --icon: 14px; }

/* ---- Chat-kártya színpad + figyelemfelhívó nyíl ---- */
.chat-stage { position: relative; flex: none; max-width: 100%; }
.hero-cue {
  position: absolute; top: calc(100% - 34px); left: -18px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  pointer-events: none; z-index: 2;
  transition: opacity 0.25s ease; /* exit (az enter ~75%-a) */
}
.hero-arrow { width: 38px; height: auto; flex: none; overflow: visible; }
.hero-arrow-path {
  fill: var(--navy); fill-opacity: 0;
  stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
/* Nyíl berajzolódása (stroke-dashoffset) majd kitöltése — ease-out-quint. */
.hero-cue.is-drawing .hero-arrow-path {
  animation:
    hero-arrow-draw 660ms cubic-bezier(0.22, 1, 0.36, 1) forwards,
    hero-arrow-fill 280ms ease-out 460ms forwards;
}
@keyframes hero-arrow-draw { to { stroke-dashoffset: 0; } }
@keyframes hero-arrow-fill { to { fill-opacity: 1; } }
/* Felirat a nyíl után úszik be (fade + slide-up). */
.hero-cue-label {
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.3;
  color: var(--navy); white-space: nowrap;
  opacity: 0; transform: translateY(8px);
}
.hero-cue.show-label .hero-cue-label {
  animation: hero-label-in 340ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes hero-label-in { to { opacity: 1; transform: translateY(0); } }
/* Exit: gyors, tiszta eltűnés. */
.hero-cue.is-dismissed { opacity: 0; }

/* Egyszeri, lágy input fókusz-pulzus a hero chat input mezőjén. */
#zentus-chat .chat-input--live.pulse-once { animation: input-pulse 1000ms ease-out 1; }
@keyframes input-pulse {
  0%   { box-shadow: 0 0 0 3px rgba(24,132,240,0.25); }
  35%  { box-shadow: 0 0 0 7px rgba(24,132,240,0.34); }
  100% { box-shadow: 0 0 0 3px rgba(24,132,240,0.25); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-arrow-path { stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; }
  .hero-cue-label { opacity: 1; transform: none; }
  #zentus-chat .chat-input--live.pulse-once { animation: none; }
}

/* chat card (placeholder) */
.chat-card {
  width: 440px; max-width: 100%; flex: none;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--sh-lg); overflow: hidden;
}
.chat-header { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.chat-avatar img { width: 17px; height: 20px; object-fit: contain; }
.chat-header-text { display: flex; flex-direction: column; gap: 4px; }
.chat-name { color: var(--navy); font-size: 14px; font-weight: 600; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px 1px rgba(31,169,113,0.6); flex: none; }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; }
.bubble { font-size: 14px; line-height: 1.5; border-radius: 14px; padding: 12px 14px; max-width: 80%; }
.bubble.bot { background: var(--bg); color: var(--navy); align-self: flex-start; }
.bubble-row { display: flex; justify-content: flex-end; }
.bubble.user { background: var(--blue); color: var(--white); }
.typing { display: inline-flex; align-items: center; gap: 5px; background: var(--bg); border-radius: 14px; padding: 10px 14px; width: max-content; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); opacity: 0.6; }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--blue); border-radius: 14px; margin: 0 16px 18px; box-shadow: 0 0 0 3px rgba(24,132,240,0.25); }
.chat-placeholder { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: 14px; }
.caret { width: 2px; height: 16px; background: var(--blue); display: inline-block; }
.chat-send { width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; --icon: 16px; flex: none; }

/* ============================================================
   03 TRUST BAR
   ============================================================ */
.trust {
  background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 48px var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.trust-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; opacity: 0.7; }
.trust-eyebrow .hline { width: 24px; height: 1px; background: var(--text-muted); opacity: 0.5; }
.logo-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; opacity: 1; }
/* Minden logó EGYSÉGES világosszürke (vapi-tónus): brightness(0) feketévé
   normalizálja a forrásszínt, az invert() pedig világosszürkére emeli. */
.logo-row img { height: 24px; width: auto; object-fit: contain; filter: brightness(0) invert(0.74); }
/* A Calendly SVG viewBox-a most szorosan a logóra van vágva, így a sima
   24px magasság illeszkedik a többihez; egy hajszálnyit emelünk az olvashatóságért. */
.logo-row img[alt="Calendly"] { height: 26px; }

/* ============================================================
   04 PROBLEM
   ============================================================ */
.problem-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.problem-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 24px; box-shadow: var(--sh-sm);
}
.problem-card .iconbox { width: 40px; height: 40px; --icon: 22px; background: rgba(24,132,240,0.06); }
.problem-card p { color: var(--navy); font-size: 15px; font-weight: 500; line-height: 1.5; }
.problem-card.is-highlight { background: var(--navy); border-color: var(--navy); }
.problem-card.is-highlight .iconbox { background: rgba(24,132,240,0.2); color: var(--ice); }
.problem-card.is-highlight p { color: var(--ice); font-weight: 600; }

/* ============================================================
   05 SOLUTION TRANSITION
   ============================================================ */
.solution { padding-block: 140px; }
.sol-steps {
  margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 1100px; margin-inline: auto;
}
.sol-step { display: flex; flex-direction: column; gap: 16px; }
.sol-numrow { display: flex; align-items: center; gap: 16px; }
.sol-num { color: var(--blue); font-size: 88px; font-weight: 700; letter-spacing: -2.8px; line-height: 1; }
.sol-title { color: var(--navy); font-size: 22px; font-weight: 600; letter-spacing: -0.3px; }
.sol-desc { color: var(--text); font-size: 15px; line-height: 1.55; }

/* ============================================================
   06 SERVICES
   ============================================================ */
.services-grid { margin-top: 64px; display: flex; gap: 24px; align-items: stretch; }
.svc-featured {
  width: 480px; flex: none; display: flex; flex-direction: column; gap: 24px;
  background: var(--navy); border-radius: var(--r-card-lg); padding: 44px;
  box-shadow: 0 12px 32px rgba(48,60,96,0.2);
  /* Ne nyúljon a jobb oszlop teljes magasságáig — csak a tartalmáig érjen. */
  align-self: flex-start;
}
.svc-featured-top { display: flex; align-items: center; justify-content: space-between; }
.pmark { color: rgba(216,240,240,0.4); font-size: 11px; font-weight: 500; letter-spacing: 1.4px; }
.pmark-tot { color: rgba(216,240,240,0.2); letter-spacing: 1px; }
.svc-featured-title { color: var(--ice); font-size: 30px; font-weight: 700; letter-spacing: -0.8px; line-height: 1.12; }
.svc-featured-body { color: rgba(216,240,240,0.8); font-size: 15px; line-height: 1.6; }

.svc-col { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.svc-row { display: flex; gap: 24px; }
.svc-card {
  flex: 1; display: flex; flex-direction: column; gap: 18px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 32px; box-shadow: var(--sh-sm);
}
.svc-title { color: var(--navy); font-size: 20px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.25; }
.svc-body { color: var(--text); font-size: 15px; line-height: 1.55; flex: 1; }

/* ============================================================
   07 GEO HIGHLIGHTED
   ============================================================ */
.geo-panel {
  position: relative; overflow: hidden;
  display: flex; gap: 64px; align-items: center;
  background: linear-gradient(135deg, #F2F3F7 0%, #E0EAF8 100%);
  border: 1px solid var(--border); border-radius: var(--r-card-lg); padding: 64px;
}
.geo-decor { position: absolute; top: -60px; right: -40px; width: 380px; height: 380px; object-fit: contain; opacity: 0.06; pointer-events: none; }
.geo-left { width: 520px; max-width: 100%; flex: none; display: flex; flex-direction: column; gap: 24px; position: relative; }
/* A badge ne nyúljon a teljes szélességig (a flex-oszlop stretch-e miatt),
   csak a saját tartalma szélességéig. */
.geo-left .badge { align-self: flex-start; }
.geo-title { color: var(--navy); font-size: clamp(2rem, 1.3rem + 2.2vw, 2.625rem); font-weight: 700; letter-spacing: -0.8px; line-height: 1.1; }
.geo-body { color: var(--text); font-size: 17px; line-height: 1.6; }
.geo-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.geo-partners { display: inline-flex; align-items: center; gap: 11px; opacity: 0.66; }
.geo-partners img { opacity: 0.5; object-fit: contain; }
.geo-partners img[alt="WooCommerce"] { height: 23px; }
.geo-partners img[alt="Unas"] { height: 20px; }
.geo-partners img[alt="Shoprenter"] { height: 22px; }
.vsep { width: 1px; height: 14px; background: var(--border); }
.geo-right { flex: 1; display: flex; flex-direction: column; gap: 16px; position: relative; }
.geo-feature { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 18px; }
.geo-feat-t { color: var(--navy); font-size: 16px; font-weight: 600; }
.geo-feat-d { color: var(--text); font-size: 14px; line-height: 1.5; }
.geo-disclaimer { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 1080px; margin: 0 auto; padding: 20px 0; color: var(--text-muted); font-size: 13px; font-style: italic; --icon: 16px; text-align: center; }

/* ============================================================
   08 LIVE DEMO (dark)
   ============================================================ */
.demo { background: var(--graphite); overflow: hidden; }
.demo-bg { position: absolute; top: 40px; left: -120px; width: 640px; height: 640px; object-fit: contain; opacity: 0.05; pointer-events: none; }
.demo .container { position: relative; }
.demo-grid { margin-top: 64px; display: flex; gap: 32px; align-items: flex-start; }
.demo-chat { flex: 1; background: var(--white); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.demo-chat .chat-body { padding: 24px 22px; }
.quick-replies { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.quick-replies span { font-size: 12px; color: var(--blue); border: 1px solid rgba(24,132,240,0.3); border-radius: 999px; padding: 5px 12px; background: rgba(24,132,240,0.05); }
.demo-chat-cta { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; border-top: 1px solid var(--border); }
.demo-chat-sub { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-muted); font-size: 13px; font-weight: 500; --icon: 13px; }

.voice-demo {
  flex: 1; display: flex; flex-direction: column; gap: 28px;
  background: var(--graphite-2); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-card); padding: 40px; box-shadow: 0 0 40px rgba(24,132,240,0.1);
}
.voice-label { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: 0.7px; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px 2px rgba(24,132,240,0.67); flex: none; }
.voice-title { color: var(--ice); font-size: 32px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
.voice-phone { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(24,132,240,0.2); border-radius: 16px; padding: 20px 24px; }
.voice-phone-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; --icon: 22px; flex: none; }
.voice-phone-text { display: flex; flex-direction: column; gap: 2px; }
.voice-sm { color: rgba(216,240,240,0.6); font-size: 12px; font-weight: 500; letter-spacing: 0.4px; }
.voice-num { color: var(--ice); font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
.voice-features { display: flex; flex-direction: column; gap: 14px; }
.voice-features li { display: flex; align-items: center; gap: 10px; color: rgba(216,240,240,0.87); font-size: 15px; --icon: 16px; }
.voice-features li i { color: var(--blue); }
.voice-caption { color: rgba(216,240,240,0.6); font-size: 14px; font-style: italic; line-height: 1.5; }

/* ============================================================
   09 CASE STUDY
   ============================================================ */
.case-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--sh-sm); overflow: hidden; }
.case-top { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, #F2F3F7 0%, #FAFBFD 100%); }
.tag { display: inline-flex; align-items: center; gap: 6px; width: max-content; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; }
.case-h { color: var(--navy); font-size: 30px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.15; }
.case-body { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.case-block { display: flex; flex-direction: column; gap: 6px; }
.case-l { color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.case-l--blue { color: var(--blue); }
.case-block p { color: var(--text); font-size: 15px; line-height: 1.55; }
.case-result { color: var(--navy) !important; font-weight: 500; }
/* margin-top: auto -> az eszközök-sor (a felső vonalával együtt) a kártya
   aljára kerül, így a rövidebb kártyán is egy vonalban van a másikéval. */
.case-tools { display: flex; align-items: center; gap: 8px; padding: 18px 32px; border-top: 1px solid var(--border); flex-wrap: wrap; margin-top: auto; }
.case-tools .case-l { font-size: 12px; font-weight: 500; letter-spacing: 0; }
.chip { background: var(--bg); border-radius: 6px; padding: 3px 9px; color: var(--text); font-size: 12px; font-weight: 500; }

/* ============================================================
   10 HOW WE WORK (timeline / line-drawing)
   ============================================================ */
.timeline { margin-top: 64px; width: 100%; display: flex; align-items: flex-start; }
/* Asztali nézetben a timeline szélesebb a 1200px-es konténernél (hosszabb
   vonalak), hogy a hosszabb címek — pl. "Automatizációs terv" — egy sorba
   férjenek. A min() a nézethez vágja, így nincs vízszintes túlcsordulás. */
@media (min-width: 1041px) {
  .how .timeline { width: min(1400px, calc(100vw - 56px)); margin-left: 50%; transform: translateX(-50%); }
}
.tstep { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 0 8px; }
/* Fix magasság a legnagyobb (kiemelt) node-éval: így MINDEN lépésnél azonos
   vonalon kezdődik a szám és a szöveg, és a connector-vonal is egyenes lesz. */
.tstep-top { display: flex; align-items: center; width: 100%; height: 56px; }
.tnode { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; --icon: 24px; flex: none; box-shadow: 0 6px 16px rgba(24,132,240,0.25); transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; }
/* Hover: a node kicsit kiemelkedik, amíg rajta az egér. */
.tnode:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(24,132,240,0.30); }
@media (prefers-reduced-motion: reduce) { .tnode { transition: none; } .tnode:hover { transform: none; } }
.tnode--sm { width: 40px; height: 40px; background: var(--white); color: var(--text-muted); border: 1px solid var(--border); --icon: 18px; box-shadow: none; }
.tstep .connector--h { flex: 1; height: 1px; background: var(--blue); opacity: 0.4; }
.tnum { color: var(--text-muted); font-size: 11px; font-weight: 600; letter-spacing: 1.4px; }
.tstep.is-key .tnum { color: var(--blue); font-weight: 700; }
.tt { color: var(--text); font-size: 17px; font-weight: 500; letter-spacing: -0.2px; }
.tt--muted { color: var(--text); font-weight: 500; }
.tstep.is-key .tt { color: var(--navy); font-weight: 600; }
.td { color: var(--text); font-size: 13px; line-height: 1.5; }
.assurance { display: flex; align-items: center; gap: 14px; margin: 64px auto 0; width: fit-content; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 20px 28px; color: var(--navy); font-size: 15px; font-weight: 500; line-height: 1.5; --icon: 22px; max-width: 560px; }
.assurance i { color: var(--blue); }

/* ============================================================
   11 FAQ
   ============================================================ */
/* Kisebb alsó padding: kevesebb üres tér a GYIK modulok alatt. */
.faq { padding-bottom: 56px; }
.faq-grid { display: flex; gap: 80px; align-items: flex-start; }
.faq-left { width: 380px; flex: none; display: flex; flex-direction: column; gap: 24px; }
.faq-contact { display: inline-flex; align-items: center; gap: 8px; width: max-content; background: var(--bg); border-radius: 12px; padding: 12px 18px; color: var(--navy); font-size: 14px; font-weight: 500; --icon: 16px; }
.faq-contact i { color: var(--blue); }
.faq-right { flex: 1; display: flex; flex-direction: column; gap: 12px; }
/* Méréskor (JS) ideiglenesen kikapcsolt átmenetek, hogy ne villogjon. */
.faq-measuring, .faq-measuring * { transition: none !important; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--sh-sm); overflow: hidden; }
.faq-item.is-open { border-color: var(--blue); box-shadow: 0 4px 16px rgba(24,132,240,0.12); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; background: none; border: 0; cursor: pointer; font-family: var(--font); text-align: left; color: var(--navy); font-size: 17px; font-weight: 500; line-height: 1.4; transition: padding-bottom 0.34s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.is-open .faq-q { font-weight: 600; padding-bottom: 18px; }
.faq-toggle { width: 32px; height: 32px; border-radius: 999px; background: rgba(24,132,240,0.06); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; --icon: 18px; position: relative; }
.faq-item.is-open .faq-toggle { background: var(--blue); color: var(--white); }
.faq-toggle .ic-minus { display: none; }
.faq-item.is-open .faq-toggle .ic-minus { display: block; }
.faq-item.is-open .faq-toggle .ic-plus { display: none; }
.faq-a { padding: 0 28px 24px; color: var(--text); font-size: 15px; line-height: 1.6; }

/* ============================================================
   11.25 DATA SECURITY
   ============================================================ */
.data-sec { padding-block: 80px; }
.data-sec .container { max-width: 1100px; }
.ds-head { display: flex; align-items: center; gap: 16px; }
.ds-shield { width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--border); color: var(--navy); display: flex; align-items: center; justify-content: center; --icon: 22px; flex: none; }
.ds-title { color: var(--navy); font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; }
.ds-points { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.ds-point { display: flex; flex-direction: column; gap: 10px; }
.ds-row { display: inline-flex; align-items: center; gap: 10px; --icon: 16px; }
.ds-row i { color: var(--blue); }
.ds-t { color: var(--navy); font-size: 16px; font-weight: 600; letter-spacing: -0.2px; }
.ds-point p { color: var(--text); font-size: 14px; line-height: 1.6; }

/* ============================================================
   11.5 FOUNDER
   ============================================================ */
.founder { overflow: hidden; }
.founder-bg { position: absolute; top: 60px; right: -40px; width: 360px; height: 360px; object-fit: contain; opacity: 0.05; pointer-events: none; }
.founder-grid { display: flex; gap: 88px; align-items: center; position: relative; }
.founder-left { width: 200px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.founder-portrait { width: 160px; height: 180px; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-lg); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder-caption { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.founder-name { color: var(--navy); font-size: 14px; font-weight: 600; letter-spacing: -0.2px; }
.founder-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; }
.founder-sep { color: var(--text-muted); }
.founder-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 13px; font-weight: 500; --icon: 12px; }
/* Szűkített szövegblokk, hogy a cím és a bekezdések szebben törjenek. */
.founder-right { flex: 1; max-width: 768px; display: flex; flex-direction: column; gap: 24px; }
.founder-headline { color: var(--navy); font-size: clamp(2rem, 1.3rem + 2.2vw, 2.625rem); font-weight: 700; letter-spacing: -1px; line-height: 1.12; }
.founder-p { color: var(--text); font-size: 17px; line-height: 1.65; }
.founder-p--hl { color: var(--navy); font-size: 18px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.55; }

/* ============================================================
   12 CLOSING CTA
   ============================================================ */
.closing-panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
  background: linear-gradient(135deg, #FAFBFD 0%, #E8EFFA 100%);
  border: 1px solid var(--border); border-radius: var(--r-card-lg);
  padding: 80px; max-width: 1080px; margin-inline: auto;
  box-shadow: 0 24px 60px rgba(24,132,240,0.12);
}
.closing-decor { position: absolute; top: -100px; right: -60px; width: 420px; height: 420px; object-fit: contain; opacity: 0.07; pointer-events: none; }
.closing-h { color: var(--navy); font-size: clamp(2.4rem, 1.4rem + 3.4vw, 3.75rem); font-weight: 700; letter-spacing: -1.4px; line-height: 1.05; max-width: 760px; position: relative; }
.closing-sub { color: var(--text); font-size: 19px; line-height: 1.55; max-width: 620px; position: relative; }
.closing-btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; position: relative; }
.closing-cal { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; font-weight: 500; --icon: 16px; }
.closing-trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; position: relative; }
.closing-trust span { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 13px; font-weight: 500; --icon: 14px; }
.closing-trust i { color: var(--success); }

/* ============================================================
   13 FOOTER
   ============================================================ */
.footer { position: relative; overflow: hidden; background: var(--graphite); padding: 64px var(--gutter); color: var(--ice); }
/* Picivel szélesebb konténer, hogy az 5 oszlop (a Jogi a Cég és Kapcsolat
   között) egy sorba férjen a .footer-col 150px min-szélessége mellett. */
.footer .container { max-width: 1280px; }
/* top feljebb-állítva: a háttér-szimbólum egy kicsit lejjebb kerül.
   A parallax a transform-ot mozgatja, ez a top csak a kiindulópont — marad a parallax. */
.footer-wm { position: absolute; top: 30px; right: max(0px, calc(50% - 600px)); width: 289px; height: 340px; object-fit: contain; opacity: 0.05; pointer-events: none; }
.footer .container { position: relative; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.footer-brand { width: 340px; display: flex; flex-direction: column; gap: 20px; }
/* align-self: flex-start kell, különben a flex-oszlop 340px-re nyújtja a képet,
   és az object-fit középre tolja (innen a "jobbra csúszott" logó). */
.footer-logo { height: 44px; width: auto; object-fit: contain; align-self: flex-start; }
.footer-tag { color: rgba(216,240,240,0.67); font-size: 15px; line-height: 1.5; }
.footer-social { display: flex; gap: 10px; }
.soc { width: 36px; height: 36px; border-radius: 50%; background: rgba(250,251,253,0.07); color: var(--ice); display: flex; align-items: center; justify-content: center; --icon: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; min-width: 150px; }
.footer-h { color: var(--ice); font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
/* Extra térköz a Kapcsolat alá került Jogi csoport előtt. */
.footer-h--spaced { margin-top: 24px; }
.footer-link { color: rgba(216,240,240,0.6); font-size: 14px; line-height: 1.5; }
.footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; flex-wrap: wrap; }
.fm-left { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fm-item { display: inline-flex; align-items: center; gap: 8px; }
.fm-l { color: rgba(216,240,240,0.33); font-size: 10px; font-weight: 600; letter-spacing: 1.4px; }
.fm-v { color: var(--ice); font-size: 11px; font-weight: 500; letter-spacing: 0.5px; }
.fm-dot { color: rgba(216,240,240,0.2); }
.status-dot--blue { background: var(--blue); box-shadow: 0 0 6px 1px rgba(24,132,240,0.6); width: 7px; height: 7px; }
.fm-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--ice); font-size: 13px; font-weight: 500; --icon: 14px; }
.footer-divider { height: 1px; background: rgba(250,251,253,0.07); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-copy { color: rgba(216,240,240,0.47); font-size: 13px; }
.footer-made { display: inline-flex; align-items: center; gap: 8px; color: rgba(216,240,240,0.47); font-size: 13px; --icon: 14px; }
.footer-made i { color: var(--blue); }

/* Vágólapra másolható e-mail + "Kimásolva" felirat */
.fm-mail, .footer-link[data-copy] { position: relative; cursor: pointer; }
.copy-toast {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translate(-50%, -4px);
  background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
  padding: 4px 9px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; z-index: 10; box-shadow: var(--glow-blue);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   VISSZA A TETEJÉRE gomb
   ============================================================ */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--glow-blue);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease, background 0.2s ease;
}
/* Megjelenik (halványan), amint az oldal feléig görgettünk. */
.to-top.is-visible { opacity: 0.45; visibility: visible; transform: translateY(0); }
/* Hoverre erősebb és kicsit megemelkedik. */
.to-top.is-visible:hover { opacity: 1; background: var(--blue-hover); box-shadow: var(--glow-blue-strong); transform: translateY(-2px); }
.to-top:focus-visible { outline: none; opacity: 1; box-shadow: var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity 0.2s ease; } .to-top.is-visible:hover { transform: none; } }

/* ============================================================
   RESPONSIVE
   Töréspontok:  ≤1040 tablet (oszlopok egymás alá + hamburger nav)
                 721–1040 problem-grid 2 oszlop
                 ≤640 mobil (tipográfia, gombok, footer, térközök)
                 ≤380 nagyon kicsi
   ============================================================ */

/* ---------- Tablet és lefelé ---------- */
@media (max-width: 1040px) {
  /* Többoszlopos szekciók egymás alá */
  .hero-grid, .demo-grid, .services-grid, .geo-panel, .founder-grid, .faq-grid { flex-direction: column; }
  .hero-left, .chat-card, .chat-stage, .geo-left, .geo-right, .svc-featured, .faq-left, .founder-left, .founder-right { width: 100%; max-width: 100%; }
  .hero-cue { display: none; } /* stack-elt elrendezésben nincs hely a nyílnak */
  .svc-row { flex-direction: column; }
  .case-grid, .sol-steps, .ds-points { grid-template-columns: 1fr; }
  .sol-steps { max-width: 560px; }
  .hero-grid { align-items: flex-start; gap: 48px; }
  .hero-sub { max-width: none; }
  .founder-grid { align-items: flex-start; gap: 40px; }
  .geo-panel { gap: 40px; }
  .svc-featured { align-self: stretch; }
  /* Timeline függőlegesen: ikonok bal oldalt egymás alatt, közöttük függőleges
     összekötő vonal; a szám + cím + leírás az ikon jobb oldalán (asztali
     logika, csak lefelé fordítva). */
  .timeline[data-timeline] { flex-direction: column; gap: 28px; max-width: 472px; margin-inline: auto; padding-inline: 18px; }
  .tstep {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 28px;
    row-gap: 3px;
    align-items: start;
    padding: 0;
  }
  /* Függőleges összekötő vonal a node-ok között (az utolsó alatt nincs). */
  .tstep:not(:last-child)::before {
    content: ""; position: absolute; left: 28px; top: 0; bottom: -28px;
    width: 2px; transform: translateX(-50%);
    background: var(--blue); opacity: 0.28; z-index: 0;
  }
  /* A node a teljes lépés mentén, felülre igazítva, fix 56px magas sávban
     (a node függőlegesen középen) -> a node középtengelye mindig 28px-nél van. */
  .tstep-top { width: 56px; height: 56px; align-items: center; justify-content: center; position: relative; z-index: 1; grid-column: 1; grid-row: 1 / -1; align-self: start; }
  .tstep .connector--h { display: none; }
  /* A számot a node középtengelyéhez emeljük (felső margó), így onnan indul;
     a cím + leírás szorosan alatta. A node-sor magassága (vonalhossz) nem változik. */
  .tnum { grid-column: 2; grid-row: 1; align-self: start; margin-top: 22px; }
  .tt { grid-column: 2; grid-row: 2; line-height: 1.25; }
  .td { grid-column: 2; grid-row: 3; }

  /* ---- Navbar: hamburger ---- */
  .nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  /* Jobbra igazított, kártya-szerű legördülő az X (hamburger) alatt. */
  .nav-menu {
    position: absolute; top: calc(100% + 8px); right: var(--gutter); left: auto;
    width: min(300px, calc(100vw - 2 * var(--gutter)));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--sh-lg); padding: 6px 18px 18px;
    max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
    transform: translateY(-8px) scale(0.98); transform-origin: top right;
    transition: max-height 0.32s ease, opacity 0.26s ease, transform 0.26s ease, visibility 0.32s;
  }
  .navbar.is-open .nav-menu { max-height: calc(100vh - 96px); opacity: 1; visibility: visible; transform: translateY(0) scale(1); overflow-y: auto; }
  .nav-menu .nav-link { padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-menu .nav-link:last-of-type { border-bottom: 0; }
  .nav-cta-mobile { display: inline-flex; justify-content: center; width: 100%; margin-top: 14px; }
}

/* ---------- Tablet: problem-grid 2 oszlop ---------- */
@media (min-width: 721px) and (max-width: 1040px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  :root { --section-y: 64px; --gutter: 18px; }
  .solution { padding-block: 64px; }
  .closing-panel { padding: 36px 22px; }
  .geo-panel { padding: 28px 20px; }
  .voice-demo, .svc-featured { padding: 26px; }
  .case-top, .case-body { padding: 24px; }
  .case-tools { padding: 16px 24px; }

  /* Tipográfia */
  .hero-headline { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero-sub { font-size: 16px; }
  .head--center .sub, .sub { font-size: 15px; }

  /* Gombok teljes szélességben */
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .geo-cta-row { flex-direction: column; align-items: stretch; }
  .geo-cta-row .btn { width: 100%; }
  .geo-cta-row .geo-partners { justify-content: center; }

  /* Trust logók */
  .logo-row { gap: 26px 30px; justify-content: center; }
  .logo-row img { height: 20px; }
  .logo-row img[alt="Calendly"] { height: 22px; }

  /* Chat magasság */
  [data-zentus-chat] .chat-body { max-height: 300px; }

  /* Footer */
  .footer { padding: 56px var(--gutter) 40px; }
  .footer .container { max-width: 100%; }
  .footer-top { gap: 32px 24px; }
  .footer-brand { width: 100%; }
  .footer-col { min-width: 0; flex: 1 1 42%; }
  .footer-meta { gap: 12px; }
  .fm-left { gap: 10px; }
  .footer-bottom { gap: 8px; }

  /* Vissza a tetejére gomb — kisebb, közelebb a sarokhoz */
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ---------- Nagyon kicsi ---------- */
@media (max-width: 380px) {
  .nav-logo { height: 30px; }
  .hero-headline { letter-spacing: -0.5px; }
  .closing-h { letter-spacing: -0.8px; }
  .footer-col { flex-basis: 100%; }
}
