/* =========================================================
   ElektroBiztonság Kft. – modern design system
   Kék = megbízhatóság · Sárga = energia · Fehér = tisztaság
   ========================================================= */

:root {
  --navy-950: #030916;
  --navy-900: #061127;
  --navy-800: #0b1c3d;
  --navy-700: #12295a;
  --blue-600: #1d4fd8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #7cb2ff;
  --blue-50:  #eef4ff;

  --yellow: #ffd23f;
  --yellow-2: #ffbf00;
  --yellow-soft: #fff6d1;

  --white: #ffffff;
  --bg-soft: #f4f6fb;
  --ink: #0a1022;
  --muted: #5b6478;
  --muted-dark: #9aa8c4;
  --line: #e5e9f2;
  --line-dark: rgba(255,255,255,.09);
  --danger: #ef4444;
  --success: #22c55e;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(10,16,34,.06), 0 4px 14px rgba(10,16,34,.05);
  --shadow: 0 2px 4px rgba(10,16,34,.04), 0 18px 40px -12px rgba(10,16,34,.18);
  --shadow-lg: 0 30px 80px -20px rgba(3,9,22,.45);
  --glow-y: 0 10px 40px -8px rgba(255,210,63,.65);
  --glow-b: 0 10px 40px -10px rgba(37,99,235,.7);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
html.nav-lock { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-500); }
::selection { background: var(--yellow); color: var(--navy-950); }

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 .55em;
  font-weight: 800;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
main { overflow-x: clip; }
.legal > *, .contact-layout > *, .service > *, .about > *, .chat-layout > *, .cta > *,
.hero > .container > *, .bento-risk > *, .bento-benefits > *, .projects > *, .testimonials > * { min-width: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 300;
  background: var(--yellow); color: var(--navy-950); padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.icon {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.text-gradient {
  background: linear-gradient(100deg, var(--yellow) 0%, #ffe68a 40%, var(--blue-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-yellow { color: var(--yellow); }
.muted { color: var(--muted); }

/* ---------- Gombok ---------- */
.btn {
  --pad: .95em 1.55em;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--pad);
  border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .icon { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--yellow { background: var(--yellow); color: var(--navy-950); box-shadow: var(--glow-y); }
.btn--yellow:hover { background: #ffdc66; box-shadow: 0 14px 50px -6px rgba(255,210,63,.8); }

.btn--blue { background: var(--blue-500); color: var(--white); box-shadow: var(--glow-b); }
.btn--blue:hover { background: var(--blue-600); }

.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-800); }

.btn--glass {
  background: rgba(255,255,255,.07); color: var(--white);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg { font-size: 1.06rem; --pad: 1.05em 1.8em; }

/* gomb nyíl-körrel */
.btn__arrow {
  width: 30px; height: 30px; border-radius: 50%; margin-right: -.8em;
  display: grid; place-items: center;
  background: var(--navy-950); color: var(--yellow);
  transition: transform .3s var(--ease);
}
.btn__arrow .icon { width: 16px; height: 16px; }
.btn:hover .btn__arrow { transform: rotate(-45deg); }
.btn--blue .btn__arrow, .btn--dark .btn__arrow { background: var(--yellow); color: var(--navy-950); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Lebegő fejléc ---------- */
.header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  max-width: calc(var(--container) - 24px);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: rgba(6,17,39,.62);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -10px rgba(3,9,22,.5);
  transition: background .3s, box-shadow .3s;
  position: relative;
}
.header.is-scrolled .header__bar { background: rgba(6,17,39,.86); }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; line-height: 1;
}
.logo__mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(140deg, var(--yellow), var(--yellow-2));
  color: var(--navy-950);
  display: grid; place-items: center;
  box-shadow: 0 0 24px -4px rgba(255,210,63,.7);
}
.logo__mark .icon { width: 22px; height: 22px; }
.logo strong span { color: var(--yellow); }
.logo small { display: block; font-size: .64rem; font-weight: 600; color: var(--muted-dark); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  color: rgba(255,255,255,.78); text-decoration: none;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav__link.is-active { color: var(--navy-950); background: var(--white); }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 9px 14px; border-radius: 999px;
}
.nav__phone .icon { width: 18px; height: 18px; color: var(--yellow); }
.nav__phone:hover { background: rgba(255,255,255,.08); }
.nav .btn { --pad: .72em 1.25em; font-size: .95rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--white); content: ""; transition: transform .3s var(--ease), top .3s var(--ease), background .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Szekció alapok ---------- */
.section { padding: 120px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-950); color: var(--muted-dark); overflow: hidden; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding: 80px 0; }

.section__head { max-width: 780px; margin-bottom: 60px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section__head--center p { margin-left: auto; margin-right: auto; }
.section--dark .section__head p { color: var(--muted-dark); }
.section__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.section__row .section__head { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500);
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--blue-50);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,63,.25);
}
.section--dark .eyebrow, .eyebrow--dark { background: rgba(255,255,255,.06); color: var(--yellow); border: 1px solid var(--line-dark); }

