/* Sinum CONNECT – társasházas bemutató oldal (tarsashaz.sinumconnect.hu).
 * Önálló statikus oldal. Minden mozgás kikapcsol csökkentett mozgás esetén. */

/* ── Betűtípus ────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Nunito Local";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("assets/fonts/nunito-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF,
    U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Local";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("assets/fonts/nunito-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC,
    U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokenek és alap ──────────────────────────────────────────────────── */
:root {
  --bg: #01070e;
  --surface: #155693;
  --brand: #1192e8;
  --brand-strong: #0078d4;
  --cyan: #70d9ff;
  --warm: #ffd98a;
  --hot: #ff8a5b;
  --ok: #43a047;
  --text: #ffffff;
  --muted: #dbe6f3;
  --dim: #b9cce5;
  --glass: rgb(190 226 250 / 22%);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito Local", Helvetica, Arial, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
.icon { width: 16px; height: 16px; flex: none; }
.brand { height: 36px; width: auto; }

/* ── Görgetési folyamatjelző ──────────────────────────────────────────── */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 50;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
}

/* ── Oldal és háttér ──────────────────────────────────────────────────── */
.page {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.blobA, .blobB, .blobC {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}

.blobA { width: 52vmax; height: 52vmax; top: -18vmax; right: -14vmax; background: radial-gradient(circle, #1192e8 0%, transparent 65%); }
.blobB { width: 44vmax; height: 44vmax; bottom: -20vmax; left: -16vmax; background: radial-gradient(circle, #0d5fae 0%, transparent 65%); animation-duration: 28s; animation-delay: -8s; }
.blobC { width: 30vmax; height: 30vmax; top: 40%; left: 45%; background: radial-gradient(circle, #23adda 0%, transparent 65%); opacity: 0.28; animation-duration: 34s; animation-delay: -14s; }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6vmax, 4vmax, 0) scale(1.12); }
  100% { transform: translate3d(5vmax, -3vmax, 0) scale(0.94); }
}

/* Finom, lassan úszó rácsháló */
.gridGlow {
  position: fixed;
  inset: -40px;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(112 217 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(112 217 255 / 5%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%);
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove { to { transform: translate3d(48px, 48px, 0); } }

.cursorGlow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgb(112 217 255 / 10%), transparent 70%);
}

.page[data-motion] .cursorGlow { opacity: 1; }

/* ── Fejléc ───────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1232px;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
  transition: background-color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}

.topbar[data-scrolled] {
  background: rgb(1 12 24 / 72%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgb(190 226 250 / 12%);
  box-shadow: 0 12px 30px -20px rgb(0 0 0 / 80%);
}

.brandLink { display: inline-flex; }

.topnav {
  display: none;
  gap: 28px;
  font-weight: 700;
  color: var(--dim);
}

.topnav a {
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 300ms var(--ease);
}

.topnav a:hover { color: #fff; }
.topnav a:hover::after { transform: scaleX(1); }

/* ── Gombok ───────────────────────────────────────────────────────────── */
.primaryButton, .ghostButton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transform: translate(var(--tx, 0), var(--ty, 0));
  transition: transform 250ms var(--ease), background-color 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.ghostButton.small { min-height: 44px; padding: 0 18px; }

.primaryButton {
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 10px 30px -10px rgb(17 146 232 / 80%);
}

.primaryButton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 35%) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite 1.5s;
}

@keyframes sheen {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.primaryButton:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 16px 40px -12px rgb(17 146 232 / 95%); }
.arrow { transition: transform 200ms ease; }
.primaryButton:hover .arrow { transform: translateX(4px); }
.ghostButton { border: 1px solid rgb(210 238 255 / 28%); background: rgb(220 242 255 / 7%); }
.ghostButton:hover { border-color: rgb(210 238 255 / 45%); background: rgb(220 242 255 / 14%); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1232px;
  margin: 0 auto;
  padding: 24px 16px 0;
}

.heroText { max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--glass);
  border-radius: 999px;
  background: rgb(220 242 255 / 6%);
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.liveDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgb(67 160 71 / 60%); }
  100% { box-shadow: 0 0 0 10px rgb(67 160 71 / 0%); }
}

.heroTitle {
  margin-top: 20px;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.gradientText {
  background: linear-gradient(90deg, #fff, var(--cyan), var(--brand), var(--cyan), #fff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer { to { background-position: 300% 0; } }

/* Forgó kulcsszavak */
.rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 800;
}

.rotatorFixed { color: var(--dim); }

.rotatorWords {
  display: inline-block;
  height: 1.35em;
  overflow: hidden;
  color: var(--cyan);
}

.rotatorWords span {
  display: block;
  height: 1.35em;
  line-height: 1.35em;
  animation: words 12.5s var(--ease) infinite;
}

@keyframes words {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-100%); }
  40%, 56% { transform: translateY(-200%); }
  60%, 76% { transform: translateY(-300%); }
  80%, 96% { transform: translateY(-400%); }
  100% { transform: translateY(-500%); }
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.intro {
  animation: rise 900ms var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Épület-jelenet keringő ikonokkal */
.scene {
  position: relative;
  width: min(100%, 470px);
  margin: 0 auto;
  animation: rise 1100ms var(--ease) 300ms both;
}

.sceneSvg {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgb(0 40 90 / 60%));
  animation: float 7s ease-in-out 1.4s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.orbit {
  position: absolute;
  inset: 4% 2% 10%;
  border: 1px dashed rgb(112 217 255 / 18%);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.orbitIcon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid var(--glass);
  border-radius: 50%;
  background: rgb(10 44 79 / 80%);
  color: var(--cyan);
  box-shadow: 0 0 20px -4px rgb(17 146 232 / 70%);
  transform: rotate(var(--a)) translateY(calc(-1 * min(43vw, 230px))) rotate(calc(-1 * var(--a)));
}

.orbitIcon svg {
  width: 18px;
  height: 18px;
  animation: spin 40s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(1turn); } }

.window { fill: #0b3a66; animation: windowLight 6s ease-in-out infinite; }

@keyframes windowLight {
  0%, 30% { fill: #0b3a66; }
  40%, 75% { fill: var(--warm); filter: drop-shadow(0 0 6px rgb(255 210 120 / 85%)); }
  85%, 100% { fill: #0b3a66; }
}

.dataLine { fill: none; stroke: rgb(112 217 255 / 35%); stroke-width: 2; stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
.dataPulse { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 18 220; animation: pulseTravel 2.4s ease-in-out infinite; filter: drop-shadow(0 0 4px var(--cyan)); }

@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes pulseTravel { from { stroke-dashoffset: 238; } to { stroke-dashoffset: 0; } }

.antenna { fill: var(--cyan); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.cloudGlow { transform-origin: 300px 58px; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--glass);
  border-radius: 999px;
  background: rgb(10 44 79 / 78%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 12px 30px -14px rgb(0 0 0 / 70%);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  animation: chipIn 700ms var(--ease) both, float 6s ease-in-out infinite;
}

.chipA { top: 30%; left: -2%; animation-delay: 1.1s, 1.8s; }
.chipB { top: 52%; right: -2%; animation-delay: 1.5s, 2.6s; }
.chipC { bottom: 14%; left: 4%; animation-delay: 1.9s, 3.2s; }

@keyframes chipIn {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to { opacity: 1; transform: none; }
}

.chipDot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.chipDotCyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ── Szalagok ─────────────────────────────────────────────────────────── */
.marquee { max-width: 1232px; margin: 56px auto 0; padding: 0 16px; display: grid; gap: 14px; }
.marqueeLabel { color: var(--dim); font-size: 0.85rem; text-align: center; }

.marqueeViewport {
  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);
}

.marqueeTrack {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 30s linear infinite;
}

.marqueeViewport.reverse .marqueeTrack { animation-direction: reverse; animation-duration: 38s; gap: 12px; }

.marqueeTrack li {
  font-size: 1.35rem;
  font-weight: 900;
  color: rgb(219 230 243 / 55%);
  transition: color 200ms ease;
}

.marqueeTrack li:hover { color: #fff; }

.marqueeTrack.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--glass);
  border-radius: 999px;
  background: rgb(220 242 255 / 5%);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.marqueeTrack.chips svg { color: var(--cyan); }
.marqueeViewport:hover .marqueeTrack { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Szakaszok ────────────────────────────────────────────────────────── */
.section { max-width: 1232px; margin: 104px auto 0; padding: 0 16px; }

.kicker {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.sectionTitle {
  max-width: 780px;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}

.page[data-motion] [data-reveal]:not([data-visible]) {
  opacity: 0;
  transform: translateY(32px);
}

.page [data-reveal] {
  transition:
    opacity 800ms var(--ease) var(--reveal-delay, 0ms),
    transform 800ms var(--ease) var(--reveal-delay, 0ms);
}

/* ── Számok ───────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.stat {
  padding: 22px 18px;
  border: 1px solid var(--glass);
  border-radius: 20px;
  background: linear-gradient(160deg, rgb(17 146 232 / 14%), transparent 70%), rgb(10 44 79 / 30%);
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat > span { color: var(--dim); font-size: 0.92rem; }

/* ── Felület-bemutató ─────────────────────────────────────────────────── */
.showcase { position: relative; }

.tabs {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--glass);
  border-radius: 999px;
  background: rgb(220 242 255 / 5%);
  color: var(--dim);
  font-weight: 800;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.tabs button svg { width: 18px; height: 18px; }
.tabs button:hover { color: #fff; }

.tabs button[aria-selected="true"] {
  color: #fff;
  border-color: rgb(126 207 255 / 60%);
  background: linear-gradient(135deg, rgb(17 146 232 / 45%), rgb(112 217 255 / 15%));
  box-shadow: 0 8px 24px -12px rgb(17 146 232 / 90%);
}

.tabTimer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: rgb(255 255 255 / 8%);
  overflow: hidden;
}

.tabTimer span {
  display: block;
  height: 100%;
  background: var(--cyan);
  transform-origin: left;
  transform: scaleX(0);
}

.showcase[data-running] .tabTimer span { animation: timer var(--tab-ms, 6000ms) linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }

.browser {
  border: 1px solid rgb(190 226 250 / 26%);
  border-radius: 20px;
  overflow: hidden;
  background: #031426;
  box-shadow: 0 40px 100px -40px rgb(17 146 232 / 55%), inset 0 1px 0 rgb(255 255 255 / 10%);
}

.browserBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgb(255 255 255 / 4%);
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}

.browserBar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browserBar > span:nth-child(2) { background: #febc2e; }
.browserBar > span:nth-child(3) { background: #28c840; }

.url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
  color: var(--dim);
  font-size: 0.8rem;
}

.url svg { width: 12px; height: 12px; color: var(--ok); }

.appShell { display: grid; grid-template-columns: 1fr; min-height: 380px; }

.appSide {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 18px 12px;
  border-right: 1px solid rgb(255 255 255 / 6%);
  background: linear-gradient(180deg, rgb(21 86 147 / 35%), rgb(21 86 147 / 10%));
}

.appLogo { height: 22px; width: auto; margin: 0 8px 14px; align-self: flex-start; }

.sideItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--dim);
  font-size: 0.85rem;
  font-weight: 700;
}

.sideItem svg { width: 16px; height: 16px; }
.sideItem.on { color: #fff; background: rgb(17 146 232 / 35%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%); }

.panels { position: relative; padding: 20px; }

.panel {
  display: none;
  animation: panelIn 600ms var(--ease) both;
}

.panel.active { display: block; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

/* Irányítópult */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.kpi {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgb(190 226 250 / 16%);
  border-radius: 14px;
  background: rgb(21 86 147 / 25%);
  animation: rise 700ms var(--ease) both;
}

.kpi:nth-child(2) { animation-delay: 80ms; }
.kpi:nth-child(3) { animation-delay: 160ms; }
.kpi:nth-child(4) { animation-delay: 240ms; }
.kpi span { color: var(--dim); font-size: 0.78rem; }
.kpi strong { font-size: 1.4rem; font-weight: 900; }
.kpi em { font-style: normal; font-size: 0.75rem; color: var(--dim); }
.kpi em.ok { color: #7ed98a; }

.chartCard {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgb(190 226 250 / 16%);
  border-radius: 14px;
  background: rgb(21 86 147 / 18%);
}

.chartHead { display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; margin-bottom: 8px; }
.chartHead span { color: var(--dim); }
.lineChart { width: 100%; height: 150px; }

.linePath {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.2s var(--ease) 200ms forwards;
  filter: drop-shadow(0 0 6px rgb(112 217 255 / 70%));
}

.linePath.second { stroke: var(--warm); stroke-width: 2; opacity: 0.8; animation-delay: 500ms; filter: none; }
.areaPath { opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Gépház */
.plantGrid { display: grid; gap: 14px; }
.plant { width: 100%; height: auto; }
.unit { fill: rgb(21 86 147 / 45%); stroke: rgb(190 226 250 / 40%); }
.tank { fill: url(#facade); stroke: rgb(190 226 250 / 40%); }
.unitText { fill: #fff; font-size: 14px; font-weight: 800; text-anchor: middle; font-family: inherit; }
.unitSub { fill: var(--dim); font-size: 12px; text-anchor: middle; font-family: inherit; }
.fanRing { fill: none; stroke: var(--cyan); stroke-width: 2; }
.fanBlade { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; }
.fanSpin { animation: spin 1.6s linear infinite; }

.pipe { fill: none; stroke-width: 8; stroke-linecap: round; opacity: 0.35; }
.pipe.hot { stroke: var(--hot); }
.pipe.cold { stroke: var(--cyan); }
.flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 14; animation: dash 0.9s linear infinite; }
.flow.hot { stroke: #ffc1a6; }
.flow.cold { stroke: #c9f1ff; }
.pipe.dashed { stroke-dasharray: 10 8; }
.flow.dashed { stroke-dasharray: 4 16; }
.pumpBody { fill: #0a2c4f; stroke: #fff; stroke-width: 2; }
.pumpTri { fill: #fff; }
.pump { animation: spin 2.4s linear infinite; }

.plantStats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.plantStats div {
  padding: 12px;
  border: 1px solid rgb(190 226 250 / 16%);
  border-radius: 12px;
  background: rgb(21 86 147 / 22%);
}

.plantStats span { display: block; color: var(--dim); font-size: 0.75rem; }
.plantStats strong { font-size: 1.2rem; font-weight: 900; font-variant-numeric: tabular-nums; transition: color 300ms ease; }
.plantStats strong.tick { color: var(--cyan); }

.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.8rem;
}

.legend .solid, .legend .dash { display: inline-block; width: 28px; height: 0; border-top: 3px solid var(--hot); }
.legend .dash { border-top: 3px dashed var(--cyan); margin-left: 10px; }
.legend svg { color: var(--cyan); }

/* Mérések */
.meterRow { display: grid; gap: 12px; }

.odometer {
  padding: 14px;
  border: 1px solid rgb(190 226 250 / 16%);
  border-radius: 14px;
  background: rgb(21 86 147 / 22%);
}

.odoLabel { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 0.8rem; }
.odoLabel svg { color: var(--cyan); }
.odometer.heat .odoLabel svg { color: var(--hot); }

.digits {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.digits > span, .meterSpin > span {
  display: inline-block;
  width: 1.15em;
  height: 1.5em;
  line-height: 1.5em;
  text-align: center;
  border-radius: 8px;
  background: #021a30;
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 60%);
  overflow: hidden;
}

.digits em, .digits i { font-style: normal; color: var(--dim); font-size: 1rem; padding: 0 2px 6px; }

.roll b {
  display: block;
  font-weight: 900;
  animation: roll 4s steps(1, end) infinite;
}

.roll.fast b { animation-duration: 1.6s; }
.odometer:not(.heat) .roll:not(.fast) { color: var(--cyan); }
.odometer.heat .roll { color: var(--hot); }

@keyframes roll {
  0% { transform: translateY(0); }
  25% { transform: translateY(-100%); }
  50% { transform: translateY(-200%); }
  75% { transform: translateY(-300%); }
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  margin-top: 16px;
  padding: 0 4px;
}

.bars div {
  position: relative;
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--brand-strong));
  transform-origin: bottom;
  animation: grow 1s var(--ease) both;
}

.bars div:nth-child(2) { animation-delay: 60ms; }
.bars div:nth-child(3) { animation-delay: 120ms; }
.bars div:nth-child(4) { animation-delay: 180ms; }
.bars div:nth-child(5) { animation-delay: 240ms; }
.bars div:nth-child(6) { animation-delay: 300ms; }
.bars div:nth-child(7) { animation-delay: 360ms; }
.bars div:nth-child(8) { animation-delay: 420ms; }
.bars div:nth-child(9) { animation-delay: 480ms; }
.bars div.hi { background: linear-gradient(180deg, var(--warm), var(--hot)); box-shadow: 0 0 18px -2px rgb(255 138 91 / 70%); }

.bars span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 0.65rem;
  white-space: nowrap;
}

@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.panel[data-panel="meters"] .legend { margin-top: 32px; }

/* Üzenetküldés */
.composer {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgb(190 226 250 / 16%);
  border-radius: 14px;
  background: rgb(21 86 147 / 22%);
}

.field { display: grid; gap: 4px; }
.field span { color: var(--dim); font-size: 0.75rem; }
.field strong { display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; }
.tag { justify-self: start; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem !important; }
.tag.warn { background: rgb(251 140 0 / 22%); color: #ffc078; }

.typing {
  width: 100%;
  min-height: 3.2em;
  padding: 10px 12px;
  border-radius: 10px;
  background: #021a30;
  font-size: 0.92rem;
  line-height: 1.5;
  clip-path: inset(0 100% 0 0);
  animation: typeIn 2.6s steps(40, end) 300ms forwards;
}

@keyframes typeIn { to { clip-path: inset(0 0 0 0); } }

.sendRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pin { display: inline-flex; align-items: center; gap: 6px; color: #7ed98a; font-size: 0.8rem; font-weight: 700; opacity: 0; animation: fadeIn 400ms ease 3s forwards; }

.sendBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  font-weight: 800;
  font-size: 0.85rem;
  animation: press 600ms ease 3.3s both;
}

@keyframes press {
  40% { transform: scale(0.92); box-shadow: 0 0 0 8px rgb(17 146 232 / 25%); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgb(17 146 232 / 0%); }
}

.delivery { display: grid; gap: 8px; margin-top: 14px; }

.delivery li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgb(126 217 138 / 30%);
  border-radius: 12px;
  background: rgb(67 160 71 / 12%);
  font-size: 0.88rem;
  opacity: 0;
  animation: slideIn 500ms var(--ease) forwards;
}

.delivery li svg { color: #7ed98a; }
.delivery li:nth-child(1) { animation-delay: 3.8s; }
.delivery li:nth-child(2) { animation-delay: 4.3s; }
.delivery li:nth-child(3) { animation-delay: 4.8s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: none; }
}

/* Asszisztens */
.chat { display: grid; gap: 12px; }

.msg {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: rise 500ms var(--ease) both;
}

.msg.user { justify-self: end; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); border-bottom-right-radius: 4px; }
.msg.bot { position: relative; justify-self: start; min-height: 44px; border: 1px solid rgb(190 226 250 / 18%); background: rgb(21 86 147 / 28%); border-bottom-left-radius: 4px; animation-delay: 600ms; }

.dots { position: absolute; left: 14px; top: 18px; display: inline-flex; gap: 5px; animation: fadeOut 300ms ease 2.2s forwards; }
.dots i, .aiBubble .a i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: bounce 1s ease-in-out infinite; }
.dots i:nth-child(2), .aiBubble .a i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3), .aiBubble .a i:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-5px); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

.answer { display: block; opacity: 0; animation: fadeIn 600ms var(--ease) 2.4s forwards; }

.confirm {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 14px;
  border: 1px dashed rgb(112 217 255 / 50%);
  border-radius: 14px;
  background: rgb(112 217 255 / 6%);
  opacity: 0;
  animation: rise 600ms var(--ease) 3.2s forwards;
}

.confirm > svg { width: 22px; height: 22px; color: var(--cyan); }
.confirm strong { display: block; font-size: 0.9rem; }
.confirm span { color: var(--dim); font-size: 0.82rem; }
.confirm em { grid-column: 1 / -1; justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgb(251 140 0 / 20%); color: #ffc078; font-style: normal; font-size: 0.75rem; font-weight: 800; }

.demoNote { margin-top: 10px; color: var(--dim); font-size: 0.78rem; text-align: right; }

/* ── Funkciócsempék ───────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }

.tile {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--glass);
  border-radius: 22px;
  background:
    radial-gradient(280px circle at var(--gx, 50%) var(--gy, 0%), rgb(112 217 255 / 16%), transparent 70%),
    linear-gradient(145deg, rgb(255 255 255 / 7%), transparent 40%),
    rgb(13 56 98 / 30%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 20px 40px -28px rgb(0 8 24 / 80%);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.page[data-motion] .tile[data-visible] {
  transition: opacity 800ms var(--ease) var(--reveal-delay, 0ms), transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.tile:hover { border-color: rgb(126 207 255 / 50%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 24px 50px -24px rgb(0 100 180 / 70%); }

.tile h3 { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 1.15rem; font-weight: 900; }
.tile h3 svg { width: 20px; height: 20px; color: var(--cyan); }
.tile ul { display: grid; gap: 8px; margin-top: 12px; }
.tile li { position: relative; padding-left: 18px; color: var(--dim); line-height: 1.5; font-size: 0.95rem; }
.tile li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.tileArt {
  position: relative;
  display: grid;
  place-items: center;
  height: 120px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 120%, rgb(17 146 232 / 35%), transparent 70%), rgb(2 20 38 / 60%);
  overflow: hidden;
}

/* Termosztát-tárcsa */
.dialRing {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--cyan), var(--warm), var(--hot) 70%, transparent 70%);
  mask: radial-gradient(circle, transparent 38px, #000 39px);
  -webkit-mask: radial-gradient(circle, transparent 38px, #000 39px);
  animation: dialTurn 6s ease-in-out infinite;
}

@keyframes dialTurn { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(18deg); } }
.dialValue { position: relative; font-size: 1.4rem; font-weight: 900; }
.dialValue small { font-size: 0.7rem; color: var(--dim); }
.dialMode { position: absolute; right: 18px; top: 16px; color: var(--hot); animation: blink 2s ease-in-out infinite; }
.dialMode svg { width: 20px; height: 20px; }

/* Mérőóra-csempe */
.meterSpin { display: flex; gap: 4px; font-size: 1.6rem; font-weight: 900; }
.meterSpin .roll { color: var(--cyan); }

/* Csővezeték-csempe */
.pipes svg { width: 86%; }

/* Emeletek */
.floors { perspective: 500px; }

.floors span {
  position: absolute;
  width: 120px;
  height: 56px;
  border: 1px solid rgb(112 217 255 / 50%);
  border-radius: 8px;
  background: linear-gradient(90deg, rgb(255 138 91 / 55%), rgb(255 217 138 / 45%) 35%, rgb(112 217 255 / 40%) 70%, rgb(17 146 232 / 45%));
  transform: rotateX(62deg) rotateZ(-38deg) translateZ(calc(var(--i, 0) * 1px));
  animation: stack 4s var(--ease) infinite;
  animation-delay: var(--d);
}

.floors span:nth-child(1) { --z: -30px; }
.floors span:nth-child(2) { --z: -10px; }
.floors span:nth-child(3) { --z: 10px; }
.floors span:nth-child(4) { --z: 30px; }

@keyframes stack {
  0%, 100% { transform: rotateX(62deg) rotateZ(-38deg) translateZ(var(--z)); opacity: 0.85; }
  50% { transform: rotateX(62deg) rotateZ(-38deg) translateZ(calc(var(--z) * 1.8)); opacity: 1; }
}

/* Értesítések */
.notif { place-items: stretch; align-content: center; padding: 10px 16px; gap: 6px; }

.notif span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgb(190 226 250 / 22%);
  border-radius: 10px;
  background: rgb(21 86 147 / 45%);
  font-size: 0.78rem;
  font-weight: 700;
  animation: notifCycle 3.6s var(--ease) infinite;
  animation-delay: var(--d);
  opacity: 0;
}

.notif svg { color: var(--cyan); width: 14px; height: 14px; }

@keyframes notifCycle {
  0% { opacity: 0; transform: translateY(-12px) scale(0.96); }
  12%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(6px); }
}

/* AI-buborék */
.aiBubble { place-items: stretch; align-content: center; padding: 14px 18px; gap: 10px; }
.aiBubble .q { justify-self: end; padding: 7px 12px; border-radius: 12px 12px 4px 12px; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); font-size: 0.8rem; font-weight: 700; }
.aiBubble .a { justify-self: start; display: inline-flex; gap: 5px; padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: rgb(21 86 147 / 45%); }

/* Várólista */
.queue { place-items: stretch; align-content: center; padding: 14px 18px; gap: 10px; }

.queue span {
  position: relative;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgb(255 255 255 / 6%);
  font-size: 0.75rem;
  font-weight: 700;
  overflow: hidden;
  isolation: isolate;
}

.queue span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: var(--w);
  background: linear-gradient(90deg, var(--brand-strong), var(--cyan));
  opacity: 0.55;
  transform-origin: left;
  animation: fill 3.6s var(--ease) infinite;
  animation-delay: var(--d);
}

@keyframes fill { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }

/* Pajzs */
.shield .shieldIcon { position: relative; z-index: 1; width: 48px; height: 48px; color: #7ed98a; }

.shield span {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid rgb(126 217 138 / 60%);
  border-radius: 50%;
  animation: ripple 2.8s ease-out infinite;
}

.shield span:last-child { animation-delay: 1.4s; }
@keyframes ripple { from { transform: scale(0.8); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

/* ── Lakói app ────────────────────────────────────────────────────────── */
.appSection { display: grid; gap: 40px; align-items: center; }
.checks { display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }

.checks li > svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(17 146 232 / 35%), rgb(112 217 255 / 12%));
  color: var(--cyan);
}

.checks strong { display: block; font-size: 1.05rem; }
.checks span { color: var(--dim); line-height: 1.55; }

.phone {
  position: relative;
  justify-self: center;
  width: min(300px, 82vw);
  aspect-ratio: 9 / 19;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2b3a4d, #0b1420);
  box-shadow: 0 50px 100px -40px rgb(17 146 232 / 70%), inset 0 0 0 2px rgb(255 255 255 / 10%);
  animation: float 7s ease-in-out infinite;
}

.phoneScreen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 0%, #155693, #01070e 70%);
}

.phoneTop { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; font-size: 0.75rem; font-weight: 800; }
.phoneTop svg { width: 14px; height: 14px; }
.notch { width: 84px; height: 24px; border-radius: 999px; background: #000; }

.scanStage {
  position: absolute;
  inset: 48px 0 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  animation: stageOut 10s ease infinite;
}

.qr { position: relative; padding: 14px; border: 2px solid var(--cyan); border-radius: 18px; overflow: hidden; }
.qrIcon { width: 110px; height: 110px; color: #fff; stroke-width: 1.4; }

.scanLine {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 16px 4px rgb(112 217 255 / 70%);
  animation: scan 1.4s ease-in-out infinite alternate;
}

@keyframes scan { from { top: 6%; } to { top: 92%; } }

.scanText { color: var(--dim); font-size: 0.85rem; animation: textSwap 10s steps(1) infinite; }
.pairedText { display: inline-flex; align-items: center; gap: 6px; position: absolute; bottom: 30%; color: #7ed98a; font-weight: 800; font-size: 0.9rem; opacity: 0; animation: paired 10s ease infinite; }

@keyframes textSwap { 0%, 24% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes paired { 0%, 24% { opacity: 0; } 26%, 34% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes stageOut { 0%, 34% { opacity: 1; transform: none; } 38%, 96% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; } }

.phoneHome {
  position: absolute;
  inset: 56px 14px 14px;
  display: grid;
  align-content: start;
  gap: 10px;
  opacity: 0;
  animation: homeIn 10s ease infinite;
}

@keyframes homeIn { 0%, 36% { opacity: 0; transform: translateY(20px); } 40%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

.roomCard {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid rgb(190 226 250 / 22%);
  border-radius: 18px;
  background: rgb(21 86 147 / 40%);
}

.roomCard span { color: var(--dim); font-size: 0.75rem; }
.roomCard strong { font-size: 1.5rem; font-weight: 900; }
.roomCard em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 0.75rem; color: var(--warm); }
.roomCard:nth-child(2) em { color: var(--cyan); }
.roomCard svg { width: 12px; height: 12px; }

.push {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgb(255 255 255 / 92%);
  color: #0b1a2b;
  box-shadow: 0 12px 30px -12px rgb(0 0 0 / 70%);
  opacity: 0;
}

.push svg { width: 20px; height: 20px; color: var(--brand-strong); }
.push strong { display: block; font-size: 0.78rem; }
.push span { font-size: 0.75rem; color: #3a4b5f; }
.push.p1 { animation: pushIn 10s var(--ease) infinite; }
.push.p2 { animation: pushIn2 10s var(--ease) infinite; }

@keyframes pushIn { 0%, 48% { opacity: 0; transform: translateY(-30px) scale(0.95); } 52%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes pushIn2 { 0%, 62% { opacity: 0; transform: translateY(-30px) scale(0.95); } 66%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* ── Saját arculat ────────────────────────────────────────────────────── */
.brandSection { display: grid; gap: 40px; align-items: center; }
.brandDemo { display: grid; place-items: center; }

.brandCard {
  --b: #1192e8;
  --b2: #70d9ff;
  position: relative;
  display: grid;
  gap: 16px;
  width: min(360px, 100%);
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--b) 50%, transparent);
  border-radius: 24px;
  background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--b) 35%, transparent), transparent 60%), #06182b;
  box-shadow: 0 30px 80px -30px var(--b);
  animation: palette 9s ease-in-out infinite;
}

@property --b { syntax: "<color>"; inherits: true; initial-value: #1192e8; }
@property --b2 { syntax: "<color>"; inherits: true; initial-value: #70d9ff; }

@keyframes palette {
  0%, 28% { --b: #1192e8; --b2: #70d9ff; }
  33%, 61% { --b: #f5c518; --b2: #ffe58a; }
  66%, 94% { --b: #23adda; --b2: #8ff0d6; }
  100% { --b: #1192e8; --b2: #70d9ff; }
}

.brandHead { display: flex; align-items: center; gap: 10px; }
.brandMark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--b), var(--b2)); }
.brandBar { height: 8px; border-radius: 999px; background: rgb(255 255 255 / 8%); overflow: hidden; }
.brandBar span { display: block; height: 100%; width: 70%; background: linear-gradient(90deg, var(--b), var(--b2)); }
.brandBtns { display: flex; gap: 10px; }
.brandBtns span { padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 800; }
.bPrimary { background: var(--b); color: #021020; }
.bGhost { border: 1px solid color-mix(in srgb, var(--b) 60%, transparent); }
.brandQr { position: absolute; right: 20px; bottom: 20px; color: var(--b2); }
.brandQr svg { width: 46px; height: 46px; }

/* ── Katalógus ────────────────────────────────────────────────────────── */
.catalog { display: grid; gap: 12px; }

.catGroup {
  border: 1px solid var(--glass);
  border-radius: 18px;
  background: rgb(13 56 98 / 25%);
  overflow: hidden;
}

.catGroup[open] { border-color: rgb(126 207 255 / 40%); background: rgb(13 56 98 / 38%); }

.catGroup summary {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
}

.catGroup summary::-webkit-details-marker { display: none; }
.catGroup summary:hover { background: rgb(255 255 255 / 3%); }

.catIcon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(17 146 232 / 35%), rgb(112 217 255 / 12%));
  color: var(--cyan);
}

.catIcon svg { width: 20px; height: 20px; }
.catGroup summary strong { font-size: 1.05rem; }
.catGroup summary em { font-style: normal; color: var(--dim); font-size: 0.8rem; white-space: nowrap; }
.chev { transition: transform 300ms var(--ease); color: var(--dim); }
.catGroup[open] .chev { transform: rotate(180deg); }

.catGroup ul { display: grid; gap: 10px; padding: 4px 18px 20px 70px; }
.catGroup li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; color: var(--muted); line-height: 1.5; }
.catGroup li svg { margin-top: 3px; color: #7ed98a; }
.catGroup[open] li { animation: slideIn 400ms var(--ease) both; }
.catGroup[open] li:nth-child(2) { animation-delay: 40ms; }
.catGroup[open] li:nth-child(3) { animation-delay: 80ms; }
.catGroup[open] li:nth-child(4) { animation-delay: 120ms; }
.catGroup[open] li:nth-child(5) { animation-delay: 160ms; }
.catGroup[open] li:nth-child(6) { animation-delay: 200ms; }
.catGroup[open] li:nth-child(7) { animation-delay: 240ms; }

/* ── Idővonal ─────────────────────────────────────────────────────────── */
.timeline { position: relative; display: grid; gap: 24px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--cyan));
  transform-origin: top;
  transition: transform 1600ms cubic-bezier(0.6, 0, 0.2, 1);
}

.page[data-motion] .timeline:not([data-visible])::before { transform: scaleY(0); }

.timelineItem {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms ease var(--reveal-delay, 0ms);
}

.page[data-motion] .timeline:not([data-visible]) .timelineItem { opacity: 0; transform: translateX(-16px); }

.timelineNumber {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 0 0 6px var(--bg), 0 8px 24px -6px rgb(17 146 232 / 80%);
  font-weight: 900;
  font-size: 1.1rem;
}

.cardTitle { margin-top: 10px; font-size: 1.1rem; font-weight: 800; }
.cardText { margin-top: 8px; color: var(--dim); line-height: 1.6; }

/* ── Kapcsolat ────────────────────────────────────────────────────────── */
.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px;
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 60%, var(--brand) 75%, var(--cyan) 85%, transparent 100%);
  animation: spin 6s linear infinite;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 26px;
  background: radial-gradient(500px circle at 50% 0%, rgb(17 146 232 / 28%), transparent 70%), #041526;
}

.contact .sectionTitle { margin-bottom: 0; }
.contact .lead { max-width: 560px; margin-bottom: 28px; }
.contact .primaryButton { max-width: 100%; overflow-wrap: anywhere; }

.footer {
  max-width: 1232px;
  margin: 96px auto 0;
  padding: 24px 16px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  border-top: 1px solid rgb(190 226 250 / 16%);
}

.footer a:hover { color: #fff; }

/* ── Töréspontok ──────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .plantGrid { grid-template-columns: 1.6fr 1fr; align-items: center; }
  .meterRow { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }

  .timeline::before {
    left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--cyan));
    transform-origin: left;
  }

  .page[data-motion] .timeline:not([data-visible])::before { transform: scaleX(0); }
  .timelineItem { grid-template-columns: 1fr; gap: 8px; }
  .page[data-motion] .timeline:not([data-visible]) .timelineItem { transform: translateY(16px); }
  .catalog { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
  .topnav { display: flex; }
  .hero { grid-template-columns: 1.05fr 0.95fr; min-height: min(82vh, 760px); padding-top: 0; }
  .scene { width: 100%; }
  .appShell { grid-template-columns: 210px 1fr; min-height: 420px; }
  .appSide { display: flex; }
  .panels { padding: 26px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile.wide { grid-column: span 2; }
  .tile.wide .tileArt { height: 140px; }
  .appSection, .brandSection { grid-template-columns: 1.1fr 0.9fr; }
  .brandSection { grid-template-columns: 0.9fr 1.1fr; }
}

@media (max-width: 719px) {
  .chip { font-size: 0.72rem; padding: 6px 10px; }
  .chipA { left: 0; }
  .chipB { right: 0; }
  .orbitIcon { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .catGroup ul { padding-left: 18px; }
  .catGroup summary { grid-template-columns: 40px 1fr auto; }
  .catGroup summary em { display: none; }
}

/* ── Csökkentett mozgás és átlátszóság ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .page *, .page *::before, .page *::after, .progress span {
    animation: none !important;
    transition: none !important;
  }

  .tile { transform: none; }
  .window:nth-child(3n) { fill: var(--warm); }
  .linePath { stroke-dashoffset: 0; }
  .areaPath, .pin, .delivery li, .confirm, .answer { opacity: 1; max-height: none; }
  .typing { clip-path: none; }
  .dots { display: none; }
  .scanStage, .push.p2 { display: none; }
  .phoneHome, .push.p1 { opacity: 1; }
  .notif span { opacity: 1; }
  .rotatorWords { height: auto; }
  .rotatorWords span:not(:first-child) { display: none; }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .chip, .tile, .topbar[data-scrolled] {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}


/* ══ Megoldások: nagy eszközábra + leírás ═════════════════════════════ */
.sectionLead { max-width: 720px; margin: -16px 0 28px; }

.solNav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 8px;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.solNav::-webkit-scrollbar { display: none; }

.solNav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--glass);
  border-radius: 999px;
  background: rgb(10 44 79 / 70%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.solNav a svg { color: var(--cyan); }
.solNav a:hover, .solNav a[aria-current="page"] { color: #fff; border-color: rgb(126 207 255 / 60%); background: linear-gradient(135deg, rgb(17 146 232 / 50%), rgb(112 217 255 / 15%)); }

.solGroup { margin-top: 72px; scroll-margin-top: 140px; }

.solGroupHead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgb(190 226 250 / 14%);
}

.solGroupNum {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--cyan), rgb(17 146 232 / 20%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.solGroupHead h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; }
.solGroupHead p { margin-top: 4px; color: var(--dim); line-height: 1.55; }

.solRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 40px 0;
  scroll-margin-top: 140px;
}

.solRow + .solRow { border-top: 1px dashed rgb(190 226 250 / 10%); }

.solFigure {
  position: relative;
  margin: 0;
  padding: 18px;
  border: 1px solid rgb(190 226 250 / 20%);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 0%, rgb(17 146 232 / 30%), transparent 60%),
    radial-gradient(circle at 100% 100%, rgb(112 217 255 / 12%), transparent 55%),
    #041628;
  box-shadow: 0 40px 90px -45px rgb(17 146 232 / 70%), inset 0 1px 0 rgb(255 255 255 / 10%);
  overflow: hidden;
}

.solFigure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(112 217 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(112 217 255 / 6%) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page[data-motion] .solRow:not([data-visible]) .solFigure { transform: scale(0.94); opacity: 0; }
.solFigure { transition: transform 900ms var(--ease), opacity 900ms var(--ease); }
.figSvg { position: relative; width: 100%; height: auto; }

.solFigure figcaption {
  position: relative;
  margin-top: 8px;
  color: var(--dim);
  font-size: 0.8rem;
  text-align: center;
}

.solTag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(112 217 255 / 10%);
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.solBody h4 { margin-top: 14px; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; }
.solLead { margin-top: 14px; color: var(--muted); line-height: 1.7; font-size: 1.02rem; }

.specs { display: grid; gap: 12px; margin-top: 22px; }

.specs > div {
  padding: 16px;
  border: 1px solid var(--glass);
  border-radius: 16px;
  background: rgb(13 56 98 / 28%);
  transition: border-color 250ms ease, transform 250ms ease;
}

.specs > div:hover { border-color: rgb(126 207 255 / 45%); transform: translateY(-2px); }
.specs strong { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.specs strong svg { color: var(--cyan); }
.specs ul { display: grid; gap: 6px; margin-top: 10px; }
.specs li { position: relative; padding-left: 14px; color: var(--dim); font-size: 0.9rem; line-height: 1.45; }
.specs li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.page[data-motion] .solRow:not([data-visible]) .specs > div { opacity: 0; transform: translateY(14px); }
.solRow .specs > div { transition: opacity 600ms var(--ease), transform 600ms var(--ease), border-color 250ms ease; }
.solRow .specs > div:nth-child(2) { transition-delay: 120ms; }
.solRow .specs > div:nth-child(3) { transition-delay: 240ms; }

@media (min-width: 960px) {
  .solRow { grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 56px 0; }
  .solRow.reverse .solFigure { order: 2; }
  .specs { grid-template-columns: repeat(3, 1fr); }
}

/* ── Ábrák közös elemei ───────────────────────────────────────────────── */
.figSvg text { font-family: "Nunito Local", Helvetica, Arial, sans-serif; text-anchor: middle; }
.badgeBox { fill: rgb(10 44 79 / 85%); stroke: rgb(190 226 250 / 35%); }
.badgeLabel { fill: var(--dim); font-size: 12px; font-weight: 700; }
.badgeValue { fill: #fff; font-size: 18px; font-weight: 900; }
.badgeValue.small { font-size: 15px; }
.pill { fill: rgb(10 44 79 / 90%); stroke: rgb(112 217 255 / 45%); }
.pillText { fill: #fff; font-size: 13px; font-weight: 800; }
.hotText { fill: var(--hot); }
.coldText { fill: var(--cyan); }
.mixText { fill: var(--warm); }
.tempTag { font-size: 14px; font-weight: 900; text-anchor: start !important; }
.ductLabel { fill: var(--dim); font-size: 12px; font-weight: 700; text-anchor: start !important; }
.ductLabel.end { text-anchor: end !important; }
.ductLabel.mid { text-anchor: middle !important; }
.spinSlow { animation: spin 2.6s linear infinite; }
.spinFast { animation: spin 1.2s linear infinite; }
.pipe.mixed { stroke: var(--warm); }
.flow.mixed { stroke: #ffeec4; }

/* Fűtés–hűtés váltás: a szín 8 másodpercenként vált meleg és hideg között */
.swapTone { animation: toneSwap 8s ease-in-out infinite; }
@keyframes toneSwap { 0%, 40% { stroke: var(--cyan); } 50%, 90% { stroke: var(--hot); } 100% { stroke: var(--cyan); } }
.swapFill { animation: fillSwap 8s ease-in-out infinite; }
@keyframes fillSwap { 0%, 40% { fill: rgb(112 217 255 / 55%); } 50%, 90% { fill: rgb(255 138 91 / 55%); } 100% { fill: rgb(112 217 255 / 55%); } }
.swapText { animation: textTone 8s ease-in-out infinite; }
@keyframes textTone { 0%, 40% { fill: #c9f1ff; } 50%, 90% { fill: #ffd2bd; } 100% { fill: #c9f1ff; } }

/* Fan-coil */
.fcBody { fill: #0b2f52; stroke: rgb(190 226 250 / 40%); stroke-width: 2; }
.fcBay { fill: #061d33; stroke: rgb(190 226 250 / 20%); }
.fcRing { fill: none; stroke: var(--cyan); stroke-width: 3; }
.fcBlade { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.fcCoil { fill: none; stroke-width: 4; stroke-linecap: round; }
.fcFin { fill: none; stroke: rgb(190 226 250 / 25%); stroke-width: 2; }
.fcGrille { fill: #082440; stroke: rgb(190 226 250 / 30%); }
.airOut { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; animation: dashP14_0 0.8s linear infinite, toneSwap 8s ease-in-out infinite; }
.airOut.cool { stroke: var(--cyan); animation: dash 0.8s linear infinite; }
.gaugeTrack { fill: #021a30; stroke: rgb(190 226 250 / 25%); }
.gaugeFill { fill: var(--cyan); transform-origin: 0 108px; transform-box: view-box; animation: volt 4s ease-in-out infinite; }
@keyframes volt { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(0.85); } }

/* Mennyezet és padló */
.room { fill: rgb(6 29 51 / 70%); stroke: rgb(190 226 250 / 22%); }
.panel { fill: rgb(112 217 255 / 55%); }
.flowLine { fill: none; stroke-width: 3; stroke-dasharray: 8 10; animation: dashP18_0 0.9s linear infinite, toneSwap 8s ease-in-out infinite; }
.radiateDown { fill: none; stroke-width: 3; stroke-linecap: round; opacity: 0.8; animation: waveDown 2.4s ease-in-out infinite, toneSwap 8s ease-in-out infinite; }
@keyframes waveDown { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 0.9; } 100% { transform: translateY(70px); opacity: 0; } }
.floor { fill: rgb(190 226 250 / 18%); }
.slab { fill: #0a2742; stroke: rgb(190 226 250 / 25%); }
.heatUp { fill: none; stroke: var(--hot); stroke-width: 3; stroke-linecap: round; animation: waveUp 2.6s ease-in-out infinite; }
@keyframes waveUp { 0% { transform: translateY(10px); opacity: 0; } 40% { opacity: 0.9; } 100% { transform: translateY(-50px); opacity: 0; } }
.act { fill: #23384f; stroke: rgb(190 226 250 / 30%); }
.act.on { animation: actOn 3s ease-in-out infinite; }
.act.d2 { animation-delay: 1s; }
.act.d3 { animation: actOn 3s ease-in-out 2s infinite; }
@keyframes actOn { 0%, 100% { fill: #23384f; } 40%, 70% { fill: var(--hot); } }

/* Harmatpont */
.dewRing { fill: rgb(10 44 79 / 85%); stroke: rgb(190 226 250 / 25%); stroke-width: 10; }
.dewArc { fill: none; stroke: #7ed98a; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 390; stroke-dashoffset: 390; transform: rotate(-90deg); transform-origin: 320px 160px; animation: dewFill 4s var(--ease) infinite; }
@keyframes dewFill { 0% { stroke-dashoffset: 390; } 60%, 100% { stroke-dashoffset: 130; } }
.dewValue { fill: #fff; font-size: 26px; font-weight: 900; }
.okPill { fill: rgb(67 160 71 / 20%); stroke: rgb(126 217 138 / 60%); }
.okText { fill: #a8eab1; font-size: 12px; font-weight: 800; }
.drip { fill: #e6f8ff; animation: dripFall 2.4s ease-in infinite; }
@keyframes dripFall { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(60px); opacity: 1; } 100% { transform: translateY(60px) scale(1.6, 0.2); opacity: 0; } }

/* Klíma */
.acBody { fill: #e9f3fb; stroke: #b8d4ea; stroke-width: 2; }
.acSlot { fill: #b8cfe2; }
.acFlap { fill: #cfe2f2; stroke: #9ebdd6; }
.flap { animation: flapSwing 4s ease-in-out infinite; }
@keyframes flapSwing { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(14deg); } }
.ledOn { fill: #43a047; animation: blink 2s ease-in-out infinite; }
.gwBox { fill: #0b2f52; stroke: var(--cyan); stroke-width: 2; }

/* Légtechnika */
.hrvBody { fill: #0b2f52; stroke: rgb(190 226 250 / 40%); stroke-width: 2; }
.hrvCore { fill: none; stroke: rgb(190 226 250 / 30%); stroke-width: 3; }
.duct { fill: none; stroke-width: 18; stroke-linecap: round; opacity: 0.25; }
.duct.cool { stroke: var(--cyan); }
.duct.warm { stroke: var(--hot); }
.ductFlow { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 14; animation: dashP24_0 0.8s linear infinite; }
.ductFlow.cool { stroke: #c9f1ff; }
.ductFlow.warm { stroke: #ffc1a6; }

/* Keverőszelep */
.valve { fill: #0b2f52; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.valveHub { fill: var(--warm); }
.valveStem { stroke: var(--warm); stroke-width: 4; stroke-linecap: round; }
.valveTurn { animation: valveTurn 5s ease-in-out infinite; }
@keyframes valveTurn { 0%, 100% { transform: rotate(-35deg); } 50% { transform: rotate(35deg); } }

/* Hőtermelők */
.tank { fill: #0a2742; stroke: rgb(190 226 250 / 40%); stroke-width: 2; }
.tankLevel { fill: rgb(255 138 91 / 35%); transform-origin: 250px 256px; animation: tankFill 6s ease-in-out infinite; }
@keyframes tankFill { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(0.92); } }
.coil { fill: none; stroke: var(--hot); stroke-width: 4; stroke-linecap: round; animation: blink 2.4s ease-in-out infinite; }

/* Mérés */
.meterFace { fill: #e9f3fb; stroke: #9ebdd6; stroke-width: 3; }
.meterInner { fill: #fff; stroke: #cfe2f2; }
.needle { fill: var(--brand-strong); }
.lcd { fill: #a8eab1; font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.bus { stroke: var(--warm); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 10; animation: dashP24_0 0.6s linear infinite; fill: none; }
.busDrop { stroke: rgb(255 217 138 / 60%); stroke-width: 2; fill: none; }
.leakBox { fill: #0b2f52; stroke: var(--cyan); }
.leakRipple { fill: none; stroke: var(--cyan); stroke-width: 2; transform-origin: 400px 178px; animation: ripple 2.4s ease-out infinite; }
.leakRipple.r2 { animation-delay: 1.2s; }

/* Világítás */
.cord { stroke: rgb(190 226 250 / 40%); stroke-width: 2; }
.lamp { fill: var(--warm); }
.glow { fill: rgb(255 217 138 / 30%); filter: blur(12px); animation: dim 5s ease-in-out infinite; }
.glow.g2 { animation-delay: 2.5s; }
@keyframes dim { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.window { fill: rgb(112 217 255 / 25%); stroke: rgb(190 226 250 / 40%); }
.blindSheet { fill: #12395f; }
.slats { stroke: rgb(190 226 250 / 30%); stroke-width: 2; fill: none; }
.blinds { transform-origin: 370px 70px; animation: blindsMove 7s ease-in-out infinite; }
@keyframes blindsMove { 0%, 15% { transform: scaleY(1); } 45%, 70% { transform: scaleY(0.18); } 100% { transform: scaleY(1); } }

/* Integrációk */
.hub { fill: #0b4c86; stroke: var(--cyan); stroke-width: 3; }
.hubPulse { fill: none; stroke: var(--cyan); stroke-width: 2; transform-origin: 240px 160px; animation: ripple 2.6s ease-out infinite; }
.hubText { fill: #fff; font-size: 14px; font-weight: 900; }
.spoke { stroke: rgb(112 217 255 / 25%); stroke-width: 2; }
.packet { stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 260; animation: packet 2.4s linear infinite; filter: drop-shadow(0 0 4px var(--cyan)); }
.packet.p2 { animation-delay: .4s; stroke: var(--warm); filter: drop-shadow(0 0 4px var(--warm)); }
.packet.p3 { animation-delay: .8s; }
.packet.p4 { animation-delay: 1.2s; stroke: var(--warm); filter: drop-shadow(0 0 4px var(--warm)); }
.packet.p5 { animation-delay: 1.6s; }
.packet.p6 { animation-delay: 2s; stroke: var(--warm); filter: drop-shadow(0 0 4px var(--warm)); }
@keyframes packet { from { stroke-dashoffset: 270; } to { stroke-dashoffset: 0; } }
.node { fill: rgb(10 44 79 / 90%); stroke: rgb(112 217 255 / 55%); }
.nodeText { fill: #fff; font-size: 13px; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .page[data-motion] .solRow .solFigure, .page[data-motion] .solRow .specs > div { opacity: 1; transform: none; }
  .gaugeFill { transform: scaleY(0.6); }
  .tankLevel { transform: scaleY(0.7); }
  .dewArc { stroke-dashoffset: 130; }
  .glow { opacity: 0.7; }
}

/* ══ Többoldalas váz ══════════════════════════════════════════════════ */
.topbar { padding-top: calc(18px + env(safe-area-inset-top)); padding-bottom: 18px; }
.topnav a[aria-current="page"] { color: #fff; }
.topnav a[aria-current="page"]::after { transform: scaleX(1); }

/* Mobilmenü JavaScript nélkül */
.menu { position: relative; }
.menu summary {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--glass);
  border-radius: 14px;
  background: rgb(220 242 255 / 7%);
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu .menuClose, .menu[open] .menuOpen { display: none; }
.menu[open] .menuClose { display: block; }
.menuPanel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--glass);
  border-radius: 18px;
  background: rgb(4 22 40 / 96%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 80%);
  animation: rise 300ms var(--ease) both;
}
.menuPanel a { padding: 12px 14px; border-radius: 12px; font-weight: 800; color: var(--muted); }
.menuPanel a:hover, .menuPanel a[aria-current="page"] { color: #fff; background: rgb(17 146 232 / 30%); }

/* Oldalfejléc az aloldalakon */
.pageHead { max-width: 1232px; margin: 0 auto; padding: 56px 16px 0; }
.pageTitle {
  max-width: 900px;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.pageHead .lead { max-width: 720px; }
.section.first { margin-top: 48px; }

/* Főoldali „Fedezze fel” és megoldáscsoport-kártyák */
.exploreGrid, .groupGrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.exploreCard, .groupCard {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--glass);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(280px circle at var(--gx, 50%) var(--gy, 0%), rgb(112 217 255 / 18%), transparent 70%),
    linear-gradient(145deg, rgb(255 255 255 / 7%), transparent 40%),
    rgb(13 56 98 / 32%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 20px 40px -28px rgb(0 8 24 / 80%);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.page[data-motion] .exploreCard[data-visible], .page[data-motion] .groupCard[data-visible] {
  transition: opacity 800ms var(--ease) var(--reveal-delay, 0ms), transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.exploreCard:hover, .groupCard:hover { border-color: rgb(126 207 255 / 55%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 30px 60px -28px rgb(0 100 180 / 75%); }
.exploreIcon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(17 146 232 / 40%), rgb(112 217 255 / 12%));
  color: var(--cyan);
  box-shadow: 0 0 30px -8px var(--cyan);
  transition: transform 400ms cubic-bezier(0.3, 1.6, 0.5, 1);
}
.exploreIcon svg { width: 28px; height: 28px; }
.exploreCard:hover .exploreIcon, .groupCard:hover .exploreIcon { transform: scale(1.1) rotate(-6deg); }
.exploreCard strong, .groupCard strong { margin-top: 6px; font-size: 1.3rem; font-weight: 900; }
.exploreCard > span:not(.exploreIcon), .groupDesc { color: var(--dim); line-height: 1.55; }
.exploreCard em, .groupCard em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-weight: 800; color: var(--cyan); }
.exploreCard:hover .arrow, .groupCard:hover .arrow { transform: translateX(5px); }
.groupNum {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(112 217 255 / 35%);
}
.groupCard ul { display: grid; gap: 6px; margin-top: 4px; }
.groupCard li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.groupCard li svg { margin-top: 3px; color: #7ed98a; }

/* Előző–következő lapozás */
.prevNext { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 48px; }
.pnLink {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--glass);
  border-radius: 18px;
  background: rgb(13 56 98 / 28%);
  transition: border-color 250ms ease, transform 250ms var(--ease);
}
.pnLink:hover { border-color: rgb(126 207 255 / 55%); transform: translateY(-2px); }
.pnLink svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.pnLink span { display: grid; gap: 2px; font-weight: 800; }
.pnLink em { font-style: normal; font-size: 0.78rem; color: var(--dim); font-weight: 700; }
.pnLink.next { justify-content: space-between; text-align: right; }

/* Lábléc */
.footer { align-items: center; }
.footBrand { display: grid; gap: 8px; }
.footBrand img { height: 30px; width: auto; }
.footNav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; }
.footNav a:hover, .footMail:hover { color: #fff; }
.footMail { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

@media (min-width: 720px) {
  .exploreGrid { grid-template-columns: repeat(2, 1fr); }
  .groupGrid { grid-template-columns: repeat(2, 1fr); }
  .prevNext { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .brand { height: 44px; }
  .menu { display: none; }
  .exploreGrid { grid-template-columns: repeat(4, 1fr); }
  .groupGrid { grid-template-columns: repeat(3, 1fr); }
  .pageHead { padding-top: 72px; }
}

/* ══ Főoldal: egész képernyős társasház-jelenet ═══════════════════════ */
.stage {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100dvh - 90px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 16px 24px;
}

.stageText { position: relative; z-index: 2; text-align: center; padding-top: 12px; }

.stageTitle {
  margin-top: 16px;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.stageArt {
  position: relative;
  align-self: start;
  width: min(100%, calc((100dvh - 300px) * 1.6667));
  aspect-ratio: 1200 / 720;
  margin: 24px auto 0;
  border-radius: 32px;
  box-shadow: 0 60px 120px -50px rgb(17 146 232 / 70%), inset 0 0 0 1px rgb(190 226 250 / 16%);
  animation: rise 1200ms var(--ease) 250ms both;
}

.stageSvg { display: block; width: 100%; height: 100%; border-radius: 32px; }
@media (min-width: 720px) and (max-height: 640px) { .stageArt { width: 100%; } }

/* Parallaxis rétegek (a JS állítja a --px / --py értéket) */
.layerFar { transform: translate(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px)); transition: transform 600ms var(--ease); }
.layerMid { transform: translate(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -6px)); transition: transform 600ms var(--ease); }
.layerNear { transform: translate(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 4px)); transition: transform 600ms var(--ease); }

.star { fill: #fff; animation: twinkle 3.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.moon { fill: #eaf7ff; filter: drop-shadow(0 0 18px rgb(223 244 255 / 70%)); }

.cloudShape { fill: #e6f6ff; filter: drop-shadow(0 0 24px rgb(112 217 255 / 70%)); }
.cloudText { fill: #0b3a66; font: 900 13px "Nunito Local", sans-serif; text-anchor: middle; }
.cloudHaloAnim { transform-origin: 1000px 130px; animation: breathe 3.6s ease-in-out infinite; }

.bgw { fill: #ffd98a; opacity: .15; animation: bgLight 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bgLight { 0%, 100% { opacity: .12; } 50% { opacity: .55; } }

.ground { fill: #041526; }
.groundLine { stroke: rgb(112 217 255 / 35%); stroke-width: 2; }
.trunk { fill: #2a3d52; }
.crown { fill: #0f5a4a; filter: drop-shadow(0 0 10px rgb(67 160 71 / 35%)); }
.tree { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

.facadeEdge { fill: none; stroke: rgb(159 216 255 / 35%); stroke-width: 2; }
.roofSlab { fill: #2a8ae0; }
.bw { fill: url(#windowLit); animation: aptLight 9s ease-in-out infinite; animation-delay: var(--d); }
.bw.dark { fill: #0a2f55; animation: aptDark 11s ease-in-out infinite; animation-delay: var(--d); }
@keyframes aptLight {
  0%, 18% { fill: #0a2f55; filter: none; }
  26%, 82% { fill: url(#windowLit); filter: drop-shadow(0 0 8px rgb(255 200 120 / 75%)); }
  92%, 100% { fill: #0a2f55; filter: none; }
}
@keyframes aptDark { 0%, 70%, 100% { fill: #0a2f55; } 78%, 90% { fill: #2f6fa8; } }
.balcony { fill: rgb(190 226 250 / 45%); }
.door { fill: #041a30; stroke: rgb(112 217 255 / 60%); }
.canopy { fill: #2a8ae0; }
.doorLight { fill: #ffd98a; filter: drop-shadow(0 0 8px #ffd98a); animation: blink 3s ease-in-out infinite; }

.riser { stroke: rgb(112 217 255 / 25%); stroke-width: 3; }
.riserPulse { stroke: #c9f1ff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 18 480; animation: riser 2.6s linear infinite; filter: drop-shadow(0 0 6px var(--cyan)); }
.riserPulse.p2 { animation-delay: 1.3s; }
@keyframes riser { from { stroke-dashoffset: 498; } to { stroke-dashoffset: 0; } }

.hpBox { fill: #dbe9f5; stroke: #9ebdd6; }
.hpFan { transform-box: fill-box; transform-origin: center; animation: spin 1.1s linear infinite; }
.hpRing { fill: #0b3a66; stroke: #6e8faa; stroke-width: 2; }
.hpBlade { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.hpGrill { fill: #9ebdd6; }
.mast { stroke: #9fd8ff; stroke-width: 3; stroke-linecap: round; }
.beacon { fill: var(--cyan); animation: blink 1.6s ease-in-out infinite; }
.beaconRing { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 2s ease-out infinite; }

.uplink { fill: none; stroke: rgb(112 217 255 / 30%); stroke-width: 2; stroke-dasharray: 5 8; animation: dashP26_0 1.4s linear infinite; }
.uplinkPulse { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 26 600; animation: uplink 3s ease-in-out infinite; filter: drop-shadow(0 0 6px var(--cyan)); }
.uplinkPulse.p2 { animation-delay: 1.5s; stroke: var(--warm); filter: drop-shadow(0 0 6px var(--warm)); }
@keyframes uplink { from { stroke-dashoffset: 626; } to { stroke-dashoffset: 0; } }

/* Lebegő állapotjelzők a jeleneten */
.stageChips { position: absolute; inset: 0; pointer-events: none; }

.sChip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgb(190 226 250 / 30%);
  border-radius: 16px;
  background: rgb(6 30 54 / 78%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 18px 40px -16px rgb(0 0 0 / 80%);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 8px);
  transition: translate 600ms var(--ease);
  animation: chipCycle 12s var(--ease) infinite;
}

.sChip > svg { width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: rgb(112 217 255 / 15%); color: var(--cyan); box-sizing: content-box; }
.sChip span { display: grid; color: var(--dim); }
.sChip b { color: #fff; font-weight: 800; }
.sChip.c1 { left: 6%; top: 40%; animation-delay: 0s; }
.sChip.c2 { right: 6%; top: 46%; animation-delay: 2s; }
.sChip.c3 { left: 56%; top: 4%; animation-delay: 4s; }
.sChip.c4 { left: 10%; top: 66%; animation-delay: 6s; }
.sChip.c5 { right: 9%; top: 72%; animation-delay: 8s; }
.sChip.c6 { left: 24%; top: 14%; animation-delay: 10s; }
.sChip.c3 > svg, .sChip.c1 > svg { color: var(--warm); background: rgb(255 217 138 / 15%); }
.sChip.c6 > svg { color: #7ed98a; background: rgb(126 217 138 / 15%); }

@keyframes chipCycle {
  0% { opacity: 0; transform: translateY(14px) scale(.92); }
  5%, 40% { opacity: 1; transform: none; }
  48%, 100% { opacity: 0; transform: translateY(-10px) scale(.96); }
}

@media (max-width: 719px) {
  .stageArt { width: auto; aspect-ratio: 3 / 4; margin: 20px -8px 0; border-radius: 22px; }
  .stage { min-height: 0; }
  .stageSvg { border-radius: 22px; }
  .sChip { font-size: 0.66rem; padding: 6px 9px; gap: 6px; }
  .sChip > svg { width: 16px; height: 16px; }
  .sChip.c3 { left: 44%; }
}

@media (prefers-reduced-motion: reduce) {
  .stageChips .sChip { animation: none; opacity: 1; }
  .stageChips .sChip.c4, .stageChips .sChip.c5, .stageChips .sChip.c6 { display: none; }
  .bw { fill: url(#windowLit); }
}

/* ══ Főoldal: madártávlatú jelenet ════════════════════════════════════ */
.aerialSvg { display: block; width: 100%; height: 100%; border-radius: 32px; }
.aerialWorld { transform: translate(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 6px)); transition: transform 700ms var(--ease); }

.isoGround { fill: url(#aGround); stroke: rgb(112 217 255 / 25%); stroke-width: 2; }
.isoGrid { stroke: rgb(126 217 138 / 8%); stroke-width: 1; fill: none; }
.isoRoad { fill: #12202f; }
.isoLane { stroke: rgb(255 217 138 / 55%); stroke-width: 2; stroke-dasharray: 10 12; fill: none; }
.isoPlaza { fill: rgb(190 226 250 / 10%); stroke: rgb(190 226 250 / 18%); }
.car { filter: drop-shadow(0 0 6px currentColor); }
.carA { fill: #ffd98a; color: #ffd98a; }
.carB { fill: #ff8a5b; color: #ff8a5b; }

.treeShadow { fill: rgb(0 0 0 / 30%); }
.treeTop { fill: #1f7a5c; stroke: #2fa57a; stroke-width: 1.5; }
.isoTree { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; animation-delay: var(--d); }

.bShadow { fill: rgb(0 0 0 / 28%); }
.faceL { fill: url(#aFaceL); stroke: rgb(159 216 255 / 30%); }
.faceR { fill: url(#aFaceR); stroke: rgb(159 216 255 / 20%); }
.faceTop { fill: #3a9ae8; stroke: rgb(220 242 255 / 45%); }
.slabLine { fill: none; stroke: rgb(220 242 255 / 18%); stroke-width: 1.5; }
.iw { fill: url(#aLit); animation: aptLightIso 10s ease-in-out infinite; animation-delay: var(--d); }
.iw.off { fill: #0a2f55; animation: aptDarkIso 12s ease-in-out infinite; animation-delay: var(--d); }
@keyframes aptLightIso { 0%, 15% { fill: #0a2f55; } 22%, 85% { fill: url(#aLit); } 92%, 100% { fill: #0a2f55; } }
@keyframes aptDarkIso { 0%, 72%, 100% { fill: #0a2f55; } 78%, 90% { fill: #ffd98a; } }

.hpSideL { fill: #b8cfe2; }
.hpSideR { fill: #8eaecb; }
.hpTop { fill: #e6f1fa; }
.isoFan { animation: spin 1s linear infinite; }
.isoFanRing { fill: #0b3a66; stroke: #6e8faa; }
.isoFanBlade { stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.isoMast { stroke: #9fd8ff; stroke-width: 3; stroke-linecap: round; }
.isoBeacon { fill: var(--cyan); animation: blink 1.6s ease-in-out infinite; }
.isoBeaconRing { fill: none; stroke: var(--cyan); stroke-width: 2; animation: ripple 2s ease-out infinite; }

.link { fill: none; stroke: rgb(112 217 255 / 30%); stroke-width: 2.5; stroke-dasharray: 5 8; animation: dashP26_0 1.4s linear infinite; }
.link.app { stroke: rgb(126 217 138 / 35%); }
.linkPulse { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 24 900; animation: linkTravel 3.2s ease-in-out infinite; animation-delay: var(--d); filter: drop-shadow(0 0 6px var(--cyan)); }
@keyframes linkTravel { from { stroke-dashoffset: 924; } to { stroke-dashoffset: 0; } }

.packetTag { opacity: 0; }
.tagBox { fill: rgb(6 30 54 / 92%); stroke: var(--cyan); stroke-width: 1.5; }
.tagText { fill: #fff; font: 800 11px "Nunito Local", sans-serif; text-anchor: middle; }
.packetTag.cmd .tagBox { stroke: #7ed98a; }

.cloudHalo { fill: rgb(112 217 255 / 18%); filter: blur(30px); animation: breathe 4s ease-in-out infinite; transform-origin: 600px 124px; }
.cloudBody { fill: #f4fbff; stroke: #cfe9fb; stroke-width: 2; filter: drop-shadow(0 18px 40px rgb(17 146 232 / 55%)); }
.cloudGroup { animation: float 7s ease-in-out infinite; }

.phoneBody { fill: #0b1420; stroke: rgb(190 226 250 / 45%); stroke-width: 2; filter: drop-shadow(0 20px 40px rgb(17 146 232 / 45%)); }
.phoneScreenBg { fill: #062441; }
.phoneNotch { fill: #000; }
.appCard { fill: rgb(21 86 147 / 55%); stroke: rgb(190 226 250 / 22%); }
.appLabel { fill: var(--dim); font: 700 9px "Nunito Local", sans-serif; }
.appTemp { fill: #fff; font: 900 16px "Nunito Local", sans-serif; }
.appDial { fill: none; stroke: var(--warm); stroke-width: 3; stroke-dasharray: 44 20; animation: spin 6s linear infinite; transform-box: fill-box; transform-origin: center; }
.appToggle { fill: #7ed98a; }
.appKnob { fill: #fff; animation: knob 5s ease-in-out infinite; }
@keyframes knob { 0%, 45% { transform: translateX(0); } 55%, 100% { transform: translateX(-10px); } }
.notifyCard { animation: notifyPulse 5.4s ease-in-out infinite; }
@keyframes notifyPulse { 0%, 70%, 100% { stroke: rgb(190 226 250 / 22%); } 78%, 92% { stroke: var(--cyan); } }
.appDot { fill: var(--hot); animation: blink 1.4s ease-in-out infinite; }
.appCaption { fill: #c9f1ff; font: 800 12px "Nunito Local", sans-serif; text-anchor: middle; }

.stageArt .sChip.c1 { left: 3%; top: 30%; }
.stageArt .sChip.c2 { left: 34%; top: 74%; }
.stageArt .sChip.c3 { right: 3%; top: 58%; left: auto; }
.stageArt .sChip.c4 { left: 64%; top: 4%; right: auto; }
.stageArt .sChip.c5 { right: 12%; top: 82%; left: auto; }
.stageArt .sChip.c6 { left: 4%; top: 70%; }

@media (max-width: 719px) {
  .stageArt .sChip.c4 { left: 40%; top: 30%; }
  .stageArt .sChip.c3 { top: 52%; }
}

@media (prefers-reduced-motion: reduce) {
  .packetTag { opacity: 1; }
  .car, .packetTag { display: none; }
}

/* Madártávlat finomítás */
.stageTitle { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.stageArt .sChip { right: auto; }
.stageArt .sChip.c3, .stageArt .sChip.c5 { left: auto; }
.cloudHalo { transform-origin: 600px 138px; }

@media (max-width: 719px) {
  .stageArt { aspect-ratio: 1200 / 720; margin: 18px -8px 0; }
  .stageArt .sChip.c3, .stageArt .sChip.c4, .stageArt .sChip.c5, .stageArt .sChip.c6 { display: none; }
  .stageArt .sChip.c1 { left: 2%; top: 58%; }
  .stageArt .sChip.c2 { left: auto; right: 2%; top: 80%; }
  .stage { padding-bottom: 8px; }
}
@media (max-width: 719px) {
  .stageArt .sChip { font-size: 0.56rem; padding: 4px 7px; gap: 5px; border-radius: 10px; }
  .stageArt .sChip > svg { width: 12px; height: 12px; padding: 3px; }
}

/* Térelosztás: széles jelenet, a jelzők az üres égbolton és a sarkokban */
.stage { max-width: 1480px; }
.stageText { padding-top: 0; }
.stageTitle { margin-top: 12px; }
.stageArt { width: min(100%, calc((100dvh - 250px) * 1.9444)); aspect-ratio: 1400 / 720; margin-top: 18px; }
.cloudHalo { transform-origin: 700px 134px; }
.stageArt .sChip.c1 { left: 2.5%; top: 6%; right: auto; }
.stageArt .sChip.c6 { left: 2.5%; top: 20%; right: auto; }
.stageArt .sChip.c3 { left: 2.5%; top: auto; bottom: 6%; right: auto; }
.stageArt .sChip.c2 { left: auto; right: 2.5%; top: auto; bottom: 6%; }
.stageArt .sChip.c5 { left: auto; right: 2.5%; top: auto; bottom: 20%; }
.stageArt .sChip.c4 { left: 24%; top: 6%; right: auto; }
@media (max-width: 719px) {
  .stageArt { width: auto; aspect-ratio: 1400 / 720; }
  .stageArt .sChip.c1 { top: 4%; }
  .stageArt .sChip.c2 { bottom: 4%; }
}

/* Városi részletek a telken */
.lot { fill: #182838; stroke: rgb(190 226 250 / 18%); }
.lotLine { stroke: rgb(255 255 255 / 30%); stroke-width: 1.2; fill: none; }
.parked { stroke: rgb(0 0 0 / 35%); stroke-width: 1; }
.playground { fill: #2a5d4a; stroke: rgb(126 217 138 / 45%); stroke-width: 2; }
.playRing { fill: none; stroke: #ffd98a; stroke-width: 3; animation: spin 6s linear infinite; transform-box: fill-box; transform-origin: center; stroke-dasharray: 10 6; }
.slide { fill: #ff8a5b; }
.walkway { fill: none; stroke: rgb(220 200 160 / 35%); stroke-width: 9; stroke-linecap: round; }
.bench { fill: #c8a27a; }
.lampPost { stroke: rgb(190 226 250 / 55%); stroke-width: 1.6; }
.lampGlow { fill: #ffe7ad; filter: drop-shadow(0 0 6px #ffd98a); animation: blink 4s ease-in-out infinite; animation-delay: var(--d); }

/* Az ablakfények állandóak: nincs világításvezérlés, ne tűnjön kapcsolgatásnak */
.iw, .iw.off { animation: none; }
.iw { fill: url(#aLit); opacity: 0.92; }
.iw.off { fill: #0a2f55; }
/* Ablakok fény nélkül: üvegszerű, hűvös tükröződés */
.iw, .iw.off { fill: #0d3a63; opacity: 1; stroke: rgb(159 216 255 / 35%); stroke-width: 0.8; }
.iw:nth-of-type(3n) { fill: #12497a; }

/* ══ Designos társasházak ═════════════════════════════════════════════ */
.bL { fill: url(#aFacade); }
.bR { fill: #a9b8c7; }
.bTop { fill: #dfe7ee; }
.parapet { fill: #f5f8fb; }
.parapet.dim { fill: #b9c7d4; }
.glass { fill: url(#aGlass); stroke: rgb(255 255 255 / 25%); stroke-width: .6; }
.glass.alt { fill: #164a78; }
.glass.dim { fill: #0b2f52; }
.mullion { stroke: rgb(255 255 255 / 55%); stroke-width: 1; fill: none; }
.slabEdge { stroke: #ffffff; stroke-width: 1.6; fill: none; opacity: .85; }
.store { fill: #0e3a63; stroke: rgb(255 255 255 / 40%); }
.store.dim { fill: #0a2c4d; }
.entry { fill: #1192e8; opacity: .85; }
.balTop { fill: #ffffff; }
.balEdge { fill: #c4d0dc; }
.rail { fill: rgb(150 215 255 / 32%); stroke: rgb(220 242 255 / 70%); stroke-width: .8; }
.rail.side { fill: rgb(150 215 255 / 22%); }
.fin { fill: #1192e8; }
.finFace { fill: #0a6fc2; }
.planter { fill: #6b7c8c; }
.shrub { fill: #2fa57a; stroke: #46c290; stroke-width: 1; }
.pentL { fill: #eef3f7; }
.pentR { fill: #b4c3d1; }
.pentRoof { fill: #2b3a4a; stroke: #f5f8fb; stroke-width: 1.4; }
.pentRoof { fill: #e4ebf1; stroke: #ffffff; stroke-width: 1.2; }

/* Eredeti hero-jelenet: az ablakok nem világítanak */
.scene .window { animation: none; fill: #0d3a63; stroke: rgb(159 216 255 / 30%); stroke-width: .8; }
.scene .window:nth-of-type(3n) { fill: #12497a; }

/* ── Kapcsolat: névjegykártyák ──────────────────────────────────────── */
.contactSection { margin-top: 72px; }
.people { display: grid; grid-template-columns: 1fr; gap: 16px; }
.person {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 28px 24px;
  border: 1px solid var(--glass);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgb(112 217 255 / 18%), transparent 70%),
    linear-gradient(145deg, rgb(255 255 255 / 7%), transparent 40%),
    rgb(13 56 98 / 32%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 20px 40px -28px rgb(0 8 24 / 80%);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.page[data-motion] .person[data-visible] { transition: opacity 800ms var(--ease) var(--reveal-delay, 0ms), transform 300ms ease, border-color 300ms ease; }
.person:hover { border-color: rgb(126 207 255 / 55%); }
.avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 0 0 4px rgb(112 217 255 / 15%), 0 12px 30px -10px rgb(17 146 232 / 80%);
  font-weight: 900;
  font-size: 1.15rem;
}
.person h3 { font-size: 1.3rem; font-weight: 900; }
.person .role { color: var(--cyan); font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.contactLine {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgb(190 226 250 / 18%);
  border-radius: 12px;
  background: rgb(220 242 255 / 5%);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.contactLine svg { color: var(--cyan); }
.contactLine:hover { color: #fff; border-color: rgb(126 207 255 / 50%); background: rgb(17 146 232 / 22%); }
@media (min-width: 900px) { .people { grid-template-columns: repeat(3, 1fr); } }

.heroCloud { fill: #f4fbff; stroke: #cfe9fb; stroke-width: 1.5; filter: drop-shadow(0 10px 24px rgb(17 146 232 / 55%)); }

/* Egyelemű főmenü: minden méretben látszik */
.topnav { display: flex; }
@media (max-width: 719px) { .topnav { gap: 16px; font-size: 0.95rem; } }

/* ── Üzemelő rendszereink ──────────────────────────────────────────── */
.liveStats { margin-top: 40px; margin-bottom: 24px; }
.liveHead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.liveHead .sectionTitle { margin-bottom: 0; }
.liveBadge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--glass); border-radius: 999px;
  background: rgb(220 242 255 / 6%); color: var(--muted); font-weight: 700; font-size: 0.85rem;
}
.liveStats:not([data-loaded]) .liveBadge .liveDot { background: var(--dim); animation: none; }
.statGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.statTile {
  position: relative; display: grid; justify-items: start; gap: 6px;
  padding: 26px 22px; border: 1px solid var(--glass); border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 100% 0%, rgb(17 146 232 / 28%), transparent 60%), rgb(13 56 98 / 30%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 24px 50px -30px rgb(17 146 232 / 70%);
}
.statTile::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgb(112 217 255 / 22%), transparent 70%); animation: breathe 5s ease-in-out infinite; pointer-events: none;
}
.statIcon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px;
  background: linear-gradient(135deg, rgb(17 146 232 / 40%), rgb(112 217 255 / 12%)); color: var(--cyan);
  box-shadow: 0 0 26px -8px var(--cyan);
}
.statIcon svg { width: 26px; height: 26px; }
.statTile strong {
  margin-top: 8px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statTile > span:last-child { color: var(--dim); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.liveNote { margin-top: 14px; color: var(--dim); font-size: 0.8rem; }
@media (min-width: 900px) { .statGrid { grid-template-columns: repeat(4, 1fr); } }

/* ── Csempék v2: illusztráció, fénylő keret, fénycsík ───────────────── */
.statTile {
  justify-items: center;
  text-align: center;
  padding: 18px 18px 26px;
  border: 0;
  isolation: isolate;
  background:
    radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgb(112 217 255 / 16%), transparent 70%),
    linear-gradient(180deg, rgb(21 86 147 / 45%), rgb(4 22 40 / 85%));
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.statTile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1.5px;
  border-radius: 24px;
  background: conic-gradient(from var(--angle, 0deg), rgb(112 217 255 / 70%), rgb(17 146 232 / 10%) 30%, rgb(255 217 138 / 45%) 55%, rgb(17 146 232 / 10%) 75%, rgb(112 217 255 / 70%));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: borderSpin 8s linear infinite;
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes borderSpin { to { --angle: 360deg; } }
.statTile::after {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 24px;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 12%) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: none;
  transition: transform 900ms var(--ease);
}
.statTile:hover::after { transform: translateX(120%); }
.statTile:hover { box-shadow: 0 30px 70px -30px rgb(17 146 232 / 90%); }
.tileArt { width: 100%; max-width: 220px; height: 108px; margin-bottom: 4px; filter: drop-shadow(0 12px 22px rgb(17 146 232 / 35%)); }
.statTile strong { margin-top: 4px; }
.statTile > span:last-child { letter-spacing: 0.14em; font-size: 0.85rem; }

/* gépház */
.tPipe { stroke-width: 7; stroke-linecap: round; opacity: .35; fill: none; }
.tPipe.hot { stroke: var(--hot); } .tPipe.cold { stroke: var(--cyan); }
.tFlow { stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 5 9; fill: none; animation: dashP14_0 .9s linear infinite; }
.tFlow.hot { stroke: #ffc1a6; } .tFlow.cold { stroke: #c9f1ff; stroke-dasharray: 3 9; }
.tUnit { fill: #e6f1fa; stroke: #9ebdd6; }
.tFan { transform-box: fill-box; transform-origin: center; animation: spin 1.3s linear infinite; }
.tFanRing { fill: #0b3a66; stroke: #6e8faa; stroke-width: 2; }
.tFanBlade { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.tGrill { fill: #9ebdd6; }
.tLed { fill: #43a047; filter: drop-shadow(0 0 4px #43a047); animation: blink 1.8s ease-in-out infinite; }
/* lakás */
.tFacade { fill: #eef3f7; } .tSide { fill: #a9b8c7; } .tRoof { fill: #1192e8; }
.tWin rect { fill: #0e3a63; stroke: rgb(255 255 255 / 35%); stroke-width: .6; }
.tBal { fill: #fff; } .tDoor { fill: #1192e8; }
.tGround { stroke: rgb(112 217 255 / 40%); stroke-width: 2; }
.tPing { fill: var(--cyan); } .tPingRing { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 2s ease-out infinite; }
/* termosztát */
.tThermoBody { fill: #f4f8fb; stroke: #c9d6e2; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 30%)); }
.tDialTrack { fill: #0b2f52; stroke: #d6e2ec; stroke-width: 5; }
.tDialArc { fill: none; stroke: var(--hot); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: 170; transform: rotate(130deg); transform-box: fill-box; transform-origin: center; animation: dialFill 4s var(--ease) infinite alternate; }
@keyframes dialFill { from { stroke-dashoffset: 150; stroke: var(--cyan); } to { stroke-dashoffset: 60; stroke: var(--hot); } }
.tDialText { fill: #fff; font: 900 15px "Nunito Local", sans-serif; text-anchor: middle; }
/* vezérlő */
.tCtrl { fill: #e6f1fa; stroke: #9ebdd6; }
.tCtrlScreen { fill: #0b3a66; }
.tCtrlLines { stroke: #9ebdd6; stroke-width: 3; stroke-linecap: round; }
.tPins { stroke: #6e8faa; stroke-width: 3; stroke-linecap: round; }
.tWaves { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; animation: waves 2s ease-in-out infinite; }
@keyframes waves { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .statTile::before { animation: none; } }
.statTile .tileArt { display: block; background: none; border-radius: 0; overflow: visible; place-items: unset; }

/* Csempék: valódi Sinum-eszközrajzok */
.deviceImg {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 6px 0 2px;
  filter: drop-shadow(0 0 14px rgb(112 217 255 / 35%));
  animation: float 6s ease-in-out infinite;
}
.statTile:nth-child(2) .deviceImg { animation-delay: -1.5s; }
.statTile:nth-child(3) .deviceImg { animation-delay: -3s; }
.statTile:nth-child(4) .deviceImg { animation-delay: -4.5s; }
.deviceImg.pump { filter: drop-shadow(0 10px 18px rgb(0 0 0 / 45%)); }
.lineArt { fill: none; stroke: #dff1ff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.statTile:hover .deviceImg { animation-play-state: paused; transform: scale(1.06); transition: transform 300ms ease; }
.lineFan { transform-box: fill-box; transform-origin: center; animation: spin 2.4s linear infinite; }

/* Gépház és EH-02 vonalrajz részletei */
.linePump { transform-box: fill-box; transform-origin: 50% 60%; animation: spin 2.2s linear infinite; }
.lineFlow { stroke: var(--hot); stroke-width: 2.4; stroke-dasharray: 3 5; animation: dashP16_0 .9s linear infinite; }
.lineFlow.cold { stroke: var(--cyan); }
.ehLeds circle { fill: rgb(223 241 255 / 20%); }
.ehLeds circle:nth-child(1), .ehLeds circle:nth-child(2), .ehLeds circle:nth-child(8), .ehLeds circle:nth-child(9) { fill: #43a047; stroke: #7ed98a; animation: blink 2.4s ease-in-out infinite; }
.ehLeds circle:nth-child(3) { fill: var(--cyan); animation: blink 1.2s ease-in-out infinite; }
.ehLeds circle:nth-child(4) { fill: #43a047; stroke: #7ed98a; }
.ehText { fill: #dff1ff; stroke: none; font: 800 7px "Nunito Local", sans-serif; text-anchor: middle; }
.ehText.brand { font-size: 6.5px; font-weight: 700; }

/* A felhő fénye ne vágódjon le az ábra keretén (látható szögletes átmenet) */
.scene .sceneSvg { overflow: visible; }
.heroCloud { filter: drop-shadow(0 8px 18px rgb(17 146 232 / 45%)); }

/* EH-02: piros LED-ek a termékfotó szerint (1, 2, 4, 7 + a két oldalsó világít) */
.ehLeds circle { fill: #1a2633; stroke: rgb(223 241 255 / 35%); stroke-width: .8; animation: none; }
.ehLeds circle:nth-child(1), .ehLeds circle:nth-child(2), .ehLeds circle:nth-child(4),
.ehLeds circle:nth-child(7), .ehLeds circle:nth-child(8), .ehLeds circle:nth-child(9) {
  fill: #ff3b30; stroke: #ff8a80; filter: drop-shadow(0 0 3px #ff3b30);
}
.ehLeds circle:nth-child(8) { animation: blink 1.6s ease-in-out infinite; }
.ehText.start { text-anchor: start; }

/* ── Hero: iPhone a Sinum CONNECT appal, kapcsolat a felhővel ───────── */
.scene { margin-right: 120px; }
.heroPhone {
  position: absolute;
  right: -132px;
  top: 30%;
  width: 136px;
  display: grid;
  justify-items: center;
  gap: 8px;
  animation: float 6.5s ease-in-out infinite;
  animation-delay: -2s;
}
.iphone {
  position: relative;
  width: 136px;
  aspect-ratio: 9 / 19.5;
  padding: 6px;
  border-radius: 26px;
  background: linear-gradient(145deg, #3a4656, #0d141d);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 18%), 0 30px 60px -20px rgb(17 146 232 / 60%);
}
.iphoneIsland { position: absolute; top: 12px; left: 50%; width: 38px; height: 11px; margin-left: -19px; border-radius: 999px; background: #000; z-index: 2; }
.iphoneScreen { height: 100%; border-radius: 21px; overflow: hidden; background: radial-gradient(circle at 30% 0%, #155693, #01070e 75%); }
.iphoneScreen img.appShot { width: 100%; height: 100%; object-fit: cover; }
.mockApp { display: grid; gap: 7px; padding: 34px 9px 10px; }
.mockLogo { width: 86px; height: auto; margin: 0 auto 4px; }
.mockCard, .mockRow { border: 1px solid rgb(190 226 250 / 22%); border-radius: 12px; background: rgb(21 86 147 / 45%); }
.mockCard { display: grid; padding: 9px 10px; }
.mockCard span, .mockRow span { color: var(--dim); font-size: 8px; font-weight: 700; }
.mockCard strong { font-size: 20px; font-weight: 900; }
.mockCard em { font-style: normal; font-size: 7px; color: var(--warm); }
.mockRow { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; }
.mockToggle { position: relative; width: 22px; height: 12px; border-radius: 999px; background: #7ed98a; }
.mockToggle::after { content: ""; position: absolute; top: 2px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: knob 5s ease-in-out infinite; }
.mockRow.notify { animation: notifyGlow 5s ease-in-out infinite; }
.mockRow.notify i { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); animation: blink 1.4s ease-in-out infinite; }
@keyframes notifyGlow { 0%, 70%, 100% { border-color: rgb(190 226 250 / 22%); } 78%, 92% { border-color: var(--cyan); } }
.phoneLabel { color: #c9f1ff; font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.appLinkLine { fill: none; stroke: rgb(126 217 138 / 40%); stroke-width: 2; stroke-dasharray: 4 7; animation: dashP22_0 1.2s linear infinite; }
.appLinkPulse { fill: none; stroke: var(--cyan); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 14 200; animation: appLink 2.4s ease-in-out infinite; filter: drop-shadow(0 0 5px var(--cyan)); }
.appLinkPulse.back { stroke: #7ed98a; filter: drop-shadow(0 0 5px #7ed98a); animation-direction: reverse; animation-delay: 1.2s; }
@keyframes appLink { from { stroke-dashoffset: 214; } to { stroke-dashoffset: 0; } }
@media (max-width: 959px) {
  .scene { margin-right: auto; }
  .heroPhone { right: -4px; top: 34%; width: 104px; }
  .iphone { width: 104px; border-radius: 20px; }
  .iphoneScreen { border-radius: 16px; }
  .mockApp { padding-top: 26px; }
  .mockLogo { width: 64px; }
  .mockCard strong { font-size: 15px; }
}

/* Felhő: sötét üveg, világító kék körvonal, fehér logó */
.heroCloud {
  fill: rgb(10 44 79 / 88%);
  stroke: #70d9ff;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 10px rgb(112 217 255 / 55%)) drop-shadow(0 10px 24px rgb(17 146 232 / 45%));
}
@media (min-width: 960px) {
  .hero .scene { width: calc(100% - 160px); margin: 0 160px 0 0; justify-self: start; }
  .heroPhone { right: -150px; }
}
@media (max-width: 719px) {
  .brand { height: 26px; }
  .topnav { gap: 14px; font-size: 0.86rem; }
  .topbar { gap: 10px; }
}

/* iPhone: a valódi Sinum CONNECT app képernyői váltakoznak */
.iphoneScreen { position: relative; }
.iphoneScreen .appShot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; animation: appSlides 15s ease-in-out infinite; }
.iphoneScreen .appShot.s1 { animation-delay: 0s; }
.iphoneScreen .appShot.s2 { animation-delay: 5s; }
.iphoneScreen .appShot.s3 { animation-delay: 10s; }
@keyframes appSlides { 0% { opacity: 0; } 4%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
.iphoneIsland { top: 9px; }
@media (prefers-reduced-motion: reduce) { .iphoneScreen .appShot { animation: none; } .iphoneScreen .appShot.s1 { opacity: 1; } }
@media (min-width: 960px) {
  .heroPhone, .iphone { width: 150px; }
  .heroPhone { right: -158px; top: 24%; }
}
@media (min-width: 960px) {
  .hero .scene { width: calc(100% - 230px); margin-right: 230px; }
  .heroPhone { right: -225px; }
}
.cloudGlow { transform-origin: 300px 32px; }

/* Rendszereink csempék: feleakkora, vízszintes elrendezés */
.statTile {
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: start;
  text-align: left;
  column-gap: 14px;
  row-gap: 0;
  padding: 14px 18px;
}
.statTile .deviceImg { grid-row: span 2; width: 62px; height: 62px; margin: 0; }
.statTile strong { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); align-self: end; }
.statTile > span:last-child { align-self: start; font-size: 0.75rem; }
.liveStats .statGrid { gap: 12px; }
/* Rendszereink csempék: vízszintesen is rövidebbek */
@media (min-width: 900px) { .liveStats .statGrid { grid-template-columns: repeat(4, minmax(0, 230px)); justify-content: start; } }
@media (max-width: 899px) { .liveStats .statGrid { grid-template-columns: repeat(2, minmax(0, 220px)); } }

/* Telefonos kapcsolat: fehér vonal és fehér jelek */
.appLinkLine { stroke: rgb(255 255 255 / 55%); }
.appLinkPulse { stroke: #ffffff; filter: drop-shadow(0 0 5px rgb(255 255 255 / 80%)); }
.appLinkPulse.back { stroke: #dff1ff; filter: drop-shadow(0 0 5px rgb(223 241 255 / 80%)); }

/* iPhone: a kijelző és a keret színe az oldal mélykék, üveges stílusához igazítva */
.iphoneScreen .appShot { filter: brightness(0.86) saturate(1.25) contrast(1.06) hue-rotate(4deg); }
.iphone {
  background: linear-gradient(160deg, #1d4f80, #06182b 60%, #0b2a48);
  box-shadow:
    inset 0 0 0 1.5px rgb(112 217 255 / 45%),
    0 0 24px -6px rgb(112 217 255 / 55%),
    0 30px 60px -20px rgb(17 146 232 / 60%);
}
.phoneLabel { color: var(--cyan); }

.heroTitle { font-size: clamp(2.2rem, 5vw, 3.9rem); }

.heroTitle { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.slogan {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.slogan + .rotator { margin-top: 10px; }

/* Megoldásaink lista */
.ourSolGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ourSol {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border: 1px solid var(--glass); border-radius: 20px;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgb(112 217 255 / 16%), transparent 70%), rgb(13 56 98 / 32%);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.ourSol strong { font-size: 1.1rem; font-weight: 900; }
.ourSol .exploreIcon { width: 48px; height: 48px; border-radius: 14px; flex: none; }

/* „Teljes szoftverezéssel:” sor egy sorban, a leghosszabb kulcsszóval is */
.rotator { flex-wrap: nowrap; white-space: nowrap; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.rotatorWords span { white-space: nowrap; }
@media (max-width: 719px) {
  .rotator { flex-wrap: wrap; white-space: normal; font-size: 1rem; }
}

/* Hat váltakozó kulcsszó */
.rotatorWords.w6 span { animation: words6 15s var(--ease) infinite; }
@keyframes words6 {
  0.00%, 13.33% { transform: translateY(-0%); }
  16.67%, 30.00% { transform: translateY(-100%); }
  33.33%, 46.67% { transform: translateY(-200%); }
  50.00%, 63.33% { transform: translateY(-300%); }
  66.67%, 80.00% { transform: translateY(-400%); }
  83.33%, 96.67% { transform: translateY(-500%); }
  100% { transform: translateY(-600%); }
}

/* 7 váltakozó kulcsszó */
.rotatorWords.w7 span { animation: words7 17.5s var(--ease) infinite; }
@keyframes words7 {
  0.00%, 11.43% { transform: translateY(-0%); }
  14.29%, 25.71% { transform: translateY(-100%); }
  28.57%, 40.00% { transform: translateY(-200%); }
  42.86%, 54.29% { transform: translateY(-300%); }
  57.14%, 68.57% { transform: translateY(-400%); }
  71.43%, 82.86% { transform: translateY(-500%); }
  85.71%, 97.14% { transform: translateY(-600%); }
  100% { transform: translateY(-700%); }
}

/* 8 váltakozó kulcsszó */
.rotatorWords.w8 span { animation: words8 20s var(--ease) infinite; }
@keyframes words8 {
  0.00%, 10.00% { transform: translateY(-0%); }
  12.50%, 22.50% { transform: translateY(-100%); }
  25.00%, 35.00% { transform: translateY(-200%); }
  37.50%, 47.50% { transform: translateY(-300%); }
  50.00%, 60.00% { transform: translateY(-400%); }
  62.50%, 72.50% { transform: translateY(-500%); }
  75.00%, 85.00% { transform: translateY(-600%); }
  87.50%, 97.50% { transform: translateY(-700%); }
  100% { transform: translateY(-800%); }
}

/* Telefonos nézet javítások */
@media (max-width: 719px) {
  .heroPhone { right: 2px; top: 40%; width: 92px; }
  .iphone { width: 92px; border-radius: 18px; padding: 4px; }
  .iphoneScreen { border-radius: 14px; }
  .iphoneIsland { top: 7px; width: 26px; height: 8px; margin-left: -13px; }
  .phoneLabel { font-size: 0.6rem; white-space: normal; text-align: center; max-width: 92px; line-height: 1.2; }
  .appLinkLine, .appLinkPulse { display: none; }
  .statTile { column-gap: 10px; padding: 12px 12px; }
  .statTile .deviceImg { width: 46px; height: 46px; }
  .statTile strong { font-size: 1.45rem; }
  .statTile > span:last-child { font-size: 0.6rem; letter-spacing: 0.06em; }
  .liveStats .statGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) { .scene .chipB { right: auto; left: 22%; top: 62%; } }
.avatar img { width: 34px; height: auto; display: block; }

/* Fejléc: telefonon hamburger-menü, asztalin a menüsor */
.menu { display: none; }
@media (max-width: 719px) {
  .topnav { display: none; }
  .menu { display: block; }
  .brand { height: 28px; }
}

/* ── Eszközök: bal oldalt kép, jobb oldalt tudás ───────────────────── */
.devices { display: grid; gap: 28px; }
.deviceRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--glass);
  border-radius: 28px;
  background: radial-gradient(circle at 0% 50%, rgb(17 146 232 / 18%), transparent 55%), rgb(13 56 98 / 22%);
}
.deviceFigure {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 55%, rgb(112 217 255 / 22%), transparent 62%), #041628;
  box-shadow: inset 0 0 0 1px rgb(190 226 250 / 14%);
  overflow: hidden;
}
.deviceFigure::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; bottom: 12%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(0 0 0 / 55%), transparent 70%);
  filter: blur(4px);
}
.deviceFigure img { position: relative; z-index: 1; width: 82%; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgb(0 0 0 / 45%)); }
.deviceTitle { margin-top: 12px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; letter-spacing: -0.01em; }
.deviceRow .solLead { margin-top: 12px; }
.page[data-motion] .deviceRow:not([data-visible]) .specs > div { opacity: 0; transform: translateY(14px); }
.deviceRow .specs > div { transition: opacity 600ms var(--ease), transform 600ms var(--ease), border-color 250ms ease; }
.deviceRow .specs > div:nth-child(2) { transition-delay: 120ms; }
.deviceRow .specs > div:nth-child(3) { transition-delay: 240ms; }
@media (min-width: 960px) {
  .deviceRow { grid-template-columns: 0.85fr 1.15fr; gap: 44px; padding: 36px; }
  .deviceRow .specs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 719px) { .deviceRow { padding: 18px; border-radius: 22px; } }

/* Termosztátcsoportok: három kártya egymás mellett, eredeti termékfotóval */
.thermoGroup { margin-top: 28px; }
.thermoHead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.thermoHead .sectionTitle { margin-bottom: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.thermoGrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.thermoCard {
  display: grid; align-content: start; gap: 6px; padding: 18px 20px 22px;
  border: 1px solid var(--glass); border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgb(17 146 232 / 20%), transparent 60%), rgb(13 56 98 / 24%);
  transition: border-color 250ms ease, transform 250ms var(--ease);
}
.thermoCard:hover { border-color: rgb(126 207 255 / 50%); transform: translateY(-3px); }
.thermoFigure {
  margin: 0 0 8px; display: grid; place-items: center; height: 190px; border-radius: 18px;
  background: radial-gradient(circle at 50% 60%, rgb(112 217 255 / 18%), transparent 65%), #041628;
  box-shadow: inset 0 0 0 1px rgb(190 226 250 / 12%);
}
.thermoFigure img { max-width: 82%; max-height: 150px; width: auto; height: auto; filter: drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); transition: transform 400ms var(--ease); }
.thermoCard:hover .thermoFigure img { transform: scale(1.05); }
.thermoCard h3 { font-size: 1.35rem; font-weight: 900; }
.thermoSub { color: var(--cyan); font-weight: 700; font-size: 0.88rem; }
.thermoCard ul { display: grid; gap: 6px; margin-top: 8px; }
.thermoCard li { position: relative; padding-left: 14px; color: var(--dim); font-size: 0.9rem; line-height: 1.45; }
.thermoCard li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
@media (min-width: 900px) { .thermoGrid { grid-template-columns: repeat(3, 1fr); } }
/* Az eredeti fotók: csak finom színigazítás, átrajzolás nélkül */
.deviceFigure img, .thermoFigure img { filter: drop-shadow(0 16px 26px rgb(0 0 0 / 45%)) saturate(1.05); }
.deviceFigure img { width: auto; max-width: 78%; max-height: 82%; }
@media (min-width: 960px) { #eh-02 .specs { grid-template-columns: repeat(2, 1fr); } }
.deviceNav { margin-bottom: 6px; }
.thermoGroup, .deviceAnchor { scroll-margin-top: 90px; }
.thermoFigure img[src*="rc-05"] { filter: drop-shadow(0 0 18px rgb(112 217 255 / 35%)) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }

/* Eszközképek egységes fényessége (mért átlag-világosság alapján) */
.thermoFigure img[src$="/cd-01.webp"] { filter: brightness(0.848) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/cz-01.webp"] { filter: brightness(0.896) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/fs-02.webp"] { filter: brightness(0.801) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/fz-02.webp"] { filter: brightness(0.829) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/pps-02.webp"] { filter: brightness(0.915) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/ppz-02.webp"] { filter: brightness(0.914) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/r-8b-plus.webp"] { filter: brightness(0.851) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/r-8s-plus.webp"] { filter: brightness(0.930) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/r-s1.webp"] { filter: brightness(0.829) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/r-s2.webp"] { filter: brightness(0.904) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
.thermoFigure img[src$="/r-s3.webp"] { filter: brightness(0.988) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }
@media (min-width: 960px) { #eh-02-pro .specs, #sinum-tab-11 .specs { grid-template-columns: repeat(2, 1fr); } }
#sinum-tab-11 .deviceFigure img { max-width: 92%; }
.thermoFigure img[src*="/ft-0"] { filter: drop-shadow(0 0 18px rgb(112 217 255 / 35%)) drop-shadow(0 14px 22px rgb(0 0 0 / 45%)); }

/* ── Kapcsolat: animált fejléc-grafika ─────────────────────────────── */
.contactHero { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; }
.contactArt { justify-self: center; width: min(100%, 300px); }
.contactSvg { display: block; width: 100%; height: auto; overflow: visible; }
.cOrbit { fill: none; stroke: rgb(112 217 255 / 22%); stroke-width: 1.5; stroke-dasharray: 4 7; transform-origin: 180px 150px; animation: spin 40s linear infinite; }
.cOrbit.inner { animation-direction: reverse; animation-duration: 28s; stroke: rgb(112 217 255 / 16%); }
.cPulse { fill: none; stroke: var(--cyan); stroke-width: 2; transform-origin: 180px 150px; animation: ripple 3s ease-out infinite; }
.cPulse.p2 { animation-delay: 1.5s; }
.cHubCircle { stroke: rgb(220 242 255 / 55%); stroke-width: 1.5; filter: drop-shadow(0 0 18px rgb(17 146 232 / 75%)); }
.cLink { stroke: rgb(112 217 255 / 30%); stroke-width: 2; stroke-dasharray: 3 6; animation: dashP18_0 1.2s linear infinite; }
.cSpark { stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 200; animation: spark 2.6s ease-in-out infinite; filter: drop-shadow(0 0 5px var(--cyan)); }
.cSpark.s2 { animation-delay: .85s; } .cSpark.s3 { animation-delay: 1.7s; }
@keyframes spark { from { stroke-dashoffset: 210; } to { stroke-dashoffset: 0; } }
.cNodeBg { fill: rgb(10 44 79 / 92%); stroke: rgb(126 207 255 / 60%); stroke-width: 1.5; filter: drop-shadow(0 0 12px rgb(17 146 232 / 55%)); }
.cIcon { fill: none; stroke: #c9f1ff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cNode { animation: float 6s ease-in-out infinite; }
.cNode.n2 { animation-delay: -2s; } .cNode.n3 { animation-delay: -4s; }
.cDot { fill: var(--cyan); animation: twinkle 3s ease-in-out infinite; } .cDot.d2 { animation-delay: 1s; } .cDot.d3 { animation-delay: 2s; }
@media (min-width: 900px) {
  .contactHero { grid-template-columns: 1.4fr 1fr; }
  .contactArt { width: 340px; justify-self: end; }
}
@media (max-width: 719px) { .contactArt { width: 230px; } }

/* Eszközök: kisebb kártyaméretek */
.thermoGrid { gap: 12px; }
.thermoCard { padding: 12px 14px 16px; border-radius: 20px; gap: 4px; }
.thermoFigure { height: 140px; border-radius: 14px; margin-bottom: 6px; }
.thermoFigure img { max-height: 108px; max-width: 78%; }
.thermoCard h3 { font-size: 1.12rem; }
.thermoSub { font-size: 0.8rem; }
.thermoCard ul { gap: 4px; margin-top: 6px; }
.thermoCard li { font-size: 0.82rem; }
.thermoHead .sectionTitle { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.deviceRow { padding: 22px; gap: 20px; border-radius: 24px; }
.deviceFigure { max-width: 330px; width: 100%; justify-self: center; border-radius: 20px; }
.deviceTitle { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.deviceRow .solLead { font-size: 0.95rem; }
.deviceRow .specs > div { padding: 12px; }
.deviceRow .specs strong { font-size: 0.85rem; }
.deviceRow .specs li { font-size: 0.84rem; }
@media (min-width: 960px) {
  .deviceRow { grid-template-columns: 330px 1fr; gap: 32px; padding: 26px; }
  .thermoGrid { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: start; }
}
/* A háromkártyás sorok töltsék ki a teljes szélességet */
@media (min-width: 900px) { .thermoGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; } }

/* ── Időpontkérés ───────────────────────────────────────────────────── */
.booking { margin-top: 72px; }
.bookingHead .sectionTitle { margin-bottom: 8px; }
.bookingHead .lead { margin: 0 0 22px; }
.bookingCard {
  display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px;
  border: 1px solid var(--glass); border-radius: 26px;
  background: radial-gradient(circle at 0% 0%, rgb(17 146 232 / 18%), transparent 55%), rgb(13 56 98 / 26%);
}
.bookingCol { display: grid; align-content: start; gap: 12px; }
.bookingLabel { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--cyan); font-size: 0.9rem; }
.dayGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slotGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.dayBtn, .slotBtn {
  display: grid; justify-items: center; gap: 2px; min-height: 48px; padding: 8px 6px;
  border: 1px solid var(--glass); border-radius: 14px; background: rgb(220 242 255 / 5%);
  color: var(--muted); font: inherit; font-weight: 800; cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.dayBtn span { font-size: 0.72rem; font-weight: 700; color: var(--dim); text-transform: capitalize; }
.dayBtn strong { font-size: 0.95rem; }
.dayBtn:hover, .slotBtn:hover { border-color: rgb(126 207 255 / 50%); transform: translateY(-1px); }
.dayBtn[aria-selected="true"], .slotBtn[aria-selected="true"] {
  color: #fff; border-color: rgb(126 207 255 / 80%);
  background: linear-gradient(135deg, rgb(17 146 232 / 60%), rgb(112 217 255 / 20%));
  box-shadow: 0 8px 22px -10px rgb(17 146 232 / 90%);
}
.dayBtn[aria-selected="true"] span { color: #dff1ff; }
.field { display: grid; gap: 6px; }
.field span { font-size: 0.82rem; font-weight: 700; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgb(190 226 250 / 22%); border-radius: 12px;
  background: rgb(2 18 34 / 70%); color: #fff; font: inherit; font-size: 16px;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #70d9ff 50%), linear-gradient(135deg, #70d9ff 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(112 217 255 / 20%); }
.bookingSummary { min-height: 1.4em; color: var(--dim); font-weight: 700; font-size: 0.9rem; }
.bookingSummary[data-ready] { color: #7ed98a; }
.bookingSummary[data-error] { color: #ff9a8a; }
.bookingCard .primaryButton { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 800; color: #fff; }
.bookingHint { color: var(--dim); font-size: 0.78rem; }
@media (min-width: 900px) { .bookingCard { grid-template-columns: 1.1fr 1fr; gap: 36px; padding: 32px; } }

/* ── Megoldásaink: új ábrák ─────────────────────────────────────────── */
.solutionsPage .solGroup { margin-top: 56px; }
.solutionsPage .solGroup:first-of-type { margin-top: 28px; }
.badgeLabel.left { text-anchor: start; }
.badgeValue.right { text-anchor: end; fill: #7ed98a; }
.aiWall { stroke: rgb(190 226 250 / 25%); stroke-width: 2; }
.zone { stroke: rgb(190 226 250 / 25%); animation: zoneTone 9s ease-in-out infinite; }
.zone.z1 { fill: rgb(255 138 91 / 22%); } .zone.z2 { fill: rgb(112 217 255 / 20%); animation-delay: -3s; } .zone.z3 { fill: rgb(255 217 138 / 18%); animation-delay: -6s; }
@keyframes zoneTone { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.aiTrack { fill: rgb(10 44 79 / 85%); stroke: rgb(190 226 250 / 20%); stroke-width: 10; }
.aiArc { fill: none; stroke: var(--brand); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 390; stroke-dashoffset: 390; transform: rotate(-90deg); transform-origin: 385px 150px; animation: aiFill 5s var(--ease) infinite; filter: drop-shadow(0 0 6px rgb(17 146 232 / 80%)); }
@keyframes aiFill { 0% { stroke-dashoffset: 390; } 60%, 100% { stroke-dashoffset: 86; } }
.aiScore { fill: #fff; font: 900 34px "Nunito Local", sans-serif; text-anchor: middle; }
.aiLink { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 4 6; animation: dash 1.2s linear infinite; opacity: .7; }
.sparkle { fill: var(--warm); }
.aiSpark { transform-box: fill-box; transform-origin: center; animation: sparkleSpin 3s ease-in-out infinite; }
@keyframes sparkleSpin { 0%, 100% { transform: scale(.7) rotate(0); opacity: .5; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
.bldg { fill: #0f4a82; stroke: rgb(190 226 250 / 40%); }
.bldgWin { fill: rgb(190 226 250 / 30%); }
.eBars rect { fill: url(#none); fill: var(--cyan); transform-box: fill-box; transform-origin: bottom; transform: scaleY(var(--h)); animation: eGrow 4s var(--ease) infinite; opacity: .85; }
.eBars rect:nth-child(even) { fill: var(--brand); }
@keyframes eGrow { 0% { transform: scaleY(.05); } 40%, 100% { transform: scaleY(var(--h)); } }
.eAxis { stroke: rgb(190 226 250 / 30%); stroke-width: 2; }
.smokeBody { fill: #eef3f7; stroke: #b9c7d4; stroke-width: 2; }
.smokeCore { fill: #ff3b30; animation: blink 1s ease-in-out infinite; }
.smoke circle { fill: rgb(220 230 240 / 35%); animation: smokeRise 3.4s ease-in infinite; }
.smoke circle:nth-child(2) { animation-delay: .8s; } .smoke circle:nth-child(3) { animation-delay: 1.6s; }
@keyframes smokeRise { 0% { transform: translateY(30px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-30px); opacity: 0; } }
.alarmRing { fill: none; stroke: #ff6b5b; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 1.6s ease-out infinite; }
.alarmRing.r2 { animation-delay: .8s; }
.puddle { fill: rgb(112 217 255 / 30%); animation: breathe 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.dropIcon { fill: var(--cyan); animation: dropFall2 2.2s ease-in infinite; }
@keyframes dropFall2 { 0% { transform: translate(-12px, 0); opacity: 0; } 20% { opacity: 1; } 80% { transform: translate(-12px, 90px); opacity: 1; } 100% { transform: translate(-12px, 90px); opacity: 0; } }
.alertPill { fill: rgb(255 59 48 / 20%); stroke: #ff6b5b; }
.hub { fill: #0b4c86; stroke: var(--cyan); stroke-width: 2; }
.wave { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 3s ease-out infinite; }
.wave.w2 { animation-delay: 1s; } .wave.w3 { animation-delay: 2s; }
.wDev { animation: float 6s ease-in-out infinite; } .wDev.d2 { animation-delay: -1.5s; } .wDev.d3 { animation-delay: -3s; } .wDev.d4 { animation-delay: -4.5s; }
.phoneFigure { display: grid; place-items: center; padding: 26px 18px 14px; }
.iphone.big { width: 210px; border-radius: 34px; padding: 8px; }
.iphone.big .iphoneScreen { border-radius: 27px; }
.iphone.big .iphoneIsland { top: 14px; width: 56px; height: 16px; margin-left: -28px; }
.appStatic { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: brightness(0.9) saturate(1.2); }
@media (max-width: 719px) { .iphone.big { width: 170px; } }

/* ── Megoldásaink: valósághű, animált képek ────────────────────────── */
.photoFig { padding: 10px; }
.photoFrame { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #041628; }
.photoFrame .kb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.pShade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(1 7 14 / 15%), rgb(1 7 14 / 0%) 35%, rgb(1 7 14 / 55%)); pointer-events: none; }
.photoFig.dim .pShade { background: linear-gradient(90deg, rgb(1 7 14 / 70%), rgb(1 7 14 / 25%) 60%, rgb(1 7 14 / 55%)); }
.photoFig.ceilingCool .pShade::after { content: ""; position: absolute; inset: 0 0 auto; height: 32%; background: linear-gradient(180deg, rgb(112 217 255 / 28%), transparent); animation: coolBreath 6s ease-in-out infinite; }
@keyframes coolBreath { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.photoFig.aiTone .pShade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 52% 55%, rgb(17 146 232 / 25%), transparent 70%); animation: coolBreath 5s ease-in-out infinite; }
.pChip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid rgb(190 226 250 / 35%);
  background: rgb(4 22 40 / 72%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 0.78rem; font-weight: 800; white-space: nowrap;
  box-shadow: 0 10px 26px -12px rgb(0 0 0 / 80%);
  animation: chipFloat 6s ease-in-out infinite; animation-delay: var(--d);
}
.pChip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 2s ease-in-out infinite; }
.pChip.warm i { background: var(--warm); box-shadow: 0 0 8px var(--warm); }
.pChip.ok i { background: #43a047; box-shadow: 0 0 8px #43a047; }
.pChip.alert { border-color: rgb(255 107 91 / 70%); } .pChip.alert i { background: #ff3b30; box-shadow: 0 0 8px #ff3b30; animation-duration: .9s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.pSpot { position: absolute; z-index: 1; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.pSpot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cyan); animation: ripple 2.4s ease-out infinite; animation-delay: var(--d); }
.pProduct { position: absolute; z-index: 2; right: 6%; bottom: 8%; height: auto; filter: drop-shadow(0 18px 28px rgb(0 0 0 / 65%)); animation: float 6s ease-in-out infinite; }
@media (max-width: 719px) { .pChip { font-size: 0.64rem; padding: 5px 9px; } }
@media (prefers-reduced-motion: reduce) { .photoFrame .kb, .pChip, .pProduct { animation: none; } }

/* ══ Megoldásaink: csempés áttekintő + felugró részletek ═════════════ */
.solTiles { display: grid; grid-template-columns: 1fr; gap: 16px; }
.solTile {
  position: relative; display: block; padding: 0; overflow: hidden; text-align: left;
  border: 1px solid var(--glass); border-radius: 24px; background: #041628; color: inherit; font: inherit; cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 50px -30px rgb(0 8 24 / 90%);
  transition: transform 300ms var(--ease), border-color 300ms ease, box-shadow 300ms ease;
}
.solTile:hover, .solTile:focus-visible { transform: translateY(-4px); border-color: rgb(126 207 255 / 60%); box-shadow: 0 30px 60px -26px rgb(17 146 232 / 70%); outline: none; }
.tVisual { position: absolute; inset: 0; overflow: hidden; }
.tVisual .kb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 40%; animation: kenburns 20s ease-in-out infinite alternate; }
.tVisual.tech { background: radial-gradient(circle at 50% 40%, rgb(17 146 232 / 38%), transparent 62%), linear-gradient(160deg, #06213d, #020c18); }
.tVisual.tech .kb { object-fit: cover; opacity: .9; }
.techGlow { position: absolute; inset: 0; background-image: linear-gradient(rgb(112 217 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(112 217 255 / 6%) 1px, transparent 1px); background-size: 28px 28px; }
.tVisual .pShade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(1 7 14 / 10%) 0%, rgb(1 7 14 / 0%) 35%, rgb(1 7 14 / 92%) 100%); }
.tProduct { position: absolute; z-index: 1; height: auto; filter: drop-shadow(0 18px 28px rgb(0 0 0 / 65%)); animation: float 6.5s ease-in-out infinite; }
.tProduct.p1 { animation-delay: -2.5s; }
.solTile:hover .tVisual .kb { animation-play-state: paused; transform: scale(1.08); transition: transform 600ms var(--ease); }
.tText { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 20px 22px; }
.tText em { font-style: normal; font-weight: 900; color: var(--cyan); font-size: 0.8rem; letter-spacing: .1em; }
.tText strong { font-size: 1.35rem; font-weight: 900; line-height: 1.15; }
.tText > span { color: var(--muted); font-size: 0.92rem; }
.tText b { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--cyan); font-size: 0.85rem; }
.solTile:hover .arrow { transform: translateX(5px); }
.solTile .pChip { font-size: 0.72rem; }
@media (min-width: 720px) { .solTiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .solTiles { grid-template-columns: repeat(3, 1fr); } }

.solDialog {
  width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0;
  border: 1px solid rgb(126 207 255 / 40%); border-radius: 28px; background: #041628; color: var(--text);
  box-shadow: 0 40px 120px -30px rgb(17 146 232 / 60%); overflow: auto;
}
.solDialog::backdrop { background: rgb(1 7 14 / 72%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.solDialog[open] { animation: dlgIn 420ms var(--ease) both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.dlgInner { position: relative; display: grid; grid-template-columns: 1fr; }
.dlgInner .tVisual { position: relative; aspect-ratio: 16 / 11; }
.dlgBody { padding: 24px 24px 28px; }
.dlgBody h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.1; }
.dlgBody .lead { margin-top: 8px; font-size: 1rem; }
.dlgList { display: grid; gap: 12px; margin-top: 18px; }
.dlgList li { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--glass); border-radius: 14px; background: rgb(13 56 98 / 28%); animation: slideIn 450ms var(--ease) both; }
.dlgList li:nth-child(2) { animation-delay: 70ms; } .dlgList li:nth-child(3) { animation-delay: 140ms; } .dlgList li:nth-child(4) { animation-delay: 210ms; }
.dlgList strong { font-size: 1rem; font-weight: 900; }
.dlgList span { color: var(--dim); font-size: 0.9rem; line-height: 1.5; }
.dlgClose { position: absolute; top: 12px; right: 12px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass); background: rgb(4 22 40 / 80%); color: #fff; cursor: pointer; }
.dlgClose svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
  .dlgInner { grid-template-columns: 1.05fr 1fr; }
  .dlgInner .tVisual { aspect-ratio: auto; min-height: 100%; }
  .dlgBody { padding: 40px 36px; }
}
/* A csempe szövege ne fedje a termékfotót */
.solTile .tText { padding-right: 24px; }
.solTile .tText > span, .solTile .tText strong { max-width: 100%; }
.solTile .tProduct { z-index: 1; }

/* ══ Világosabb felület ═══════════════════════════════════════════════ */
:root { --bg: #0a2340; --color-bg: #0a2340; --dim: #c6d8ec; --muted: #e3eef9; --glass: rgb(190 226 250 / 30%); }
body, .page { background: linear-gradient(180deg, #0d2b4d 0%, #0a2340 45%, #081d36 100%); }
.blobA, .blobB { opacity: .75; }
.blobC { opacity: .4; }
.gridGlow { opacity: 1.4; }
.topbar[data-scrolled] { background: rgb(10 35 64 / 82%); }
.card, .tile, .exploreCard, .groupCard, .person, .thermoCard, .deviceRow, .specs > div, .statTile, .bookingCard, .solTile, .solDialog, .ourSol {
  background-color: rgb(25 78 130 / 38%);
}
.deviceFigure, .thermoFigure, .solFigure, .tVisual.tech { background-color: #0d2f52; }
.solDialog { background: #0c2a4a; }
.statTile { background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgb(112 217 255 / 18%), transparent 70%), linear-gradient(180deg, rgb(31 98 160 / 50%), rgb(10 40 72 / 85%)); }
.footer { border-top-color: rgb(190 226 250 / 22%); }

/* ══ Képek színe a felülethez igazítva ════════════════════════════════ */
.tVisual .kb, .photoFrame .kb, .deviceFigure.photo img { filter: saturate(.85) brightness(.95) contrast(1.04); }
.tVisual.room::after, .deviceFigure.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgb(17 146 232 / 22%), rgb(10 35 64 / 30%));
  mix-blend-mode: color;
}
.tVisual.room .tProduct, .tVisual.room .pChip { z-index: 2; }
.iphoneScreen .appShot, .appStatic { filter: saturate(1.05) brightness(1); }

/* Célhardver sor */
.targetHw { border-color: rgb(126 207 255 / 55%); box-shadow: 0 30px 70px -40px rgb(17 146 232 / 80%); }
.deviceFigure.photo { aspect-ratio: auto; max-width: none; padding: 0; overflow: hidden; display: grid; }
.deviceFigure.photo img { width: 100%; max-width: none; max-height: none; height: auto; border-radius: 20px; animation: none; }
.deviceFigure.photo figcaption { position: absolute; z-index: 2; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgb(4 22 40 / 75%); font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.deviceFigure.photo::after { display: none; }
@media (min-width: 960px) {
  .targetHw { grid-template-columns: 1.05fr 1fr; }
  .targetHw .specs { grid-template-columns: 1fr 1fr; }
  .targetHw .specs > div:last-child { grid-column: 1 / -1; }
}
/* Eszköz-almenü: asztali nézetben tördelődik, nem lóg le */
@media (min-width: 720px) {
  .deviceNav { flex-wrap: wrap; overflow: visible; }
  .deviceNav a { min-height: 40px; padding: 0 14px; font-size: 0.85rem; }
}
/* Rendszereink csempék: töltsék ki a teljes szélességet */
@media (min-width: 900px) { .liveStats .statGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; } }
/* Rendszereink: egyenletes elosztás a teljes szélességben */
.liveStats .statGrid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; width: 100%; }
@media (min-width: 900px) { .liveStats .statGrid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px; } }
.liveStats .statTile { width: 100%; justify-content: center; column-gap: 18px; padding: 18px 20px; }
@media (min-width: 900px) { .liveStats .statTile .deviceImg { width: 72px; height: 72px; } .liveStats .statTile strong { font-size: 2.5rem; } }

/* ══ Megoldásaink: interaktív rendszerdiagram ═════════════════════════ */
.sysDiagram { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.sysNode {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 16px 12px 14px;
  border: 1px solid var(--glass); border-radius: 22px; background: rgb(25 78 130 / 38%);
  color: inherit; font: inherit; cursor: pointer; text-align: center;
  transition: transform 250ms var(--ease), border-color 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
  animation: rise 700ms var(--ease) both; animation-delay: calc(var(--i) * 90ms);
}
.sysNode:hover { transform: translateY(-3px); border-color: rgb(126 207 255 / 55%); }
.sysNode[aria-pressed="true"] {
  border-color: var(--cyan); background: linear-gradient(160deg, rgb(17 146 232 / 45%), rgb(25 78 130 / 40%));
  box-shadow: 0 0 0 3px rgb(112 217 255 / 18%), 0 22px 50px -26px rgb(17 146 232 / 90%);
}
.sysNode strong { font-size: 1.05rem; font-weight: 900; }
.sysNode > span:last-child { color: var(--dim); font-size: 0.8rem; font-weight: 700; }
.nodeVisual { display: grid; place-items: center; height: 96px; width: 100%; margin-bottom: 6px; }
.nodeImg { max-height: 92px; max-width: 86%; width: auto; height: auto; filter: drop-shadow(0 10px 18px rgb(0 0 0 / 45%)); }
.nodeImg.photo { max-height: 84px; border-radius: 12px; filter: saturate(.9); }
.nodeCloud { width: 110px; height: auto; overflow: visible; }
.nodeCloud path { fill: rgb(10 44 79 / 90%); stroke: #70d9ff; stroke-width: 1.6; filter: drop-shadow(0 0 8px rgb(112 217 255 / 55%)); }
.sysNode .iphone.mini { width: 46px; border-radius: 10px; padding: 2px; }
.sysNode .iphone.mini .iphoneScreen { border-radius: 8px; }
.sysNode .iphone.mini .iphoneIsland { top: 4px; width: 12px; height: 4px; margin-left: -6px; }
.sysLink { position: relative; justify-self: center; width: 4px; height: 28px; border-radius: 4px; background: rgb(112 217 255 / 18%); overflow: hidden; }
.sysLink i { position: absolute; left: 0; width: 100%; height: 10px; border-radius: 4px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: sysFlowV 1.6s linear infinite; }
.sysLink i:last-child { animation-delay: .8s; }
@keyframes sysFlowV { from { top: -10px; } to { top: 100%; } }
@media (min-width: 960px) {
  .sysDiagram { grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr 44px 1fr; gap: 0; }
  .sysLink { width: 100%; height: 4px; }
  .sysLink i { top: 0; width: 14px; height: 100%; animation-name: sysFlowH; }
  @keyframes sysFlowH { from { left: -14px; } to { left: 100%; } }
}
.sysHint { margin-top: 12px; color: var(--dim); font-size: 0.85rem; text-align: center; }
.sysPanels { margin-top: 20px; }
.sysPanel {
  display: grid; grid-template-columns: 1fr; gap: 24px; padding: 26px;
  border: 1px solid rgb(126 207 255 / 40%); border-radius: 28px;
  background: radial-gradient(circle at 0% 0%, rgb(17 146 232 / 22%), transparent 55%), rgb(25 78 130 / 32%);
  animation: dlgIn 450ms var(--ease) both;
}
.sysPanel[hidden] { display: none; }
.panelText h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.12; }
.panelText .lead { margin-top: 10px; max-width: 760px; }
.panelList { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
.panelList li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--glass); border-radius: 16px; background: rgb(10 40 72 / 45%); animation: slideIn 450ms var(--ease) both; }
.panelList li:nth-child(2) { animation-delay: 60ms; } .panelList li:nth-child(3) { animation-delay: 120ms; } .panelList li:nth-child(4) { animation-delay: 180ms; } .panelList li:nth-child(5) { animation-delay: 240ms; }
.panelList li > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: linear-gradient(135deg, rgb(17 146 232 / 40%), rgb(112 217 255 / 12%)); color: var(--cyan); }
.panelList strong { display: block; font-weight: 900; }
.panelList span { color: var(--dim); font-size: 0.9rem; line-height: 1.5; }
.panelPhones { display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.sysPhone { width: 150px; border-radius: 28px; padding: 6px; }
.sysPhone .iphoneScreen { border-radius: 22px; }
.sysPhone .iphoneIsland { top: 11px; width: 42px; height: 12px; margin-left: -21px; }
.panelPhones .s0, .panelPhones .s2 { width: 128px; opacity: .92; }
.panelPhones .s1 { transform: translateY(-14px); }
@media (min-width: 720px) { .panelList { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .sysPanel { padding: 36px; }
  .sysPanel.withPhones { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .sysPanel.withPhones .panelList { grid-template-columns: 1fr; }
}
@media (max-width: 719px) { .panelPhones .s0, .panelPhones .s2 { display: none; } }
.nodePair { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 92px; }
.nodePair .nodeImg { max-width: none; }
.nodePair .a { height: 78px; }
.nodePair .b { height: 60px; }
.nodePair .a { height: 66px; }
.nodePair .b { height: 58px; }
/* EH-02 PRO 24V + KW-15m egymás mellett, azonos (90 mm) házmagassággal, összeillesztve */
.nodePair { gap: 0; align-items: center; }
.nodePair .nodeImg { filter: drop-shadow(0 10px 16px rgb(0 0 0 / 45%)); }
.nodePair .a { height: 74px; margin-right: -3px; }
.nodePair .b { height: 63px; }
/* Mért házmagasság: EH-02 kék ház 502/597, KW-15m 416/456 → azonos 58 px-es ház */
.nodePair .a { height: 69.4px; margin-right: -2px; }
.nodePair .b { height: 64px; transform: translateY(-2.7px); }
/* EH-02 + KW-15m: az előlapok azonos magasságúak és egy vonalban (mint a valós DIN-sínes beépítésnél) */
.nodePair .a { height: 83.8px; margin-right: -2px; transform: translateY(-3.6px); }
.nodePair .b { height: 64px; transform: none; }
/* Mért arányok (EH-02 69 mm, KW-15m 140 mm széles, mindkettő 90 mm magas):
   ház 500/597 ill. 413/456 sor, előlap 268 ill. 221 sor → azonos ház- és előlapmagasság */
.nodePair .a { height: 69.1px; margin-right: -2px; transform: none; }
.nodePair .b { height: 64px; transform: translateY(-2.7px); }

/* ══ Megoldásaink v3: területek kifejtve, funkciókártyák mini-grafikával ══ */
.sysNode { text-decoration: none; }
.solArea { margin-top: 84px; scroll-margin-top: 90px; }
.areaHead { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-bottom: 26px; }
.areaNum { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 900; line-height: .9; background: linear-gradient(180deg, var(--cyan), rgb(17 146 232 / 25%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.areaHead h2 { margin-top: 4px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1.12; }
.areaHead .lead { margin-top: 10px; max-width: 820px; }
.featGrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .featGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .featGrid { grid-template-columns: repeat(3, 1fr); } .featGrid.n4 { grid-template-columns: repeat(4, 1fr); } .featGrid.n5 { grid-template-columns: repeat(3, 1fr); } }
.featCard {
  display: grid; align-content: start; gap: 8px; padding: 16px 18px 20px;
  border: 1px solid var(--glass); border-radius: 22px;
  background: radial-gradient(260px circle at 50% 0%, rgb(17 146 232 / 20%), transparent 65%), rgb(25 78 130 / 36%);
  transition: transform 250ms var(--ease), border-color 250ms ease, box-shadow 250ms ease;
}
.featCard:hover { transform: translateY(-3px); border-color: rgb(126 207 255 / 55%); box-shadow: 0 24px 50px -28px rgb(17 146 232 / 80%); }
.featCard h3 { font-size: 1.12rem; font-weight: 900; }
.featCard p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.featCard ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.featCard li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgb(126 207 255 / 30%); background: rgb(17 146 232 / 14%); color: #dff1ff; font-size: 0.74rem; font-weight: 700; }
.miniArt { width: 100%; height: 118px; margin-bottom: 6px; border-radius: 14px; background: radial-gradient(circle at 50% 120%, rgb(17 146 232 / 35%), transparent 70%), #0b2846; overflow: visible; }
.solArea .panelPhones { margin: 0 0 22px; }

/* mini-grafika elemek */
.miniArt text { font-family: "Nunito Local", sans-serif; text-anchor: middle; }
.mgVal { fill: #fff; font-size: 18px; font-weight: 900; } .mgVal.small { font-size: 15px; } .mgVal.tiny { font-size: 9px; font-weight: 800; fill: #dff1ff; } .mgVal.ok { fill: #7ed98a; }
.mgPanel { fill: rgb(112 217 255 / 55%); animation: fillSwap 8s ease-in-out infinite; }
.mgWaveDown { fill: none; stroke-width: 3; stroke-linecap: round; animation: waveDown 2.4s ease-in-out infinite, toneSwap 8s ease-in-out infinite; }
.mgFloor { fill: rgb(190 226 250 / 25%); }
.mgRing { fill: rgb(10 44 79 / 90%); stroke: rgb(190 226 250 / 22%); stroke-width: 7; }
.mgArc { fill: none; stroke: #7ed98a; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 189; stroke-dashoffset: 189; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; animation: mgFill 4s var(--ease) infinite; }
.mgArc.blue { stroke: var(--brand); stroke-dasharray: 201; stroke-dashoffset: 201; animation-name: mgFillB; }
@keyframes mgFill { 0% { stroke-dashoffset: 189; } 60%, 100% { stroke-dashoffset: 60; } }
@keyframes mgFillB { 0% { stroke-dashoffset: 201; } 60%, 100% { stroke-dashoffset: 44; } }
.mgDrop { fill: #dff4ff; animation: dripFall 2.4s ease-in infinite; }
.mgShield { fill: rgb(126 217 138 / 25%); stroke: #7ed98a; stroke-width: 2; }
.mgWindow { fill: rgb(112 217 255 / 25%); stroke: rgb(190 226 250 / 45%); }
.mgSheet { fill: #1f5d96; } .mgSlats { stroke: rgb(190 226 250 / 35%); stroke-width: 2; fill: none; }
.mgBlind { transform-origin: 100px 12px; transform-box: view-box; animation: blindsMove 6s ease-in-out infinite; }
.mgSmoke { fill: #eef3f7; stroke: #b9c7d4; } .mgRed { fill: #ff3b30; animation: blink 1s ease-in-out infinite; }
.mgRipple { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 2s ease-out infinite; }
.mgRipple.red { stroke: #ff6b5b; }
.mgCyanDot { fill: var(--cyan); } .mgPuddle { fill: rgb(112 217 255 / 30%); }
.mgPipe { fill: none; stroke-width: 7; stroke-linecap: round; opacity: .35; } .mgPipe.hot { stroke: var(--hot); } .mgPipe.cold { stroke: var(--cyan); }
.mgFlow { fill: none; stroke: #ffc1a6; stroke-width: 2.5; stroke-dasharray: 5 9; stroke-linecap: round; animation: dashP14_0 .9s linear infinite; }
.mgFlow.cold { stroke: #c9f1ff; stroke-dasharray: 3 9; } .mgFlow.slow { animation-duration: 1.6s; }
.mgValve { fill: #0b3a66; stroke: #fff; stroke-width: 1.5; }
.mgStem line { stroke: var(--warm); stroke-width: 3; stroke-linecap: round; } .mgStem { animation: valveTurn 4s ease-in-out infinite; }
.mgChip { fill: rgb(10 44 79 / 90%); stroke: var(--cyan); }
.mgBox { fill: rgb(10 44 79 / 90%); stroke: rgb(190 226 250 / 35%); }
.mgDigits text { fill: #a8eab1; font-size: 22px; font-weight: 900; } .mgDigits .roll { animation: blink 1.6s steps(2) infinite; }
.mgBus { stroke: var(--warm); stroke-width: 3; stroke-dasharray: 2 8; fill: none; animation: dash .6s linear infinite; }
.mgHouse { fill: rgb(25 78 130 / 70%); stroke: rgb(190 226 250 / 50%); stroke-width: 1.5; } .mgDoor { fill: var(--brand); }
.mgCloudOff { fill: none; stroke: rgb(190 226 250 / 45%); stroke-width: 2; } .mgSlash { stroke: #ff6b5b; stroke-width: 2.5; stroke-linecap: round; }
.mgGreen { fill: #43a047; filter: drop-shadow(0 0 5px #43a047); animation: blink 1.8s ease-in-out infinite; }
.mgHub { fill: #0b4c86; stroke: var(--cyan); stroke-width: 2; }
.mgNode { fill: rgb(10 44 79 / 90%); stroke: var(--cyan); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: mgPop 3.2s var(--ease) infinite; }
.mgNode.d1 { animation-delay: .4s; } .mgNode.d2 { animation-delay: .8s; } .mgNode.d3 { animation-delay: 1.2s; }
@keyframes mgPop { 0% { transform: scale(0); opacity: 0; } 25%, 85% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.mgLink { fill: none; stroke: rgb(112 217 255 / 35%); stroke-width: 1.5; stroke-dasharray: 3 5; animation: dashP16_0 1.2s linear infinite; }
.mgFan { animation: spin 1.4s linear infinite; } .mgRingSm { fill: #0b3a66; stroke: var(--cyan); stroke-width: 2; } .mgBlade { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.mgTank { fill: rgb(255 138 91 / 25%); stroke: rgb(190 226 250 / 40%); }
.mgCloud { fill: rgb(10 44 79 / 90%); stroke: var(--cyan); stroke-width: 1.5; filter: drop-shadow(0 0 6px rgb(112 217 255 / 55%)); }
.mgPacket { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan)); } .mgPacket.warm { fill: var(--warm); }
.mgAxis { stroke: rgb(190 226 250 / 30%); stroke-width: 2; }
.mgBars rect { fill: var(--cyan); transform-box: fill-box; transform-origin: bottom; transform: scaleY(var(--h)); animation: eGrow 4s var(--ease) infinite; }
.mgBars rect:nth-child(even) { fill: var(--brand); }
.mgSpark path { fill: var(--warm); } .mgSpark { transform-box: fill-box; transform-origin: center; animation: sparkleSpin 3s ease-in-out infinite; } .mgSpark.s2 { animation-delay: 1.5s; }
.mgBar { fill: rgb(17 146 232 / 45%); } .mgSide { fill: rgb(17 146 232 / 25%); }
.mgRows rect { fill: rgb(190 226 250 / 30%); transform-box: fill-box; transform-origin: left; animation: mgRow 3.6s var(--ease) infinite; }
.mgRows rect:nth-child(2) { animation-delay: .3s; } .mgRows rect:nth-child(3) { animation-delay: .6s; }
@keyframes mgRow { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
.mgTags rect { fill: rgb(10 44 79 / 90%); stroke: rgb(112 217 255 / 55%); }
.mgCal rect { fill: rgb(190 226 250 / 18%); } .mgCal rect.on { fill: var(--brand); animation: blink 2s ease-in-out infinite; }
.mgBellBody { fill: var(--warm); } .mgBell { animation: bellSwing 2.4s ease-in-out infinite; }
@keyframes bellSwing { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(12deg); } 80% { transform: rotate(-10deg); } 90% { transform: rotate(6deg); } }
.mgSignal { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; animation: blink 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .miniArt * { animation: none !important; } }
@media (min-width: 1100px) {
  .featGrid.n5 { grid-template-columns: repeat(6, 1fr); }
  .featGrid.n5 > .featCard { grid-column: span 2; }
  .featGrid.n5 > .featCard:nth-child(4), .featGrid.n5 > .featCard:nth-child(5) { grid-column: span 3; }
}

/* Új mini-grafikák */
.mgBrandA rect { fill: #1192e8; animation: brandA 6s ease-in-out infinite; }
.mgBrandB rect { fill: #f5c518; animation: brandB 6s ease-in-out infinite; }
@keyframes brandA { 0%, 45% { fill: #1192e8; } 55%, 100% { fill: #23adda; } }
@keyframes brandB { 0%, 45% { fill: #f5c518; } 55%, 100% { fill: #7ed98a; } }
.mgRack rect { fill: rgb(190 226 250 / 22%); }
.mgGrid path { stroke: rgb(190 226 250 / 25%); stroke-width: 1; fill: none; }
.mgQr { fill: #fff; opacity: .85; }
.mgTrack { fill: rgb(190 226 250 / 15%); }
.mgProg { fill: var(--brand); transform-box: fill-box; transform-origin: left; animation: progFill 4s var(--ease) infinite; }
.mgProg.p2 { animation-delay: .7s; fill: var(--cyan); } .mgProg.p3 { animation-delay: 1.4s; }
@keyframes progFill { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
.mgPaper { fill: #eef3f7; } .mgPhoto { fill: #9ebdd6; }
.mgRowsDark rect { fill: rgb(10 44 79 / 45%); }
.mgPdf { fill: #e53935; font-size: 13px; font-weight: 900; }
.mgTop { fill: #3a9ae8; } .mgLeft { fill: #eef3f7; } .mgRight { fill: #a9b8c7; }
.mgIso { transform-box: fill-box; transform-origin: center; animation: float 5s ease-in-out infinite; }
.mgWin { stroke: #0e3a63; stroke-width: 3; }
.mgBubble { fill: rgb(17 146 232 / 45%); stroke: rgb(126 207 255 / 55%); }
.mgSend path { fill: var(--cyan); } .mgSend { animation: sendFly 2.6s ease-in-out infinite; }
@keyframes sendFly { 0%, 40% { transform: translate(0, 0); opacity: 1; } 70% { transform: translate(10px, -8px); opacity: 0; } 71% { transform: translate(-6px, 6px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
.mgLine { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 3s var(--ease) infinite; }
.mgAlert { fill: #ff6b5b; }
.mgPerson { fill: rgb(190 226 250 / 35%); }
.mgLock { fill: none; stroke: var(--cyan); stroke-width: 3; }
.brandNode rect { fill: rgb(10 44 79 / 90%); stroke: #1192e8; stroke-width: 2; }
.brandNode rect.b2 { stroke: #f5c518; }

/* Miért Sinum? */
.whySection { margin-top: 84px; }
.whyGrid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .whyGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .whyGrid { grid-template-columns: repeat(4, 1fr); } }
.whyCard { display: grid; align-content: start; gap: 8px; padding: 18px; border: 1px solid var(--glass); border-radius: 20px; background: rgb(25 78 130 / 34%); transition: border-color 250ms ease, transform 250ms var(--ease); }
.whyCard:hover { border-color: rgb(126 207 255 / 55%); transform: translateY(-3px); }
.whyIcon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, rgb(17 146 232 / 45%), rgb(112 217 255 / 14%)); color: var(--cyan); }
.whyIcon svg { width: 22px; height: 22px; }
.whyCard h3 { font-size: 1.02rem; font-weight: 900; }
.whyCard p { color: var(--dim); font-size: 0.88rem; line-height: 1.5; }
.featGrid:not(.n4):not(.n5) { }
@media (min-width: 960px) { .sysDiagram { grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr; } .sysNode strong { font-size: .95rem; } .sysNode > span:last-child { font-size: .72rem; } }

/* ══ Megoldásaink: finomított design ═══════════════════════════════════ */
html { background: #081d36; }

/* Területek: váltakozó, lágy háttérsáv a szakaszok tagolására */
.solArea { position: relative; padding-top: 48px; padding-bottom: 56px; isolation: isolate; }
.solArea::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(60% 80% at 0% 0%, rgb(17 146 232 / 16%), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 2.5%), transparent 60%);
  border-top: 1px solid rgb(190 226 250 / 10%);
}
.solArea:nth-of-type(even)::before {
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(112 217 255 / 12%), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 2.5%), transparent 60%);
}
.solArea { margin-top: 40px; }

/* Terület-fejléc: szám fénylő jelvényben, címke chipként */
.areaHead { align-items: center; gap: 22px; }
.areaNum {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px;
  font-size: 2.2rem; line-height: 1; color: #fff; -webkit-text-fill-color: #fff; background: linear-gradient(135deg, #1192e8, #0a5fae);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 0 0 6px rgb(17 146 232 / 14%), 0 18px 40px -16px rgb(17 146 232 / 90%);
}
.areaHead .kicker {
  display: inline-flex; padding: 5px 12px; border-radius: 999px; margin-bottom: 4px;
  background: rgb(112 217 255 / 12%); border: 1px solid rgb(112 217 255 / 30%);
}

/* Funkciókártya: felső fénycsík, kiemelt grafika, finomabb címkék */
.featCard { position: relative; overflow: hidden; padding: 14px 16px 20px; border-radius: 24px; background: linear-gradient(180deg, rgb(31 98 160 / 42%), rgb(12 44 78 / 55%)); }
.featCard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan), var(--brand), transparent); opacity: .7; }
.featCard:hover::before { opacity: 1; }
.miniArt {
  height: 132px; border-radius: 18px;
  background:
    linear-gradient(rgb(112 217 255 / 7%) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgb(112 217 255 / 7%) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(circle at 50% 120%, rgb(17 146 232 / 45%), transparent 70%), #0a2644;
  box-shadow: inset 0 0 0 1px rgb(190 226 250 / 12%);
}
.featCard h3 { margin-top: 4px; font-size: 1.15rem; }
.featCard li { background: rgb(10 40 72 / 55%); border-color: rgb(126 207 255 / 25%); color: #cfe7fa; }
.featCard li::before { content: "✓ "; color: #7ed98a; font-weight: 900; }

/* App-terület: legyezőszerű telefonok */
.solArea .panelPhones { gap: 0; }
.solArea .panelPhones .s0 { transform: rotate(-7deg) translateX(18px); }
.solArea .panelPhones .s1 { position: relative; z-index: 1; transform: translateY(-16px) scale(1.06); }
.solArea .panelPhones .s2 { transform: rotate(7deg) translateX(-18px); }

/* Miért Sinum: gradiens kerettel kiemelt blokk */
.whySection { position: relative; padding: 36px 28px; border-radius: 32px; isolation: isolate; }
.whySection::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 32px; padding: 1.5px; background: linear-gradient(135deg, rgb(112 217 255 / 70%), rgb(17 146 232 / 15%), rgb(255 217 138 / 45%)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.whySection::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 32px; background: radial-gradient(70% 60% at 50% 0%, rgb(17 146 232 / 22%), transparent 70%), rgb(12 44 78 / 45%); }
.whySection .areaNum { font-size: 2.4rem; }
.whyCard { background: rgb(10 40 72 / 55%); }
@media (max-width: 719px) { .whySection { padding: 24px 16px; } .areaNum { width: 64px; height: 64px; border-radius: 20px; font-size: 1.7rem; } }

/* Diagram-elemek: egységes fehér vonalas rajzok */
.nodeLine { height: 88px; width: auto; max-width: 100%; fill: none; stroke: #f2f8ff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; overflow: visible; filter: drop-shadow(0 0 10px rgb(112 217 255 / 35%)); }
.nodeLine .thin { stroke-width: 1.3; opacity: .7; }
.nodeLine .dots { stroke-dasharray: 2 6; }
.nodeLine .accA { fill: #1192e8; stroke: none; } .nodeLine .accB { fill: #f5c518; stroke: none; }
.nodeLine .lineFan { transform-box: fill-box; transform-origin: center; animation: spin 2.4s linear infinite; }
.nodeLine text { fill: #f2f8ff; stroke: none; }
.nodeLine .ehLeds circle { stroke: #f2f8ff; stroke-width: 1; fill: none; }
.nodeLine .ehLeds circle:nth-child(3n+1) { fill: #ff3b30; stroke: #ff8a80; }
.nodePair.line { align-items: flex-end; gap: 0; height: 92px; }
.nodePair.line .eh02 { height: 76px; }
.nodePair.line .kw { height: 70px; margin-left: -4px; }
.nodePair.line .nodeImg { display: none; }
.lineImg { height: 86px; max-height: 86px; filter: brightness(0) invert(1) drop-shadow(0 0 10px rgb(112 217 255 / 35%)); }

/* Harmatpont-csepp a kereten belül marad */
.miniArt { overflow: hidden; }
.mgDrop { animation: dewDrip 2.4s ease-in infinite; }
@keyframes dewDrip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(26px); opacity: 1; } 100% { transform: translateY(26px) scale(1.4, .3); opacity: 0; } }
.nodePair.line { width: 100%; max-width: 100%; height: 92px; align-items: center; justify-content: center; }
.nodePair.line .eh02 { width: 29%; height: auto; }
.nodePair.line .kw { width: 66%; height: auto; margin-left: -2px; }
/* Diagram-rajzok egységes befoglaló mérete (120×78), arányosan kitöltve */
.sysNode .nodeVisual { height: 84px; }
.sysNode .nodeLine, .sysNode .lineImg { width: 120px; height: 78px; max-height: 78px; object-fit: contain; }
.sysNode .nodePair.line { width: 132px; height: 78px; }
.sysNode .nodePair.line .eh02 { width: 30%; height: auto; }
.sysNode .nodePair.line .kw { width: 68%; height: auto; }
.sysNode .nodeLine[viewBox="0 0 120 120"] { width: 78px; }
.sysNode .lineImg { width: 70px; height: 70px; }
.mgDrop { transform-box: fill-box; transform-origin: 50% 100%; animation: dewDrip2 2.4s ease-in infinite; }
@keyframes dewDrip2 { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(24px); opacity: 1; } 100% { transform: translateY(24px) scale(1.3, .35); opacity: 0; } }
.featCard, .miniArt { overflow: hidden; }

/* Kevesebb hely a felső menü és az oldaltartalom között */
.pageHead { padding-top: 24px; }
@media (min-width: 960px) { .pageHead { padding-top: 32px; } }
.section.first { margin-top: 28px; }
.contactHero { padding-top: 16px; }
.hero { padding-top: 8px; }
@media (min-width: 960px) { .hero { min-height: min(72vh, 680px); } }

/* Safari a szűrős (filter) SVG-t a saját keretére vágja: a rajzterület körbe
   ráhagyással bővül (viewBox -30 -70 540 570), a negatív margók pedig az
   eredeti 400×460-as helyre igazítják, így az elrendezés nem változik. */
.scene .sceneSvg {
  display: block;
  width: 135%;
  max-width: none;
  margin: -17.5% -27.5% -10% -7.5%;
}

/* ── Nyelvváltó (HU | EN): a fejléc jobb szélén ─────────────────────── */
.topnav { margin-left: auto; }
.langSwitch {
  display: inline-flex;
  flex-shrink: 0;
  padding: 2px;
  border: 1px solid var(--glass);
  border-radius: 999px;
  background: rgb(220 242 255 / 7%);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.langSwitch a {
  display: grid;
  place-items: center;
  min-width: 32px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--dim);
  transition: color 200ms ease, background-color 200ms ease;
}
.langSwitch a:hover { color: #fff; }
.langSwitch a[aria-current="true"] { color: #fff; background: var(--brand); box-shadow: 0 4px 14px -6px rgb(17 146 232 / 80%); }
.langSwitch a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 719px) {
  .menu { margin-left: auto; }
  .langSwitch a { min-width: 30px; padding: 0 7px; }
}

/* Lábléc: balra logó, középen © és évszám, jobbra a szerviz e-mail */
.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-content: initial; }
.footLogo { justify-self: start; display: inline-flex; }
.footLogo img { height: 30px; width: auto; }
.footCopy { margin: 0; justify-self: center; font-weight: 700; letter-spacing: 0.02em; }
.footer .footMail { justify-self: end; }
@media (max-width: 719px) {
  .footer { grid-template-columns: 1fr; justify-items: center; gap: 14px; text-align: center; }
  .footLogo, .footCopy, .footer .footMail { justify-self: center; }
}

/* Lebegő telefon: valódi iPhone-hatás – grafit titánkeret, oldalgombok, élénk kijelző */
.iphone {
  background: linear-gradient(150deg, #4a5563 0%, #1b222b 38%, #0a0e13 70%, #2c3540 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 30%),
    inset 0 0 0 3px #05080c,
    0 0 0 1px rgb(0 0 0 / 55%),
    0 2px 0 1px rgb(255 255 255 / 6%),
    0 34px 60px -18px rgb(0 0 0 / 75%),
    0 0 40px -10px rgb(112 217 255 / 35%);
}
.iphone::before, .iphone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #5b6673, #262e38);
}
.iphone::before { left: -3px; top: 20%; height: 9%; box-shadow: 0 calc(var(--btn-gap, 14px) * 1.6) 0 #3a434e, 0 calc(var(--btn-gap, 14px) * 3.2) 0 #3a434e; }
.iphone::after { right: -3px; top: 27%; height: 14%; }
.iphoneScreen { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 60%); }
.iphoneScreen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 34%);
  pointer-events: none;
  z-index: 1;
}
.iphoneScreen .appShot { filter: none; }
.iphoneIsland { z-index: 3; }
.phoneLabel { color: #fff; }

/* Kicsit erősebb kontraszt: világosabb másodlagos szöveg, határozottabb üvegkeretek */
:root { --dim: #d4e3f3; --muted: #eef5fc; --glass: rgb(190 226 250 / 38%); }

/* Nyelvváltó: üveges sín, a kiválasztott nyelv fehér gomb kék betűvel */
.langSwitch a { color: var(--muted); }
.langSwitch a:hover { color: #fff; }
.langSwitch a[aria-current="true"] { color: var(--brand-strong); background: #fff; box-shadow: 0 4px 12px -6px rgb(0 0 0 / 60%); }

/* ── Referenciák: fotókártyák egységes kék duotone színezéssel ─────── */
.refGrid { display: grid; gap: 20px; }
@media (min-width: 720px) { .refGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .refGrid { grid-template-columns: repeat(3, 1fr); } }
.refCard {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--glass);
  border-radius: 24px;
  background: linear-gradient(160deg, rgb(21 86 147 / 42%), rgb(4 22 40 / 70%));
  box-shadow: 0 24px 50px -30px rgb(0 0 0 / 80%);
}
.refMedia { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0b2a48; isolation: isolate; }
.refMedia img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.25) contrast(1.06) brightness(1.05); transition: transform 600ms var(--ease); }
.refMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1192e8;
  opacity: 0.1;
  pointer-events: none;
}
.refMedia::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgb(0 0 0 / 55%) 0%, rgb(0 0 0 / 10%) 45%, rgb(0 0 0 / 0%) 100%);
  pointer-events: none;
}
.refCard:hover .refMedia img { transform: scale(1.04); }
.refPlaceholder { display: grid; place-items: center; height: 100%; color: rgb(112 217 255 / 70%); }
.refPlaceholder svg { width: 64px; height: 64px; stroke-width: 1.4; }
.refBody { display: grid; align-content: start; gap: 8px; padding: 20px 22px 22px; }
.refBody .cardTitle { margin: 0; }
.refBody .cardText { margin: 0; }
.refPlace, .refTag { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 0.82rem; font-weight: 700; }
.refPlace { color: var(--cyan); }
.refTag { margin-top: 6px; padding: 6px 12px; border-radius: 999px; width: fit-content; color: #fff; background: rgb(17 146 232 / 28%); border: 1px solid rgb(112 217 255 / 35%); }
.refPlace .icon, .refTag .icon { width: 15px; height: 15px; flex-shrink: 0; }

/* Lakásvezérlő pár: az EH-02 és a KW-15m azonos magasságú DIN-modul, a szélességük a valós arányt követi */
.nodePair.line .eh02, .sysNode .nodePair.line .eh02 { width: auto; height: 100%; }
.nodePair.line .kw, .sysNode .nodePair.line .kw { width: auto; height: 100%; margin-left: 2px; }
.sysNode .nodePair.line { width: auto; height: 60px; gap: 2px; }
.nodePair.line { width: auto; height: 78px; }

/* Referenciák: Sinum | BMS logó a kártya alján */
.refBody { display: flex; flex-direction: column; align-items: flex-start; }
.refBms { display: block; width: auto; height: 26px; margin-top: auto; padding-top: 16px; box-sizing: content-box; }

/* Főoldali felhő fehéren, finom kék fénnyel */
.heroCloud { fill: #ffffff; stroke: #d6ecfb; stroke-width: 1.5; filter: drop-shadow(0 0 12px rgb(112 217 255 / 55%)) drop-shadow(0 10px 24px rgb(17 146 232 / 45%)); }

/* ── Koncepció: Sinum Developer épületegyüttes ──────────────────────── */
.concept { margin-top: 40px; }
.conceptLead { max-width: 760px; }
.conceptStage {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  aspect-ratio: 1600 / 684;
  border: 1px solid var(--glass);
  border-radius: 28px;
  background: #0b2a48 url("/assets/video/sinum-epuletegyuttes-poster.jpg") center / cover no-repeat;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 85%), 0 0 60px -20px rgb(17 146 232 / 45%);
}
.conceptLoop { display: block; width: 100%; height: 100%; object-fit: cover; }
.conceptStage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(4 22 40 / 0%) 55%, rgb(4 22 40 / 75%) 100%);
  pointer-events: none;
}
.conceptPlay {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: rgb(4 22 40 / 62%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms var(--ease);
}
.conceptPlay:hover { background: rgb(17 146 232 / 70%); transform: translateY(-2px); }
.conceptPlay .playIcon { box-sizing: content-box; width: 18px; height: 18px; padding: 9px; border-radius: 50%; background: #fff; color: var(--brand-strong); }
.conceptPlay span { display: grid; line-height: 1.2; }
.conceptPlay strong { font-size: 0.95rem; }
.conceptPlay em { font-style: normal; font-size: 0.78rem; color: var(--muted); }
.conceptGrid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .conceptGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .conceptGrid { grid-template-columns: repeat(3, 1fr); } }
.conceptCard {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--glass);
  border-radius: 22px;
  background: linear-gradient(160deg, rgb(21 86 147 / 40%), rgb(4 22 40 / 60%));
}
.conceptCard .cardTitle, .conceptCard .cardText { margin: 0; }
.conceptStats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .conceptStats { grid-template-columns: repeat(4, 1fr); } }
.conceptStat { display: grid; gap: 4px; padding: 18px 20px; border-radius: 20px; border: 1px solid rgb(112 217 255 / 35%); background: rgb(17 146 232 / 16%); }
.conceptStat strong { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; line-height: 1; }
.conceptStat span { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.conceptSource { margin: 12px 0 0; font-size: 0.78rem; color: var(--dim); }
.videoDialog { width: min(1100px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
.videoDialog video { display: block; width: 100%; height: auto; background: #000; }
@media (max-width: 719px) {
  .conceptStage { aspect-ratio: 4 / 3; border-radius: 22px; }
  .conceptPlay { left: 12px; right: 12px; bottom: 12px; }
}

/* Koncepció: kisebb térköz a hero után */
.hero + .concept { margin-top: 8px; }
@media (min-width: 960px) { .hero + .concept { margin-top: -48px; } }

/* Koncepció-illusztrációk: a videó ötletei a felület vonalrajz-stílusában */
.ca { height: 132px; margin-bottom: 4px; }
.ca .caLine, .ca .caThin, .ca .caPanel, .ca .caBeam, .ca .caPerson, .ca .caAlert, .ca .caWaves, .ca .caWinLines, .ca .caGrid, .ca .caTick, .ca .caPlug, .ca .caSun, .ca .caMoon, .ca .caBatt, .ca .caBolt { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ca .caLine { stroke: #f2f8ff; stroke-width: 2; }
.ca .caThin, .ca .caWinLines { stroke: rgb(242 248 255 / 45%); stroke-width: 1.4; }
.ca .caDim { fill: #061a30; stroke: rgb(242 248 255 / 25%); }
.ca .caSheet { fill: #0f3a63; stroke: #9fd8ff; stroke-width: 1.5; }
.ca .caGate { animation: caGate 6s var(--ease) infinite; }
@keyframes caGate { 0%, 30% { transform: translateY(0); } 50%, 85% { transform: translateY(-54px); } 100% { transform: translateY(0); } }
.ca .caPlate { fill: #fff; }
.ca .caScan { stroke: var(--cyan); stroke-width: 2.5; filter: drop-shadow(0 0 4px var(--cyan)); animation: caScan 6s ease-in-out infinite; }
@keyframes caScan { 0% { transform: translateY(0); opacity: 0; } 5% { opacity: 1; } 25% { transform: translateY(16px); opacity: 1; } 30%, 100% { transform: translateY(16px); opacity: 0; } }
.ca .caOk { fill: #43a047; animation: caPop 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ca .caTick { stroke: #fff; stroke-width: 2; animation: caPop 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes caPop { 0%, 28% { opacity: 0; transform: scale(.4); } 34%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.ca .caPanel { fill: #071b30; stroke: #f2f8ff; stroke-width: 2; }
.ca .caKeys circle { fill: rgb(242 248 255 / 85%); }
.ca .caKeys circle:nth-child(5) { animation: caKey 4s ease-in-out infinite; }
.ca .caKeys circle:nth-child(9) { animation: caKey 4s ease-in-out .3s infinite; }
@keyframes caKey { 0%, 20%, 100% { fill: rgb(242 248 255 / 85%); } 10% { fill: var(--cyan); } }
.ca .caLed { fill: #43a047; animation: blink 2s ease-in-out infinite; }
.ca .caWaves { stroke: var(--cyan); stroke-width: 2; animation: caWaves 2s ease-out infinite; }
@keyframes caWaves { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }
.ca .caWin { fill: rgb(255 217 138 / 85%); animation: caLights 8s ease-in-out infinite; }
.ca .caWin.b { animation-delay: .4s; }
.ca .caLamp { fill: var(--warm); filter: drop-shadow(0 0 6px var(--warm)); animation: caLights 8s ease-in-out infinite; }
@keyframes caLights { 0%, 45% { opacity: .15; } 55%, 95% { opacity: 1; } 100% { opacity: .15; } }
.ca .caSun { stroke: var(--warm); stroke-width: 2; animation: caDay 8s ease-in-out infinite; }
.ca .caMoon { stroke: #dff1ff; stroke-width: 1.8; animation: caNight 8s ease-in-out infinite; }
@keyframes caDay { 0%, 45% { opacity: 1; } 55%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes caNight { 0%, 45% { opacity: 0; } 55%, 95% { opacity: 1; } 100% { opacity: 0; } }
.ca .caBeam { fill: rgb(112 217 255 / 10%); stroke: rgb(112 217 255 / 30%); stroke-width: 1; }
.ca .caPerson { stroke: #f2f8ff; stroke-width: 2; }
.ca .caDetect { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 6 4; animation: dash 1.2s linear infinite; }
.ca .caTag { fill: var(--cyan); font-size: 10px; font-weight: 900; }
.ca .caHot { animation: caHot 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes caHot { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
.ca .caPlug { stroke: var(--cyan); stroke-width: 2; }
.ca .caAlert { stroke: #ff8a5b; stroke-width: 2; animation: blink 1.4s ease-in-out infinite; }
.ca .caGrid { stroke: rgb(112 217 255 / 35%); stroke-width: 3; }
.ca .caPulse { stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 8 46; filter: drop-shadow(0 0 4px var(--cyan)); animation: caFlow 1.6s linear infinite; }
@keyframes caFlow { from { stroke-dashoffset: 54; } to { stroke-dashoffset: 0; } }
.ca .caBatt { stroke: #7ed98a; stroke-width: 1.8; }
.ca .caBolt { stroke: #7ed98a; stroke-width: 1.6; }
.conceptCard { padding-top: 22px; }

/* Eszközök: kompaktabb vezérlőkártyák */
.devices { gap: 18px; }
.deviceRow { padding: 18px; gap: 18px; border-radius: 22px; }
.deviceFigure { max-width: 220px; border-radius: 16px; }
.deviceTitle { margin-top: 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.deviceRow .solLead { margin-top: 8px; font-size: 0.92rem; }
.deviceRow .specs { margin-top: 14px; gap: 10px; }
.deviceRow .specs > div { padding: 10px 12px; }
@media (min-width: 960px) { .deviceRow { grid-template-columns: 220px 1fr; gap: 26px; padding: 20px 24px; } }

/* Megoldásaink – lakóparkszint: vonalrajz a kártyák tetején */
.estate .conceptCard { padding-top: 22px; }
.estate { margin-top: 72px; }
.concept:not(.estate) .conceptCard { padding-top: 0; }
/* Főoldali koncepciókártyák: jelenetkép a kártya tetején */
.concept:not(.estate) .conceptCard { overflow: hidden; }
.conceptMedia { position: relative; margin: 0 -22px 6px; aspect-ratio: 16 / 9; overflow: hidden; background: #0b2a48; }
.conceptMedia img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.04); transition: transform 600ms var(--ease); }
.conceptMedia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(4 22 40 / 70%) 0%, rgb(4 22 40 / 0%) 55%), rgb(17 146 232 / 8%); }
.conceptCard:hover .conceptMedia img { transform: scale(1.04); }
.concept:not(.estate) .conceptCard .exploreIcon { margin-top: -38px; position: relative; z-index: 1; }

/* Referenciák: saját fotó nélküli kártyák illusztrációs képe, jelölve */
.refIll { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgb(4 22 40 / 72%); border: 1px solid rgb(190 226 250 / 30%); color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; }

/* A videó fölött ne legyen élő háttér-elmosás (Safari képkockánként újraszámolná) */
.conceptPlay { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(4 22 40 / 82%); }
.conceptLoop { transform: translateZ(0); }

/* Eszközök: nagyobb termékkép, kisebb szöveg */
.deviceFigure { max-width: 280px; }
.deviceFigure img { max-width: 94%; max-height: 92%; }
@media (min-width: 960px) { .deviceRow { grid-template-columns: 280px 1fr; } }
.deviceTitle { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.deviceRow .solLead { font-size: 0.85rem; line-height: 1.5; }
.deviceRow .specs strong { font-size: 0.8rem; }
.deviceRow .specs li { font-size: 0.78rem; line-height: 1.4; }
.deviceRow .specs ul { gap: 4px; margin-top: 8px; }

/* Referenciák: valódi átúszás – a következő kép pontosan az előző halványulása alatt jön be, finom közelítéssel */
.refShots { position: absolute; inset: 0; background: #0b2a48; }
.refShots img { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.refShots.n2 img { animation: refX2 12s linear infinite; animation-delay: calc(var(--k) * 6s - 1.2s); }
.refShots.n3 img { animation: refX3 15s linear infinite; animation-delay: calc(var(--k) * 5s - 1.2s); }
@keyframes refX2 { 0% { opacity: 0; transform: scale(1); } 10% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 0; transform: scale(1.06); } 100% { opacity: 0; transform: scale(1.06); } }
@keyframes refX3 { 0% { opacity: 0; transform: scale(1); } 8% { opacity: 1; } 33.3% { opacity: 1; } 41.3% { opacity: 0; transform: scale(1.06); } 100% { opacity: 0; transform: scale(1.06); } }
.refCard:hover .refShots img { transform: none; }
@media (prefers-reduced-motion: reduce) { .refShots img { animation: none; } .refShots img:first-child { opacity: 1; } }
/* Eszközök: a termékkép soha ne legyen levágva (a lebegés is a kereten belül marad) */
.deviceFigure { overflow: visible; }
.deviceFigure:not(.photo) img { max-width: 88%; max-height: 80%; object-fit: contain; }
.deviceFigure.photo img { object-fit: contain; }



/* ── Gyártóról ───────────────────────────────────────────────────────── */
.about .conceptStage { aspect-ratio: 16 / 9; margin-top: 0; }
.aboutBody { display: grid; gap: 14px; max-width: 860px; margin-top: 18px; }
.aboutText { margin: 0; font-size: 1rem; }
.aboutStats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .aboutStats { grid-template-columns: repeat(5, 1fr); } }
.aboutEu { display: flex; gap: 10px; align-items: flex-start; max-width: 860px; margin: 18px 0 0; padding: 14px 18px; border-radius: 16px; border: 1px solid rgb(112 217 255 / 30%); background: rgb(17 146 232 / 12%); color: var(--muted); font-size: 0.92rem; }
.aboutEu .icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--cyan); }
.aboutTimeline { margin-top: 18px; }
.aboutYear { min-width: 64px; width: auto; padding: 0 12px; border-radius: 999px; }
.aboutSites { margin-top: 18px; }
@media (min-width: 1040px) { .aboutSites { grid-template-columns: repeat(4, 1fr); } }
/* Mérföldkövek: évszámkártyák sorban, átfedés nélkül */
.aboutTimeline { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .aboutTimeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .aboutTimeline { grid-template-columns: repeat(5, 1fr); } }
.aboutTimeline::before { content: ""; display: block; position: static; grid-column: 1 / -1; width: auto; height: 2px; border-radius: 2px; transform-origin: left; }
.page[data-motion] .aboutTimeline:not([data-visible])::before { transform: scaleX(0); }
.aboutTimeline .timelineItem { display: grid; grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 18px; border: 1px solid var(--glass); border-radius: 20px; background: linear-gradient(160deg, rgb(21 86 147 / 40%), rgb(4 22 40 / 60%)); }
.page[data-motion] .aboutTimeline:not([data-visible]) .timelineItem { transform: translateY(12px); }
.aboutYear { width: fit-content; min-width: 0; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 1rem; box-shadow: 0 8px 20px -8px rgb(17 146 232 / 80%); }
.aboutTimeline .cardText { margin: 0; }

/* Telefon: iPhone 15 Pro Max arányú kijelző (1290×2796), 7 valódi Sinum CONNECT képernyő 4 mp-enként */
.iphone { aspect-ratio: auto; height: auto; border-radius: 15% / 7%; }
.iphoneScreen { position: relative; height: auto; aspect-ratio: 1290 / 2796; border-radius: 12.8% / 5.9%; container-type: inline-size; }
.iphoneIsland { width: 29%; height: auto; aspect-ratio: 126 / 37; margin-left: -14.5%; top: 2.2%; }
.iphoneScreen .appShot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0;
  animation: appSlides7 28s ease-in-out infinite; animation-delay: calc(var(--k) * 4s); }
.iphoneScreen .appShot.s1, .iphoneScreen .appShot.s2, .iphoneScreen .appShot.s3 { animation-name: appSlides7; }
@keyframes appSlides7 { 0% { opacity: 0; } 2%, 14.3% { opacity: 1; } 16.3%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .iphoneScreen .appShot { animation: none; } .iphoneScreen .appShot:first-child { opacity: 1; } }



/* Fejléc görgetéskor: a sáv a teljes képszélességen fut (nem a tartalomszélességű doboz) */
.topbar[data-scrolled] { background: transparent; box-shadow: none; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topbar::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: rgb(10 35 64 / 0%);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  pointer-events: none;
}
.topbar[data-scrolled]::before {
  background: rgb(10 35 64 / 86%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgb(190 226 250 / 14%);
  box-shadow: 0 12px 30px -20px rgb(0 0 0 / 80%);
}
.topbar { isolation: isolate; }
.page { overflow-x: clip; }
/* Hero: a szöveg a keringő ikonok fölött, a szlogen nem fut be a jelenetbe */
.heroText { position: relative; z-index: 3; }
.slogan { max-width: 30ch; }



/* ── Rajzok: egységes 3 színű paletta a felület színeiből (fehér vonal · Sinum-kék · cián) ── */
.miniArt, .ca { --l: #f2f8ff; --b: #1192e8; --c: #70d9ff; }
.miniArt .mgVal.ok, .miniArt .mgDigits text { fill: var(--c); }
.miniArt .mgArc { stroke: var(--c); }
.miniArt .mgShield { fill: rgb(112 217 255 / 18%); stroke: var(--c); }
.miniArt .mgRed, .miniArt .mgAlert, .miniArt .mgSpark path, .miniArt .mgPacket.warm { fill: var(--c); }
.miniArt .mgBellBody { fill: var(--b); }
.miniArt .mgRipple.red, .miniArt .mgSlash { stroke: var(--c); }
.miniArt .mgPipe.hot { stroke: var(--l); }
.miniArt .mgFlow { stroke: var(--c); }
.miniArt .mgStem line, .miniArt .mgBus { stroke: var(--c); }
.miniArt .mgGreen { fill: var(--c); filter: drop-shadow(0 0 5px var(--c)); }
.miniArt .mgTank { fill: rgb(17 146 232 / 25%); }
.miniArt .mgBrandB rect { fill: var(--c); }
.miniArt .mgPdf { fill: var(--c); }
.ca .caOk, .ca .caLed { fill: var(--c); }
.ca .caLamp { fill: var(--c); filter: drop-shadow(0 0 6px var(--c)); }
.ca .caWin { fill: rgb(112 217 255 / 75%); }
.ca .caSun { stroke: var(--c); }
.ca .caBatt, .ca .caBolt { stroke: var(--c); }
.ca .caAlert { stroke: var(--c); }
.ca #caHeat stop { stop-color: var(--c); }
.ca .caHot { opacity: .8; }
/* Egységes vonalvastagság és háttér minden rajzon */
.miniArt { background: radial-gradient(circle at 50% 120%, rgb(17 146 232 / 35%), transparent 70%), #0b2846; }
.bmsCloud { animation-delay: -1.5s; }
.bmsPulse { animation-delay: -0.8s; }
.chipDot { background: var(--cyan) !important; box-shadow: 0 0 8px var(--cyan) !important; }
/* Klíma és fan-coil rajz (3 színű paletta) */
.miniArt .mgAcUnit { fill: #0e3a63; stroke: var(--l); stroke-width: 2; }
.miniArt .mgAcVent { fill: none; stroke: rgb(242 248 255 / 45%); stroke-width: 2; stroke-linecap: round; }
.miniArt .mgAcLed { fill: var(--c); filter: drop-shadow(0 0 4px var(--c)); animation: blink 2s ease-in-out infinite; }
.miniArt .mgAir { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 8; animation: dashP14_0 1s linear infinite; }
.miniArt .mgAir.b { stroke: var(--b); stroke-dasharray: 2 12; animation-duration: .7s; }
.miniArt .mgFcFan { transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear infinite; }
.miniArt .mgFcFan path { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; }
.miniArt .mgFcPill { fill: var(--b); }
.miniArt .mgFcTxt { fill: #fff; font-size: 10px; font-weight: 900; }
.miniArt .mgFcTxt { text-anchor: middle; }
/* Referenciakártya alja: balra CONNECT, jobbra BMS logó */
.refBms { display: none; }
.refLogos { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 16px; }
.refLogos img { height: 22px; width: auto; }
/* Referencia-leírás: legfeljebb két sor */
.refBody .cardText { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.refTag.pending { background: rgb(112 217 255 / 14%); border-color: rgb(112 217 255 / 45%); color: var(--cyan); }
/* A buborékikon nem animált: a dőlő (3D) kártyán belüli forgó réteget a Safari a lap sarkába rajzolta. */
.refTag.done { background: rgb(17 146 232 / 22%); border-color: rgb(17 146 232 / 55%); color: #fff; }
.refTag.done .icon { color: var(--cyan); }
.refBody .refTag + .refTag { margin-top: 0; }
/* Állapotbuborék a kerület mellett, jobbra, közvetlenül a kép alatt */
.refMeta { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.refMeta .refTag { margin: 0; padding: 3px 9px; font-size: 0.7rem; gap: 4px; flex-shrink: 0; }
.refMeta .refTag .icon { width: 12px; height: 12px; }
.refMeta .refPlace { min-width: 0; }

/* ── Egységes kártyamegjelenés az egész oldalon (a Referenciák kék stílusa) ── */
.featCard, .deviceRow, .conceptCard, .person, .statTile, .bookingCard, .aboutTimeline .timelineItem, .conceptStat, .thermoCard, .solTile, .ourSol, .exploreCard, .groupCard {
  border: 1px solid var(--glass);
  background: linear-gradient(160deg, rgb(21 86 147 / 42%), rgb(4 22 40 / 70%));
  box-shadow: 0 24px 50px -30px rgb(0 0 0 / 80%);
}
.featCard, .conceptCard, .person, .statTile, .thermoCard, .solTile, .ourSol, .exploreCard, .groupCard { border-radius: 24px; }
.deviceRow, .bookingCard { border-radius: 24px; }
.featCard:hover, .conceptCard:hover, .person:hover, .refCard:hover, .thermoCard:hover { border-color: rgb(112 217 255 / 55%); }
.featCard, .conceptCard, .refCard, .person, .thermoCard { transition: border-color 250ms ease, transform 400ms var(--ease); }

/* Vékonyabb fejléc */
.topbar { padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px; }
.brand { height: 30px; }
@media (min-width: 960px) { .brand { height: 34px; } }
.topnav { font-size: 0.95rem; }
html { scroll-padding-top: 64px; }

/* Telefonon tömörebb ritmus: kisebb térköz a szekciók és elemek között */
@media (max-width: 719px) {
  .section { margin-top: 56px; }
  .section.first { margin-top: 20px; }
  .pageHead { padding-top: 24px; }
  .pageHead .lead { margin-top: 10px; }
  .hero { gap: 18px; padding-bottom: 0; }
  .hero + .concept { margin-top: 0; }
  .liveStats { margin-top: 32px; }
  .sectionTitle { margin-bottom: 4px; }
  .refGrid, .conceptGrid, .featGrid, .devices, .people { gap: 14px; }
  .conceptStage, .pageBanner { margin-top: 16px; }
  .footer { margin-top: 56px; }
  .solArea { padding-top: 32px; padding-bottom: 32px; }
}
/* Koncepcióklip: vízjel nélküli végleges videó, teljes 16:9-es képkocka */
.concept:not(.estate) .conceptStage { aspect-ratio: 16 / 9; }
@media (max-width: 719px) { .concept:not(.estate) .conceptStage { aspect-ratio: 16 / 10; } }

/* ── Rajzok teljesítménye: nincs szaggatás ─────────────────────────── */
/* Saját, elszigetelt rajzolási réteg minden rajznak */
.miniArt, .nodeVisual svg { contain: layout paint; transform: translateZ(0); }
/* A képernyőn kívüli rajzok animációja szünetel */
.art-gated .miniArt:not(.inview) *, .art-gated .nodeVisual svg:not(.inview) * { animation-play-state: paused !important; }
/* Mozgó SVG-elemeken nincs drága árnyékszűrő (minden képkockán újrarajzolást okozott) */
.miniArt *, .ca * { filter: none !important; }
/* Kaputelefon: álló termékfotó a kártyán, a rajzon RFID-hullámok és billentyűk */
.deviceFigure.intercom img { max-height: 92%; max-width: 70%; border-radius: 8px; animation: none; }
.miniArt .mgIcWave { fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; animation: caWaves 2s ease-out infinite; }
.miniArt .mgIcKeys circle { fill: rgb(242 248 255 / 80%); }
.miniArt .mgIcKeys circle:nth-child(5) { animation: caKey 3s ease-in-out infinite; }
.miniArt .mgIcBell { animation: blink 2.4s ease-in-out infinite; }
/* TAB-11 tartók: két kártya a teljes szélességen */
@media (min-width: 720px) { #tab-tartok .thermoGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Megoldáskártyák: a pipás tételek oszlopban, egymás alatt */
.featCard ul { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 6px; }
/* Klíma és fan-coil légáram: a tolás a szaggatási minta egész többszöröse (2 × 14), így nincs visszaugrás */
.miniArt .mgAir { stroke-dasharray: 6 8; animation: mgAirFlow 1.2s linear infinite; }
.miniArt .mgAir.b { stroke-dasharray: 2 12; animation: mgAirFlow 0.84s linear infinite; }
@keyframes mgAirFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -28; } }

/* Szaggatott vonalak: a tolás a minta egész többszöröse, így a ciklus varrat nélkül záródik */
@keyframes dashP14_0 { to { stroke-dashoffset: -14; } }
@keyframes dashP16_0 { to { stroke-dashoffset: -16; } }
@keyframes dashP18_0 { to { stroke-dashoffset: -18; } }
@keyframes dashP22_0 { to { stroke-dashoffset: -22; } }
@keyframes dashP24_0 { to { stroke-dashoffset: -24; } }
@keyframes dashP26_0 { to { stroke-dashoffset: -26; } }

/* ── Kapcsolat: teljes szélességű, a lapba olvadó térkép (MapLibre, mint a Connectben) ── */
.officeMap { margin-top: 56px; }
.mapStage { position: relative; height: clamp(380px, 52vw, 560px); margin-top: 18px; background: #081d36; }
.mapCanvas { position: absolute; inset: 0; }
.mapStage::before, .mapStage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 90px; pointer-events: none; }
.mapStage::before { top: 0; background: linear-gradient(180deg, #0a2340 0%, rgb(10 35 64 / 0%) 100%); }
.mapStage::after { bottom: 0; background: linear-gradient(0deg, #0a2340 0%, rgb(10 35 64 / 0%) 100%); }
.mapCard { position: absolute; z-index: 3; left: max(16px, calc((100vw - 1232px) / 2 + 16px)); bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 520px; padding: 18px 20px;
  border: 1px solid var(--glass); border-radius: 22px; background: rgb(8 29 54 / 78%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -24px rgb(0 0 0 / 85%); }
.mapText strong { font-size: 1.05rem; }
.mapText p { margin: 2px 0 0; color: var(--muted); }
.mapText .mapHours { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--dim); }
.mapText .mapHours .icon { width: 15px; height: 15px; }
.mapActions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.mapActions a { font-size: 0.86rem; padding-top: 9px; padding-bottom: 9px; }
.mapHint { position: absolute; z-index: 3; right: max(16px, calc((100vw - 1232px) / 2 + 16px)); top: 70px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgb(8 29 54 / 70%); color: var(--dim); font-size: 0.72rem; font-weight: 700; }
.mapPin { position: relative; display: grid; justify-items: center; }
.mapPinDot { position: relative; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 10px 24px -6px rgb(17 146 232 / 90%); }
.mapPinDot img { width: 26px; height: auto; }
.mapPinPulse { position: absolute; z-index: 1; top: 0; width: 46px; height: 46px; border-radius: 50%; background: rgb(17 146 232 / 45%); animation: pinPulse 2.4s ease-out infinite; }
.mapPinPulse.p2 { animation-delay: 1.2s; }
@keyframes pinPulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(3); opacity: 0; } }
.mapPinLabel { margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--brand-strong); font-size: 12px; font-weight: 900; white-space: nowrap; box-shadow: 0 8px 20px -8px rgb(0 0 0 / 70%); }
.mapStage .maplibregl-ctrl-group { background: rgb(8 29 54 / 85%); border: 1px solid var(--glass); }
.mapStage .maplibregl-ctrl-group button + button { border-top-color: var(--glass); }
.mapStage .maplibregl-ctrl-icon { filter: invert(1); }
.mapStage .maplibregl-ctrl-bottom-right { bottom: 60px; right: max(6px, calc((100vw - 1232px) / 2)); z-index: 3; }
.mapStage .maplibregl-ctrl-attrib { background: rgb(8 29 54 / 70%); color: var(--dim); }
.mapStage .maplibregl-ctrl-attrib a { color: var(--muted); }
@media (max-width: 719px) {
  .mapStage { height: 520px; }
  .mapCard { left: 16px; right: 16px; bottom: 28px; max-width: none; }
  .mapActions a { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .mapHint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mapPinPulse { animation: none; } }
/* A MapLibre saját stíluslapja position: relative-ot ad a tartónak – a teljes kitöltést itt rögzítjük */
.mapStage .mapCanvas.maplibregl-map, .mapStage .mapCanvas { position: absolute !important; inset: 0; width: 100%; height: 100%; }
/* Térkép forrásmegjelölés a sötét felülethez igazítva */
.mapStage .maplibregl-ctrl-attrib, .mapStage .maplibregl-ctrl-attrib.maplibregl-compact, .mapStage .maplibregl-ctrl-attrib.maplibregl-compact-show { background: rgb(8 29 54 / 85%) !important; color: var(--dim) !important; border: 1px solid var(--glass); }
.mapStage .maplibregl-ctrl-attrib a { color: var(--cyan) !important; }
.mapStage .maplibregl-ctrl-attrib-button { filter: invert(1); background-color: transparent !important; }

/* Eszközök: hangsúlyosabb termékképek – nagyobb keret, erősebb kék derengés */
.deviceFigure { max-width: 340px; background: radial-gradient(circle at 50% 52%, rgb(43 149 236 / 42%), rgb(17 146 232 / 10%) 48%, transparent 70%), #072340; box-shadow: inset 0 0 0 1px rgb(112 217 255 / 22%), 0 20px 40px -24px rgb(17 146 232 / 60%); }
@media (min-width: 960px) { .deviceRow { grid-template-columns: 340px 1fr; } }
.deviceFigure:not(.photo):not(.intercom) img { max-width: 92%; max-height: 86%; }
.deviceFigure img { filter: drop-shadow(0 22px 30px rgb(0 0 0 / 55%)) drop-shadow(0 0 22px rgb(43 149 236 / 30%)) saturate(1.08); }
.deviceFigure.intercom img { max-height: 94%; max-width: 76%; }
.thermoFigure { height: 220px; background: radial-gradient(circle at 50% 55%, rgb(43 149 236 / 38%), rgb(17 146 232 / 8%) 50%, transparent 72%), #072340; }
.thermoFigure img { max-width: 90%; max-height: 190px; }
/* Fejléc: kicsit nagyobb Sinum CONNECT logó */
.topbar .brand { height: 36px; }
@media (min-width: 960px) { .topbar .brand { height: 40px; } }
@media (max-width: 719px) { .topbar .brand { height: 30px; } }
/* Lábléc: a fejléccel arányosan nagyobb logó */
.footLogo img { height: 36px; }
@media (max-width: 719px) { .footLogo img { height: 32px; } }
/* Beléptetés kép: a kivágás lejjebb, hogy a beléptető alján a TECH | Sinum logó is látszódjon */
.conceptMedia img[src*="/koncepcio/belepes.jpg"] { object-position: 50% 92%; }

/* ── Gyártóról: egységes kártyacsalád (kulcsszámok, mérföldkövek, telephelyek) ── */
.aboutStats, .aboutTimeline, .aboutSites { gap: 14px; margin-top: 18px; }
.aboutStats .conceptStat, .aboutTimeline .timelineItem, .aboutSites .conceptCard {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px;
  min-height: 132px; padding: 20px 22px; border-radius: 20px;
  border: 1px solid var(--glass); background: linear-gradient(160deg, rgb(21 86 147 / 42%), rgb(4 22 40 / 70%));
  box-shadow: 0 24px 50px -30px rgb(0 0 0 / 80%);
}
/* Fő érték: kulcsszám és évszám ugyanazzal a nagy, kék számmal */
.aboutStats .conceptStat strong, .aboutTimeline .aboutYear {
  width: auto; height: auto; min-width: 0; padding: 0; border-radius: 0; background: none; box-shadow: none;
  font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 900; line-height: 1; color: #fff;
}
.aboutTimeline .aboutYear { color: var(--cyan); }
.aboutStats .conceptStat span, .aboutTimeline .cardText, .aboutSites .cardText { margin: 0; font-size: 0.9rem; font-weight: 600; line-height: 1.45; color: var(--muted); }
.aboutTimeline::before { display: none; }
.aboutTimeline .timelineItem > div { display: contents; }
/* Telephelyek: ikon + városnév ugyanabban a ritmusban */
.aboutSites .conceptCard .exploreIcon { margin: 0 0 2px; }
.aboutSites .conceptCard .cardTitle { margin: 0; font-size: 1.05rem; }
@media (min-width: 900px) { .aboutSites { grid-template-columns: repeat(4, 1fr); } }

/* Mérföldkövek: idővonal – a kártyák fölött futó fényvonal, minden évnél egy pont */
.aboutTimeline { position: relative; padding-top: 34px; }
.aboutTimeline::before {
  display: block; content: ""; position: absolute; left: 22px; right: 22px; top: 11px; bottom: auto; width: auto; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--cyan) 70%, rgb(112 217 255 / 15%));
  box-shadow: 0 0 10px rgb(112 217 255 / 45%); transform-origin: left; transition: transform 1600ms cubic-bezier(0.6, 0, 0.2, 1);
}
.page[data-motion] .aboutTimeline:not([data-visible])::before { transform: scaleX(0); }
.aboutTimeline .timelineItem { position: relative; overflow: visible; }
.aboutTimeline .timelineItem::before {
  content: ""; position: absolute; left: 22px; top: -29px; width: 14px; height: 14px; border-radius: 50%;
  background: #0a2340; border: 3px solid var(--cyan); box-shadow: 0 0 0 4px rgb(112 217 255 / 15%), 0 0 12px rgb(112 217 255 / 70%);
}
.aboutTimeline .timelineItem::after {
  content: ""; position: absolute; left: 28px; top: -15px; width: 2px; height: 15px; background: linear-gradient(180deg, var(--cyan), rgb(112 217 255 / 0%));
}
.aboutTimeline .timelineItem:last-child::before { background: var(--cyan); }
/* Telefonon függőleges idővonal a kártyák bal oldalán */
@media (max-width: 719px) {
  .aboutTimeline { padding-top: 0; padding-left: 30px; }
  .aboutTimeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; transform-origin: top;
    background: linear-gradient(180deg, var(--brand), var(--cyan) 70%, rgb(112 217 255 / 15%)); }
  .page[data-motion] .aboutTimeline:not([data-visible])::before { transform: scaleY(0); }
  .aboutTimeline .timelineItem::before { left: -29px; top: 24px; }
  .aboutTimeline .timelineItem::after { left: -15px; top: 30px; width: 15px; height: 2px; background: linear-gradient(90deg, var(--cyan), rgb(112 217 255 / 0%)); }
}
/* Társasházi funkciók: lakópark-szintű koncepcióblokk a csoport végén */
.estateBlock { margin-top: 40px; }
.estateBlock .conceptCard { padding-top: 22px; }
/* Applikáció-rajzok: finom, folyamatos mozgás */
.miniArt .mgAppRing { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-dasharray: 38 50; stroke-linecap: round; }
.miniArt .mgAppSun { fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; }
.miniArt .mgAppBlind { animation: mgAppBlind 6s ease-in-out infinite; }
@keyframes mgAppBlind { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
.miniArt .mgAppBar { transform-box: fill-box; transform-origin: bottom; animation: mgAppBar 4s ease-in-out infinite; }
.miniArt .mgAppBar:nth-child(2n) { animation-delay: -1.3s; }
@keyframes mgAppBar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.7); } }
.miniArt .mgAppAlert { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; animation: blink 2s ease-in-out infinite; }
.miniArt .mgAppScan { stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; animation: mgAppScan 2.8s ease-in-out infinite; }
@keyframes mgAppScan { 0%, 100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }
/* Új rajzok: csepp és naplósorok */
.miniArt .mgIcDrop { fill: var(--c); animation: mgDrip 2.4s ease-in infinite; transform-box: fill-box; transform-origin: center top; }
@keyframes mgDrip { 0% { transform: translateY(-6px); opacity: 0; } 25% { opacity: 1; } 75% { transform: translateY(8px); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
.miniArt .mgLogRows { animation: mgLog 4s ease-in-out infinite; }
@keyframes mgLog { 0%, 40% { transform: translateY(0); } 50%, 90% { transform: translateY(-16px); } 100% { transform: translateY(0); } }
.miniArt.mg-entrylog { clip-path: inset(0 round 14px); }

/* ── Kártyarácsok: kiegyensúlyozott sorok, az utolsó sor kártyái kitöltik a szélességet ── */
.featGrid[data-cols], .conceptGrid[data-cols] { display: flex; flex-wrap: wrap; gap: 16px; --cols: 1; }
.featGrid[data-cols] > .featCard, .conceptGrid[data-cols] > .conceptCard { flex: 1 1 calc((100% - (var(--cols) - 1) * 16px) / var(--cols)); min-width: 0; }
@media (min-width: 720px) { .featGrid[data-cols], .conceptGrid[data-cols] { --cols: 2; } }
@media (min-width: 1100px) {
  .featGrid[data-cols="3"], .conceptGrid[data-cols="3"] { --cols: 3; }
  .featGrid[data-cols="4"], .conceptGrid[data-cols="4"] { --cols: 4; }
  .featGrid[data-cols="1"], .conceptGrid[data-cols="1"] { --cols: 1; }
}
@media (min-width: 720px) and (max-width: 1099px) { .featGrid[data-cols="1"], .conceptGrid[data-cols="1"] { --cols: 1; } }

/* ── Megoldásaink: tapadó fülsáv a csoportokhoz ──────────────────────── */
.solTabs { position: sticky; top: 56px; z-index: 30; max-width: 1232px; margin: 40px auto 0; padding: 0 16px; }
.solTabsInner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border: 1px solid var(--glass); border-radius: 999px;
  background: rgb(8 29 54 / 82%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 34px -20px rgb(0 0 0 / 85%); }
.solTabsInner::-webkit-scrollbar { display: none; }
.solTabsInner a { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 9px 16px; border-radius: 999px; color: var(--muted); font-weight: 800; font-size: 0.88rem; white-space: nowrap; transition: background-color 200ms ease, color 200ms ease; }
.solTabsInner a span { font-size: 0.72rem; color: var(--cyan); }
.solTabsInner a:hover { color: #fff; background: rgb(17 146 232 / 18%); }
.solTabsInner a[aria-current="true"] { color: var(--brand-strong); background: #fff; }
.solTabsInner a[aria-current="true"] span { color: var(--brand); }
.solTabs + .solArea, .solArea[hidden] + .solArea { margin-top: 28px; }
.solArea[hidden] { display: none !important; }
@media (max-width: 719px) { .solTabs { top: 50px; margin-top: 24px; } .solTabsInner a { padding: 8px 12px; font-size: 0.82rem; } }
/* Telefon: a menügomb a HU/EN kapcsolóval azonos magasságú, arányos */
@media (max-width: 959px) {
  .menu summary { width: 34px; height: 30px; border-radius: 999px; }
  .menu summary svg { width: 18px; height: 18px; }
  .topbar { gap: 10px; }
}

/* ══ Telefonos optimalizálás ═══════════════════════════════════════════ */
@media (max-width: 719px) {
  /* Rendszerábra: tömör, kétoszlopos rács */
  .sysDiagram { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sysDiagram .sysLink { display: none; }
  .sysDiagram .sysNode { padding: 12px 10px; min-height: 0; }
  .sysDiagram .sysNode .nodeVisual { height: 58px; margin-bottom: 4px; }
  .sysDiagram .sysNode .nodeLine, .sysDiagram .sysNode .lineImg { height: 54px; max-height: 54px; }
  .sysDiagram .sysNode .nodePair.line { height: 50px; }
  .sysDiagram .sysNode strong { font-size: 0.86rem; }
  .sysDiagram .sysNode span:not(.nodeVisual) { font-size: 0.7rem; }

  /* Eszközök: arányos termékkép, adatblokkok két oszlopban */
  .deviceRow { padding: 14px; gap: 14px; }
  .deviceFigure { max-width: 100%; aspect-ratio: 16 / 10; }
  .deviceFigure.intercom { aspect-ratio: 4 / 5; max-width: 240px; }
  .deviceRow .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .deviceRow .specs > div { padding: 10px; }
  .deviceRow .specs strong { font-size: 0.76rem; }
  .deviceRow .specs li { font-size: 0.72rem; }
  .thermoFigure { height: 180px; }

  /* Fejlécek, szakaszcímek tömörebben */
  .areaHead { gap: 12px; }
  .areaHead .areaNum { width: 44px; height: 44px; font-size: 1.1rem; }
  .areaHead h2 { font-size: 1.45rem; }
  .areaHead .lead { font-size: 0.92rem; }
  .sectionTitle { font-size: clamp(1.5rem, 7vw, 1.9rem); }
}

/* Menügomb: a HU/EN kapcsolóval azonos pirula forma, magasság és üveghatás – minden oldalon */
@media (max-width: 959px) {
  .menu { margin-left: auto; }
  .menu summary { display: grid; place-items: center; width: 40px; height: 30px; padding: 0; border-radius: 999px;
    border: 1px solid var(--glass); background: rgb(220 242 255 / 7%); color: #fff; box-sizing: border-box; transition: background-color 200ms ease, border-color 200ms ease; }
  .menu summary:hover, .menu[open] summary { background: #fff; border-color: #fff; color: var(--brand-strong); }
  .menu summary svg { width: 17px; height: 17px; stroke-width: 2.4; }
  .langSwitch { height: 30px; box-sizing: border-box; align-items: center; }
  .langSwitch a { min-height: 24px; }
  .topbar { gap: 8px; }
  .menuPanel { top: calc(100% + 12px); right: -48px; min-width: 230px; border-radius: 20px; }
  .menuPanel a { padding: 13px 16px; }
}

/* ══ Telefon: kompakt, egymás alatti kártyák (lapozás nélkül) ═══════════ */
@media (max-width: 719px) {
  .featGrid[data-cols], .conceptGrid[data-cols] { gap: 10px; }
  .featCard { padding: 14px 14px 16px; border-radius: 18px; }
  .featCard .miniArt, .featCard .ca { height: 86px; margin-bottom: 4px; }
  .featCard h3 { font-size: 1.02rem; margin: 6px 0 4px; }
  .featCard p { font-size: 0.86rem; line-height: 1.5; margin: 0 0 8px; }
  .featCard ul { gap: 4px; }
  .featCard li { font-size: 0.68rem; padding: 3px 9px; }
  .conceptCard { padding: 0 14px 14px; gap: 6px; }
  .conceptMedia { margin: 0 -14px 4px; aspect-ratio: 16 / 7; }
  .conceptCard .cardTitle { font-size: 1rem; }
  .conceptCard .cardText { font-size: 0.85rem; line-height: 1.5; }
  .estate .conceptCard { padding-top: 14px; }
  .refGrid { gap: 12px; }
  .refMedia { aspect-ratio: 16 / 8; }
  .refBody { padding: 14px 16px 16px; gap: 6px; }
  .refBody .cardText { font-size: 0.86rem; }
  .refLogos img { height: 18px; }
  /* Rövid kártyák két oszlopban */
  .aboutStats { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .aboutStats .conceptStat { min-height: 0; padding: 14px; }
  .aboutStats .conceptStat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .aboutSites { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .aboutSites .conceptCard { min-height: 0; padding: 14px; gap: 6px; }
  .aboutSites .conceptCard .cardTitle { font-size: 0.9rem; }
  .aboutSites .conceptCard .cardText { font-size: 0.78rem; }
  .aboutSites .exploreIcon { width: 38px; height: 38px; }
  .aboutTimeline .timelineItem { min-height: 0; padding: 14px 16px; }
  .whyGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .whyCard { padding: 14px; }
  .whyCard h3 { font-size: 0.92rem; }
  .whyCard p { font-size: 0.78rem; line-height: 1.45; }
  .deviceRow .specs { gap: 6px; }
}
/* Telefon – profi finomhangolás */
@media (max-width: 719px) {
  /* Eszközök: a termékkép a keretén belül marad, nem csúszik a címre */
  .deviceFigure { overflow: hidden !important; display: grid; place-items: center; }
  .deviceFigure:not(.photo):not(.intercom) img, .deviceFigure img { max-height: 170px !important; max-width: 86% !important; height: auto; width: auto; animation: none; }
  .deviceFigure.intercom img { max-height: 260px !important; }
  .deviceBody .solTag { margin-top: 2px; }
  .deviceTitle { margin-top: 4px; }
  /* Egységes ritmus és olvashatóság */
  body { -webkit-font-smoothing: antialiased; }
  .section { margin-top: 48px; }
  .lead { font-size: 0.95rem; line-height: 1.6; }
  .pageTitle { font-size: clamp(1.9rem, 9vw, 2.4rem); line-height: 1.12; }
  .heroTitle { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .solTabs { margin-top: 20px; }
  .solTabsInner { padding: 4px; }
  .solTabsInner a { padding: 7px 12px; font-size: 0.8rem; }
  /* Érintési célok legalább 44 px */
  .primaryButton, .ghostButton { min-height: 44px; }
  .contactLine { min-height: 40px; }
}
/* Telefon – minden arányosan kisebb, hogy több férjen egy képernyőre */
@media (max-width: 719px) {
  html { font-size: 14.5px; }
  .section { margin-top: 38px; padding: 0 14px; }
  .topbar { padding-left: 14px; padding-right: 14px; }
  .pageHead { padding-top: 16px; }
  .pageTitle { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .heroTitle { font-size: clamp(1.9rem, 9vw, 2.35rem); }
  .sectionTitle { font-size: clamp(1.35rem, 6.4vw, 1.7rem); }
  .kicker { font-size: 0.7rem; }
  .lead { font-size: 0.9rem; line-height: 1.55; }
  .areaHead .areaNum { width: 38px; height: 38px; font-size: 0.95rem; border-radius: 12px; }
  .areaHead h2 { font-size: 1.3rem; }
  .areaHead .kicker { font-size: 0.62rem; padding: 4px 10px; }
  .featCard { padding: 12px 12px 14px; }
  .featCard .miniArt, .featCard .ca { height: 72px; }
  .featCard h3 { font-size: 0.95rem; }
  .featCard p { font-size: 0.82rem; }
  .featCard li { font-size: 0.64rem; padding: 2px 8px; }
  .conceptMedia { aspect-ratio: 16 / 6; }
  .conceptStage { border-radius: 18px; }
  .conceptPlay { padding: 6px 12px 6px 6px; gap: 8px; }
  .conceptPlay .playIcon { width: 14px; height: 14px; padding: 7px; }
  .conceptPlay strong { font-size: 0.82rem; }
  .refMedia { aspect-ratio: 16 / 7; }
  .refBody .cardTitle { font-size: 1rem; }
  .refTag { font-size: 0.72rem; padding: 4px 10px; }
  .deviceRow { padding: 12px; gap: 10px; border-radius: 18px; }
  .deviceFigure { aspect-ratio: 16 / 9; }
  .deviceFigure:not(.photo):not(.intercom) img, .deviceFigure img { max-height: 140px !important; }
  .deviceFigure.intercom { max-width: 200px; }
  .deviceFigure.intercom img { max-height: 220px !important; }
  .deviceTitle { font-size: 1.2rem; }
  .deviceRow .solLead { font-size: 0.8rem; }
  .thermoFigure { height: 150px; }
  .thermoFigure img { max-height: 130px; }
  .thermoCard h3 { font-size: 1rem; }
  .thermoCard li, .thermoSub { font-size: 0.8rem; }
  .statTile { padding: 12px; }
  .person { padding: 16px; }
  .mapStage { height: 440px; }
  .footer { margin-top: 44px; }
}

/* ── Belépési választó: a teljes kínálat ajánlása ─────────────────────── */
.primaryButton.small { min-height: 44px; padding: 0 18px; }
.nudge {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: min(360px, calc(100vw - 32px));
  padding: 20px 20px 18px;
  border: 1px solid rgb(210 238 255 / 28%);
  border-radius: 22px;
  background: rgb(10 35 64 / 88%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 70%), inset 0 1px 0 rgb(255 255 255 / 12%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.nudge.isOpen { opacity: 1; transform: none; }
.nudge[hidden] { display: none; }
.nudgeTitle { display: flex; align-items: center; gap: 8px; margin: 0 28px 6px 0; font-weight: 800; font-size: 1.05rem; color: var(--text); }
.nudgeTitle .icon { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.nudgeText { margin: 0 0 16px; color: var(--muted); line-height: 1.45; }
.nudgeActions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nudge .nudgeActions { justify-content: flex-start; }
.nudgeClose {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}
.nudgeClose:hover { color: #fff; background: rgb(220 242 255 / 10%); }
.nudgeClose .icon { width: 18px; height: 18px; }
@media (max-width: 559px) {
  .nudge { left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .nudge { transition: none; transform: none; }
}

/* ── Termékkatalógus (/termekek/) ─────────────────────────────────────── */
.catTools { margin-top: 40px; }
.catSearch {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgb(210 238 255 / 28%);
  border-radius: 999px;
  background: rgb(220 242 255 / 7%);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.catSearch::placeholder { color: var(--dim); opacity: 0.8; }
.catSearch:focus { outline: 2px solid var(--cyan); outline-offset: 2px; }
.catChips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.catChips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgb(210 238 255 / 20%);
  border-radius: 999px;
  background: rgb(220 242 255 / 5%);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}
.catChips a:hover { border-color: rgb(210 238 255 / 45%); background: rgb(220 242 255 / 12%); color: #fff; }
.catChips .icon { width: 16px; height: 16px; color: var(--cyan); }
.catChips b { font-weight: 800; color: var(--dim); font-size: 0.82rem; }
.catEmpty { margin-top: 24px; color: var(--muted); }
.pcGroup { margin-top: 72px; scroll-margin-top: 96px; }
.catHead { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.catHead .sectionTitle { margin-bottom: 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.catHead .lead { margin: 0; color: var(--muted); }
.catHead > div { flex: 1; }
.pcIcon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(17 146 232 / 35%), rgb(112 217 255 / 15%));
  color: var(--cyan);
}
.pcIcon .icon { width: 24px; height: 24px; }
.catCount { flex: none; margin-top: 10px; color: var(--dim); font-weight: 700; font-size: 0.9rem; }
.catGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.catCard {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid rgb(210 238 255 / 16%);
  border-radius: 20px;
  background: rgb(220 242 255 / 5%);
  transition: border-color 200ms ease, transform 250ms var(--ease);
}
.catCard:hover { border-color: rgb(210 238 255 / 36%); transform: translateY(-2px); }
.catCard[hidden], .pcGroup[hidden] { display: none; }
.catImg {
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 46%, rgb(17 146 232 / 30%), rgb(17 146 232 / 6%) 55%, transparent 72%);
}
/* A fehér eszközök ne világítsanak ki a sötét oldalból: enyhén visszafogott fényerő, kék alsó árnyék. */
.catImg img, .bestSlide img, .stageItem img, .groupThumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Sok kép egy lapon: drága CSS-szűrő (drop-shadow) helyett a kártya háttérfénye ad mélységet, így minden kép betölt és kirajzolódik. */
.catModel { margin: 0; font-size: 1.15rem; font-weight: 900; color: #fff; }
.catName { margin: 4px 0 14px; color: var(--muted); line-height: 1.4; font-size: 0.95rem; flex: 1; }
.catDocs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 40px; }
.docLabel { color: var(--dim); font-size: 0.82rem; font-weight: 700; margin-right: 2px; }
.docIcon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgb(210 238 255 / 30%);
  background: linear-gradient(145deg, rgb(255 255 255 / 22%), rgb(112 217 255 / 8%));
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 6px 16px -8px rgb(0 0 0 / 70%);
  color: #fff;
  transition: transform 200ms var(--ease), border-color 200ms ease, background-color 200ms ease;
}
.docIcon:hover { transform: translateY(-2px) scale(1.06); border-color: rgb(210 238 255 / 60%); }
.docIcon .icon { width: 17px; height: 17px; }
.docIcon b {
  position: absolute;
  right: -6px;
  bottom: -4px;
  padding: 1px 4px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.3;
}
.docNone { display: flex; align-items: center; min-height: 40px; color: var(--dim); font-size: 0.88rem; }
.catNote { max-width: 1232px; margin: 48px auto 0; padding: 0 16px; color: var(--dim); font-size: 0.88rem; }
@media (max-width: 559px) {
  .catGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catCard { padding: 12px; border-radius: 16px; }
  .catModel { font-size: 1rem; }
  .catName { font-size: 0.86rem; }
  .docLabel { display: none; }
  .catCount { display: none; }
  .pcIcon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .catCard { transition: none; } .catCard:hover { transform: none; } }

.catResults { margin-top: 24px; }
.bestGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.bestTile, .groupTile {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgb(210 238 255 / 20%);
  border-radius: 24px;
  background: linear-gradient(160deg, rgb(21 86 147 / 45%), rgb(1 7 14 / 20%));
  color: var(--text);
  transition: border-color 200ms ease, transform 250ms var(--ease);
}
.bestTile:hover, .groupTile:hover { border-color: rgb(210 238 255 / 45%); transform: translateY(-3px); }
.bestTile h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 900; }
.bestTile p, .groupTile p { margin: 0 0 16px; color: var(--muted); line-height: 1.45; flex: 1; }
.bestMore, .groupCount { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 800; }
.bestMore .icon, .groupCount .icon { width: 18px; height: 18px; }
.bestTile:hover .arrow, .groupTile:hover .arrow { transform: translateX(4px); }
.pcGroupGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.groupTile .pcIcon { margin-bottom: 14px; }
.groupTile h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 900; }
.groupThumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 14px; }
.catBack { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 800; }
.catBack .icon { width: 18px; height: 18px; }
.catTools .catChips a { gap: 6px; }
.catSubTitle { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 900; }
.catSubTitle span { color: var(--dim); font-size: 0.95rem; font-weight: 700; }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 559px) {
  .bestTile, .groupTile { padding: 16px; border-radius: 20px; }
  .pcGroupGrid { grid-template-columns: 1fr; }
}
.catResults[hidden], [data-cat-overview][hidden] { display: none; }

/* ── Katalógus finomítás: a képek dominálnak ─────────────────────────── */
.catGrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.catCard { padding: 0; overflow: hidden; border-color: rgb(210 238 255 / 12%);
  background: linear-gradient(180deg, rgb(21 86 147 / 22%), rgb(1 7 14 / 18%)); }
.catCard:hover { border-color: rgb(126 207 255 / 38%); box-shadow: 0 24px 50px -28px rgb(17 146 232 / 60%); }
.catImg { margin: 0; border-radius: 0; aspect-ratio: 1 / 0.92;
  background: radial-gradient(ellipse at 50% 55%, rgb(17 146 232 / 34%), rgb(17 146 232 / 8%) 50%, transparent 74%); }
.catImg img { transition: transform 350ms var(--ease); }
.catCard:hover .catImg img { transform: scale(1.04); }
.catBody { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 4px 16px 14px; }
.catModel { font-size: 1.08rem; letter-spacing: 0.01em; }
.catName { margin: 0; font-size: 0.86rem; color: var(--dim); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catTags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.catTags span { padding: 2px 8px; border-radius: 999px; background: rgb(112 217 255 / 12%); color: var(--cyan);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em; }
.catDocs { margin-top: auto; padding-top: 6px; min-height: 0; }
.docIcon { width: 34px; height: 34px; }
.docIcon .icon { width: 15px; height: 15px; }
.docLabel { font-size: 0.76rem; }
.docNone { min-height: 34px; font-size: 0.78rem; }
.catSubTitle { margin-top: 8px; padding-bottom: 12px; border-bottom: 1px solid rgb(210 238 255 / 12%); }
.pcGroup { margin-top: 56px; }
/* Kiemelt csempék: nagy, egymásra futó termékkompozíció */
.bestTile h3 { font-size: 1.35rem; }
.bestTile p { font-size: 0.92rem; }
.pcGroupGrid .groupThumbs { grid-template-columns: repeat(4, 1fr); gap: 0; margin: -4px -8px 12px; }
@media (max-width: 559px) {
  .catGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catBody { padding: 2px 10px 10px; }
  .catModel { font-size: 0.95rem; }
  .catName { font-size: 0.8rem; }
}
/* Csoportcsempe: felül nagy termékkép-rács, alul tömör szöveg */
.pcGroupGrid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.groupTile { padding: 0; overflow: hidden; border-color: rgb(210 238 255 / 14%); }
.groupTile:hover { border-color: rgb(126 207 255 / 40%); box-shadow: 0 24px 50px -28px rgb(17 146 232 / 60%); }
.pcGroupGrid .groupThumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; padding: 10px 10px 0;
  background: radial-gradient(ellipse at 50% 50%, rgb(17 146 232 / 30%), transparent 72%); }
.groupThumbs img { aspect-ratio: 1; transition: transform 350ms var(--ease); }
.groupTile:hover .groupThumbs img { transform: scale(1.05); }
.groupBody { display: flex; flex-direction: column; flex: 1; padding: 6px 18px 18px; }
.groupTile h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.12rem; }
.groupTile h3 .pcIcon { width: 30px; height: 30px; border-radius: 9px; margin: 0; }
.groupTile h3 .pcIcon .icon { width: 16px; height: 16px; }
.groupTile p { font-size: 0.86rem; color: var(--dim); margin-bottom: 12px; }
@media (max-width: 559px) { .pcGroupGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .groupBody { padding: 4px 12px 12px; } .groupTile h3 { font-size: 0.95rem; } .groupTile h3 .pcIcon { display: none; }
  .groupTile p { display: none; } }

/* ── Termék adatlap-ablak ─────────────────────────────────────────────── */
.catCard { cursor: pointer; }
.catCard:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.pdDialog {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid rgb(210 238 255 / 24%);
  border-radius: 28px;
  background: linear-gradient(160deg, rgb(13 56 98 / 96%), rgb(1 7 14 / 96%));
  color: var(--text);
  box-shadow: 0 40px 120px -30px rgb(0 0 0 / 80%);
  overflow: auto;
}
.pdDialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); animation: pdIn 260ms var(--ease); }
.pdDialog::backdrop { background: rgb(1 7 14 / 70%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes pdIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.pdMedia { display: grid; place-items: center; padding: 28px;
  background: radial-gradient(ellipse at 50% 55%, rgb(17 146 232 / 40%), transparent 70%); }
.pdMedia img { width: 100%; max-width: 440px; filter: drop-shadow(0 24px 30px rgb(1 7 14 / 60%)); }
.pdInfo { display: flex; flex-direction: column; gap: 12px; padding: 36px 36px 30px 8px; }
.pdInfo .kicker { margin: 0; }
.pdModel { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1.05; }
.pdName { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.pdAbout { margin: 0; color: var(--dim); line-height: 1.55; font-size: 0.95rem; }
.pdFeatures { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pdFeatures li { position: relative; padding-left: 20px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.pdFeatures li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.pdSpecs { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 4px 0 0; border-top: 1px solid rgb(210 238 255 / 12%); }
.pdSpecs dt, .pdSpecs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid rgb(210 238 255 / 12%); font-size: 0.88rem; }
.pdSpecs dt { padding-right: 18px; color: var(--dim); }
.pdSpecs dd { color: #fff; font-weight: 700; }
.pdActions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pdClose {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 1px solid rgb(210 238 255 / 30%);
  border-radius: 50%; background: rgb(255 255 255 / 10%); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.pdClose:hover { background: rgb(255 255 255 / 20%); }
@media (max-width: 719px) {
  .pdDialog { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .pdDialog[open] { grid-template-columns: 1fr; animation: pdUp 280ms var(--ease); }
  @keyframes pdUp { from { transform: translateY(40px); opacity: 0; } }
  .pdMedia { padding: 20px 20px 0; }
  .pdMedia img { max-width: 260px; }
  .pdInfo { padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .pdDialog[open] { animation: none; } }

/* ── Élmény: termékszínpad, áttűnő kiemelt csempék, dőlő kártyák ──────── */
.prodStage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 2vw, 28px); align-items: end;
  margin-top: 28px; padding: 28px clamp(12px, 3vw, 40px) 22px; border-radius: 32px;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgb(17 146 232 / 42%), transparent 70%),
              linear-gradient(180deg, rgb(21 86 147 / 18%), transparent); }
.stageItem { margin: 0; display: grid; justify-items: center; gap: 10px; animation: stageFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.2s); }
.stageItem img { width: 100%; max-width: 220px; aspect-ratio: 1; }
.stageItem figcaption { padding: 4px 12px; border-radius: 999px; background: rgb(1 7 14 / 45%); border: 1px solid rgb(210 238 255 / 18%);
  color: var(--muted); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.03em; }
@keyframes stageFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.bestStage { position: relative; aspect-ratio: 16 / 10; margin: -6px -6px 16px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 58%, rgb(17 146 232 / 40%), transparent 70%); }
.bestSlide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.96);
  transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.bestSlide.isActive { opacity: 1; transform: none; }
.bestSlide img { width: auto; height: 86%; max-width: 92%; }
.bestSlide figcaption { position: absolute; left: 14px; top: 12px; padding: 3px 10px; border-radius: 999px;
  background: rgb(1 7 14 / 50%); color: var(--cyan); font-size: 0.78rem; font-weight: 800; }
.bestDots { position: absolute; right: 14px; top: 16px; display: flex; gap: 5px; }
.bestDots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 30%); transition: background 300ms ease, width 300ms ease; }
.bestDots i.isActive { width: 16px; border-radius: 3px; background: var(--cyan); }

.catCard[data-visible] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms var(--ease), border-color 200ms ease, box-shadow 250ms ease; }
.catCard[data-visible]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

@media (max-width: 719px) {
  .prodStage { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 10px 16px; border-radius: 24px; }
  .stageItem:nth-child(n + 4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stageItem { animation: none; }
  .bestSlide { transition: none; }
}
/* A kép ne vágódjon le: nincs nagyítás a kártyán belül, a kiemelt képek kisebbek. */
.catCard:hover .catImg img, .groupTile:hover .groupThumbs img { transform: none; }
.bestSlide img { height: 80%; max-width: 84%; }
.catCard, .groupTile { overflow: visible; }
.catImg { border-radius: 18px 18px 0 0; }

/* ── Legyező-bemutató (mozis termékváltó) ─────────────────────────────── */
.fan { overflow-x: clip; }
.fanHead { text-align: center; }
.fanHead .sectionTitle { margin: 0 auto 12px; }
.fanStage {
  position: relative;
  height: clamp(320px, 44vw, 560px);
  margin: 0 -16px;
  touch-action: pan-y;
  user-select: none;
  perspective: 1800px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  background:
    radial-gradient(ellipse 46% 60% at 50% 78%, rgb(17 146 232 / 45%), transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgb(112 217 255 / 14%), transparent 70%);
}
.fanGhost {
  position: absolute; left: 50%; top: 4%; transform: translate(-50%, 12px); z-index: 0;
  font-size: clamp(4.5rem, 16vw, 13rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.2px rgb(126 207 255 / 12%); opacity: 0;
  transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}
.fanGhost.isIn { opacity: 1; transform: translate(-50%, 0); }
.fanItem {
  position: absolute; left: 50%; bottom: 4%; margin: 0; width: clamp(200px, 32vw, 420px); aspect-ratio: 1; cursor: pointer;
  transform-origin: 50% 100%;
  transform: translateX(-50%) translateX(var(--x, 0)) scale(var(--s, 1)) rotateY(var(--ry, 0deg));
  opacity: var(--o, 1);
  filter: brightness(var(--b, 1)) saturate(0.8) blur(var(--blur, 0px));
}
.fan.isReady .fanItem { transition: transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 700ms ease, filter 700ms ease; }
.fanItem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 34px rgb(1 7 14 / 65%)); pointer-events: none; }
.fanItem.isActive { filter: none; }
.fanItem.isActive img { filter: drop-shadow(0 30px 34px rgb(1 7 14 / 65%)) drop-shadow(0 0 40px rgb(17 146 232 / 35%)); }
.fanBar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 960px; margin: 10px auto 0; }
.fanInfo { min-height: 92px; opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 600ms var(--ease); }
.fanInfo.isIn { opacity: 1; transform: none; }
.fanInfo h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; }
.fanInfo p { margin: 4px 0 0; color: var(--muted); max-width: 520px; }
.fanInfo .catTags { margin-top: 8px; }
.fanControls { display: flex; align-items: center; gap: 10px; }
.fanBtn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; color: #fff;
  border: 1px solid rgb(210 238 255 / 30%); background: linear-gradient(145deg, rgb(255 255 255 / 18%), rgb(112 217 255 / 6%));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 200ms var(--ease), border-color 200ms ease; }
.fanBtn:hover { transform: scale(1.08); border-color: rgb(210 238 255 / 60%); }
.fanBtn .icon { width: 20px; height: 20px; }
.fanCount { min-width: 60px; text-align: center; color: var(--dim); font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) {
  .fanItem { width: 62vw; }
  .fanStage { height: 78vw; }
  .fanBar { justify-content: center; text-align: center; }
  .fanInfo p { margin-inline: auto; }
  .fanInfo .catTags { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fanItem, .fanGhost, .fanInfo { transition: none; } }

/* ── Kézikönyv-néző: középen, maszkolt (sötétített, elmosott) háttér előtt ── */
.pdfViewer {
  width: min(1100px, calc(100vw - 32px)); height: min(88vh, 1200px); padding: 0;
  border: 1px solid rgb(210 238 255 / 26%); border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgb(13 56 98 / 97%), rgb(1 7 14 / 97%)); color: var(--text);
  box-shadow: 0 50px 140px -30px rgb(0 0 0 / 85%), 0 0 0 1px rgb(255 255 255 / 4%) inset;
}
.pdfViewer[open] { display: flex; flex-direction: column; animation: pdfIn 380ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.pdfViewer::backdrop {
  background: radial-gradient(ellipse at 50% 40%, rgb(17 146 232 / 22%), rgb(1 7 14 / 82%) 70%);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  animation: pdfFade 380ms ease;
}
@keyframes pdfIn { from { opacity: 0; transform: translateY(24px) scale(0.94); filter: blur(6px); } }
@keyframes pdfFade { from { opacity: 0; } }
.pdfBar { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 70px 14px 22px;
  border-bottom: 1px solid rgb(210 238 255 / 14%); }
.pdfTitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.05rem; }
.pdfClose { top: 50%; right: 14px; transform: translateY(-50%); }
.pdfFrame { flex: 1; width: 100%; border: 0; background: #fff; }
@media (min-width: 720px) { .pdfFull { display: none; } }
@media (max-width: 719px) {
  .pdfViewer { width: 100vw; max-width: 100vw; height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .pdfBar { flex-wrap: wrap; padding: 12px 64px 12px 16px; }
  .pdfTitle { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pdfViewer[open], .pdfViewer::backdrop { animation: none; } }

/* Csoportoldal: kevesebb üres hely fent, nagyobb kártyák */
.pageHead + .section.catTools, .pageHead + .fan { margin-top: 24px; }
.catTools .catBack { margin-bottom: 4px; }
.pcGroup { margin-top: 28px; }
.pcGroup:first-of-type { margin-top: 20px; }
.catGrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.catModel { font-size: 1.25rem; }
.catName { font-size: 0.95rem; }
@media (max-width: 559px) { .catGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .catModel { font-size: 1rem; } }

/* Vissza gombok: jól látható üveggomb */
.catBack {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 999px;
  border: 1px solid rgb(126 207 255 / 45%); background: linear-gradient(145deg, rgb(17 146 232 / 35%), rgb(112 217 255 / 12%));
  color: #fff; font-weight: 800; box-shadow: 0 10px 26px -14px rgb(17 146 232 / 80%);
  transition: transform 200ms var(--ease), background-color 200ms ease, border-color 200ms ease;
}
.catBack:hover { transform: translateX(-3px); border-color: rgb(126 207 255 / 80%); }
.catBack .icon { width: 18px; height: 18px; color: #fff; }
.pnLink { border-color: rgb(126 207 255 / 40%); background: linear-gradient(145deg, rgb(17 146 232 / 28%), rgb(112 217 255 / 8%)); }

/* Kiemelt csempék: fix, nagyobb termékkép */
.bestStage { aspect-ratio: 4 / 3; }
.bestSlide img { height: 96%; max-width: 96%; }
.bestSlide figcaption { display: none; }
.bestSlide img { width: 90%; height: 90%; max-width: none; object-fit: contain; }
.bestSlide img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; }

/* ── Csoportoldal: fehér vonalrajz-animáció a jobb felső sarokban ─────── */
.pageHead.hasArt { position: relative; }
.groupArt {
  position: absolute; right: 16px; top: 34px; width: clamp(180px, 22vw, 290px); color: #fff; opacity: 0.92;
  filter: drop-shadow(0 0 18px rgb(112 217 255 / 35%));
}
.groupArt svg { width: 100%; height: auto; overflow: visible; }
.groupArt * { transform-box: fill-box; }
.groupArt .gaDim { opacity: 0.35; }
.groupArt .gaFill { fill: currentColor; }
@media (max-width: 899px) { .groupArt { width: 120px; top: 30px; opacity: 0.8; } .pageHead.hasArt .pageTitle { max-width: calc(100% - 120px); } }

/* Világítás: kapcsoló le-fel, izzó felvillan, sugarak */
.art-vilagitas .gaKnob { animation: gaKnob 3s ease-in-out infinite; fill: currentColor; }
.art-vilagitas .gaBulb { animation: gaBulb 3s ease-in-out infinite; }
.art-vilagitas .gaRays { animation: gaRays 3s ease-in-out infinite; transform-origin: center; }
@keyframes gaKnob { 0%, 45% { transform: translateY(0); } 50%, 95% { transform: translateY(22px); } 100% { transform: translateY(0); } }
@keyframes gaBulb { 0%, 45% { fill: rgb(255 255 255 / 0%); } 52%, 95% { fill: rgb(255 255 255 / 90%); } 100% { fill: rgb(255 255 255 / 0%); } }
@keyframes gaRays { 0%, 45% { opacity: 0; transform: scale(0.8); } 55%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* Termosztát: tárcsa körbefut, láng lobog */
.art-termosztatok .gaDial { stroke-dasharray: 189; animation: gaDial 4s ease-in-out infinite; transform-origin: center; transform: rotate(-90deg); }
.art-termosztatok .gaFlame, .art-futes-hutes .gaFlame2 { animation: gaFlicker 1.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes gaDial { 0% { stroke-dashoffset: 189; } 60%, 80% { stroke-dashoffset: 40; } 100% { stroke-dashoffset: 189; } }
@keyframes gaFlicker { 0%, 100% { transform: scale(1, 1) rotate(0); } 33% { transform: scale(0.94, 1.08) rotate(-3deg); } 66% { transform: scale(1.05, 0.95) rotate(3deg); } }

/* Modulok: LED-ek sorban villannak */
.art-modulok .gaLeds circle { animation: gaLed 2.4s ease-in-out infinite; }
.art-modulok .gaLeds circle:nth-child(2) { animation-delay: 0.2s; } .art-modulok .gaLeds circle:nth-child(3) { animation-delay: 0.4s; }
.art-modulok .gaLeds circle:nth-child(4) { animation-delay: 0.6s; } .art-modulok .gaLeds circle:nth-child(5) { animation-delay: 0.8s; }
.art-modulok .gaLeds circle:nth-child(6) { animation-delay: 1s; }
@keyframes gaLed { 0%, 100% { fill: rgb(255 255 255 / 0%); } 20%, 50% { fill: rgb(255 255 255 / 95%); } }

/* Vezérlők és kommunikáció: hullámok áradnak */
.art-vezerlok .gaWaves path, .art-kommunikacio .gaWavesL path, .art-kommunikacio .gaWavesR path { animation: gaWave 2.4s ease-out infinite; opacity: 0; }
.art-vezerlok .gaWaves path:nth-child(2), .art-kommunikacio path:nth-child(2) { animation-delay: 0.4s; }
.art-vezerlok .gaWaves path:nth-child(3) { animation-delay: 0.8s; }
@keyframes gaWave { 0% { opacity: 0; } 25% { opacity: 1; } 70%, 100% { opacity: 0; } }

/* Kezelőfelület: érintés hullám */
.art-kezelofeluletek .gaTap { animation: gaTap 2.2s ease-out infinite; transform-origin: center; }
.art-kezelofeluletek .gaScreen { animation: gaLed 2.2s ease-in-out infinite; stroke: currentColor; }
@keyframes gaTap { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(2.4); opacity: 0; } }

/* Fűtés-hűtés: higany emelkedik, láng és hópehely váltakozik */
.art-futes-hutes .gaMercury { fill: currentColor; stroke: none; transform-origin: 50% 100%; animation: gaMerc 6s ease-in-out infinite; }
.art-futes-hutes .gaFlame2 { animation: gaFlicker 1.4s ease-in-out infinite, gaSwapA 6s ease-in-out infinite; }
.art-futes-hutes .gaSnow { transform-origin: center; animation: gaSwapB 6s ease-in-out infinite, gaSpin 6s linear infinite; }
@keyframes gaMerc { 0%, 100% { transform: scaleY(0.3); } 45%, 55% { transform: scaleY(1); } }
@keyframes gaSwapA { 0%, 50% { opacity: 1; } 55%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes gaSwapB { 0%, 50% { opacity: 0; } 55%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes gaSpin { to { transform: rotate(60deg); } }

/* Redőny: le-fel jár */
.art-arnyekolas .gaBlind { animation: gaBlind 5s ease-in-out infinite; }
@keyframes gaBlind { 0%, 10% { transform: translateY(-104px); } 45%, 60% { transform: translateY(0); } 95%, 100% { transform: translateY(-104px); } }

/* Relé: kar átvált, villám */
.art-rele .gaLever { transform-origin: 0 100%; animation: gaLever 2.6s ease-in-out infinite; }
.art-rele .gaBolt { animation: gaBolt 2.6s ease-in-out infinite; }
@keyframes gaLever { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(44deg); } 100% { transform: rotate(0); } }
@keyframes gaBolt { 0%, 45% { opacity: 0.15; fill: rgb(255 255 255 / 0%); } 52%, 90% { opacity: 1; fill: rgb(255 255 255 / 90%); } 100% { opacity: 0.15; } }

/* Biztonság: pipa rajzolódik, csepp esik */
.art-biztonsag .gaCheck { stroke-dasharray: 60; animation: gaDraw 3s ease-in-out infinite; }
.art-biztonsag .gaDrop { animation: gaDrop 2.4s ease-in infinite; }
@keyframes gaDraw { 0% { stroke-dashoffset: 60; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }
@keyframes gaDrop { 0% { transform: translateY(-30px); opacity: 0; } 20% { opacity: 1; } 80% { transform: translateY(6px); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* Levegő: áramlás, buborékok */
.art-levego .gaAir path { stroke-dasharray: 14 10; animation: gaFlow 1.6s linear infinite; }
.art-levego .gaBubbles circle { animation: gaRise 3s ease-in infinite; }
.art-levego .gaBubbles circle:nth-child(2) { animation-delay: 1s; } .art-levego .gaBubbles circle:nth-child(3) { animation-delay: 2s; }
@keyframes gaFlow { to { stroke-dashoffset: -48; } }
@keyframes gaRise { 0% { transform: translateY(30px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-30px); opacity: 0; } }

/* Videó: kamera pásztáz, felvétel jelző */
.art-video .gaCam { transform-origin: 0 30%; animation: gaPan 5s ease-in-out infinite; }
.art-video .gaCone { opacity: 0.35; stroke-dasharray: 4 6; }
.art-video .gaRec { fill: currentColor; animation: gaLed 1.2s ease-in-out infinite; }
@keyframes gaPan { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }

/* Szerelés: betét bekattan a keretbe */
.art-szereles .gaInsert { animation: gaInsert 3.4s cubic-bezier(0.3, 1.4, 0.5, 1) infinite; }
@keyframes gaInsert { 0%, 10% { transform: translate(60px, -50px); opacity: 0; } 45%, 85% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }

/* Kert: öntöző permet */
.art-kert .gaSpray path { stroke-dasharray: 6 8; animation: gaFlow 1.2s linear infinite; }
.art-kert .gaDrops circle { fill: currentColor; animation: gaLed 1.2s ease-in-out infinite; }
.art-kert .gaDrops circle:nth-child(2) { animation-delay: 0.4s; } .art-kert .gaDrops circle:nth-child(3) { animation-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) { .groupArt * { animation: none !important; } }
/* Termosztát-animáció: a kijelzőn emelkedik a hőmérséklet, a fel-gomb pulzál, hő száll fel */
.art-termosztatok .gaTemp { fill: currentColor; stroke: none; font: 800 30px Nunito, system-ui, sans-serif; }
.art-termosztatok .gaT1 { animation: gaSwapA 4s ease-in-out infinite; }
.art-termosztatok .gaT2 { animation: gaSwapB 4s ease-in-out infinite; }
.art-termosztatok .gaUp { animation: gaUpTap 4s ease-in-out infinite; }
.art-termosztatok .gaHeat path { stroke-dasharray: 8 6; animation: gaFlow 1.4s linear infinite, gaHeatOn 4s ease-in-out infinite; }
@keyframes gaUpTap { 0%, 40% { transform: translateY(0); opacity: 0.6; } 47% { transform: translateY(-4px); opacity: 1; } 55%, 100% { transform: translateY(0); opacity: 0.6; } }
@keyframes gaHeatOn { 0%, 50% { opacity: 0; } 60%, 92% { opacity: 1; } 100% { opacity: 0; } }
.fanGhost[hidden] { display: none; }
.pageHead + .fan { margin-top: 8px; }
/* Legyező: a típus közvetlenül a középső kiemelt termék alatt, középre igazítva; alatta a lapozó */
.fanStage { margin-bottom: 0; }
.fanBar { flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; margin-top: -6px; text-align: center; }
.fanInfo { min-height: 0; }
.fanInfo h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.fanInfo p { margin-inline: auto; }
.fanInfo .catTags { justify-content: center; }
.fanInfo [data-fan-name], .fanInfo [data-fan-tags] { display: none; }
/* Típus középen a kép alatt, léptetés és adatlap jobb oldalon marad */
.fanBar { position: relative; flex-direction: row; justify-content: center; max-width: none; min-height: 56px; }
.fanInfo { width: 100%; text-align: center; }
.fanControls { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
@media (max-width: 719px) {
  .fanBar { flex-direction: column; }
  .fanControls { position: static; transform: none; }
}
.fanBar { margin-top: 22px; }

/* ── Bekötési rajz ikon és néző ───────────────────────────────────────── */
.wireIcon { cursor: pointer; padding: 0; font: inherit; }
.wireIcon .icon { width: 17px; height: 17px; }
.wireViewer { height: auto; max-height: 90vh; }
.wireBody { overflow: auto; padding: 18px 22px 24px; display: grid; gap: 22px; }
.wireBody figure { margin: 0; display: grid; gap: 12px; }
.wireBody img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgb(210 238 255 / 14%); background: #0d2b4d; }
.wireBody figcaption { display: grid; gap: 6px; }
.wireBody figcaption p { margin: 0; padding-left: 16px; position: relative; color: var(--muted); line-height: 1.5; }
.wireBody figcaption p::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
/* Adatlap: nagyobb termékkép */
.pdMedia { padding: 12px; }
.pdMedia img { width: 100%; max-width: 620px; transform: scale(1.22); }
@media (max-width: 719px) { .pdMedia img { max-width: 320px; transform: scale(1.15); } }
.pdMedia { padding: 28px; }
.pdMedia img { max-width: 540px; transform: scale(1.08); }

/* ── Rendszertervező varázsló ─────────────────────────────────────────── */
.wzCta { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 34px 36px; border-radius: 28px;
  border: 1px solid rgb(126 207 255 / 30%); background: linear-gradient(135deg, rgb(17 146 232 / 28%), rgb(1 7 14 / 30%)); }
.wzCta .sectionTitle { margin-bottom: 10px; }
.wzCta .lead { margin: 0 0 20px; color: var(--muted); }
.wzCtaArt .groupArt { position: static; width: 100%; }
@media (max-width: 719px) { .wzCta { grid-template-columns: 1fr; padding: 24px; } .wzCtaArt { width: 140px; } }

.wizard { margin-top: 24px; }
.wzSteps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.wzStep { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgb(210 238 255 / 18%); background: rgb(220 242 255 / 5%); color: var(--dim); font: inherit; font-weight: 700; }
.wzStep span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(220 242 255 / 10%); color: #fff; font-weight: 800; }
.wzStep em { font-style: normal; }
.wzStep.isOn { border-color: var(--cyan); color: #fff; background: rgb(17 146 232 / 25%); }
.wzStep.isOn span, .wzStep.isDone span { background: var(--brand); }
.wzStep.isDone { color: var(--muted); }
.wzGrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.wzMain { position: relative; padding: 28px 30px; border-radius: 26px; border: 1px solid rgb(210 238 255 / 18%);
  background: linear-gradient(160deg, rgb(21 86 147 / 30%), rgb(1 7 14 / 25%)); overflow: hidden; }
.wzArt { position: absolute; right: 18px; top: 16px; width: 150px; opacity: 0.85; pointer-events: none; }
.wzArt .groupArt { position: static; width: 100%; display: none; }
.wzArt[data-art="hub"] [data-for="hub"], .wzArt[data-art="thermo"] [data-for="thermo"], .wzArt[data-art="zones"] [data-for="zones"],
.wzArt[data-art="ntc"] [data-for="ntc"], .wzArt[data-art="mix"] [data-for="mix"], .wzArt[data-art="blind"] [data-for="blind"],
.wzArt[data-art="done"] [data-for="done"] { display: block; }
.wzTitle { margin: 0 170px 14px 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; }
.wzBody { display: grid; gap: 14px; }
.wzBody.isEnter { animation: wzIn 420ms var(--ease); }
@keyframes wzIn { from { opacity: 0; transform: translateX(18px); } }
.wzLead { margin: 0; color: var(--muted); max-width: 520px; }
.wzLabel { margin: 8px 0 0; font-weight: 800; color: #fff; }
.wzHint { margin: 0; color: var(--dim); font-size: 0.9rem; }
.wzWarn { margin: 0.25rem 0 0; padding: 0.75rem 1rem; border: 1px solid rgba(245, 147, 50, 0.45); border-left: 4px solid #f59332; border-radius: 12px; background: rgba(245, 147, 50, 0.1); color: #ffd3a6; font-size: 0.9rem; }
.wzWarn strong { display: block; margin-bottom: 0.35rem; color: #ffb877; }
.wzWarn ul { margin: 0; padding-left: 1.1rem; }
.wzWarn li + li { margin-top: 0.2rem; }
.wzChoices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.wzChoice { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 14px; border-radius: 18px; cursor: pointer; font: inherit; color: var(--text);
  border: 1px solid rgb(210 238 255 / 18%); background: rgb(220 242 255 / 5%); transition: transform 200ms var(--ease), border-color 200ms ease, background-color 200ms ease; }
.wzChoice:hover { transform: translateY(-2px); border-color: rgb(126 207 255 / 45%); }
.wzChoice.isOn { border-color: var(--cyan); background: rgb(17 146 232 / 22%); box-shadow: 0 0 0 1px var(--cyan) inset, 0 14px 30px -18px rgb(17 146 232 / 90%); }
.wzChoice strong { font-size: 1.02rem; }
.wzChoice span { color: var(--dim); font-size: 0.86rem; line-height: 1.35; }
.wzChoiceImg { width: 100%; aspect-ratio: 1.4; object-fit: contain; margin-bottom: 4px; }
.wzStepper { display: grid; gap: 8px; }
.wzStepperBox { display: inline-flex; align-items: center; gap: 14px; }
.wzStepperBox .fanBtn { font-size: 1.5rem; font-weight: 800; }
.wzValue { min-width: 64px; text-align: center; font-size: 2.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.wzIcons { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.wzIcons span { width: 26px; height: 26px; border-radius: 7px; border: 2px solid rgb(232 242 252 / 85%); animation: wzPop 360ms var(--ease) both; animation-delay: var(--d); }
.wzIcons.isThermo span { width: 32px; height: 32px; border: 0; border-radius: 0; background: none; }
.wzIcons.isThermo svg { width: 32px; height: 32px; fill: none; stroke: rgb(232 242 252 / 95%); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wzIcons.isThermo .lcd { fill: rgb(112 217 255 / 18%); animation: wzLcd 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wzLcd { 0%, 100% { fill: rgb(112 217 255 / 10%); } 50% { fill: rgb(112 217 255 / 40%); } }
.wzIcons.isNtc span { width: 10px; height: 30px; border-radius: 6px; background: linear-gradient(transparent 55%, rgb(112 217 255 / 90%) 55%); }
.wzIcons.isBlind span { border-radius: 3px; background: repeating-linear-gradient(rgb(232 242 252 / 70%) 0 3px, transparent 3px 6px); }
.wzIcons em { color: var(--dim); font-style: normal; font-weight: 800; align-self: center; }
@keyframes wzPop { from { transform: scale(0.3); opacity: 0; } }
.wzModules { display: grid; gap: 12px; }
.wzModule { padding: 12px 14px; border-radius: 16px; border: 1px solid rgb(210 238 255 / 18%); background: rgb(17 146 232 / 12%); animation: wzPop 420ms var(--ease) both; animation-delay: var(--d); }
.wzModuleHead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wzModuleImg { width: 54px; height: 40px; object-fit: contain; }
.wzTerms { display: grid; grid-template-columns: repeat(var(--cols, 8), 1fr); gap: 5px; }
.wzTerms span, .wzTermsExtra span { display: grid; place-items: center; height: 34px; border-radius: 8px; font-weight: 800; font-size: 0.82rem;
  border: 1px solid rgb(210 238 255 / 18%); color: var(--dim); background: rgb(1 7 14 / 25%); }
.wzTerms .isUsed { color: #fff; border-color: rgb(80 200 120 / 70%); background: linear-gradient(180deg, rgb(67 160 71 / 75%), rgb(46 125 50 / 75%)); }
.wzTermsExtra { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 5px; }
.wzTermsExtra .isUsed { color: #fff; background: rgb(17 146 232 / 35%); border-color: rgb(126 207 255 / 45%); }
.wzCheck { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); cursor: pointer; }
.wzCheck input { width: 20px; height: 20px; accent-color: var(--brand); }
.wzNav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.wzNav [hidden] { visibility: hidden; display: inline-flex; }
.wzSide { position: sticky; top: 90px; }
.wzCabinet { padding: 20px; border-radius: 26px; border: 1px solid rgb(210 238 255 / 18%);
  background: radial-gradient(ellipse at 50% 0%, rgb(17 146 232 / 28%), transparent 70%), rgb(1 7 14 / 30%); }
.wzCabTitle { margin: 0 0 12px; font-weight: 800; color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.wzCabGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wzCabItem { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 6px 10px; border-radius: 16px; cursor: pointer; font: inherit;
  border: 1px solid rgb(210 238 255 / 14%); background: rgb(220 242 255 / 5%); color: var(--text); animation: wzPop 420ms var(--ease) both; }
.wzCabItem img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.wzCabModel { font-size: 0.78rem; font-weight: 800; }
.wzBadge { position: absolute; top: 6px; right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.8rem; }
.wzList { display: grid; gap: 10px; }
.wzRow { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 18px; cursor: pointer;
  border: 1px solid rgb(210 238 255 / 16%); background: rgb(220 242 255 / 5%); animation: wzIn 420ms var(--ease) both; animation-delay: var(--d); }
.wzRow:hover { border-color: rgb(126 207 255 / 45%); }
.wzRowImg { width: 72px; height: 72px; object-fit: contain; }
.wzRowText { display: grid; gap: 2px; }
.wzRowText span { color: var(--muted); font-size: 0.92rem; }
.wzRowText em { color: var(--dim); font-style: normal; font-size: 0.82rem; }
.wzQty { font-size: 1.4rem; font-weight: 900; color: var(--cyan); white-space: nowrap; }
@media (max-width: 899px) {
  .wzGrid { grid-template-columns: 1fr; }
  .wzSide { position: static; order: -1; }
  .wzArt { width: 90px; }
  .wzTitle { margin-right: 100px; }
  .wzMain { padding: 22px 18px; }
  .wzTerms { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .wzIcons span, .wzModule, .wzCabItem, .wzRow, .wzBody.isEnter { animation: none; } }
@media print { .topbar, .footer, .wzSteps, .wzNav, .wzSide, .wzArt, .pdActions { display: none !important; } }
/* Eszközök oldal: a katalógus egységes (négyzetes, átlátszó, levegős) képei */
.thermoFigure img[src*="/termekek/img/"] { max-width: 100%; max-height: 210px; }
.deviceFigure img[src*="/termekek/img/"] { width: 100%; height: auto; max-height: 460px; object-fit: contain; }

.wzEmpty { grid-column: 1 / -1; margin: 6px 0; color: var(--dim); font-size: 0.92rem; }

.wzQtyBox { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.wzQtyBox .fanBtn { width: 36px; height: 36px; font-size: 1.2rem; font-weight: 800; }
.wzQtyBox span { color: var(--dim); font-weight: 700; }
.wzQtyInput { width: 64px; height: 38px; text-align: center; border-radius: 12px; border: 1px solid rgb(126 207 255 / 45%);
  background: rgb(1 7 14 / 35%); color: #fff; font: inherit; font-size: 1.15rem; font-weight: 900; }
.wzReset { flex-basis: 100%; text-align: right; border: 0; background: none; color: var(--cyan); font: inherit; font-size: 0.78rem; cursor: pointer; text-decoration: underline; }
.wzRow.isZero { opacity: 0.5; }
@media (max-width: 559px) { .wzRow { grid-template-columns: 56px 1fr; } .wzRowImg { width: 56px; height: 56px; } .wzQtyBox { grid-column: 1 / -1; } }
/* Kimenetek és keverőszelepek: beugró, számozott címkék, mint a termosztátoknál */
.wzIcons.isMix span { width: auto; min-width: 34px; height: 28px; padding: 0 6px; display: grid; place-items: center;
  border-radius: 8px; font-size: 0.72rem; font-weight: 800; color: #fff; }
.wzIcons.isZones { gap: 4px 10px; }
.wzIcons.isZones span { width: 34px; height: auto; border: 0; display: grid; justify-items: center; gap: 1px; }
.wzIcons.isZones svg { width: 24px; height: 36px; fill: none; stroke: rgb(232 242 252 / 95%); stroke-width: 1.8; stroke-linejoin: round; overflow: visible; }
.wzIcons.isZones .knob { fill: rgb(232 242 252 / 95%); stroke: none; transform-box: fill-box; animation: wzKnob 2.6s ease-in-out infinite; animation-delay: var(--d); }
.wzIcons.isZones b { font-size: 0.66rem; font-weight: 800; color: var(--muted); }
@keyframes wzKnob { 0%, 40% { transform: translateY(0); } 50%, 90% { transform: translateY(12px); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .wzIcons.isZones .knob { animation: none; } }
@media (prefers-reduced-motion: reduce) { .wzIcons.isZones .led { animation: none; opacity: 1; } }
.wzIcons.isMix span { border-color: rgb(126 207 255 / 70%); background: linear-gradient(180deg, rgb(17 146 232 / 55%), rgb(13 56 98 / 70%)); }
.wzTerms span.isUsed { animation: wzPop 360ms var(--ease) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .wzTerms span.isUsed { animation: none; } }
/* Relémodul-ábra és keverőszelep-címkék: csak fehér vonalas */
.wzModule { background: rgb(1 7 14 / 22%); border-color: rgb(232 242 252 / 35%); }
.wzTerms span, .wzTermsExtra span { border: 1.5px solid rgb(232 242 252 / 35%); background: none; color: rgb(232 242 252 / 45%); }
.wzTerms .isUsed, .wzTermsExtra .isUsed { border-color: rgb(232 242 252 / 95%); background: rgb(232 242 252 / 10%); color: #fff; }
.wzIcons.isMix span { border: 1.5px solid rgb(232 242 252 / 95%); background: none; color: #fff; }
/* Relék: fel-le kapcsoló, mint a Világítás animációban */
.art-rele .gaKnob { fill: currentColor; animation: gaKnobRele 3s ease-in-out infinite; }
@keyframes gaKnobRele { 0%, 45% { transform: translateY(0); } 50%, 95% { transform: translateY(32px); } 100% { transform: translateY(0); } }

/* Szivattyú ikonok */
.wzIcons.isPump { gap: 4px 10px; }
.wzIcons.isPump span { width: 36px; height: auto; border: 0; display: grid; justify-items: center; gap: 1px; }
.wzIcons.isPump span { width: 40px; }
.wzIcons.isPump svg { width: 40px; height: 36px; fill: none; stroke: rgb(232 242 252 / 95%); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wzIcons.isPump .flow { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 3 4; animation: wzFlow 0.9s linear infinite; animation-delay: var(--d); }
@keyframes wzFlow { to { stroke-dashoffset: -14; } }
.wzIcons.isPump b { font-size: 0.66rem; font-weight: 800; color: var(--muted); }
@keyframes gaSpinFull { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wzIcons.isPump .flow { animation: none; } }
.wzTermsExtra span { color: rgb(232 242 252 / 45%); }
/* Tervező: a sarokgrafika nem lóghat a szövegbe – jobbra úsztatva, a szöveg körbefolyja */
.wzArt { position: static; float: right; width: 120px; margin: -4px -4px 10px 18px; }
.wzTitle { margin-right: 0; }
.wzNav { clear: both; }
@media (max-width: 899px) { .wzArt { width: 80px; margin: -4px -4px 6px 12px; } .wzTitle { margin-right: 0; } }
.wzBody { clear: both; }
.wzTitle { min-height: 70px; display: flex; align-items: center; }
/* Tervező választókártyák: kitöltik a sort, egyforma képsáv, a cím mindig egy vonalban */
.wzChoices { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.wzChoice { grid-template-rows: auto auto 1fr; align-content: stretch; }
.wzChoice:not(:has(.wzChoiceImg)) { grid-template-rows: auto 1fr; }
.wzChoiceImg { height: 120px; aspect-ratio: auto; object-fit: contain; }
.wzIcons.isPump .flow { stroke: rgb(232 242 252 / 95%); }

/* Szivattyú: kör alakú ház, forgó járókerék, csak fehér */
.wzIcons.isPump span { width: 36px; }
.wzIcons.isPump svg { width: 36px; height: 32px; stroke-width: 1.8; }
.wzIcons.isPump .fan { transform-box: view-box; transform-origin: 18px 16px; animation: gaSpinFull 1.6s linear infinite; animation-delay: var(--d); }
.wzIcons.isPump .fan circle { fill: rgb(232 242 252 / 95%); stroke: none; }
@media (prefers-reduced-motion: reduce) { .wzIcons.isPump .fan { animation: none; } }

.wzIcons.isNtc.isStrap span { width: 26px; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgb(232 242 252 / 85%) 0 40%, transparent 40%); }


/* Fő kimeneti relé (PS-06m) kiemelése */
.wzChoice.isMain { position: relative; border-color: rgb(126 207 255 / 55%); }
.wzMainBadge { position: absolute; top: 10px; right: 10px; padding: 2px 9px; border-radius: 999px; background: var(--brand); color: #fff;
  font-style: normal; font-size: 0.72rem; font-weight: 800; }
