/* =============================================================
   ESZIR — Egységes Szociális Információs Rendszer
   Design system: dark premium base, warm cream type, green→teal brand
   ============================================================= */

:root {
  --bg: #07090c;
  --bg-2: #0c1117;
  --bg-3: #121a22;
  --cream: #fff3ec;
  --cream-80: rgba(255, 243, 236, 0.8);
  --cream-60: rgba(255, 243, 236, 0.62);
  --cream-40: rgba(255, 243, 236, 0.4);
  --cream-15: rgba(255, 243, 236, 0.15);
  --cream-08: rgba(255, 243, 236, 0.08);
  --cream-04: rgba(255, 243, 236, 0.045);
  --green: #8cd03f;
  --green-deep: #5da41f;
  --teal: #4fc3d3;
  --teal-deep: #2a9aab;
  --paper: #f5f3ef;
  --paper-2: #ebe8e2;
  --ink: #0d1218;
  --ink-70: rgba(13, 18, 24, 0.7);
  --ink-50: rgba(13, 18, 24, 0.5);
  --ink-12: rgba(13, 18, 24, 0.12);
  --ink-06: rgba(13, 18, 24, 0.06);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before { /* film grain */
  content: "";
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--ink); }

/* ---------- Typography ---------- */
.display {
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  text-wrap: balance;
}
.h2 {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  text-wrap: balance;
}
.h3 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}
.h4 { font-weight: 500; letter-spacing: -0.015em; font-size: 1.125rem; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--cream-60); text-wrap: pretty; }
.body { color: var(--cream-60); font-size: 1rem; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream-60);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--teal)); box-shadow: 0 0 14px rgba(140, 208, 63, 0.6); }
.grad-text {
  background: linear-gradient(100deg, var(--green) 0%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--cream-60); }

/* split text wrappers */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w .wi { display: inline-block; will-change: transform; }
.scrub-words .sw { opacity: 0.16; transition: none; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 100px; font-weight: 500; font-size: 0.95rem;
  letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--cream); color: var(--ink); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(100deg, var(--green), var(--teal));
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(140, 208, 63, 0.55); }
.btn--primary:hover::after { opacity: 1; }
.btn--ghost { background: var(--cream-08); color: var(--cream); border: 1px solid var(--cream-15); backdrop-filter: blur(12px); }
.btn--ghost:hover { background: var(--cream-15); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(13, 18, 24, 0.6); }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  padding: 18px 0; transition: transform 0.6s var(--ease), padding 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-120%); }
.nav.is-scrolled { padding: 10px 0; }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 8px; border-radius: 100px;
  background: rgba(12, 17, 23, 0.55); border: 1px solid var(--cream-08);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
}
.brand { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 100px; background: var(--paper); }
.brand__logo { height: 22px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 10px 14px; border-radius: 100px; font-size: 0.92rem; color: var(--cream-80); transition: background 0.3s, color 0.3s; }
.nav__links a:hover { background: var(--cream-08); color: var(--cream); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav .btn { padding: 11px 18px; font-size: 0.9rem; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--cream-08); }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--cream); margin: 2.5px 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
@media (max-width: 1000px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: grid; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}
.nav__mobile {
  display: none; margin-top: 10px; padding: 14px; border-radius: var(--radius-lg);
  background: rgba(12, 17, 23, 0.85); border: 1px solid var(--cream-08); backdrop-filter: blur(20px);
}
.nav.is-open .nav__mobile { display: grid; gap: 4px; }
.nav__mobile a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
.nav__mobile a:hover { background: var(--cream-08); }
@media (min-width: 1001px) { .nav__mobile { display: none !important; } }
@media (max-width: 520px) {
  .nav { padding: 12px 0; }
  .nav__inner { padding: 5px; gap: 8px; }
  .brand { padding: 7px 11px; }
  .brand__logo { height: 18px; }
  .nav .btn { padding: 10px 14px; font-size: 0.85rem; }
  .nav__burger { width: 40px; height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: clamp(140px, 18vh, 200px); overflow: clip; isolation: isolate; }
.hero .container { position: relative; z-index: 1; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform;
}
.hero__glow--1 { width: 70vw; height: 70vw; left: -15vw; top: -30vw; background: radial-gradient(circle, rgba(140, 208, 63, 0.55), transparent 60%); }
.hero__glow--2 { width: 60vw; height: 60vw; right: -20vw; top: -10vw; background: radial-gradient(circle, rgba(79, 195, 211, 0.5), transparent 60%); }
.hero__glow--3 { width: 50vw; height: 50vw; left: 30vw; top: 40vh; background: radial-gradient(circle, rgba(211, 151, 148, 0.25), transparent 60%); }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.3;
  background-image: linear-gradient(var(--cream-04) 1px, transparent 1px), linear-gradient(90deg, var(--cream-04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 40% at 50% 22%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 40% at 50% 22%, #000 10%, transparent 70%);
}

/* ---------- Scene backdrop (glow, mist, sparks) ---------- */
.scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.scene--back { z-index: -1; }
.scene__sun {
  position: absolute; left: 50%; bottom: var(--sun-b, 30%); width: 80vw; max-width: 1200px; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 50%); filter: blur(24px);
  background: radial-gradient(circle, rgba(255, 243, 236, 0.34) 0%, rgba(184, 229, 122, 0.22) 20%, rgba(79, 195, 211, 0.1) 44%, transparent 66%);
}
.scene__spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px 2px rgba(140, 208, 63, 0.55); opacity: 0; animation: spark var(--d, 9s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes spark { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 25% { opacity: 0.9; } 60% { opacity: 0.5; } 100% { transform: translateY(-140px) translateX(18px) scale(1); opacity: 0; } }
.scene__mist { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(7, 9, 12, 0.35), transparent); }
.reduced .scene__spark { animation: none; }
.hero__content { text-align: center; max-width: 900px; margin-inline: auto; display: grid; justify-items: center; gap: 26px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 100px;
  background: var(--cream-08); border: 1px solid var(--cream-08); font-size: 0.82rem; color: var(--cream-80);
}
.hero__pill b { font-weight: 600; padding: 3px 9px; border-radius: 100px; background: linear-gradient(100deg, var(--green), var(--teal)); color: var(--ink); font-size: 0.72rem; letter-spacing: 0.04em; }
.hero .display { max-width: 16ch; }
.hero .lead { max-width: 56ch; }
.hero__meta { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 0.85rem; color: var(--cream-40); margin-top: 6px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 14px; height: 14px; color: var(--green); }

/* Hero stage — layered 3D product */
.hero__stage {
  --stage-pad: 144px; /* just clears the cards that hang below the screenshot */
  position: relative; margin-top: clamp(50px, 8vw, 100px); perspective: 1600px; perspective-origin: 50% 0%;
  padding-bottom: var(--stage-pad);
}
@media (max-width: 720px) { .hero__stage { --stage-pad: 64px; } } /* no cards on phones */
.stage__main {
  position: relative; width: min(1040px, 100%); margin-inline: auto;
  border-radius: 20px; overflow: hidden;
  background: #151c24; border: 1px solid var(--cream-15);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0,0,0,0.5), 0 30px 60px -30px rgba(140, 208, 63, 0.25);
  transform-origin: 50% 0%; will-change: transform;
}
.stage__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #1a232d; border-bottom: 1px solid var(--cream-08); }
.stage__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-15); }
.stage__bar i:nth-child(1) { background: #ff5f57; } .stage__bar i:nth-child(2) { background: #febc2e; } .stage__bar i:nth-child(3) { background: #28c840; }
.stage__url { margin-left: 12px; flex: 1; max-width: 420px; height: 24px; border-radius: 6px; background: var(--cream-08); font-size: 0.72rem; color: var(--cream-40); display: flex; align-items: center; padding-inline: 10px; gap: 6px; white-space: nowrap; overflow: hidden; }
.stage__url svg { width: 11px; height: 11px; color: var(--green); }
.stage__main img { width: 100%; }
.stage__fade { position: absolute; inset: auto 0 0 0; height: 26%; background: linear-gradient(to bottom, transparent, rgba(7, 9, 12, 0.85)); pointer-events: none; z-index: 2; }

.float {
  position: absolute; z-index: 3; border-radius: 16px; will-change: transform;
  background: rgba(20, 27, 35, 0.72); border: 1px solid var(--cream-15);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
}
.float--activity { left: max(-10px, calc(50% - 660px)); top: calc((100% - var(--stage-pad)) * 0.136); width: 270px; padding: 14px 16px; display: grid; gap: 10px; }
.float--activity .row { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--cream-80); }
.float .tag { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.pill { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; padding: 3px 7px; border-radius: 100px; white-space: nowrap; }
.pill--ok { background: rgba(140, 208, 63, 0.18); color: var(--green); }
.pill--info { background: rgba(79, 195, 211, 0.18); color: var(--teal); }
.float--chart { right: max(-10px, calc(50% - 650px)); top: calc((100% - var(--stage-pad)) * 0.516); width: 230px; padding: 16px 18px; display: grid; gap: 10px; }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; }
.chart__head b { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.04em; }
.chart__rows { display: grid; gap: 7px; }
.chart__row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 10px; row-gap: 4px; font-size: 0.76rem; color: var(--cream-80); }
.chart__row b { font-weight: 500; font-size: 0.8rem; color: var(--cream); font-variant-numeric: tabular-nums; }
.chart__row i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--cream-08); overflow: hidden; }
.chart__row em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--teal)); }
.float--chart .lbl { font-size: 0.78rem; color: var(--cream-60); }
.float--stat { right: max(-10px, calc(50% - 650px)); top: calc((100% - var(--stage-pad)) * 0.082); width: 250px; padding: 18px 20px; }
.float--stat .num { font-size: 2.6rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.float--stat .num small { font-size: 1rem; color: var(--cream-60); letter-spacing: 0; margin-left: 4px; }
.float--stat .lbl { font-size: 0.82rem; color: var(--cream-60); margin-top: 6px; }
.float--gdpr { right: max(10px, calc(50% - 580px)); top: calc((100% - var(--stage-pad)) * 1.033); width: 200px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.float--gdpr img { width: 46px; }
.float--gdpr b { display: block; font-weight: 500; font-size: 0.9rem; }
.float--gdpr span { font-size: 0.75rem; color: var(--cream-60); }
.float--task { left: max(20px, calc(50% - 560px)); top: calc((100% - var(--stage-pad)) * 0.951); width: 260px; padding: 14px 16px; display: grid; gap: 10px; }
.float--task .row { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--cream-80); }
.float--task .row i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--cream-40); display: grid; place-items: center; flex: none; }
.float--task .row.done i { background: var(--green); border-color: var(--green); }
.float--task .row.done i::after { content: ""; width: 5px; height: 8px; border: 2px solid var(--ink); border-top: 0; border-left: 0; transform: translateY(-1px) rotate(45deg); }
.float--task .row.done { color: var(--cream-40); text-decoration: line-through; }
@media (max-width: 1100px) { .float--activity, .float--task { display: none; } }
@media (max-width: 720px) { .float { display: none; } .stage__main { border-radius: 12px; } }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--cream-08); padding-block: 28px; overflow: hidden; background: var(--bg-2); }
.strip__label { text-align: center; font-size: 0.78rem; color: var(--cream-40); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; padding-right: 14px; flex: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 100px;
  background: var(--cream-04); border: 1px solid var(--cream-08); font-size: 0.92rem; color: var(--cream-80); white-space: nowrap;
}
.chip svg { width: 16px; height: 16px; color: var(--green); }
.chip b { font-weight: 500; color: var(--cream); }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(100px, 14vw, 200px); }
.statement p { font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.22; letter-spacing: -0.03em; font-weight: 500; max-width: 1000px; text-wrap: pretty; }
.statement .eyebrow { margin-bottom: 30px; }