/* háttér dekorációk */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px);
}
.glow--blue { background: rgba(37,99,235,.55); }
.glow--yellow { background: rgba(255,210,63,.32); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950); color: var(--muted-dark);
  padding: 170px 0 110px;
  min-height: min(100vh, 980px);
  display: flex; align-items: center;
}
.hero__photo {
  position: absolute; inset: 0; z-index: 0;
  background: var(--navy-900) center / cover no-repeat;
  opacity: .28;
  mask-image: linear-gradient(90deg, transparent 15%, #000 75%);
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, transparent 60%, var(--navy-950));
}
.hero .glow--blue { width: 620px; height: 620px; right: -120px; top: -160px; }
.hero .glow--yellow { width: 420px; height: 420px; left: -140px; bottom: -160px; }
.hero > .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }

.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero__lead { font-size: 1.2rem; max-width: 560px; color: #c2cde3; margin-bottom: 36px; }
.hero__lead strong { color: var(--white); font-weight: 700; }

.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  color: #dfe7f7; font-size: .9rem; font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.live-pill__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.14); color: #6ee79a;
  padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: ping 1.8s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
}

.trust {
  display: flex; align-items: center; gap: 16px; margin-top: 44px; flex-wrap: wrap;
}
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .78rem; font-weight: 800; color: var(--navy-950);
  border: 2px solid var(--navy-950); margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.trust__text { font-size: .92rem; line-height: 1.4; }
.trust__text strong { color: var(--white); display: flex; align-items: center; gap: 6px; }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars .icon { width: 16px; height: 16px; }

/* Hero UI kártyák */
.hero__ui { position: relative; min-height: 500px; }
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  color: var(--white);
}
.ui-main { position: absolute; top: 30px; left: 0; right: 30px; padding: 26px; }
.ui-main__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ui-main__title { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.ui-main__title .icon { color: var(--yellow); width: 20px; height: 20px; }
.badge-ok {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.16); color: #6ee79a;
  font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.ui-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 10px; font-size: .95rem;
}
.ui-row:last-child { margin-bottom: 0; }
.ui-row__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(59,130,246,.2); color: var(--blue-300); }
.ui-row__icon .icon { width: 18px; height: 18px; }
.ui-row__label { flex: 1; }
.ui-row__label small { display: block; color: var(--muted-dark); font-size: .8rem; }
.switch {
  width: 42px; height: 24px; border-radius: 999px; background: var(--success); position: relative; flex-shrink: 0;
  box-shadow: 0 0 16px -2px rgba(34,197,94,.6);
}
.switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); }

.meter { margin-top: 18px; }
.meter__top { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 8px; color: var(--muted-dark); }
.meter__top strong { color: var(--white); }
.meter__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-400), var(--yellow)); animation: fill 2.2s var(--ease) both .4s; }
@keyframes fill { from { width: 0; } }

