/* ============================================================
   S.O.S. Adatmentés – 2026 redesign
   Sima HTML + CSS + JS, design-token alapú rendszer
   ============================================================ */

/* ---------- Fonts (self-hosted, latin-ext) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF, U+0000-00FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF, U+0000-00FF;
}

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0A1428;
  --navy-850: #0C1A33;
  --navy-800: #101E38;
  --navy-700: #1A2C4E;
  --blue-600: #1D4ED8;
  --blue-500: #2563EB;
  --cyan-400: #22D3EE;
  --cyan-300: #67E8F9;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --green-500: #22C55E;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 20, 40, .06), 0 1px 3px rgba(10, 20, 40, .1);
  --shadow-md: 0 8px 24px -8px rgba(10, 20, 40, .18);
  --shadow-lg: 0 24px 48px -16px rgba(10, 20, 40, .28);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, .25), 0 8px 32px -8px rgba(34, 211, 238, .25);

  --container: 1180px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur: .35s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--blue-600); }
ul, ol { padding-left: 1.25em; }
li { margin: .3em 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate-800);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: .6em 0; }
strong { color: var(--slate-800); }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--cyan-300); color: var(--navy-900); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--slate-50); }
.section--dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-850) 55%, var(--navy-800)); color: var(--slate-300); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark strong { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--cyan-400); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--slate-600); }
.section--dark .lead { color: var(--slate-300); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.muted { color: var(--slate-500); }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background var(--dur), border-color var(--dur), color var(--dur);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sos {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff; box-shadow: 0 10px 28px -8px rgba(249, 115, 22, .55);
}
.btn-sos:hover { color: #fff; box-shadow: 0 14px 34px -8px rgba(249, 115, 22, .65); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff; box-shadow: 0 10px 28px -10px rgba(37, 99, 235, .55);
}
.btn-primary:hover { color: #fff; }
.btn-outline { border-color: var(--slate-300); color: var(--slate-700); background: transparent; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); }
.section--dark .btn-outline, .btn-outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.section--dark .btn-outline:hover, .btn-outline-light:hover { border-color: var(--cyan-400); color: var(--cyan-300); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600;
  background: rgba(37,99,235,.08); color: var(--blue-500);
  border: 1px solid rgba(37,99,235,.18);
}
.badge svg { width: 14px; height: 14px; }
.badge--sos { background: rgba(249,115,22,.1); color: var(--orange-600); border-color: rgba(249,115,22,.25); }
.badge--dark { background: rgba(255,255,255,.07); color: var(--cyan-300); border-color: rgba(255,255,255,.14); }
.badge--green { background: rgba(34,197,94,.1); color: #15803d; border-color: rgba(34,197,94,.25); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 20, 40, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.logo:hover { color: #fff; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .l1 { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .02em; color: #fff; }
.logo-text .l1 em { font-style: normal; color: var(--cyan-400); }
.logo-text .l2 { font-size: .68rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--slate-400); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--slate-300); font-weight: 500; font-size: .95rem;
  transition: color .2s, background .2s;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.main-nav .caret { width: 14px; height: 14px; transition: transform .25s; }
.caret { width: 14px; height: 14px; flex: none; }
.drawer-sub-toggle svg { width: 18px; height: 18px; flex: none; color: var(--slate-400); }
.nav-item--has-menu { position: relative; }
.nav-item--has-menu:hover .caret, .nav-item--has-menu:focus-within .caret { transform: rotate(180deg); }

/* megamenu */
.megamenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(620px, 92vw);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; pointer-events: none;
  /* bezárásnál kis késleltetés – átlós egérmozgásnál nem csukódik be azonnal */
  transition: opacity .18s var(--ease-out) .18s, transform .18s var(--ease-out) .18s, visibility 0s .36s;
}
.nav-item--has-menu:hover .megamenu,
.nav-item--has-menu:focus-within .megamenu,
.nav-item--has-menu.open .megamenu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto;
  transition: opacity .15s var(--ease-out) 0s, transform .15s var(--ease-out) 0s, visibility 0s 0s;
}
/* láthatatlan híd a menü és a lenyíló panel közé – áthidalja a rést */
.nav-item--has-menu::after {
  content: ""; position: absolute; top: 100%; left: -10px; right: -10px; height: 18px;
}
.megamenu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; color: var(--slate-300); font-size: .92rem; font-weight: 500;
  transition: background .18s, color .18s;
}
.megamenu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.megamenu .mi { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(34,211,238,.1); color: var(--cyan-400); }
.megamenu .mi svg { width: 18px; height: 18px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: var(--radius-pill); }
.header-phone:hover { color: var(--cyan-300); }
.header-phone svg { width: 17px; height: 17px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy-900);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease-out);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.drawer nav { padding: 14px 22px; }
.drawer nav a, .drawer .drawer-sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 6px; color: var(--slate-200); font-size: 1.05rem; font-weight: 600;
  border: 0; background: none; border-bottom: 1px solid rgba(255,255,255,.07); cursor: pointer; text-align: left;
}
.drawer nav a:hover { color: var(--cyan-300); }
.drawer-sub { display: none; padding-left: 14px; }
.drawer-sub.open { display: block; }
.drawer-sub a { font-weight: 400; font-size: .98rem; color: var(--slate-300); }
.drawer-cta { padding: 20px 22px 34px; display: grid; gap: 12px; margin-top: auto; }
body.drawer-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(37,99,235,.18), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-850) 60%, var(--navy-800));
  color: var(--slate-300);
  padding-block: clamp(64px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 40%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin: 18px 0 16px; }