/* ---------- Product cards ---------- */
.product {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px);
  background: linear-gradient(180deg, var(--cream-08), var(--cream-04)); border: 1px solid var(--cream-08);
  display: grid; gap: 22px; min-height: 520px; isolation: isolate;
  transition: transform 0.7s var(--ease), border-color 0.5s;
  grid-template-rows: auto auto auto auto auto 1fr; /* logo, title, text, tags, link, shot: spare height of an equal-height card goes to the shot row, so the logo pill and text keep their size */
}
.product:hover { transform: translateY(-6px); border-color: var(--cream-15); }
.product::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55; filter: blur(60px); transition: opacity 0.6s; }
.product--green::before { background: radial-gradient(circle at 80% 110%, rgba(140, 208, 63, 0.55), transparent 55%); }
.product--blue::before { background: radial-gradient(circle at 80% 110%, rgba(79, 195, 211, 0.5), transparent 55%); }
.product:hover::before { opacity: 0.9; }
.product__logo { width: 150px; padding: 12px 16px; border-radius: 12px; background: var(--paper); }
.product__logo img { width: 100%; }
.product .h3 { max-width: 20ch; }
.product .body { max-width: 52ch; }
.product__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product__tags span { font-size: 0.78rem; padding: 6px 11px; border-radius: 100px; background: var(--cream-08); border: 1px solid var(--cream-08); color: var(--cream-80); }
.product__shot { margin-top: auto; border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--cream-15); border-bottom: 0; transform: translateY(10px); box-shadow: 0 -20px 60px -30px rgba(0,0,0,0.8); transition: transform 0.7s var(--ease); }
.product:hover .product__shot { transform: translateY(0); }
.product__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.95rem; }
.product__link svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.product__link:hover svg { transform: translateX(4px); }

/* Atlas platform badge — both ESZIR systems run on the Atlas framework */
.atlas-badge {
  display: inline-flex; align-items: center; gap: 14px; justify-self: start; max-width: 100%;
  padding: 7px 18px 7px 7px; border-radius: 100px; font-size: 0.9rem; line-height: 1.35;
  background: var(--cream-04); border: 1px solid var(--cream-08); color: var(--cream-60);
}
.atlas-badge__logo { flex: none; display: inline-flex; padding: 8px 14px; border-radius: 100px; background: var(--paper); }
.atlas-badge__logo img { height: 20px; width: auto; }
.theme-light .atlas-badge { background: #fff; border-color: var(--ink-12); color: var(--ink-70); }
.theme-light .atlas-badge__logo { background: var(--paper-2); }
@media (max-width: 520px) { .atlas-badge { border-radius: 18px; } .atlas-badge__logo { border-radius: 12px; } }

/* ---------- Stacked benefits ---------- */
.stack { position: relative; }
.stack__intro { position: sticky; top: 0; z-index: 0; }
.stack__card {
  position: sticky; top: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center;
  min-height: 78vh; padding: clamp(28px, 4vw, 56px); margin-bottom: 4vh; border-radius: var(--radius-lg);
  background: var(--bg-3); border: 1px solid var(--cream-08); overflow: hidden; isolation: isolate;
  transform-origin: 50% 0%; will-change: transform;
  box-shadow: 0 -20px 80px -30px rgba(0, 0, 0, 0.9);
}
.stack__card .num { font-size: 0.85rem; color: var(--cream-40); letter-spacing: 0.06em; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.stack__card .num::after { content: ""; flex: 1; max-width: 60px; height: 1px; background: var(--cream-15); }
.stack__card .h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); margin-bottom: 18px; }
.stack__card .body { max-width: 52ch; font-size: 1.02rem; }
.stack__card .highlight { color: var(--cream); }
.stack__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 5/4; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.stack__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 9, 12, 0.6)); }
.stack__media .cap {
  position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 10px 14px; border-radius: 12px;
  background: rgba(12, 17, 23, 0.7); border: 1px solid var(--cream-15); backdrop-filter: blur(12px); font-size: 0.82rem;
}
.stack__media .cap b { display: block; font-weight: 500; font-size: 1.3rem; letter-spacing: -0.03em; }
@media (max-width: 900px) {
  .stack__card { grid-template-columns: 1fr; min-height: auto; position: relative; margin-bottom: 20px; }
  .stack__media { aspect-ratio: 16/10; order: -1; }
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--cream-08); border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-04); }
.stat { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--cream-08); display: grid; gap: 8px; }
.stat:last-child { border-right: 0; }
.stat .val { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.stat .val small { display: block; font-size: 0.3em; color: var(--cream-60); letter-spacing: -0.01em; margin-top: 8px; font-weight: 400; }
.stat .lbl { color: var(--cream-60); font-size: 0.92rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--cream-08); } }

/* ---------- Light "paper" theme ---------- */
.theme-light { background: var(--paper); color: var(--ink); border-radius: 44px 44px 0 0; position: relative; z-index: 2; }
.theme-light .lead, .theme-light .body, .theme-light .muted { color: var(--ink-70); }
.theme-light .eyebrow { color: var(--ink-50); }
.theme-light .btn--ghost { background: var(--ink-06); color: var(--ink); border-color: var(--ink-12); }
.theme-light ::selection { background: var(--ink); color: var(--paper); }
.theme-light .scrub-words .sw { opacity: 0.14; }
.theme-light--end { border-radius: 0 0 44px 44px; }
@media (max-width: 720px) { .theme-light { border-radius: 24px 24px 0 0; } .theme-light--end { border-radius: 0 0 24px 24px; } }

/* Modules grid (no screenshots) */
.modules { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.modules__side { position: sticky; top: 12vh; display: grid; gap: 22px; }
.modules__side .h2 { max-width: 14ch; }
.modules__side .lead { max-width: 40ch; }
.modules__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 22px; padding: 22px 0; border-top: 1px solid var(--ink-12); border-bottom: 1px solid var(--ink-12); }
.modules__facts b { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.modules__facts span { display: block; font-size: 0.8rem; color: var(--ink-50); margin-top: 6px; }
.modules__side .btn { justify-self: start; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.module {
  position: relative; overflow: hidden; padding: 26px; border-radius: 20px; display: grid; gap: 12px; align-content: start;
  background: #fff; border: 1px solid var(--ink-12); isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}
.module::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--teal)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.module::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; z-index: -1; opacity: 0; filter: blur(30px); background: radial-gradient(circle, rgba(140, 208, 63, 0.35), transparent 65%); transition: opacity 0.6s; }
.module:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(13, 18, 24, 0.35); border-color: rgba(13, 18, 24, 0.2); }
.module:hover::before { transform: scaleX(1); }
.module:hover::after { opacity: 1; }
.module__idx { position: absolute; top: 20px; right: 22px; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-50); }
.module__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--paper-2); color: var(--green-deep); margin-bottom: 6px; transition: background 0.5s, color 0.5s; }
.module__icon svg { width: 22px; height: 22px; }
.module:hover .module__icon { background: linear-gradient(135deg, var(--green), var(--teal)); color: var(--ink); }
.module .h4 { font-size: 1.15rem; }
.module .body { font-size: 0.93rem; }
@media (max-width: 1000px) { .modules { grid-template-columns: 1fr; } .modules__side { position: static; } }
@media (max-width: 640px) { .module-grid { grid-template-columns: 1fr; } }

/* Alapellátás cards */
.feature-card {
  border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--ink-12);
  display: grid; grid-template-rows: auto 1fr; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow: 0 1px 2px rgba(13, 18, 24, 0.04);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13, 18, 24, 0.35); }
.feature-card__media { aspect-ratio: 16/9.5; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--ink-06); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1s var(--ease); }
.feature-card:hover .feature-card__media img { transform: scale(1.04); }
/* close-up variant: a real-size UI fragment (drawn UI or an image) on a tinted backdrop, bleeding off the right and bottom edge */
.feature-card__media--crop { position: relative; background: radial-gradient(85% 110% at 0% 0%, rgba(79, 195, 211, 0.34), transparent 62%), var(--paper-2); } /* glow top-left: the fragment covers the rest */
.feature-card__media--crop > *, .feature-card__media--crop > img {
  position: absolute; left: 7%; top: 13%; width: auto; height: auto; max-width: none; object-fit: none; transition: transform 1s var(--ease);
  background: #fff; border: 1px solid var(--ink-12); border-radius: 10px 0 0 0;
  box-shadow: 0 26px 50px -22px rgba(13, 18, 24, 0.4), 0 2px 6px rgba(13, 18, 24, 0.06);
}
.feature-card:hover .feature-card__media--crop > * { transform: translate(-6px, -6px); }
.feature-card__body { padding: 24px; display: grid; gap: 10px; align-content: start; } /* equal-height cards: keep text top-aligned */
.note {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: 18px; margin-top: 28px;
  background: #fff; border: 1px solid var(--ink-12);
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--teal-deep); margin-top: 2px; }