.ui-float {
  position: absolute; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  font-size: .9rem; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.ui-float strong { display: block; font-size: 1.05rem; }
.ui-float small { color: var(--muted-dark); }
.ui-float__icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--yellow); color: var(--navy-950); box-shadow: var(--glow-y);
}
.ui-float__icon .icon { width: 22px; height: 22px; }
.ui-float--a { right: -24px; top: -36px; }
.ui-float--b { left: -30px; bottom: -10px; animation-delay: -3s; }
.ui-float--b .ui-float__icon { background: var(--blue-500); color: var(--white); box-shadow: var(--glow-b); }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* áramló vezeték animáció */
.current-line { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .55; }
.current-line path { fill: none; stroke-width: 2; }
.current-line .base { stroke: rgba(124,178,255,.12); }
.current-line .flow { stroke: url(#flowGrad); stroke-dasharray: 120 1200; animation: flow 5s linear infinite; }
.current-line .flow--2 { animation-delay: -2.5s; animation-duration: 7s; }
@keyframes flow { from { stroke-dashoffset: 1320; } to { stroke-dashoffset: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--yellow); color: var(--navy-950);
  overflow: hidden; white-space: nowrap; position: relative; z-index: 3;
  padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -26px;
  box-shadow: 0 20px 50px -20px rgba(255,191,0,.6);
}
.marquee__track { display: inline-flex; gap: 40px; animation: marquee 38s linear infinite; padding-left: 40px; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.marquee__item .icon { width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statisztika sáv ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.stats > div { padding: 34px 30px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.stats strong em { font-style: normal; color: var(--blue-500); }
.stats > div > span { color: var(--muted); font-size: .95rem; }

/* ---------- Kártyák & spotlight ---------- */
.card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }

.spot { position: relative; overflow: hidden; }
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,.09), transparent 45%);
}
.spot:hover::after { opacity: 1; }
.card--dark.spot::after, .section--dark .spot::after { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,210,63,.12), transparent 45%); }

