/* =========================================================
   NaptárGo – publikus oldal
   Töréspontok: desktop ≥1025px (alap) · tablet 768–1024px · mobil <768px
   Töréspontonként CSAK két érték skálázódik:
     --pad-x  (konténer oldalmargó)   40 / 32 / 20 px
     --sec-y  (szekció-közi térköz)   96 / 72 / 56 px
   Minden más belső térköz fix.
   ========================================================= */

:root {
  --bg: #FBF8F4;
  --bg-alt: #F5F0EA;
  --surface: #FFFFFF;
  --ink: #16181D;
  --ink-2: #3A3F4B;
  --muted: #5F6472;
  --line: #E9E2D9;
  --line-2: #F0EBE4;

  --accent: #E8571A;          /* dekoratív narancs */
  --accent-strong: #C9450C;   /* gombhoz: 4.8:1 fehérrel */
  --accent-soft: #FDEADF;
  --accent-ink: #9A3407;      /* narancs szöveg világos alapon */

  --dark: #14161C;
  --dark-2: #1D2029;
  --dark-line: #2C303B;
  --dark-muted: #A9AEBB;

  --green: #1F9D74;
  --blue: #3B6FE0;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --pad-x: 40px;
  --sec-y: 96px;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(22,24,29,.05), 0 2px 8px rgba(22,24,29,.04);
  --shadow-md: 0 2px 4px rgba(22,24,29,.04), 0 12px 32px rgba(22,24,29,.08);
  --shadow-lg: 0 4px 8px rgba(22,24,29,.04), 0 24px 64px rgba(22,24,29,.12);

  --header-h: 72px;
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 54px; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: 38px; line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { max-width: calc(var(--container) + var(--pad-x) * 2); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--sec-y) 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Címke, szekciófej (fix ritmus: 18 / 20 / 32) ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow-light { color: #FFB48F; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  padding: 6px 14px 6px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 + p { margin-top: 20px; color: var(--muted); font-size: 18px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.section-head-split > p { color: var(--muted); font-size: 18px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 6px 16px rgba(201,69,12,.25); }
.btn-primary:hover { background: #B23C09; transform: translateY(-1px); }
.btn-primary:disabled { background: #E2D9CF; color: #7D776F; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2B2F38; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-ink); font-size: 15px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,244,.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.logo b { color: var(--accent); font-weight: 700; }
.logo-mark { width: 32px; height: 32px; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav > a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.main-nav > a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-actions-mobile { display: none; }
.header-actions { margin-left: auto; display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 var(--sec-y);
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(232,87,26,.10), transparent 60%),
    radial-gradient(700px 380px at 0% 30%, rgba(59,111,224,.06), transparent 60%);
}
.hero-text { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-text h1 { margin-bottom: 20px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.hero .btn-row { justify-content: center; }
.hero-demo { margin-top: 64px; }
.demo-hint { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Foglalómodul bemutató */
.bw {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1040px; margin: 0 auto;
}
.bw-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line-2); }
.bw-brand { display: flex; align-items: center; gap: 12px; }
.bw-brand strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.bw-brand span { font-size: 13px; color: var(--muted); }
.bw-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.bw-steps { display: flex; align-items: center; gap: 0; }
.bw-steps li { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--bg-alt); color: var(--muted); position: relative; }
.bw-steps li + li { margin-left: 28px; }
.bw-steps li + li::before { content: ""; position: absolute; right: 100%; width: 28px; height: 2px; background: var(--line); }
.bw-steps li.done { background: var(--green); color: #fff; }
.bw-steps li.done + li::before, .bw-steps li.done + li.done::before { background: var(--green); }
.bw-steps li.current { background: var(--ink); color: #fff; }

.bw-body { display: grid; grid-template-columns: 1.15fr 1fr .9fr; }
.bw-cal, .bw-slots, .bw-sum { padding: 24px; }
.bw-slots { border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.bw-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bw-cal-head strong { color: var(--ink); font-size: 15px; }
.bw-nav { color: var(--muted); letter-spacing: 8px; }
.bw-weekdays, .bw-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bw-weekdays span { font-size: 12px; color: var(--muted); font-weight: 500; padding: 4px 0; }
.bw-day {
  aspect-ratio: 1; min-height: 36px; border: 0; background: transparent; border-radius: 50%;
  font-size: 14px; color: #A49D94; position: relative; padding: 0;
}
.bw-day.avail { color: var(--ink); font-weight: 600; background: #FFF4EE; }
.bw-day.avail::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.bw-day.avail:hover { background: var(--accent-soft); }
.bw-day.today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.bw-day.sel { background: var(--ink); color: #fff; }
.bw-day.sel::after { background: #fff; }
.bw-day:disabled { cursor: default; }
.bw-earliest {
  margin-top: 16px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border: 1px dashed #F0B999; background: #FFF8F4; border-radius: 12px; padding: 10px 12px;
  font-size: 13.5px; color: var(--ink-2); text-align: left;
}
.bw-earliest:hover { border-style: solid; }
.bw-earliest-cta { font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.bw-tz { margin-top: 10px; font-size: 12px; color: var(--muted); }
.bw-day-title { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 16px; }
.bw-group { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.bw-group:not(:first-child) { margin-top: 16px; }
.bw-slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bw-slot {
  min-height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s;
}
.bw-slot:hover { border-color: var(--accent); }
.bw-slot.sel { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.bw-slot.sel::before { content: "✓ "; }
.bw-empty { font-size: 14px; color: var(--muted); }
.bw-sum { background: #FCFAF7; display: flex; flex-direction: column; }
.bw-sum-title { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.bw-sum dl { margin: 0 0 16px; }
.bw-sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.bw-sum dt { color: var(--muted); }
.bw-sum dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.bw-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: auto 0 16px; padding-top: 8px; }
.bw-sum-total span { font-size: 14px; color: var(--muted); }
.bw-sum-total strong { font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.bw-done { margin-top: 12px; font-size: 13px; color: var(--green); font-weight: 500; }

/* ---------- Integrációk sáv ---------- */
.logos { padding: 0 0 var(--sec-y); }
.logos-title { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; }
.logos-row li { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: #9C958C; letter-spacing: -0.01em; }

/* ---------- Kétoszlopos blokkok (gap 40px fix) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split + .split { margin-top: 96px; }
.split-reverse .split-text { order: 2; }
.split-text h3 { font-size: 28px; line-height: 1.2; margin-top: 18px; }
.split-text h2 + p, .split-text h3 + p { margin-top: 20px; color: var(--muted); }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.checks { margin-top: 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%239A3407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.split-visual { border-radius: var(--r-xl); padding: 48px 32px; display: grid; place-items: center; min-height: 460px; position: relative; overflow: hidden; }
.visual-warm { background: linear-gradient(160deg, #FDE9DD 0%, #F9F1EA 100%); }
.visual-cool { background: linear-gradient(160deg, #E6EDFB 0%, #F2F4F9 100%); }

/* Telefon mockup */
.phone { width: 280px; background: var(--ink); border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg); position: relative; }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: var(--ink); border-radius: 12px; z-index: 2; }
.phone-screen { background: var(--surface); border-radius: 31px; padding: 44px 16px 16px; font-size: 13px; }
.ph-head { font-weight: 600; color: var(--ink); display: flex; gap: 10px; }
.ph-progress { display: flex; align-items: center; gap: 4px; margin: 12px 0 14px; }
.ph-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.ph-progress i.on { background: var(--green); }
.ph-progress i.half { background: var(--ink); }
.ph-progress small { margin-left: 6px; font-size: 11px; color: var(--muted); }
.ph-earliest { background: #FFF4EE; border-radius: 10px; padding: 8px 10px; font-size: 12px; display: flex; justify-content: space-between; gap: 4px; }
.ph-earliest b { color: var(--accent-ink); }
.ph-dates { display: flex; gap: 6px; margin: 14px 0; }
.ph-dates span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--ink); }
.ph-dates span.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.ph-label { font-size: 11px; font-weight: 600; color: var(--muted); margin: 8px 0 6px; text-transform: uppercase; letter-spacing: .05em; }
.ph-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-slots span { text-align: center; padding: 9px 0; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); }
.ph-slots span.sel { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.ph-bar { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--muted); }
.ph-bar b { display: block; text-align: center; background: var(--accent-strong); color: #fff; border-radius: 999px; padding: 10px; font-size: 13px; }

/* Admin naptár mockup */
.admin { width: 100%; max-width: 480px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 16px; position: relative; font-size: 12px; }
.admin-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ink); }
.admin-today { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.admin-arrows { color: var(--muted); letter-spacing: 4px; }
.admin-top strong { font-size: 13px; }
.admin-grid { display: grid; grid-template-columns: 44px repeat(3, 1fr); position: relative; padding-top: 28px; }
.admin-hours { display: grid; grid-auto-rows: 56px; }
.admin-hours span { font-size: 10.5px; color: var(--muted); transform: translateY(-7px); }
.admin-col { position: relative; height: 280px; border-left: 1px solid var(--line-2);
  background-image: repeating-linear-gradient(to bottom, var(--line-2) 0 1px, transparent 1px 56px); }
.admin-col-last { border-right: 1px solid var(--line-2); }
.admin-name { position: absolute; top: -26px; left: 6px; display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); font-size: 12px; }
.admin-name i { width: 8px; height: 8px; border-radius: 50%; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 5px 7px; overflow: hidden; line-height: 1.3; }
.ev b { display: block; font-size: 11.5px; }
.ev span { display: block; font-size: 10.5px; opacity: .85; }
.ev em { position: absolute; top: 5px; right: 6px; font-style: normal; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,.7); }
.ev-orange { background: #FDE3D4; color: #7A2A05; border-left: 3px solid var(--accent); }
.ev-blue { background: #DDE7FB; color: #1C3C85; border-left: 3px solid var(--blue); }
.ev-green { background: #D5F0E6; color: #0E5C42; border-left: 3px solid var(--green); }
.ev-pending { background: repeating-linear-gradient(135deg, #DDE7FB 0 6px, #EEF3FD 6px 12px); }
.ev-break { background: repeating-linear-gradient(135deg, #EFEAE4 0 6px, #F8F5F1 6px 12px); color: var(--muted); font-size: 10.5px; display: grid; place-items: center; }
.now-line { position: absolute; left: 44px; right: 0; height: 2px; background: #E5372B; margin-top: 28px; }
.now-line span { position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #E5372B; }
.admin-toast { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 10px; padding: 10px 16px; font-size: 12.5px; white-space: nowrap; box-shadow: var(--shadow-md); }
.admin-toast b { color: #FFB48F; }

/* ---------- Kártyák ---------- */
.cards { display: grid; gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin: 20px 0 12px; }
.card p { font-size: 15.5px; color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sötét szekció ---------- */
.section-dark { background: var(--dark); color: var(--dark-muted); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(232,87,26,.18), transparent 70%); pointer-events: none; }
.section-dark .container { position: relative; }
.section-dark h2 { color: #fff; }
.section-dark .section-head h2 + p { color: var(--dark-muted); }
.dcard { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.dcard-num { font-family: var(--font-head); font-size: 14px; color: #FFB48F; font-weight: 600; }
.dcard h3 { color: #fff; margin: 16px 0 12px; }
.dcard p { font-size: 15px; }
.dcard ul { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--dark-line); margin-top: 24px; display: grid; gap: 8px; font-size: 14px; color: #D5D8E0; }
.dcard li::before { content: "→ "; color: #FFB48F; }

/* ---------- Számok ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 56px; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.stat strong small { font-size: 22px; color: var(--accent); margin-left: 4px; letter-spacing: 0; }
.stat span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- Funkciólista ---------- */
.feature-list { display: grid; gap: 24px; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 24px 24px 48px; }
.feature:nth-child(even) { grid-template-columns: 1.1fr 1fr; padding: 24px 48px 24px 24px; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature-num { font-size: 13px; font-weight: 600; color: var(--accent-ink); letter-spacing: .02em; }
.feature h3 { font-size: 28px; line-height: 1.2; margin: 18px 0 20px; }
.feature p { color: var(--muted); margin-bottom: 32px; }
.feature-visual { border-radius: var(--r-lg); background: linear-gradient(160deg, #F7EEE6, #FBF8F4); min-height: 340px; display: grid; place-items: center; padding: 48px 32px; position: relative; overflow: hidden; }
.feature:nth-child(2) .feature-visual, .feature:nth-child(4) .feature-visual { background: linear-gradient(160deg, #E9EEF9, #F6F7FB); }

.mock-card, .mock-sms, .mock-sync, .mock-code { width: 100%; max-width: 360px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 20px; position: relative; z-index: 1; }
.mock-kicker { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.mock-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 17px; margin: 6px 0 4px; }
.mock-text { font-size: 14px; color: var(--ink-2); }
.mock-actions { display: flex; gap: 8px; margin-top: 16px; }
.mbtn { flex: 1; text-align: center; padding: 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); color: var(--ink); }
.mbtn-primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.mock-chip { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); white-space: nowrap; }
.mock-chip-a { top: 20px; left: 20px; }
.mock-chip-b { bottom: 20px; right: 20px; color: var(--green); }
.mock-radio { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin-top: 8px; font-size: 14px; color: var(--ink); }
.mock-radio i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #C9C2B9; flex: none; }
.mock-radio em { font-style: normal; color: var(--muted); font-size: 12.5px; width: 100%; padding-left: 26px; margin-top: -6px; }
.mock-radio.on { border-color: var(--accent-strong); background: #FFF6F1; }
.mock-radio.on i { border: 5px solid var(--accent-strong); }
.mock-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.bubble { margin-top: 10px; background: #EEF0F4; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14px; color: var(--ink); line-height: 1.45; }
.mock-meta { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }
.mock-sync { display: flex; align-items: center; gap: 12px; max-width: 400px; }
.sync-col { flex: 1; display: grid; gap: 6px; }
.sync-col p { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.sb { border-radius: 8px; padding: 8px 10px; font-size: 12.5px; font-weight: 500; }
.sb-grey { background: #EEF0F4; color: var(--ink-2); }
.sb-busy { background: repeating-linear-gradient(135deg, #EFEAE4 0 6px, #F8F5F1 6px 12px); color: var(--muted); }
.sb-orange { background: #FDE3D4; color: #7A2A05; border-left: 3px solid var(--accent); }
.sync-arrows { font-size: 22px; color: var(--accent); }
.mock-code { background: var(--dark); max-width: 420px; padding: 20px 22px; overflow-x: auto; }
.mock-code pre { margin: 0; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13px; line-height: 1.65; color: #E6E8EE; }
.mock-code .c { color: #7F8696; }
.mock-code .t { color: #FF9D6E; }
.mock-code .a { color: #8FB4FF; }
.mock-code .s { color: #8EDDB9; }

/* ---------- Lépések ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; position: relative; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.step h3 { margin: 20px 0 12px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Modulok ---------- */
.modules-split { align-items: start; }
.module-counter { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--muted); }
.module-counter strong { font-family: var(--font-head); color: var(--accent-ink); font-size: 18px; }
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mod {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-align: left;
  transition: border-color .2s, background .2s, color .2s;
}
.mod:hover { border-color: #D8CFC4; }
.sw { width: 36px; height: 20px; border-radius: 999px; background: #DCD5CC; position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.mod[aria-pressed="true"] { border-color: #F1B596; background: #FFF6F1; color: var(--ink); }
.mod[aria-pressed="true"] .sw { background: var(--accent-strong); }
.mod[aria-pressed="true"] .sw::after { transform: translateX(16px); }

/* ---------- Összehasonlítás ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow-x: auto; max-width: 960px; margin: 0 auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line-2); }
.compare thead th { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); background: #FCFAF7; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.compare thead th:first-child { text-align: left; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .col-us { background: #FFF6F1; }
.compare thead .col-us { background: var(--accent-strong); color: #fff; }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.yes { color: var(--green); }
.yes::before { content: "✓"; font-weight: 700; }
.no { color: #9C958C; }
.no::before { content: "–"; }
.part { color: #9A6A07; }
.part::before { content: "~"; }

/* ---------- GYIK ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq-head h2 + p { margin: 20px 0 32px; color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.faq details[open] { border-color: #DCCFC2; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--ink); position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s, margin .25s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, #D9500F 0%, #E8661F 55%, #F08A3C 100%); padding: var(--sec-y) 0; color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta .eyebrow-light { color: #FFE2D2; }
.cta h2 { color: #fff; font-size: 42px; }
.cta-text p:last-child { margin-top: 20px; font-size: 18px; color: #FFF1E9; }
.cta-form { display: flex; flex-wrap: wrap; gap: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 8px; border-radius: 999px; }
.cta-form input[type="email"] { flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; padding: 0 20px; }
.cta-form input::placeholder { color: rgba(255,255,255,.8); }
.cta-form input:focus { outline: none; }
.cta-form:focus-within { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.cta-msg { width: 100%; padding: 0 20px; font-size: 14px; color: #fff; font-weight: 500; }
.cta-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.logo-light { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 300px; }
.footer-col p { color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 14px; }

/* ---------- Megjelenési animáció ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   TABLET  768–1024px
   ========================================================= */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; --sec-y: 72px; --header-h: 64px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }

  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px var(--pad-x) 24px; margin: 0;
  }
  .main-nav.open > a { padding: 14px 8px; border-radius: 10px; font-size: 17px; border-bottom: 1px solid var(--line-2); }
  .main-nav.open .nav-actions-mobile { display: block; margin-top: 16px; }

  .hero { padding-top: 56px; }
  .bw-body { grid-template-columns: 1fr 1fr; }
  .bw-sum { grid-column: 1 / -1; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: end; }
  .bw-sum-title { grid-column: 1 / -1; }
  .bw-sum dl { margin: 0; }
  .bw-sum-total { margin: 0 0 12px; }
  .bw-slots { border-right: 0; }

  .section-head-split { grid-template-columns: 1fr; gap: 20px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .split, .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .split-reverse .split-text, .feature:nth-child(even) .feature-text { order: 0; }
  .split + .split { margin-top: 72px; }
  .feature, .feature:nth-child(even) { padding: 40px 24px 24px; }
  .feature-text { padding: 0 16px; }
  .split-visual { min-height: 420px; }

  .steps { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   MOBIL  <768px
   ========================================================= */
@media (max-width: 767px) {
  :root { --pad-x: 20px; --sec-y: 56px; }
  body { font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .hero { padding-top: 40px; }
  .hero-text { text-align: left; }
  .hero .lead { font-size: 17px; margin-left: 0; }
  .hero .btn-row { justify-content: flex-start; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-demo { margin-top: 48px; margin-left: calc(var(--pad-x) * -1 + 8px); margin-right: calc(var(--pad-x) * -1 + 8px); }
  .eyebrow-pill { font-size: 13px; }

  .bw { border-radius: var(--r-lg); }
  .bw-top { padding: 14px 16px; }
  .bw-steps li { width: 24px; height: 24px; font-size: 11px; }
  .bw-steps li + li { margin-left: 12px; }
  .bw-steps li + li::before { width: 12px; }
  .bw-body { grid-template-columns: 1fr; }
  .bw-cal, .bw-slots, .bw-sum { padding: 16px; }
  .bw-slots { border-left: 0; border-top: 1px solid var(--line-2); }
  .bw-slot-grid { grid-template-columns: repeat(3, 1fr); }
  .bw-sum { display: flex; }
  .bw-sum dl { margin-bottom: 12px; }

  .logos-row { gap: 10px 28px; }
  .logos-row li { font-size: 17px; }

  .section-head { margin-bottom: 40px; }
  .section-head h2 + p, .section-head-split > p { font-size: 16.5px; }
  .section-head-center { text-align: left; }

  .cards-4 { grid-template-columns: 1fr; }
  .card, .dcard { padding: 24px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 12px; }
  .stat strong { font-size: 40px; }
  .stat strong small { font-size: 17px; }
  .stat span { font-size: 13.5px; }

  .split-text h3, .feature h3 { font-size: 24px; }
  .split + .split { margin-top: 56px; }
  .split-visual { padding: 40px 16px; min-height: 0; border-radius: var(--r-lg); }
  .visual-cool { padding-bottom: 48px; }
  .phone { width: 260px; }
  .admin-toast { font-size: 11.5px; padding: 8px 12px; }
  .visual-cool { padding: 24px 8px 40px; }
  .admin { padding: 12px 10px; }
  .admin-grid { grid-template-columns: 34px repeat(3, 1fr); }
  .now-line { left: 34px; }
  .ev { left: 2px; right: 2px; padding: 4px 5px; }
  .ev b { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ev span { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ev em { display: none; }

  .feature, .feature:nth-child(even) { padding: 28px 12px 12px; border-radius: var(--r-lg); }
  .feature-text { padding: 0 8px; }
  .feature-visual { padding: 64px 16px; min-height: 0; }
  .mock-chip-a { top: 14px; left: 14px; }
  .mock-chip-b { bottom: 14px; right: 14px; }
  .mock-sync { gap: 8px; padding: 14px; }
  .mock-code pre { font-size: 12px; }

  .modules { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mod { font-size: 14px; padding: 10px 12px; gap: 10px; }
  .sw { width: 32px; height: 18px; }
  .sw::after { width: 14px; height: 14px; }
  .mod[aria-pressed="true"] .sw::after { transform: translateX(14px); }

  .faq summary { padding: 18px 48px 18px 18px; font-size: 16px; }
  .faq summary::after { right: 20px; }
  .faq details p { padding: 0 18px 18px; font-size: 15.5px; }

  .cta h2 { font-size: 30px; }
  .cta-form { border-radius: var(--r-lg); padding: 8px; }
  .cta-form input[type="email"] { flex-basis: 100%; padding: 0 12px; }
  .cta-form .btn { flex: 1 1 100%; }
  .cta-msg { padding: 4px 12px 8px; }

  .site-footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  .modules { grid-template-columns: 1fr; }
}