.hero h1 .hl { background: linear-gradient(90deg, var(--cyan-300), var(--cyan-400), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.18rem; max-width: 560px; }
.hero .btn-row { margin-top: 30px; }
.hero-badges { margin-top: 34px; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), var(--shadow-glow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(10,20,40,.55)); }
.hero-card {
  position: absolute; left: -18px; bottom: 26px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(16,30,56,.85); backdrop-filter: blur(10px);
  border: 1px solid rgba(34,211,238,.25); border-radius: var(--radius-md);
  padding: 12px 18px; box-shadow: var(--shadow-lg);
}
.hero-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 5px rgba(34,197,94,.18); animation: pulse 2s infinite; }
.hero-card b { color: #fff; font-size: .95rem; display: block; }
.hero-card span { color: var(--slate-400); font-size: .8rem; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18);} 50% { box-shadow: 0 0 0 8px rgba(34,197,94,.06);} }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 26px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat .num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--slate-800); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat .num em { font-style: normal; color: var(--blue-500); }
.stat .lbl { margin-top: 8px; font-size: .9rem; font-weight: 500; color: var(--slate-500); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }

.service-card { position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.service-card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(34,211,238,.14));
  color: var(--blue-500);
}
.service-card .ic svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; }
.service-card h3 a { color: inherit; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { font-size: .94rem; color: var(--slate-500); margin: 0; flex: 1; }
.service-card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--blue-500); }
.service-card .more svg { width: 15px; height: 15px; transition: transform .25s; }
.service-card:hover .more svg { transform: translateX(4px); }
.service-card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  opacity: 0; transition: opacity var(--dur);
}
.service-card:hover::before { opacity: 1; }

/* feature / advantage cards */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: rgba(37,99,235,.08); color: var(--blue-500);
}
.section--dark .feature .ic { background: rgba(34,211,238,.1); color: var(--cyan-400); }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { font-size: .93rem; color: var(--slate-500); margin: 0; }
.section--dark .feature p { color: var(--slate-400); }