.icon-chip {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-500);
  margin-bottom: 24px;
}
.icon-chip .icon { width: 24px; height: 24px; }
.icon-chip--yellow { background: var(--yellow-soft); color: #b98600; }
.icon-chip--danger { background: #fef0f0; color: var(--danger); }
.icon-chip--dark { background: var(--navy-950); color: var(--yellow); }
.icon-chip--glass { background: rgba(255,255,255,.08); color: var(--yellow); border: 1px solid var(--line-dark); }

/* ---------- Bento: problémák ---------- */
.symptoms { display: flex; flex-wrap: wrap; gap: 10px; }
.symptom {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-sm);
}
.symptom .icon { width: 18px; height: 18px; color: #d99a00; }

.bento-risk {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "photo photo r1 r2"
    "photo photo r3 r4"
    "r5 note note note";
}
.bento-risk > :nth-child(1) { grid-area: photo; }
.bento-risk > :nth-child(2) { grid-area: r1; }
.bento-risk > :nth-child(3) { grid-area: r2; }
.bento-risk > :nth-child(4) { grid-area: r3; }
.bento-risk > :nth-child(5) { grid-area: r4; }
.bento-risk > :nth-child(6) { grid-area: r5; }
.bento-risk > :nth-child(7) { grid-area: note; }
.bento-risk .card { padding: 28px; }
.bento-risk .card h3 { font-size: 1.15rem; }
.bento-risk .card p { font-size: .97rem; }

.photo-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  min-height: 420px; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; background: var(--navy-900);
}
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-card:hover img { transform: scale(1.05); }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,9,22,.05) 20%, rgba(3,9,22,.88) 100%);
}
.photo-card > *:not(img) { position: relative; z-index: 1; }
.photo-card h3 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 440px; letter-spacing: -.03em; }
.photo-card p { color: #c8d3e8; max-width: 440px; margin: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255,255,255,.14); color: var(--white); margin-bottom: 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag--danger { background: rgba(239,68,68,.9); }
.tag--yellow { background: var(--yellow); color: var(--navy-950); }

.note-card {
  background: var(--navy-950); color: var(--muted-dark); border-color: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.note-card strong { display: block; color: var(--white); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 8px; }
.note-card p { color: var(--muted-dark); }

/* ---------- Rólunk ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl);
  background: var(--navy-800);
}
.about__chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3;
}
.about__chip strong { display: block; font-size: 1rem; }
.about__chip small { color: var(--muted); }
.about__chip--a { left: -28px; top: 40px; }
.about__chip--b { right: -24px; bottom: 50px; }
.about__big {
  position: absolute; right: 26px; top: 26px;
  background: var(--yellow); color: var(--navy-950);
  border-radius: 22px; padding: 18px 20px; text-align: center; box-shadow: var(--glow-y);
}
.about__big strong { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.about__big > span { font-size: .8rem; font-weight: 700; }

.lead { font-size: 1.22rem; color: var(--ink); line-height: 1.6; letter-spacing: -.01em; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.mini {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); font-weight: 600; font-size: .95rem;
}
.mini .icon { color: var(--blue-500); width: 22px; height: 22px; }

.signature { display: flex; align-items: center; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.signature__avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-800), var(--blue-500)); color: var(--yellow);
  display: grid; place-items: center; font-weight: 800;
}
.signature strong { display: block; }
.signature span { font-size: .92rem; color: var(--muted); }
.signature__script { margin-left: auto; font-family: "Caveat", cursive; font-size: 2rem; color: var(--blue-500); transform: rotate(-4deg); }

/* ---------- Chat (félelmek) ---------- */
.chat-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.chat { padding: 28px; border-radius: var(--r-xl); }
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat__head .logo__mark { width: 40px; height: 40px; }
.chat__head strong { display: block; color: var(--white); font-size: 1rem; line-height: 1.2; }
.chat__head small { color: #6ee79a; font-size: .8rem; display: inline-flex; align-items: center; gap: 6px; }
.chat__head small .dot { width: 6px; height: 6px; }
.bubble {
  max-width: 82%; padding: 13px 18px; border-radius: 20px; margin-bottom: 10px;
  font-size: 1rem; line-height: 1.5;
}
.bubble--in { background: rgba(255,255,255,.08); color: #e2e9f7; border-bottom-left-radius: 6px; }
.bubble--out {
  margin-left: auto; background: linear-gradient(140deg, var(--blue-500), var(--blue-600)); color: var(--white);
  border-bottom-right-radius: 6px; max-width: 90%; box-shadow: var(--glow-b);
}
.bubble--out strong { display: block; margin-bottom: 10px; }
.bubble-meta { font-size: .75rem; color: var(--muted-dark); margin: -4px 0 14px 6px; }
.bubble-meta--right { text-align: right; margin-right: 6px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23030916' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bubble--out .checklist li { color: #e3ecff; font-size: .97rem; }
.bubble--out .checklist strong { display: inline; color: var(--white); margin: 0; }

.section--dark .glow--blue { width: 600px; height: 600px; left: -200px; top: -150px; opacity: .6; }
.section--dark .glow--yellow { width: 400px; height: 400px; right: -100px; bottom: -150px; opacity: .6; }

/* ---------- Bento: előnyök ---------- */
.bento-benefits {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.bento-benefits .span-2 { grid-column: span 2; }
.benefit-hero {
  background: linear-gradient(140deg, var(--yellow), var(--yellow-2)); border-color: transparent;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px;
}
.benefit-hero h3 { font-size: 1.6rem; }
.benefit-hero p { color: rgba(3,9,22,.72); max-width: 380px; font-size: 1.05rem; }
.benefit-hero .icon-chip { background: var(--navy-950); color: var(--yellow); }
.benefit-hero__num { font-size: clamp(4rem, 8vw, 7rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: var(--navy-950); }
.benefit-hero__num small { font-size: .3em; letter-spacing: -.01em; display: block; text-align: right; margin-top: 6px; }
.card--dark { background: var(--navy-950); border-color: transparent; color: var(--muted-dark); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--muted-dark); }
.card--blue { background: linear-gradient(150deg, var(--blue-500), var(--blue-600)); border-color: transparent; }
.card--blue h3 { color: var(--white); }
.card--blue p { color: #dbe6ff; }
.card--blue .icon-chip { background: rgba(255,255,255,.14); color: var(--yellow); }

.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.offer {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 40px;
  display: flex; flex-direction: column; align-items: flex-start; min-height: 300px;
}
.offer h3 { font-size: 1.7rem; letter-spacing: -.03em; }
.offer p { margin-bottom: 26px; max-width: 440px; }
.offer .btn { margin-top: auto; }
.offer__bg-icon { position: absolute; right: -30px; bottom: -40px; width: 220px; height: 220px; opacity: .1; }
.offer--blue { background: var(--blue-500); color: #dbe6ff; }
.offer--blue h3 { color: var(--white); }
.offer--blue .offer__bg-icon { color: var(--yellow); opacity: .25; }
.offer--dark { background: var(--navy-950); color: var(--muted-dark); }
.offer--dark h3 { color: var(--white); }
.offer--dark .offer__bg-icon { color: var(--yellow); opacity: .14; }
.offer__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
  background: rgba(255,255,255,.12); color: var(--white);
}

/* ---------- Szolgáltatás kártyák (képes) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy-800); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.07); }
.svc__num {
  position: absolute; left: 18px; top: 18px;
  background: rgba(3,9,22,.55); color: var(--white); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem;
}
.svc__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.svc__body p { color: var(--muted); }
.svc ul { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 10px; }
.svc li { display: flex; gap: 10px; align-items: center; font-size: .97rem; font-weight: 500; }
.svc li .icon { width: 18px; height: 18px; color: var(--blue-500); }
.svc__more {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; padding-top: 20px; border-top: 1px solid var(--line);
}
.svc__more span:last-child {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); transition: background .3s, color .3s, transform .3s var(--ease);
}
.svc__more .icon { width: 18px; height: 18px; }
.svc:hover .svc__more span:last-child { background: var(--yellow); transform: rotate(-45deg); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); border-radius: var(--r-xl);
  padding: 80px 70px; color: var(--muted-dark);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center;
}
.cta .glow--blue { width: 500px; height: 500px; right: -150px; top: -200px; z-index: -1; }
.cta .glow--yellow { width: 340px; height: 340px; left: -100px; bottom: -200px; z-index: -1; }
.cta .bg-grid { z-index: -1; }
.cta h2 { color: var(--white); }
.cta p { font-size: 1.15rem; max-width: 560px; }
.cta__slogan { color: var(--yellow); font-weight: 700; margin-top: 24px; margin-bottom: 0; display: flex; gap: 10px; align-items: center; }
.cta__slogan .icon { width: 20px; height: 20px; }
.cta__side { display: grid; gap: 14px; }
.phone-big {
  display: block; text-decoration: none; padding: 26px 28px;
  border-radius: var(--r-lg); transition: transform .3s var(--ease), background .3s;
}
.phone-big:hover { transform: translateY(-3px); background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); }
.phone-big small { display: flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: .9rem; margin-bottom: 6px; }
.phone-big strong { display: block; color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; }
.cta__side .btn { width: 100%; }

/* ---------- Aloldal hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy-950); color: var(--muted-dark);
  padding: 180px 0 100px;
}
.page-hero .hero__photo { opacity: .22; }
.page-hero .glow--blue { width: 560px; height: 560px; right: -120px; top: -200px; }
.page-hero .glow--yellow { width: 360px; height: 360px; left: -140px; bottom: -220px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 900px; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.page-hero p { color: #c2cde3; font-size: 1.2rem; max-width: 680px; margin-bottom: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin-bottom: 26px; color: var(--muted-dark); }
.breadcrumb a { color: var(--white); text-decoration: none; opacity: .8; }
.breadcrumb a:hover { opacity: 1; color: var(--yellow); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.page-hero__meta span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: #dfe7f7; font-size: .9rem; font-weight: 600;
}
.page-hero__meta .icon { width: 16px; height: 16px; color: var(--yellow); }

/* ---------- Szolgáltatások oldal ---------- */
.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  padding: 50px 0;
}
.service + .service { border-top: 1px solid var(--line); padding-top: 100px; margin-top: 50px; }
.service--reverse .service__media { order: 2; }
.service__media { position: relative; }
.service__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-xl); background: var(--navy-800); }
.service__badge {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: rgba(3,9,22,.62);
}
.service__badge .ui-float__icon { flex-shrink: 0; }
.service__badge strong { display: block; color: var(--white); }
.service__badge small { color: #c2cde3; }
.service__num { font-size: .9rem; font-weight: 800; color: var(--blue-500); letter-spacing: .1em; margin-bottom: 12px; display: block; }
.problems { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.problems span {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fef0f0; color: #b42318; border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 600;
}
.problems span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }

.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.feature-list li {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.feature-list li:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateX(4px); }
.feature-list .icon-chip { width: 42px; height: 42px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.feature-list .icon-chip .icon { width: 20px; height: 20px; }
.feature-list strong { display: block; letter-spacing: -.01em; }
.feature-list span { color: var(--muted); font-size: .96rem; }

/* folyamat */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; z-index: 1; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--r-lg); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  margin-bottom: 36px;
  background: linear-gradient(180deg, var(--yellow), rgba(255,210,63,.25));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4em; }
.step p { font-size: .95rem; color: var(--muted-dark); margin: 0; }

/* ---------- Referenciák ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.projects .photo-card { min-height: 440px; padding: 28px; }
.projects .photo-card h3 { font-size: 1.35rem; }
.projects .photo-card p { font-size: .95rem; }
.projects .photo-card--wide { grid-column: span 2; }
.project__meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: .85rem; color: #c8d3e8; }
.project__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project__meta .icon { width: 15px; height: 15px; color: var(--yellow); }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { display: flex; flex-direction: column; }
.testimonial .stars { margin-bottom: 18px; }
.testimonial .stars .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 26px; font-size: 1.08rem; line-height: 1.6; color: var(--ink); letter-spacing: -.01em; }
.testimonial footer { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial footer strong { display: block; }
.testimonial footer span { font-size: .88rem; color: var(--muted); }
.testimonial--featured { background: var(--navy-950); border-color: transparent; }
.testimonial--featured blockquote, .testimonial--featured footer strong { color: var(--white); }
.testimonial--featured footer { border-color: var(--line-dark); }
.testimonial--featured footer span { color: var(--muted-dark); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--navy-950);
}
.av-1 { background: linear-gradient(140deg, #ffd23f, #ffb000); }
.av-2 { background: linear-gradient(140deg, #7cb2ff, #2563eb); color: var(--white); }
.av-3 { background: linear-gradient(140deg, #a7f3d0, #22c55e); }
.av-4 { background: linear-gradient(140deg, #fecaca, #f87171); }

.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.cert { padding: 30px 26px; border-radius: var(--r-lg); }
.cert h3 { font-size: 1.08rem; margin-bottom: .5em; }
.cert p { margin: 0; font-size: .94rem; color: var(--muted-dark); }

/* ---------- Kapcsolat ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.contact-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px 20px; text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .icon-chip { margin: 0; width: 48px; height: 48px; }
.contact-card small { display: block; color: var(--muted); font-size: .85rem; }
.contact-card strong { font-size: 1.1rem; letter-spacing: -.01em; word-break: break-word; }
.contact-card--accent { background: var(--yellow); border-color: transparent; box-shadow: var(--glow-y); }
.contact-card--accent small { color: rgba(3,9,22,.65); }
.contact-card--accent strong { font-size: 1.35rem; }
.contact-card__go { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-950); color: var(--yellow); }
.contact-card__go .icon { width: 16px; height: 16px; }

.form-card {
  background: var(--white); border-radius: var(--r-xl); padding: 44px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.form-card > form > p { color: var(--muted); margin-bottom: 30px; }

.field { margin-bottom: 18px; position: relative; }
.field > label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.req { color: var(--danger); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px;
  padding: 15px 18px; background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #98a1b3; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: var(--white);
  box-shadow: 0 0 0 5px rgba(37,99,235,.12);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: #fff6f6; }
.field__error { display: none; color: var(--danger); font-size: .86rem; margin-top: 6px; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--blue-500); flex-shrink: 0; }

.form-note { font-size: .86rem; color: var(--muted); margin: 16px 0 0; display: flex; gap: 8px; align-items: center; justify-content: center; }
.form-note .icon { width: 16px; height: 16px; color: var(--success); }

.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success__icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; background: rgba(34,197,94,.12); color: var(--success);
  box-shadow: 0 0 0 10px rgba(34,197,94,.06);
}
.form-success__icon .icon { width: 40px; height: 40px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 0 26px;
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 0;
  font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-soft); font-size: 1.3rem; font-weight: 500;
  transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- Adatkezelés ---------- */
.legal { display: grid; grid-template-columns: 270px 1fr; gap: 60px; align-items: start; }
.legal__toc {
  position: sticky; top: 110px;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; font-size: .92rem;
}
.legal__toc strong { display: block; margin-bottom: 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-size: .8rem; font-weight: 700; padding-top: 2px; }
.legal__toc a:hover { background: var(--bg-soft); color: var(--blue-500); }
.legal__content { max-width: 820px; }
.legal__content h2 { font-size: 1.6rem; margin-top: 2.2em; scroll-margin-top: 110px; letter-spacing: -.03em; }
.legal__content h2:first-of-type { margin-top: 1em; }
.legal__content ul { padding-left: 22px; }
.legal__content li { margin-bottom: 8px; }
.legal__content li::marker { color: var(--blue-500); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; margin: 14px 0 22px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
.legal-table thead th { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--yellow-soft); border: 1px solid #ffe795;
  border-radius: 18px; padding: 18px 22px; margin-bottom: 10px;
}
.info-box .icon { color: #b98600; margin-top: 2px; }

/* ---------- Lábléc ---------- */
.footer { background: var(--navy-950); color: var(--muted-dark); padding: 100px 0 0; font-size: .95rem; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 50px; position: relative; z-index: 1; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer .logo { margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a { color: var(--muted-dark); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--yellow); margin-top: 4px; }
.footer__slogan { color: var(--white); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; margin-top: 20px; }
.footer__word {
  font-size: clamp(2.4rem, 10.6vw, 10.4rem); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  margin: 80px 0 0; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom {
  border-top: 1px solid var(--line-dark); padding: 24px 0 30px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem;
  position: relative; z-index: 1;
}

/* mobil hívás gomb */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--yellow); color: var(--navy-950);
  place-items: center; box-shadow: var(--glow-y);
}
.call-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--yellow); animation: ring 2s infinite;
}
.call-fab .icon { width: 26px; height: 26px; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--blue-400), var(--yellow));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* megjelenési animáció */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* =========================================================
   Reszponzív
   ========================================================= */
@media (max-width: 1140px) {
  .nav__phone { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .bento-risk { grid-template-columns: repeat(2, 1fr); grid-template-areas: "photo photo" "r1 r2" "r3 r4" "r5 note"; }
  .note-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 960px) {
  .section { padding: 90px 0; }
  .nav-toggle { display: block; }
  .header__bar { padding-left: 14px; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 14px; border-radius: 26px;
    background: rgba(6,17,39,.96); border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px) scale(.98); visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { padding: 14px 18px; font-size: 1.05rem; border-radius: 16px; }
  .nav__phone { display: flex; padding: 14px 18px; border-radius: 16px; }
  .nav .btn { --pad: 1em 1.25em; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: -1; background: rgba(3,9,22,.55);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

  .hero { padding: 140px 0 100px; min-height: 0; }
  .hero > .container, .about, .chat-layout, .contact-layout, .cta, .service { grid-template-columns: 1fr; }
  .hero__ui { min-height: 0; max-width: 520px; width: 100%; margin: 0 auto; padding: 44px 0 56px; }
  .ui-main { position: relative; top: 0; left: 0; right: 0; }
  .ui-float--a { top: 0; right: -8px; }
  .ui-float--b { bottom: 0; left: -8px; }
  .about { gap: 60px; }
  .about__media { max-width: 520px; margin: 0 auto; }
  .services-grid, .testimonials, .projects { grid-template-columns: 1fr 1fr; }
  .projects .photo-card--wide { grid-column: span 2; }
  .bento-benefits { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta { padding: 60px 40px; }
  .service { gap: 40px; }
  .service--reverse .service__media { order: 0; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .call-fab { display: grid; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .header { top: 10px; }
  .header__bar { margin: 0 10px; }
  .logo small { display: none; }
  .hero { padding: 120px 0 90px; }
  .hero__lead { font-size: 1.08rem; }
  .ui-main { padding: 20px; }
  .ui-float--a { right: 0; }
  .ui-float--b { left: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
  .bento-risk { grid-template-columns: 1fr; grid-template-areas: "photo" "r1" "r2" "r3" "r4" "r5" "note"; }
  .photo-card { min-height: 360px; padding: 26px; }
  .services-grid, .testimonials, .projects, .bento-benefits, .offers, .certs, .about__features, .field-row { grid-template-columns: 1fr; }
  .projects .photo-card--wide, .bento-benefits .span-2 { grid-column: auto; }
  .benefit-hero { grid-template-columns: 1fr; }
  .benefit-hero__num small { text-align: left; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 24px 20px; }
  .about__chip--a { left: 10px; top: 16px; }
  .about__chip--b { right: 10px; bottom: 16px; }
  .about__big { right: 14px; top: auto; bottom: 90px; padding: 14px 16px; }
  .about__big strong { font-size: 2rem; }
  .card, .offer { padding: 26px; }
  .cta { padding: 46px 24px; border-radius: var(--r-lg); }
  .form-card { padding: 28px 20px; border-radius: var(--r-lg); }
  .field-row { gap: 0; }
  .page-hero { padding: 140px 0 70px; }
  .footer { padding-top: 70px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .signature__script { display: none; }
  .marquee__item { font-size: 1rem; }
}

@media (max-width: 400px) {
  .steps { grid-template-columns: 1fr; }
  .stats > div { padding: 22px 16px; }
  .stats strong { font-size: 2rem; }
  .logo { font-size: 1rem; }
}