/* Split section (mobile / gdpr) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split > .copy { display: grid; gap: 20px; }
.split .copy .h2 { max-width: 16ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--cream-80); font-size: 0.98rem; }
.theme-light .checks li { color: var(--ink-70); }
.checks li span:not(.check-icon) { flex: 1; }
.check-icon { width: 20px; height: 20px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--teal)); display: grid; place-items: center; margin-top: 2px; }
.check-icon::after { content: ""; width: 5px; height: 9px; border: 2px solid var(--ink); border-top: 0; border-left: 0; transform: translateY(-1px) rotate(45deg); }

/* Mobile section (photo parallax) */
.mobile { position: relative; overflow: clip; padding-block: clamp(100px, 14vw, 200px); isolation: isolate; }
.mobile__bg { position: absolute; inset: -12% 0; z-index: -2; }
.mobile__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; will-change: transform; }
.mobile__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 12, 0.97) 0%, rgba(7, 9, 12, 0.9) 40%, rgba(7, 9, 12, 0.35) 100%); }
.mobile__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.mobile__copy { max-width: 680px; }

/* Video */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: #000; border: 1px solid var(--cream-15); box-shadow: 0 60px 120px -50px rgba(0,0,0,0.9); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 1.2s var(--ease), opacity 0.6s; }
.video:hover img { transform: scale(1.03); opacity: 0.95; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play span {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 243, 236, 0.92); color: var(--ink); backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease), background 0.4s; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.8);
}
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video:hover .video__play span { transform: scale(1.08); background: var(--green); }
.video__label { position: absolute; left: 24px; bottom: 22px; font-size: 0.85rem; color: var(--cream-80); display: flex; gap: 10px; align-items: center; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  position: relative; padding: 30px; border-radius: 22px; display: grid; gap: 20px; align-content: start;
  background: linear-gradient(180deg, var(--cream-08), var(--cream-04)); border: 1px solid var(--cream-08);
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--cream-15); }
.quote__mark { width: 34px; height: 34px; color: var(--green); }
.quote p { font-size: 0.98rem; line-height: 1.6; color: var(--cream-80); }
.quote footer { margin-top: auto; display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--cream-08); }
.quote footer b { font-weight: 500; }
.quote footer span { font-size: 0.85rem; color: var(--cream-60); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Bento (security) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento__cell {
  position: relative; overflow: hidden; padding: 28px; border-radius: 22px; display: grid; gap: 12px; align-content: start;
  background: var(--bg-3); border: 1px solid var(--cream-08); min-height: 220px; isolation: isolate;
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.bento__cell:hover { transform: translateY(-4px); border-color: var(--cream-15); }
.bento__cell .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-08); color: var(--green); margin-bottom: 6px; }
.bento__cell .icon svg { width: 22px; height: 22px; }
.bento__cell .h4 { font-size: 1.15rem; }
.bento__cell .body { font-size: 0.95rem; }
.bento__cell--wide { grid-column: span 4; }
.bento__cell--2 { grid-column: span 2; }
.bento__cell--3 { grid-column: span 3; }
.bento__cell--feature { background: linear-gradient(135deg, rgba(140, 208, 63, 0.16), rgba(79, 195, 211, 0.12)), var(--bg-3); }
.bento__cell--feature .h3 { max-width: 22ch; }
.bento__badge { position: absolute; right: 24px; top: 24px; width: 92px; opacity: 0.95; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }
.bento__rings { position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; z-index: -1; opacity: 0.5; }
.bento__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cream-15); }
.bento__rings i:nth-child(2) { inset: 40px; } .bento__rings i:nth-child(3) { inset: 80px; } .bento__rings i:nth-child(4) { inset: 120px; border-color: var(--green); opacity: 0.6; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento__cell { grid-column: span 1 !important; min-height: 0; } }

/* Audit support */
.audit { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.audit__panel {
  position: relative; border-radius: 22px; padding: 22px; display: grid; gap: 16px;
  background: linear-gradient(180deg, rgba(20, 27, 35, 0.9), rgba(12, 17, 23, 0.9)); border: 1px solid var(--cream-15);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.audit__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--cream-08); }
.audit__head .tag { display: block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.audit__head b { font-weight: 500; font-size: 0.95rem; }
.audit__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 100px; font-size: 0.72rem; background: rgba(140, 208, 63, 0.12); color: var(--green); border: 1px solid rgba(140, 208, 63, 0.25); white-space: nowrap; }
.audit__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.audit__rows { display: grid; gap: 6px; }
.audit__row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px; background: var(--cream-04); font-size: 0.85rem; }
.audit__doc { color: var(--cream); }
.audit__meta { color: var(--cream-40); font-size: 0.75rem; }
.audit__foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--cream-08); font-size: 0.78rem; color: var(--cream-60); }
.audit__foot b { font-weight: 500; color: var(--cream); }
.audit__progress { flex: 1; height: 4px; border-radius: 4px; background: var(--cream-08); overflow: hidden; }
.audit__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--teal)); }
.audit__list { display: grid; gap: 14px; }
.audit__list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: var(--cream-04); border: 1px solid var(--cream-08); transition: transform 0.6s var(--ease), border-color 0.4s; }
.audit__list li:hover { transform: translateX(6px); border-color: var(--cream-15); }
.audit__list .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-08); color: var(--green); }
.audit__list .icon svg { width: 20px; height: 20px; }
.audit__list .h4 { margin-bottom: 6px; }
.audit__list .body { font-size: 0.92rem; }
.audit__outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.outcome { position: relative; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, var(--cream-08), var(--cream-04)); border: 1px solid var(--cream-08); display: grid; gap: 14px; align-content: start; overflow: hidden; }
.outcome::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--teal)); opacity: 0.7; }
.outcome__idx { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--cream-40); }
.outcome .h4 { font-size: 1.02rem; line-height: 1.35; }
@media (max-width: 900px) { .audit { grid-template-columns: 1fr; } .audit__outcomes { grid-template-columns: 1fr 1fr; } .audit__row { grid-template-columns: 1fr auto; } .audit__meta { display: none; } }
@media (max-width: 520px) { .audit__outcomes { grid-template-columns: 1fr; } }

/* Accordion (SaaS) */
.accordion { display: grid; border-top: 1px solid var(--cream-08); }
.acc { border-bottom: 1px solid var(--cream-08); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; }
.acc__btn .t { display: flex; align-items: center; gap: 18px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em; }
.acc__btn .t small { font-size: 0.8rem; color: var(--cream-40); letter-spacing: 0.06em; }
.acc__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cream-15); display: grid; place-items: center; position: relative; transition: background 0.4s, transform 0.5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--cream); width: 14px; height: 1.5px; transition: transform 0.5s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon { background: var(--cream); transform: rotate(45deg); }
.acc.is-open .acc__icon::before, .acc.is-open .acc__icon::after { background: var(--ink); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 0 30px 58px; max-width: 70ch; color: var(--cream-60); }
@media (max-width: 720px) { .acc__panel p { padding-left: 0; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  position: relative; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius-lg); display: grid; gap: 22px; align-content: start;
  background: linear-gradient(180deg, var(--cream-08), var(--cream-04)); border: 1px solid var(--cream-08); isolation: isolate; overflow: hidden;
  grid-template-rows: auto auto 1fr auto; /* head, text, list, button: the list row takes spare height, so buttons line up at the bottom of side-by-side plans */
}
.plan--featured { border-color: rgba(140, 208, 63, 0.35); }
.plan--featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(140, 208, 63, 0.22), transparent 50%), radial-gradient(circle at 0% 100%, rgba(79, 195, 211, 0.18), transparent 50%); }
.plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan__name { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-60); }
.plan__price { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.plan__price small { font-size: 1rem; letter-spacing: 0; color: var(--cream-60); font-weight: 400; }
.plan__tag { font-size: 0.72rem; padding: 6px 10px; border-radius: 100px; background: linear-gradient(100deg, var(--green), var(--teal)); color: var(--ink); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.plan ul { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--cream-08); }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--cream-80); font-size: 0.98rem; }
.plan li span:not(.check-icon) { flex: 1; }
.plan .btn { justify-self: start; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

/* Final CTA */
.cta { position: relative; overflow: clip; isolation: isolate; text-align: center; padding-block: clamp(120px, 16vw, 220px); }
.cta .container { position: relative; z-index: 1; }
.cta__glow { position: absolute; left: 50%; top: 50%; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%; filter: blur(90px); opacity: 0.5; background: radial-gradient(circle, rgba(140, 208, 63, 0.4), rgba(79, 195, 211, 0.25) 40%, transparent 65%); }
.cta__rings { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120vw; max-width: 1400px; aspect-ratio: 1; z-index: -1; opacity: 0.5; }
.cta__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cream-08); }
.cta__rings i:nth-child(2) { inset: 12%; } .cta__rings i:nth-child(3) { inset: 24%; } .cta__rings i:nth-child(4) { inset: 36%; }
.cta .display { max-width: 18ch; margin-inline: auto; }
.cta .lead { max-width: 52ch; margin: 24px auto 36px; }
.cta .btn-row { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--cream-08); padding: 60px 0 36px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer__grid .body { font-size: 0.92rem; max-width: 34ch; margin-top: 14px; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-40); margin-bottom: 16px; font-weight: 500; }
.footer ul { display: grid; gap: 10px; }
.footer li a { color: var(--cream-80); font-size: 0.95rem; transition: color 0.3s; }
.footer li a:hover { color: var(--green); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--cream-08); font-size: 0.85rem; color: var(--cream-40); }
.footer__partners { display: flex; gap: 14px; align-items: center; }
.footer__partners a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--cream-08); opacity: 0.8; transition: opacity 0.3s, background 0.3s; }
.footer__partners a:hover { opacity: 1; background: var(--cream-15); }
.footer__partners img { width: 34px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Form pages ---------- */
.page-hero { position: relative; padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(60px, 8vw, 120px); overflow: clip; isolation: isolate; }
.page-hero .hero__bg { z-index: -1; }
.form-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.form-layout .copy { display: grid; gap: 22px; position: sticky; top: 120px; }
.form-layout .copy .display { font-size: clamp(2.3rem, 5vw, 4rem); }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .form-layout .copy { position: static; } }
.form-card {
  padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--cream-08), var(--cream-04)); border: 1px solid var(--cream-15);
  backdrop-filter: blur(20px); display: grid; gap: 16px;
}
.form-card__head { display: grid; gap: 6px; margin-bottom: 8px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.82rem; color: var(--cream-60); }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px; font: inherit; color: var(--cream);
  background: var(--cream-04); border: 1px solid var(--cream-15); outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--cream-40); }