/* ---------- Alert / warning ---------- */
.alert {
  display: flex; gap: 16px; align-items: flex-start;
  border-radius: var(--radius-lg); padding: 22px 24px;
  border: 1px solid rgba(249,115,22,.35); background: rgba(249,115,22,.07);
}
.alert .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(249,115,22,.14); color: var(--orange-500); }
.alert .ic svg { width: 22px; height: 22px; }
.alert h3 { color: var(--orange-600); margin-bottom: 4px; }
.alert p { margin: 0; }
.alert--dark { background: rgba(249,115,22,.1); border-color: rgba(249,115,22,.4); }
.alert--dark h3 { color: #fdba74; }
.alert--info { border-color: rgba(37,99,235,.3); background: rgba(37,99,235,.06); }
.alert--info .ic { background: rgba(37,99,235,.12); color: var(--blue-500); }
.alert--info h3 { color: var(--blue-600); }

/* do / don't grid */
.dodont { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 20px; }
.dont {
  border-radius: var(--radius-md); padding: 18px 20px;
  background: rgba(249,115,22,.08); border: 1px solid rgba(249,115,22,.3);
  display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: #9a3412;
}
.dont svg { width: 20px; height: 20px; flex: none; color: var(--orange-500); margin-top: 2px; }
.dont small { display: block; font-weight: 400; color: var(--slate-600); margin-top: 2px; }

/* ---------- Process stepper ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px 22px; }
.step .n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .92rem; margin: 0; color: var(--slate-500); }
.steps--dark .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.steps--dark .step p { color: var(--slate-400); }

/* ---------- Pricing table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); background: #fff; }
table.price { width: 100%; border-collapse: collapse; min-width: 520px; }
table.price caption { text-align: left; padding: 16px 20px; font-weight: 700; font-family: var(--font-display); color: var(--slate-800); font-size: 1.05rem; }
table.price th, table.price td { padding: 13px 20px; text-align: left; font-size: .95rem; }
table.price thead th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
table.price tbody tr { border-top: 1px solid var(--slate-100); }
table.price tbody tr:nth-child(even) { background: var(--slate-50); }
table.price td:last-child, table.price th:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--slate-800); font-variant-numeric: tabular-nums; }
.price-note { font-size: .88rem; color: var(--slate-500); margin-top: 12px; }

/* ---------- Check list / chip cloud ---------- */
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--green-500); margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { margin: 0; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--slate-100); border: 1px solid var(--slate-200); font-size: .88rem; font-weight: 500; color: var(--slate-600); }

/* ---------- Reviews ---------- */
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 86%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 22px; scrollbar-width: thin; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.review .stars { display: flex; gap: 3px; color: #FBBF24; }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: .97rem; color: var(--slate-600); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); font-family: var(--font-display); }
.review .who b { display: block; color: var(--slate-800); font-size: .95rem; }
.review .who span { font-size: .82rem; color: var(--slate-500); }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.reviews-summary .big { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--slate-800); line-height: 1; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; color: var(--slate-800);
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--slate-400); transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--blue-500); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a-inner { padding: 0 22px 20px; color: var(--slate-600); }
.faq-a-inner p:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center;
  background:
    radial-gradient(700px 300px at 80% -20%, rgba(34,211,238,.2), transparent 60%),
    linear-gradient(140deg, var(--navy-900), var(--navy-800));
  color: var(--slate-300); border: 1px solid rgba(255,255,255,.1);
}
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 18px 0 0; margin: 0; font-size: .88rem; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--slate-500); }
.breadcrumb a { color: var(--slate-500); }
.breadcrumb a:hover { color: var(--blue-500); }
.breadcrumb li::after { content: "/"; color: var(--slate-300); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb [aria-current] { color: var(--slate-700); font-weight: 600; }

/* ---------- Page hero (subpage) ---------- */
.page-hero { background:
    radial-gradient(700px 300px at 85% -20%, rgba(34,211,238,.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--slate-300); padding: 26px 0 clamp(40px,6vw,64px);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 14px 0 12px; }
.page-hero .lead { max-width: 720px; }
.page-hero .breadcrumb { padding-top: 0; }
.page-hero .breadcrumb li, .page-hero .breadcrumb a { color: var(--slate-400); }
.page-hero .breadcrumb a:hover { color: var(--cyan-300); }
.page-hero .breadcrumb [aria-current] { color: var(--cyan-300); }
.page-hero .btn-row { margin-top: 24px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.55), var(--shadow-glow);
  max-width: 400px; justify-self: end; width: 100%;
}
.page-hero .frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.page-hero .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(10,20,40,.55)); }
.hero-chip {
  position: absolute; left: -14px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(16,30,56,.88); backdrop-filter: blur(10px);
  border: 1px solid rgba(34,211,238,.28); border-radius: var(--radius-md);
  padding: 10px 16px; color: var(--cyan-300); font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-lg); white-space: nowrap;
}
.hero-chip svg { width: 20px; height: 20px; }
@media (max-width: 1020px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .frame { max-width: 540px; }
  .hero-chip { left: 10px; }
}