.field input:focus, .field textarea:focus { border-color: var(--green); background: var(--cream-08); box-shadow: 0 0 0 4px rgba(140, 208, 63, 0.14); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--cream-40); }
.form-note a { color: var(--cream-80); text-decoration: underline; text-underline-offset: 3px; }
.form-msg { display: none; padding: 16px 18px; border-radius: 12px; font-size: 0.95rem; }
.form-msg.is-error { display: block; background: rgba(255, 95, 87, 0.12); border: 1px solid rgba(255, 95, 87, 0.35); }
.form-msg.is-success { display: block; background: rgba(140, 208, 63, 0.12); border: 1px solid rgba(140, 208, 63, 0.4); }
.form-msg .error_message, .form-msg h4 { margin: 0; font-weight: 500; }
.btn.is-loading { opacity: 0.6; pointer-events: none; }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--cream-04); border: 1px solid var(--cream-08); }
.step i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.8rem; font-weight: 600; background: linear-gradient(135deg, var(--green), var(--teal)); color: var(--ink); }
.step b { display: block; font-weight: 500; margin-bottom: 2px; }
.step span { font-size: 0.9rem; color: var(--cream-60); }

/* ---------- Reveal defaults (JS enhances) ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }
.reduced .w .wi { transform: none !important; }
.reduced .scrub-words .sw { opacity: 1 !important; }

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow { position: fixed; z-index: -1; left: 0; top: 0; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(140, 208, 63, 0.08), transparent 60%); opacity: 0; transition: opacity 0.8s; }
@media (hover: hover) and (pointer: fine) { body.has-cursor .cursor-glow { opacity: 1; } }

/* ---------- Progress bar ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1100; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green), var(--teal)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Legal / document pages ---------- */
.legal-hero { padding-bottom: clamp(40px, 5vw, 70px); }
.legal-hero .copy { display: grid; gap: 24px; max-width: 900px; }
.legal-hero .display { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 4px;
}
.legal-meta__item {
  display: grid; gap: 3px; padding: 12px 18px; border-radius: 14px;
  background: var(--cream-04); border: 1px solid var(--cream-08); backdrop-filter: blur(12px);
}
.legal-meta__item span { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--cream-40); }
.legal-meta__item b { font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em; }

.legal-body { padding-block: clamp(20px, 4vw, 50px) clamp(80px, 10vw, 140px); position: relative; }
.legal-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }

.legal-toc { position: sticky; top: 108px; display: grid; gap: 2px; }
.legal-toc h4 {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-40); font-weight: 500; margin-bottom: 14px; padding-left: 15px;
}
.legal-toc__list { display: grid; gap: 1px; border-left: 1px solid var(--cream-08); }
.legal-toc a {
  position: relative; display: block; padding: 9px 14px; margin-left: -1px;
  border-left: 1px solid transparent; border-radius: 0 10px 10px 0;
  font-size: 0.875rem; line-height: 1.35; color: var(--cream-40);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.legal-toc a:hover { color: var(--cream-80); background: var(--cream-04); }
.legal-toc a.is-active { color: var(--cream); background: var(--cream-04); border-left-color: var(--green); }
.legal-toc__foot { margin-top: 22px; padding-left: 15px; display: grid; gap: 10px; justify-items: start; }
.legal-toc__foot a { font-size: 0.85rem; color: var(--cream-60); padding: 0; border: 0; }
.legal-toc__foot a:hover { color: var(--green); background: none; }

.legal-prose { max-width: 76ch; }
.legal-sec { padding-block: clamp(38px, 5vw, 62px); border-top: 1px solid var(--cream-08); scroll-margin-top: 100px; }
.legal-sec:first-child { border-top: 0; padding-top: 0; }
.legal-sec__head { display: grid; gap: 12px; margin-bottom: 26px; }
.legal-sec__num {
  font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 500; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--green), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal-sec h2 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-wrap: balance; }
.legal-sec h3 {
  font-weight: 500; letter-spacing: -0.02em; font-size: 1.12rem; color: var(--cream);
  margin: 40px 0 14px;
}
.legal-sec h3:first-child { margin-top: 0; }
.legal-prose p { color: var(--cream-60); font-size: 1rem; line-height: 1.78; margin-block: 1.05em; text-wrap: pretty; }
.legal-prose p:first-child { margin-top: 0; }
.legal-prose p:last-child { margin-bottom: 0; }
.legal-prose strong { color: var(--cream-80); font-weight: 500; }
.legal-prose a:not(.btn) { color: var(--cream-80); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--cream-15); transition: color 0.3s, text-decoration-color 0.3s; }
.legal-prose a:not(.btn):hover { color: var(--green); text-decoration-color: var(--green); }
.legal-prose .lead-in { color: var(--cream-80); font-size: 1.05rem; line-height: 1.7; }

/* numbered clause list */
.clauses { display: grid; margin: 22px 0; }
.clauses > li {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 14px;
  padding: 16px 0; border-top: 1px solid var(--cream-08);
}
.clauses > li:last-child { border-bottom: 1px solid var(--cream-08); }
.clauses > li > :not(.clauses__n) { grid-column: 2; }
.clauses__n {
  font-size: 0.82rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  color: var(--green); padding-top: 0.28em;
}
.clauses p { margin: 0; }
.clauses p + p { margin-top: 0.8em; }
.clauses ul.sub { display: grid; gap: 8px; margin-top: 12px; }
.clauses ul.sub li { position: relative; padding-left: 18px; color: var(--cream-60); font-size: 0.95rem; line-height: 1.65; }
.clauses ul.sub li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 1px; background: var(--green); }
@media (max-width: 560px) { .clauses > li { grid-template-columns: 1fr; gap: 6px; } .clauses > li > :not(.clauses__n) { grid-column: 1; } .clauses__n { padding-top: 0; } }

/* plain bullet list */
.legal-list { display: grid; gap: 10px; margin: 18px 0; }
.legal-list li { position: relative; padding-left: 22px; color: var(--cream-60); line-height: 1.7; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: linear-gradient(90deg, var(--green), var(--teal)); }
.legal-list li strong { color: var(--cream-80); font-weight: 500; }

/* callout */
.callout {
  display: grid; gap: 8px; margin: 26px 0; padding: 20px 24px;
  border-radius: 18px; border: 1px solid var(--cream-08); border-left: 2px solid var(--green);
  background: linear-gradient(100deg, rgba(140, 208, 63, 0.07), var(--cream-04) 60%);
}
.callout b { font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em; }
.callout p { margin: 0; font-size: 0.95rem; }
.callout--warn { border-left-color: #ff8a80; background: linear-gradient(100deg, rgba(255, 138, 128, 0.08), var(--cream-04) 60%); }
.callout--warn b { color: #ffb4ad; }

/* data-processor cards */
.proc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; } /* 2 per row in the text column: 4 processors make a 2×2 grid */
.proc {
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--cream-08);
  background: linear-gradient(180deg, var(--cream-08), var(--cream-04));
  display: grid; gap: 10px; align-content: start;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.proc:hover { border-color: var(--cream-15); transform: translateY(-3px); }
.proc h4 { font-size: 1rem; font-weight: 500; letter-spacing: -0.015em; }
.proc dl { display: grid; gap: 8px; margin: 0; }
.proc dt { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--cream-40); }
.proc dd { margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--cream-60); }

/* end-of-document CTA */
.legal-cta {
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--radius-lg); border: 1px solid var(--cream-15);
  background: linear-gradient(180deg, var(--cream-08), var(--cream-04)); backdrop-filter: blur(20px);
  display: grid; gap: 16px; justify-items: start;
}
.legal-cta .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

@media (max-width: 1000px) {
  .legal-layout { grid-template-columns: 1fr; gap: 26px; }
  .legal-toc { position: sticky; top: 62px; z-index: 5; padding: 12px 0; margin: 0 calc(var(--gutter) * -1); background: rgba(7, 9, 12, 0.86); backdrop-filter: blur(16px); border-bottom: 1px solid var(--cream-08); }
  .legal-toc::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 62px; pointer-events: none; background: linear-gradient(180deg, rgba(7, 9, 12, 0), rgba(7, 9, 12, 0.86)); }
  .legal-toc h4, .legal-toc__foot { display: none; }
  .legal-toc__list { display: flex; gap: 8px; overflow-x: auto; border-left: 0; padding-inline: var(--gutter); scrollbar-width: none; }
  .legal-toc__list::-webkit-scrollbar { display: none; }
  .legal-toc a { flex: none; white-space: nowrap; margin: 0; border: 1px solid var(--cream-08); border-radius: 100px; padding: 8px 14px; background: var(--cream-04); }
  .legal-toc a.is-active { border-color: var(--green); background: rgba(140, 208, 63, 0.1); }
  .legal-sec { scroll-margin-top: 130px; }
}

/* ---------- Print (legal documents are often saved as PDF) ---------- */
@media print {
  body { background: #fff; color: #111; }
  body::before, .progress, .cursor-glow, .hero__bg, .hero__grid, .nav, .footer, .legal-toc, .legal-cta { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .page-hero { padding: 0 0 18px; }
  .legal-body { padding: 0; }
  .legal-layout { display: block; }
  .legal-prose { max-width: none; }
  .legal-meta__item { border-color: #ccc; background: none; }
  .legal-meta__item span, .legal-prose p, .clauses ul.sub li, .legal-list li, .proc dd { color: #333; }
  .legal-meta__item b, .legal-sec h2, .legal-sec h3, .legal-prose strong, .callout b, .proc h4 { color: #111; }
  .legal-sec { break-inside: auto; border-color: #ddd; }
  .legal-sec__head, .callout, .proc, .clauses > li { break-inside: avoid; }
  .legal-sec__num { color: #666; -webkit-text-fill-color: #666; }
  .callout, .proc { background: none; border: 1px solid #ccc; }
  .clauses__n { color: #111; }
  .legal-prose a:not(.btn) { color: #111; }
  .display, .h2 { color: #111; }
  .grad-text { -webkit-text-fill-color: #111; color: #111; }
}

/* ---------- Cookie consent banner (js/consent.js) ---------- */
.consent {
  position: fixed; z-index: 1200; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(720px, calc(100% - 32px)); display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px;
  padding: 18px 20px; border-radius: var(--radius-lg);
  background: rgba(12, 17, 23, 0.92); border: 1px solid var(--cream-15); color: var(--cream-80);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  animation: consent-in 0.6s var(--ease) both;
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.consent__text { flex: 1 1 320px; margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--cream-60); }
.consent__text b { display: block; margin-bottom: 4px; font-weight: 500; font-size: 0.95rem; color: var(--cream); }
.consent__text a { color: var(--cream-80); text-decoration: underline; text-underline-offset: 3px; }
.consent__text a:hover { color: var(--green); }
.consent__actions { flex: none; display: flex; gap: 10px; }
.consent .btn { padding: 11px 20px; font-size: 0.9rem; }
.footer__consent { padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--cream-15); transition: color 0.3s; }
.footer__consent:hover { color: var(--green); }
@media (max-width: 520px) {
  .consent { bottom: 12px; padding: 16px; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; justify-content: center; }
}
@media print { .consent { display: none !important; } }

/* =============================================================
   ESZIR — page-specific blocks
   (everything above is shared with futuram-new/css/style.css)
   ============================================================= */

/* ---------- Drawn UI fragments (Alapellátás cards) ----------
   Crisp HTML redraws of real ESZIR Alapellátás screens, with the product's own demo data.
   Framed by .feature-card__media--crop; each one is role="img" with an aria-label. */
.ui-frag {
  --ui-blue: #72b7d6; --ui-green: #58bd5c; --ui-text: #3c4146; --ui-muted: #7b8187; --ui-line: #e7e9ec;
  font-family: var(--font); font-size: 11px; line-height: 1.35; color: var(--ui-muted);
  letter-spacing: 0; text-align: left; user-select: none; -webkit-user-select: none;
}
.ui-frag svg { width: 12px; height: 12px; flex: none; }

.ui-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 8px; border-radius: 3px;
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; text-align: center; white-space: nowrap;
}
.ui-btn--ghost { background: #eeeff1; color: #555b61; }
.ui-btn--blue { background: var(--ui-blue); color: #fff; }
.ui-btn--green { background: var(--ui-green); color: #fff; }
.ui-btn--outline { background: #f4f5f7; border: 1px solid #d9dde1; color: #50565c; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 10px; padding: 6px 10px; }
.ui-btn svg { width: 10px; height: 10px; }

/* dashboard: two columns of cards on the app's grey canvas; the second column peeks in from the right */
.ui-dash { width: 620px; min-height: 236px; padding: 10px; background: #f4f5f7; display: grid; grid-template-columns: 274px 300px; gap: 10px; align-content: start; }
.ui-col { display: grid; gap: 10px; align-content: start; }
.ui-panel { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(13, 18, 24, 0.08); padding: 11px 13px; display: grid; gap: 6px; align-content: start; }
.ui-label { font-size: 9.5px; color: var(--ui-blue); }
.ui-input { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 5px; border-bottom: 1.5px solid var(--ui-blue); color: var(--ui-text); font-size: 11.5px; }
.ui-input svg { color: var(--ui-blue); }
.ui-hint { font-size: 9.5px; }
.ui-title { display: flex; align-items: center; gap: 7px; color: var(--ui-text); font-size: 12.5px; font-weight: 500; }
.ui-title svg { width: 14px; height: 14px; }
.ui-btnrow { display: flex; gap: 4px; }
.ui-btnrow .ui-btn--ghost { flex: 1; padding-block: 6px; }
.ui-btn--add { width: 58px; padding-block: 6px; }
.ui-btn--add svg { width: 11px; height: 11px; }
.ui-chip { justify-self: start; padding: 2px 8px; border-radius: 100px; font-size: 9px; background: rgba(88, 189, 92, 0.14); color: #3f9a43; }

/* tables (Tevékenységnapló, Látogatási és eseménynapló) */
.ui-table { background: #fff; min-height: 236px; }
.ui-row { display: grid; align-items: center; column-gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--ui-line); }
.ui-row--head { height: 36px; font-size: 10px; font-weight: 500; color: #50565c; }
.ui-row--head span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ui-row--head svg { width: 10px; height: 10px; color: #8d9399; }
.ui-clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-ban { width: 13px; height: 13px; color: #9aa0a6; }

.ui-tev { width: 600px; }
.ui-tev .ui-row { grid-template-columns: 70px 132px 62px 1fr; }
.ui-tev .ui-row:not(.ui-row--head) { height: 46px; }
.ui-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ui-sign .ui-btn { padding: 5px 3px; white-space: normal; font-size: 7.5px; line-height: 1.3; }
.ui-act .ui-btn { padding: 4px 7px; font-size: 8px; }

.ui-lat { width: 560px; }
.ui-toolbar { padding: 12px 14px 10px; display: flex; }
.ui-lat .ui-row { grid-template-columns: 110px 70px 126px 1fr; }
.ui-lat .ui-row:not(.ui-row--head) { height: 34px; }
.ui-status { display: flex; align-items: center; justify-content: center; gap: 5px; height: 18px; border-radius: 3px; color: #fff; font-size: 8.5px; font-weight: 500; }
.ui-status svg { width: 9px; height: 9px; }
.ui-status--done { background: var(--ui-green); }
.ui-status--open { background: var(--ui-blue); }

/* ---------- Drawn app screens in the product cards ("Két rendszer, egy platform") ----------
   Current ESZIR screens (2026) at real size inside .product__shot; the right side crops off on narrower cards. */
.product__shot--ui { height: 290px; background: #f4f5f7; }
.ui-app { width: 560px; min-height: 300px; background: #f4f5f7; }
.ui-appbar { display: flex; align-items: center; height: 30px; padding: 0 14px; color: #fff; font-size: 12px; font-weight: 500; }
.ui-app--szak { --ui-accent: #7aab3a; }
.ui-app--alap { --ui-accent: #5bbfe1; }
.ui-appbar { background: var(--ui-accent); }
.ui-app__body { padding: 10px; display: grid; gap: 10px; align-content: start; }
.ui-app--alap .ui-app__body { grid-template-columns: 265px 265px; }

/* Szakellátás: Tevékenység rögzítés */
.ui-sec-title { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--ui-text); }
.ui-sec-title svg { color: var(--ui-accent); }
.ui-bar { position: relative; display: flex; height: 36px; margin-bottom: 6px; }
.ui-bar__label { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #e9eaec; border-radius: 3px 0 0 3px; color: #4a5056; font-size: 10.5px; }
.ui-bar__label svg { width: 10px; height: 10px; }
.ui-bar__act { display: flex; align-items: center; justify-content: space-around; width: 118px; background: var(--ui-accent); border-radius: 0 3px 3px 0; color: #fff; }
.ui-bar__act svg { width: 12px; height: 12px; }
.ui-tag { position: absolute; left: 6px; bottom: -7px; padding: 1px 6px; border-radius: 100px; background: var(--ui-accent); color: #fff; font-size: 7.5px; line-height: 1.4; }
.ui-log .ui-row { grid-template-columns: 40px 104px 1fr; column-gap: 10px; padding: 0 6px; }
.ui-log .ui-row--head { height: 22px; font-size: 9.5px; }
.ui-log .ui-row:not(.ui-row--head) { height: 27px; font-size: 10px; color: #4a5056; }
.ui-state { justify-self: start; padding: 2px 5px; border-radius: 2px; background: #5aa9d6; color: #fff; font-size: 8px; line-height: 1.3; }
.ui-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.ui-tile { position: relative; display: flex; height: 34px; }
.ui-tile__label { flex: 1; display: grid; place-items: center; padding: 0 6px; background: #e9eaec; border-radius: 3px 0 0 3px; color: #4a5056; font-size: 9.5px; text-align: center; line-height: 1.2; }
.ui-tile__label:last-child { border-radius: 3px; }
.ui-tile__act { display: grid; place-items: center; width: 40px; background: var(--ui-accent); border-radius: 0 3px 3px 0; color: #fff; }
.ui-tile__act svg { width: 11px; height: 11px; }
.ui-count { position: absolute; left: 6px; top: -6px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 100px; display: grid; place-items: center; background: var(--ui-accent); color: #fff; font-size: 7.5px; }

/* Alapellátás: dashboard */
.ui-input__icons { display: inline-flex; align-items: center; gap: 8px; color: #6b7177; }
.ui-input__icons svg:last-child { color: var(--ui-blue); }
.ui-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 8px; border-top: 1px solid var(--ui-line); }
.ui-nav .ui-btn svg { color: var(--ui-accent); }
.ui-btn { position: relative; }
.ui-badge { position: absolute; right: -4px; top: -6px; min-width: 13px; height: 13px; padding: 0 3px; border-radius: 100px; display: grid; place-items: center; background: var(--ui-accent); color: #fff; font-size: 7.5px; font-weight: 500; letter-spacing: 0; }

/* ---------- Hero: drawn ESZIR Szakellátás dashboard (replaces the screenshot) ----------
   Fluid width inside .stage__main; fixed height so the floating cards keep their positions. */
.stage__main--ui .ui-hero { height: 513px; }
.ui-hero { --ui-accent: #7aab3a; display: flex; flex-direction: column; overflow: hidden; background: #f4f5f7; }
.ui-top { flex: none; display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--ui-line); color: #4a5056; font-size: 10.5px; }
.ui-top__menu { width: 15px; height: 15px; }
.stage__main .ui-top__logo { width: auto; height: 18px; }
.ui-top__right { margin-left: auto; display: flex; align-items: center; gap: 16px; min-width: 0; }
.ui-top__item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ui-top__item svg { width: 13px; height: 13px; }
.ui-top__item .ui-badge { position: static; background: #e0484b; }
.ui-avatar { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #a9c07f, #6f9a3a); color: #fff; font-size: 8px; font-weight: 600; }
.ui-hero__wrap { flex: 1; display: flex; min-height: 0; }
.ui-side { flex: none; width: 176px; padding: 8px 6px; background: #fff; border-right: 1px solid var(--ui-line); display: grid; gap: 1px; align-content: start; }
.ui-side span { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; font-size: 10.5px; color: #4a5056; white-space: nowrap; }
.ui-side svg { width: 13px; height: 13px; color: #7b8187; }
.ui-side .is-active { background: rgba(122, 171, 58, 0.13); color: #55841f; font-weight: 500; }
.ui-side .is-active svg { color: #55841f; }
.ui-hero__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ui-titlebar { flex: none; display: flex; align-items: center; height: 32px; padding: 0 14px; background: var(--ui-accent); color: #fff; font-size: 12px; font-weight: 500; }
.ui-hero__content { padding: 10px; display: grid; gap: 10px; align-content: start; }
.ui-selects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(2, minmax(0, 0.9fr)); gap: 10px; align-items: end; }
.ui-select { display: grid; gap: 4px; min-width: 0; font-size: 9.5px; color: #50565c; }
.ui-select__box { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 26px; padding: 0 8px; border: 1px solid #d9dde1; border-radius: 3px; background: #fff; color: var(--ui-text); font-size: 10px; white-space: nowrap; overflow: hidden; }
.ui-select__box svg { width: 10px; height: 10px; color: #7b8187; }
.ui-navbtn { display: flex; align-items: center; justify-content: center; gap: 5px; height: 26px; padding: 0 6px; border-radius: 3px; background: var(--ui-blue); color: #fff; font-size: 9.5px; white-space: nowrap; overflow: hidden; }
.ui-navbtn svg { width: 9px; height: 9px; }
.ui-hero .ui-log .ui-row { grid-template-columns: 44px 118px minmax(0, 1fr) 90px 58px; }
.ui-edit { justify-self: center; width: 16px; height: 16px; border-radius: 3px; display: grid; place-items: center; background: var(--ui-blue); color: #fff; }
.ui-edit svg { width: 9px; height: 9px; }
.ui-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.ui-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.ui-plan { --ui-accent: #5bbfe1; }
.ui-plan .ui-tile__act--soft { background: #b6e2f1; }
.ui-sec-title--plan svg { color: #5bbfe1; }
@media (max-width: 900px) { .ui-side { display: none; } }
@media (max-width: 720px) {
  .stage__main--ui .ui-hero { height: 340px; }
  .ui-top__right > :not(:last-child) { display: none; }
  .ui-selects { grid-template-columns: 1fr 1fr; }
  .ui-navbtn { display: none; }
  .ui-hero .ui-log .ui-row { grid-template-columns: 44px 104px minmax(0, 1fr); }
  .ui-hero .ui-log .ui-row > :nth-child(n+4) { display: none; }
  .ui-hero .ui-tiles { grid-template-columns: 1fr 1fr; }
  .ui-hero .ui-tiles > :nth-child(n+3) { display: none; }
}

/* module grid: a closing card that spans both columns (keeps an odd card count from leaving a gap) */
.module--wide { grid-column: 1 / -1; }

/* ---------- Three products in a row ("Három rendszer, egy platform") ---------- */
.products-3 .product { min-height: 560px; }
.products-3 .product__logo { width: 140px; }
.product--med::before { background: radial-gradient(circle at 80% 110%, rgba(140, 208, 63, 0.4), rgba(79, 195, 211, 0.28) 30%, transparent 58%); }
@media (max-width: 1100px) and (min-width: 901px) { .products-3 { gap: 16px; } .products-3 .product { padding: 26px; } }

/* Atlas Mobile band under the product cards: the fourth piece, one tap from every product */
.mobile-band {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: clamp(20px, 3vw, 40px);
  padding: 18px 22px 18px 18px; border-radius: var(--radius-lg); background: linear-gradient(100deg, rgba(140, 208, 63, 0.1), rgba(79, 195, 211, 0.08) 45%, var(--cream-04));
  border: 1px solid var(--cream-08); transition: border-color 0.4s, transform 0.6s var(--ease);
}
.mobile-band:hover { border-color: var(--cream-15); transform: translateY(-3px); }
.mobile-band__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--teal)); color: var(--ink); }
.mobile-band__icon svg { width: 24px; height: 24px; }
.mobile-band b { display: block; font-weight: 500; font-size: 1.1rem; letter-spacing: -0.02em; }
.mobile-band span { color: var(--cream-60); font-size: 0.95rem; }
.mobile-band .product__link { white-space: nowrap; }
@media (max-width: 640px) { .mobile-band { grid-template-columns: auto 1fr; } .mobile-band .product__link { grid-column: 1 / -1; } }

/* ---------- Phone frame for the drawn Atlas Mobile screens ----------
   The screen is authored at the app's own 390 × 844 points (the approved design canvas, AtlasTheme tokens)
   and scaled into the frame with --s = (frame width − 2 × bezel) / 390. */
.phone {
  --pw: 270px; --s: 0.6462; /* (270 − 18) / 390 */
  position: relative; flex: none; width: var(--pw); height: calc(844px * var(--s) + 18px); padding: 9px; border-radius: 44px;
  background: linear-gradient(160deg, #222a33, #0b0f14 55%); border: 1px solid var(--cream-15);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.phone--sm { --pw: 232px; --s: 0.5487; } /* (232 − 18) / 390 */
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #f6f7f4; }
.phone--sm .phone__screen { border-radius: 30px; }
.phone__screen > .m-app { position: absolute; left: 0; top: 0; transform: scale(var(--s)); transform-origin: 0 0; }
.phone__island { position: absolute; z-index: 3; top: 19px; left: 50%; width: 30%; height: 22px; border-radius: 20px; background: #0b0f14; transform: translateX(-50%); }
.phone--sm .phone__island { top: 17px; height: 19px; }
.theme-light .phone { box-shadow: 0 50px 90px -40px rgba(13, 18, 24, 0.55), 0 0 0 1px rgba(13, 18, 24, 0.5); }

/* the app's screens: white surfaces on #f6f7f4, ink #1c1c1a, green #81a342 (blue #428bca only in Alapellátás), 6px controls, 8px cards */
.m-app {
  --m-green: #81a342; --m-green-d: #5b7430; --m-green-t: #eef3e4; --m-blue: #428bca; --m-blue-d: #2f6ea3; --m-blue-t: #e4eef7;
  --m-ink: #1c1c1a; --m-text: #22262b; --m-muted: #6b7280; --m-faint: #969aa5; --m-line: #d8ded2; --m-line-2: #eef0ea; --m-warn: #8a5a00; --m-warn-t: #fff4d6;
  width: 390px; height: 844px; display: flex; flex-direction: column; background: #f6f7f4;
  font-family: var(--font); font-size: 15px; line-height: 1.3; color: var(--m-text); text-align: left; letter-spacing: -0.005em;
  user-select: none; -webkit-user-select: none;
}
.m-app svg { flex: none; width: 20px; height: 20px; }
.m-app img { display: block; max-width: none; }
.m-status { flex: none; display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 8px 32px 0 36px; background: #fff; font-size: 15px; font-weight: 600; color: var(--m-ink); }
.m-status__icons { display: flex; align-items: center; gap: 6px; }
.m-status__icons svg { width: 17px; height: 17px; }
.m-status__batt { width: 25px; height: 12px; border-radius: 3.5px; border: 1.5px solid var(--m-ink); padding: 1.5px; }
.m-status__batt i { display: block; width: 75%; height: 100%; border-radius: 1.5px; background: var(--m-ink); }
.m-head { flex: none; display: grid; gap: 14px; padding: 6px 20px 14px; background: #fff; border-bottom: 1px solid var(--m-line); }
.m-head__row { display: flex; align-items: center; gap: 12px; }
.m-head__row > svg { color: var(--m-text); }
.m-head__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.m-title { font-size: 18px; font-weight: 600; color: var(--m-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-sub { font-size: 12.5px; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mark { width: 66px; height: auto; }
.m-iconbtn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--m-line); background: #fff; color: var(--m-text); }
.m-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 12px; border: 1px solid var(--m-line); border-radius: 6px; background: #fff; color: var(--m-faint); font-size: 15px; }
.m-search > span:not(.m-scan) { flex: 1; }
.m-search svg { color: var(--m-muted); }
.m-search .m-scan { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; background: var(--m-green-t); color: var(--m-green-d); }
.m-search .m-scan svg { width: 18px; height: 18px; color: inherit; }
.m-chips { display: flex; gap: 8px; }
.m-chip { display: flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--m-line); background: #fff; font-size: 13px; font-weight: 500; }
.m-chip.is-on { background: var(--m-ink); border-color: var(--m-ink); color: #fff; font-weight: 600; }
.m-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; overflow: hidden; }
.m-label { padding: 2px 4px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--m-muted); }
.m-card { background: #fff; border: 1px solid var(--m-line); border-radius: 8px; }
.m-card--pad { display: grid; gap: 10px; padding: 14px 16px; }
.m-card--green { border-color: var(--m-green); }
.m-card--blue { border-color: var(--m-blue); }
.m-row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 16px; border-bottom: 1px solid var(--m-line-2); }
.m-row:last-child { border-bottom: 0; }
.m-row__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.m-row__name { font-size: 15px; font-weight: 600; color: var(--m-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row__meta { font-size: 13px; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row > svg { width: 18px; height: 18px; color: var(--m-faint); }
.m-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--m-green-t); color: var(--m-green-d); font-size: 13px; font-weight: 600; }
.m-note { font-size: 12px; font-weight: 600; color: var(--m-muted); white-space: nowrap; }
.m-note--warn { color: var(--m-warn); }
.m-note--ok { color: var(--m-green-d); }
.m-pill { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.m-pill--ok { background: var(--m-green-t); color: var(--m-green-d); }
.m-pill--warn { background: var(--m-warn-t); color: var(--m-warn); }
.m-pill--blue { background: var(--m-blue-t); color: var(--m-blue-d); }
.m-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 6px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.m-btn--green { background: var(--m-green); color: #fff; }
.m-btn--blue { background: var(--m-blue); color: #fff; }
.m-btn--line { border: 1px solid var(--m-line); background: #fff; color: var(--m-text); }
.m-foot { flex: none; display: flex; gap: 10px; padding: 12px 20px 34px; background: #fff; border-top: 1px solid var(--m-line); }
.m-foot .m-btn--green, .m-foot .m-btn--blue { flex: 1; }
/* the module shell's floating navigation pill: Kezdőlap · the module's tabs · Alkalmazások */
.m-nav { flex: none; display: flex; justify-content: space-around; align-items: center; height: 64px; margin: 0 16px 30px; padding: 0 8px; border-radius: 26px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); }
.m-nav span { display: grid; justify-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--m-muted); }
.m-nav span svg { width: 23px; height: 23px; }
.m-nav .is-on { color: var(--m-ink); font-weight: 600; }

/* home: the module chooser */
.m-hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--m-line); }
.m-hello b { display: block; font-size: 17px; font-weight: 600; color: var(--m-ink); }
.m-hello span { font-size: 13px; color: var(--m-muted); }
.m-tile { display: flex; align-items: center; gap: 16px; padding: 18px 16px; }
.m-tile img { width: 92px; height: auto; }
.m-tile .m-row__name { font-size: 16px; }
.m-tile > svg { color: var(--m-faint); }
.m-atlas { display: flex; justify-content: center; padding: 0 0 38px; margin-top: auto; }
.m-atlas img { width: 84px; height: auto; }

/* Szakellátás: the tag reader prompt and the care-sheet sablon picker */
.m-tagcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed var(--m-green); border-radius: 8px; background: var(--m-green-t); color: var(--m-green-d); }
.m-tagcard svg { width: 28px; height: 28px; }
.m-tagcard b { display: block; font-size: 14px; font-weight: 600; color: var(--m-ink); }
.m-tagcard span { font-size: 12.5px; }
.m-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 7px; background: #eceee8; }
.m-seg span { display: grid; place-items: center; height: 34px; border-radius: 5px; font-size: 14px; font-weight: 500; color: var(--m-muted); }
.m-seg .is-on { background: #fff; color: var(--m-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-stile { position: relative; display: grid; gap: 4px; align-content: start; min-height: 74px; padding: 12px 12px 10px; border-radius: 8px; border: 1px solid var(--m-line); background: #fff; }
.m-stile b { font-size: 14.5px; font-weight: 600; color: var(--m-ink); }
.m-stile span { font-size: 12px; color: var(--m-muted); line-height: 1.3; }
.m-stile.is-picked { border-color: var(--m-green); box-shadow: inset 0 0 0 1px var(--m-green); }
.m-stile.is-picked span { color: var(--m-green-d); }
.m-stile i { position: absolute; top: 10px; right: 10px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: var(--m-green); color: #fff; font-style: normal; font-size: 12px; font-weight: 600; }
.m-stile--sos b { color: #c0392b; }
.m-vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-field { display: grid; gap: 3px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--m-line); background: #fff; }
.m-field span { font-size: 11px; color: var(--m-muted); }
.m-field b { font-size: 15px; font-weight: 600; color: var(--m-ink); font-variant-numeric: tabular-nums; }

/* MED receiving: the scan target */
.m-progress { flex: none; height: 4px; background: #e6eadf; }
.m-progress i { display: block; height: 100%; background: var(--m-green); }
.m-count { text-align: right; }
.m-count b { font-size: 18px; font-weight: 600; color: var(--m-ink); }
.m-count b small { font-size: 18px; font-weight: 500; color: var(--m-faint); }
.m-count span { display: block; font-size: 11px; color: var(--m-muted); }
.m-scanzone { position: relative; display: grid; place-items: center; align-content: center; gap: 8px; height: 150px; border-radius: 8px; background: var(--m-ink); color: #fff; overflow: hidden; }
.m-scanzone svg { width: 42px; height: 42px; color: var(--m-green); }
.m-scanzone b { font-size: 16px; font-weight: 600; }
.m-scanzone span { font-size: 13px; color: #b8bcc4; }
.m-scanzone::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 2px; border-radius: 2px; background: var(--m-green); box-shadow: 0 0 12px 2px rgba(129, 163, 66, 0.7); animation: m-scan 2.4s ease-in-out infinite; }
@keyframes m-scan { 0%, 100% { transform: translateY(-46px); opacity: 0.2; } 50% { transform: translateY(46px); opacity: 1; } }
.reduced .m-scanzone::after { animation: none; opacity: 0.6; }
.m-hit { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--m-green-d); }
.m-hit svg { width: 16px; height: 16px; }
.m-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.m-facts span { display: block; font-size: 11px; color: var(--m-muted); }
.m-facts b { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--m-ink); }
.m-qty { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.m-qty--ok { color: var(--m-green-d); } .m-qty--part { color: var(--m-warn); } .m-qty--none { color: var(--m-faint); }

/* Alapellátás visit: the location verdict */
.m-geo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; background: #f6f7f4; }
.m-geo > svg { color: var(--m-green-d); }
.m-geo b { display: block; font-size: 13.5px; font-weight: 600; color: var(--m-ink); }
.m-geo span { font-size: 12px; color: var(--m-muted); }
.m-geo em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; color: var(--m-muted); }
.m-done { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--m-green); color: #fff; }
.m-done svg { width: 13px; height: 13px; }
.m-todo { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--m-line); }

/* ---------- Atlas Mobile section ---------- */
.mobile--app { padding-block: clamp(90px, 12vw, 170px); }
.mobile--app .mobile__glow { position: absolute; z-index: -1; right: -10vw; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(90px); opacity: 0.45; background: radial-gradient(circle, rgba(140, 208, 63, 0.35), rgba(79, 195, 211, 0.22) 40%, transparent 66%); }
.app-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.app-split .copy { display: grid; gap: 20px; }
.app-split .copy .h2 { max-width: 15ch; }
.app-mods { display: flex; flex-wrap: wrap; gap: 8px; }
.app-mods span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; padding: 6px 12px 6px 8px; border-radius: 100px; background: var(--cream-08); border: 1px solid var(--cream-08); color: var(--cream-80); }
.app-mods i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.app-mods i.is-blue { background: #5bbfe1; }
.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
/* the slots place and tilt the phones; the phones inside carry data-float, so the scroll parallax never fights the tilt */
.phones__slot { position: absolute; top: 50%; z-index: 1; }
.phones__slot--left { right: calc(50% + 64px); transform: translateY(-46%) rotate(-6deg); }
.phones__slot--right { left: calc(50% + 64px); transform: translateY(-46%) rotate(6deg); }
.phones__slot--front { position: relative; top: auto; z-index: 2; }
.phones__caps { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 0.8rem; color: var(--cream-40); }
.phones__caps b { color: var(--cream-80); font-weight: 500; }
@media (max-width: 1100px) { .phones__slot--left { right: calc(50% + 40px); } .phones__slot--right { left: calc(50% + 40px); } }
@media (max-width: 900px) { .app-split { grid-template-columns: 1fr; } .phones { min-height: 560px; } }
@media (max-width: 560px) { .phones__slot--left, .phones__slot--right, .phones__caps { display: none; } .phones { min-height: 0; } }

/* ---------- Mobile highlight inside a product's light section (GPS check, scanning) ---------- */
.app-feature {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(28px, 4vw, 48px); padding: clamp(26px, 4vw, 52px) clamp(26px, 4vw, 52px) 0; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--cream); isolation: isolate;
}
.app-feature::before { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: 0.55; background: radial-gradient(circle, rgba(79, 195, 211, 0.5), transparent 62%); }
.app-feature--green::before { background: radial-gradient(circle, rgba(140, 208, 63, 0.45), transparent 62%); }
.app-feature__copy { display: grid; gap: 18px; align-content: center; padding-bottom: clamp(26px, 4vw, 52px); }
.theme-light .app-feature .eyebrow { color: var(--cream-60); }
.theme-light .app-feature .body, .theme-light .app-feature .lead { color: var(--cream-60); }
.app-feature .h3 { max-width: 22ch; }
.app-feature__phone { display: flex; justify-content: center; align-self: end; height: 100%; }
.app-feature__phone .phone { margin-bottom: -150px; align-self: end; } /* the phone rises out of the card's bottom edge */
.app-feature .phone { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.geo-steps { display: grid; gap: 8px; }
.geo-step { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--cream-04); border: 1px solid var(--cream-08); font-size: 0.9rem; }
.geo-step i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(79, 195, 211, 0.16); color: var(--teal); font-style: normal; }
.geo-step i svg { width: 15px; height: 15px; }
.app-feature--green .geo-step i { background: rgba(140, 208, 63, 0.16); color: var(--green); }
.geo-step b { font-weight: 500; }
.geo-step span { color: var(--cream-40); font-size: 0.8rem; }
.geo-verdicts { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-verdicts span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 100px; font-size: 0.78rem; background: var(--cream-08); color: var(--cream-80); }
.geo-verdicts i { width: 7px; height: 7px; border-radius: 50%; }
@media (max-width: 900px) {
  .app-feature { grid-template-columns: 1fr; padding-bottom: 0; }
  .app-feature__copy { padding-bottom: 0; }
  .app-feature__phone { height: 380px; overflow: hidden; align-items: flex-start; }
  .app-feature__phone .phone { margin-bottom: 0; align-self: flex-start; }
}

/* ---------- ESZIR Gyógyszerkezelő: drawn screens (MED web, 2026) ---------- */
.ui-app--med { --ui-accent: #7aab3a; }
.ui-app--med .ui-app__body { grid-template-columns: 1fr; }
.ui-medbtns { display: flex; gap: 6px; } /* left-packed: the card crops the shot's right side */
.ui-medbtns .ui-btn { padding-block: 7px; }
.ui-medbtns .ui-btn--green { background: var(--ui-accent); }
.ui-mini .ui-row { grid-template-columns: 136px 46px 42px 58px; column-gap: 8px; padding: 0 4px; }
.ui-mini .ui-row--head { height: 22px; font-size: 9.5px; }
.ui-mini .ui-row:not(.ui-row--head) { height: 26px; font-size: 10px; color: #4a5056; }
.ui-num { text-align: right; font-variant-numeric: tabular-nums; }
.ui-ok { color: #3f9a43; font-weight: 500; }
.ui-warn { color: #b7791f; font-weight: 500; }

/* Gyógyszerelés dialog: R · D · E · É */
.ui-medi { width: 560px; min-height: 236px; background: #fff; }
.ui-dlg__head { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #7aab3a; color: #fff; font-size: 11.5px; font-weight: 500; }
.ui-dlg__head svg { width: 13px; height: 13px; }
.ui-fields { display: grid; grid-template-columns: 1fr 1fr 70px; gap: 12px; padding: 10px 14px 6px; }
.ui-fields .ui-input { font-size: 10.5px; }
/* key columns first, the stretchy one last: the card crops the fragment's right side (as .ui-tev does) */
.ui-medi .ui-row { grid-template-columns: 128px 18px 18px 18px 18px 44px 1fr; column-gap: 6px; }
.ui-medi .ui-row--head { height: 28px; font-size: 9.5px; }
.ui-medi .ui-row:not(.ui-row--head) { height: 30px; font-size: 10px; color: #4a5056; }
.ui-medi .ui-row > :not(:first-child):not(:last-child) { text-align: center; justify-self: center; }
.ui-medi .ui-row > :last-child { justify-self: start; }
.ui-dose { width: 18px; height: 18px; border-radius: 3px; border: 1px solid #d9dde1; display: grid; place-items: center; font-size: 9.5px; color: var(--ui-text); }
.ui-stock { padding: 1px 6px; border-radius: 100px; font-size: 8.5px; background: rgba(88, 189, 92, 0.14); color: #3f9a43; white-space: nowrap; }
.ui-medi__foot { display: flex; justify-content: flex-start; gap: 16px; padding: 8px 14px; font-size: 10px; color: #4a5056; }
.ui-medi__foot b { color: var(--ui-text); font-weight: 600; }

/* Bevételezés per szállítólevél */
.ui-rcpt { width: 600px; min-height: 236px; background: #fff; }
.ui-rcpt .ui-toolbar { gap: 8px; align-items: center; }
.ui-rcpt .ui-toolbar b { font-size: 11.5px; font-weight: 500; color: var(--ui-text); }
.ui-rcpt .ui-row { grid-template-columns: 138px 30px 56px 74px 1fr; column-gap: 8px; }
.ui-rcpt .ui-row--head { height: 28px; font-size: 9.5px; }
.ui-rcpt .ui-row:not(.ui-row--head) { height: 31px; font-size: 10px; color: #4a5056; }
.ui-rstate { justify-self: start; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; height: 17px; padding: 0 6px; border-radius: 3px; font-size: 8.5px; font-weight: 500; color: #fff; background: var(--ui-green); }
.ui-rstate--new { background: var(--ui-blue); }
.ui-rstate--part { background: #e0a23b; }
.ui-sub { display: block; font-size: 8.5px; color: #8d9399; }

/* Készletlekérdezés */
.ui-stockr { width: 580px; min-height: 236px; background: #fff; }
.ui-stockr .ui-row { grid-template-columns: 140px 56px 42px 58px 1fr; column-gap: 8px; }
.ui-stockr .ui-row--head { height: 28px; font-size: 9.5px; }
.ui-stockr .ui-row:not(.ui-row--head) { height: 31px; font-size: 10px; color: #4a5056; }
.ui-exp--soon { color: #c0392b; font-weight: 500; }
.ui-tabs { display: flex; gap: 2px; padding: 8px 14px 0; border-bottom: 1px solid var(--ui-line); }
.ui-tabs span { padding: 7px 10px; font-size: 10px; color: #6b7177; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ui-tabs .is-on { color: #55841f; border-color: #7aab3a; font-weight: 500; }

/* feature list under the MED cards */
.med-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.med-points .module { padding: 24px; }
@media (max-width: 900px) { .med-points { grid-template-columns: 1fr; } }
.m-body--fit { flex: none; }
.m-tile .m-row__meta { white-space: normal; }
@media (max-width: 560px) { .geo-step { grid-template-columns: auto 1fr; row-gap: 4px; } .geo-step > span:last-child { grid-column: 2; color: var(--cream-60); } }

/* ---------- Gyógyszerkezelő: Egyéni gyógyszerfelhasználás ----------
   A focused fragment of the MED dashboard (AtlasTheme: green #81a342), never the full screen: the Ellátotti gyógyszerek
   list alone on a tinted stage, bleeding off the right and bottom edges, with two small floating cards. */
.med-usage { display: grid; gap: clamp(22px, 3vw, 34px); margin-bottom: clamp(44px, 6vw, 80px); }
.med-usage__split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.med-usage__copy { display: grid; gap: 16px; }
.med-usage__copy .h3 { max-width: 20ch; }
.crop-stage {
  position: relative; overflow: hidden; height: 405px; border-radius: 24px; border: 1px solid var(--ink-12);
  background: radial-gradient(80% 100% at 0% 0%, rgba(140, 208, 63, 0.3), transparent 60%), radial-gradient(70% 90% at 100% 100%, rgba(79, 195, 211, 0.28), transparent 62%), var(--paper-2);
}
.crop-stage > .ui-usage {
  position: absolute; left: 7%; right: -2px; top: 13%; min-width: 560px; overflow: hidden; transition: transform 1s var(--ease);
  background: #fff; border: 1px solid var(--ink-12); border-radius: 10px 0 0 0;
  box-shadow: 0 26px 50px -22px rgba(13, 18, 24, 0.4), 0 2px 6px rgba(13, 18, 24, 0.06);
}
.crop-stage:hover > .ui-usage { transform: translate(-6px, -6px); }
.ui-float { position: absolute; z-index: 2; display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--ink-12); box-shadow: 0 24px 50px -20px rgba(13, 18, 24, 0.45); }
.ui-float__h { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #22262b; }
.ui-float__h svg { width: 13px; height: 13px; color: #6b7177; }
.ui-float--allergy { right: 4%; top: 4%; width: 230px; }
.ui-float--note { right: 5%; bottom: 6%; width: 270px; }
.ui-allergy { display: flex; flex-wrap: wrap; gap: 5px; }
.ui-allergy span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 100px; background: rgba(217, 83, 79, 0.08); color: #c0392b; font-size: 10px; }
.ui-noteline { font-size: 10px; line-height: 1.45; color: #4a5056; }
.ui-noteline b { color: #22262b; font-weight: 600; }
.ui-md-tabbar { display: flex; border-bottom: 1px solid var(--ui-line); }
.ui-md-tabbar span { display: flex; align-items: center; gap: 6px; padding: 9px 14px; font-size: 9.5px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: #6b7177; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ui-md-tabbar span svg { width: 12px; height: 12px; }
.ui-md-tabbar .is-on { color: #5b7430; border-color: #81a342; }
.ui-ug .ui-row { grid-template-columns: 80px minmax(0, 1fr) 16px 16px 16px 16px 140px; column-gap: 10px; padding: 0 14px; }
.ui-ug .ui-row--head { height: 28px; font-size: 9.5px; }
.ui-ug .ui-row:not(.ui-row--head) { min-height: 33px; padding-block: 4px; font-size: 10px; color: #4a5056; }
.ui-ug .ui-row > :nth-child(n+3):nth-child(-n+6) { text-align: center; }
.ui-ug .ui-ug__group { display: block; min-height: 0; padding-block: 6px; font-size: 10px; font-weight: 700; color: #22262b; background: #fafbf8; }
.ui-uchip { justify-self: start; display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 3px; background: #81a342; color: #fff; font-size: 8.5px; font-weight: 500; white-space: nowrap; }
.ui-uchip svg { width: 9px; height: 9px; }
.ui-uchip--red { background: #d9534f; }
.ui-ucomment { display: block; font-size: 8.5px; color: #8d9399; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-dim > .ui-clip, .ui-dim > span:not(.ui-uchip) { color: #9aa0a6; }
/* the product card's small copy of the same tab */
.ui-ug--mini .ui-row { grid-template-columns: 64px 140px 12px 12px 12px 12px; column-gap: 7px; padding: 0 10px; }
.ui-ug--mini .ui-row:not(.ui-row--head) { min-height: 27px; padding-block: 2px; }
.ui-app--med .ui-appbar { background: #fff; color: #22262b; border-bottom: 1px solid var(--ui-line); font-weight: 600; }
.ui-app--med .ui-md-tabbar span { padding: 8px 10px; }
.med-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.med-facts li { position: relative; overflow: hidden; display: grid; gap: 6px; align-content: start; padding: 20px 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--ink-12); }
.med-facts li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--teal)); opacity: 0.8; }
.med-facts b { font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; }
.med-facts span { font-size: 0.9rem; color: var(--ink-70); }
@media (max-width: 900px) {
  .med-usage__split { grid-template-columns: 1fr; }
  .crop-stage { height: 400px; }
  .med-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .crop-stage { height: 340px; }
  .ui-float--note { display: none; }
  .ui-float--allergy { width: 200px; }
  .med-facts { grid-template-columns: 1fr; }
}

/* ---------- Szakellátás on the phone: the patient page's registers and the vital signs chart ---------- */
.m-head--tabs { padding-bottom: 0; gap: 10px; }
.m-head--tabs .m-avatar { width: 40px; height: 40px; }
.m-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -20px; }
.m-tabs span { display: grid; place-items: center; height: 42px; font-size: 14px; font-weight: 500; color: var(--m-muted); border-bottom: 2.5px solid transparent; }
.m-tabs .is-on { color: var(--m-ink); font-weight: 600; border-color: var(--m-green); }
.m-countline { display: flex; justify-content: space-between; padding: 0 4px; font-size: 12.5px; color: var(--m-muted); }
.m-entry { display: grid; gap: 8px; padding: 13px 15px; }
.m-entry__top { display: flex; align-items: center; gap: 8px; }
.m-entry__top b { font-size: 14.5px; font-weight: 600; color: var(--m-ink); font-variant-numeric: tabular-nums; }
.m-entry__top > span:not(.m-pill) { font-size: 13px; color: var(--m-muted); }
.m-entry__top .m-pill { margin-left: auto; gap: 5px; }
.m-entry__top .m-pill svg { width: 13px; height: 13px; }
.m-entry p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--m-text); }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.m-tags span { padding: 3px 9px; border-radius: 5px; background: #f0f2ec; font-size: 12px; color: #4a5056; }
.m-by { font-size: 12px; color: var(--m-muted); }
.m-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; }
.m-vals span { display: block; font-size: 11px; color: var(--m-muted); }
.m-vals b { font-size: 15px; font-weight: 600; color: var(--m-ink); font-variant-numeric: tabular-nums; }
.m-foot .m-btn svg { width: 18px; height: 18px; }
.m-vtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-vtile { display: grid; gap: 2px; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--m-line); background: #fff; min-width: 0; }
.m-vtile em { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--m-muted); }
.m-vtile b { display: flex; align-items: baseline; gap: 2px; font-size: 15.5px; font-weight: 600; color: var(--m-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-vtile small { font-size: 10px; font-weight: 500; color: var(--m-muted); }
.m-vtile i { margin-left: auto; font-style: normal; font-size: 15px; font-weight: 700; color: var(--m-muted); }
.m-vtile span { font-size: 10px; color: var(--m-faint); white-space: nowrap; }
.m-chips--row { overflow: hidden; }
.m-chips--row .m-chip { flex: none; }
.m-chart { display: grid; gap: 8px; padding: 12px 10px 12px; }
.m-app .m-chart svg { width: 100%; height: auto; }
.m-legend { display: flex; justify-content: center; gap: 14px; font-size: 11.5px; color: var(--m-text); }
.m-legend i { display: inline-block; width: 14px; height: 3px; margin-right: 5px; border-radius: 2px; vertical-align: middle; }
.m-legend i.is-dash { background: repeating-linear-gradient(90deg, #81a342 0 5px, transparent 5px 8px); }
.m-hint { padding: 0 4px; font-size: 11.5px; color: var(--m-faint); }

/* the wide variant: copy on top, three phones rising out of the card's bottom edge */
.app-feature--wide { grid-template-columns: 1fr; gap: 10px; padding-bottom: 0; }
.app-feature--wide .app-feature__copy { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: 0; }
.app-feature__intro { display: grid; gap: 18px; align-content: start; }
.app-feature__fan { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 44px); height: 450px; overflow: hidden; margin-top: 18px; }
.app-feature__fan .phone--sm { margin-top: 64px; }
@media (max-width: 900px) {
  .app-feature--wide .app-feature__copy { grid-template-columns: 1fr; row-gap: 18px; }
  .app-feature__fan { height: 400px; }
  .app-feature__fan .phone--sm { display: none; }
}

/* the testimonials are <blockquote>s: drop the browser's default 40px side margins so the three cards fill the grid */
.quotes .quote { margin: 0; }
/* the Atlas Mobile section leads straight into the testimonials (the video section between them is gone): no double padding */
.mobile--app { padding-bottom: clamp(30px, 4vw, 60px); }