/* ---------- Prose (tartalmi oldalak) ---------- */
.prose h2 { margin-top: 2em; margin-bottom: .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; margin-bottom: .4em; }
.prose p, .prose li { color: var(--slate-600); }
.prose img { border-radius: var(--radius-md); margin: 18px 0; }
.prose .alert { margin: 22px 0; }
.prose .table-wrap { margin: 22px 0; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px,5vw,64px); align-items: start; }

/* ---------- Sidebar card ---------- */
.side-card { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.side-card .more svg { width: 22px; height: 22px; flex-shrink: 0; }
.side-cta { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--slate-300); border-radius: var(--radius-lg); padding: 26px; }
.side-cta h3 { color: #fff; }
.side-cta .tel { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--cyan-300); display: block; margin: 10px 0 16px; }
.side-cta .tel:hover { color: var(--cyan-400); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--slate-700); margin-bottom: 7px; }
.field label .req { color: var(--orange-500); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .98rem; color: var(--slate-800);
  background: var(--slate-50); border: 1.5px solid var(--slate-200); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--slate-500); margin-top: 6px; }
.field.error input, .field.error select, .field.error textarea { border-color: #EF4444; }
.field .err-msg { display: none; font-size: .82rem; color: #DC2626; margin-top: 6px; font-weight: 500; }
.field.error .err-msg { display: block; }
.fieldset-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--slate-800); margin: 26px 0 16px; padding-top: 22px; border-top: 1px solid var(--slate-200); grid-column: 1/-1; }
.fieldset-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

.radio-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--slate-200);
  background: var(--slate-50); font-size: .92rem; font-weight: 600; color: var(--slate-600);
  transition: all .2s; cursor: pointer;
}
.radio-card input:checked + span { border-color: var(--blue-500); background: rgba(37,99,235,.08); color: var(--blue-600); }
.radio-card input:focus-visible + span { outline: 3px solid var(--cyan-400); outline-offset: 2px; }

.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--slate-600); }
.check-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-500); flex: none; }
.check-line.error { color: #DC2626; }

/* wizard */
.wizard-progress { display: flex; gap: 8px; margin-bottom: 30px; }
.wizard-progress .seg { flex: 1; height: 6px; border-radius: 99px; background: var(--slate-200); overflow: hidden; }
.wizard-progress .seg::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transition: width .4s var(--ease-out); }
.wizard-progress .seg.done::after, .wizard-progress .seg.active::after { width: 100%; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeUp .35s var(--ease-out); }
.wizard-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none; } }

.form-status { display: none; margin-top: 18px; padding: 16px 20px; border-radius: var(--radius-md); font-weight: 600; }
.form-status.ok { display: block; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #15803d; }
.form-status.fail { display: block; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); color: #B91C1C; }

/* ---------- Contact info cards ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(37,99,235,.08); color: var(--blue-500); }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: 2px; }
.info-card p { margin: 0; font-size: .95rem; }
.info-card a.big { font-weight: 700; font-size: 1.15rem; color: var(--slate-800); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-400); padding: clamp(48px,6vw,72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul li { margin: 0; }
.site-footer a { color: var(--slate-400); font-size: .93rem; }
.site-footer a:hover { color: var(--cyan-300); }
.footer-brand p { font-size: .9rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding: 22px 0; font-size: .83rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; gap: 10px;
}
.call-bar a { flex: 1; box-shadow: var(--shadow-lg); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dodont { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .call-bar { display: flex; }
  body { padding-bottom: 76px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero-card { left: 10px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .megamenu { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .call-bar, .cta-band, .site-footer { display: none; }
}
