/* ==========================================================================
   Hotelsystem – marketing oldal
   A tokenek a Hotelsystem design-nyelvét követik (DESIGN-LANGUAGE.md):
   slate semleges skála, egyetlen kék akcentus, Inter, 12px kontroll-ív,
   16/24px kártya-ív, foglalás-státusz színek.
   ========================================================================== */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --rose-500: #f43f5e;
  --red-50: #fef2f2;
  --red-500: #ef4444;

  /* Foglalás-státuszok (alap paletta) */
  --res-booked: #2563eb;
  --res-confirmed: #9333ea;
  --res-offer: #f97316;
  --res-checkin: #f43f5e;
  --res-paid: #16a34a;
  --res-dinv: #14b8a6;

  --ink: var(--slate-900);
  --text: var(--slate-700);
  --muted: var(--slate-500);
  --line: rgb(226 232 240 / 0.6);
  --tint: #f4f6f9;
  --dark: #0a1220;

  --r-control: 12px;
  --r-card: 16px;
  --r-3xl: 24px;
  --r-stage: 32px;

  --shadow-card: 0 1px 2px rgb(15 23 42 / 0.04);
  --shadow-overlay: 0 20px 50px -12px rgb(15 23 42 / 0.25);
  --shadow-float: 0 40px 80px -32px rgb(15 23 42 / 0.28), 0 12px 28px -16px rgb(15 23 42 / 0.14);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: 22px;
  --nav-h: 52px;
  --gnav-h: 44px;

  /* Szobatükör-rács színei (a palettaváltó felülírja) */
  --g-surface: #fff;
  --g-line: var(--slate-100);
  --g-weekend: var(--slate-50);
  --g-text: var(--slate-900);
  --g-muted: var(--slate-500);
  --g-primary: var(--blue-600);
}

/* ---------- Alap ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', 'InterVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.container-wide {
  width: min(1320px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.center { text-align: center; }
.narrow { max-width: 780px; margin-inline: auto; }

/* ---------- Tipográfia ---------- */

.display {
  font-size: clamp(44px, 8.4vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 700;
  color: var(--ink);
}

.section-title {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.042em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.eyebrow--light { color: var(--blue-400); }

.lead {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.017em;
  font-weight: 500;
  color: var(--muted);
}

.lead strong { color: var(--ink); font-weight: 600; }

.overline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.text-gradient {
  background: linear-gradient(92deg, var(--blue-800) 0%, var(--blue-600) 45%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient--light {
  background-image: linear-gradient(92deg, #dbeafe 0%, #60a5fa 50%, #38bdf8 100%);
}

/* ---------- Gombok, linkek, jelvények ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--r-control);
  background: var(--blue-600);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.btn:hover { background: var(--blue-700); }
.btn:active { transform: scale(0.97); }
.btn--sm { height: 30px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 17px; border-radius: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-600);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.link-arrow i { font-size: 13px; transition: translate 0.25s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover i { translate: 3px 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pill--ok { background: var(--emerald-50); color: var(--emerald-700); border: 1px solid var(--emerald-200); }
.pill--live { background: var(--emerald-50); color: var(--emerald-700); border: 1px solid var(--emerald-200); }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: none;
}

.dot--amber { background: var(--amber-500); }
.dot--emerald { background: var(--emerald-500); }
.dot--blue { background: var(--blue-600); }
.dot--rose { background: var(--res-checkin); }
.dot--purple { background: var(--res-confirmed); }

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--emerald-500);
  animation: pulse 1.8s infinite;
  flex: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.55); }
  70% { box-shadow: 0 0 0 8px rgb(16 185 129 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); }
}

.logo-mark { width: 20px; height: 22.5px; color: var(--blue-700); flex: none; }

/* ---------- Globális navigáció (minden oldalon azonos) ---------- */

.gnav {
  position: relative;
  z-index: 60;
  height: var(--gnav-h);
}

/* Az üveghatás külön rétegen van: a backdrop-filter a sávon a mobilmenü fix panelját a sávba zárná */
.gnav::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(250 250 252 / 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.gnav__inner {
  display: flex;
  align-items: center;
  width: min(1024px, calc(100% - 2 * var(--gutter)));
  height: 100%;
  margin-inline: auto;
}

.gnav__logo,
.gnav__util {
  display: grid;
  flex: none;
  place-items: center;
  height: 100%;
  padding: 0 8px;
  color: var(--slate-800);
  text-decoration: none;
  transition: color 0.2s;
}

.gnav__logo { margin-left: -8px; }
.gnav__logo .logo-mark { width: 17px; height: 19px; }
.gnav__util { margin-right: -8px; font-size: 17px; }
.gnav__util:hover { color: var(--blue-600); }

.gnav__list {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin: 0 clamp(24px, 5vw, 64px);
  padding: 0;
  list-style: none;
}

.gnav__list a {
  display: block;
  padding: 0 8px;
  line-height: var(--gnav-h);
  font-size: 12px;
  letter-spacing: -0.01em;
  color: rgb(15 23 42 / 0.78);
  text-decoration: none;
  transition: color 0.2s;
}

.gnav__list a:hover,
.gnav__list a[aria-current='page'] { color: var(--ink); }

.gnav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 100%;
  margin-right: -12px;
  border: 0;
  background: none;
  cursor: pointer;
}

/* Két vonal, ami nyitáskor X-szé fordul */
.gnav__toggle span {
  position: absolute;
  left: 15px;
  width: 15px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--slate-800);
  transition: translate 0.3s var(--ease), rotate 0.3s var(--ease);
}

.gnav__toggle span:first-child { top: 18px; }
.gnav__toggle span:last-child { top: 24px; }
.gnav.is-open .gnav__toggle span:first-child { translate: 0 3px; rotate: 45deg; }
.gnav.is-open .gnav__toggle span:last-child { translate: 0 -3px; rotate: -45deg; }

@media (max-width: 833px) {
  .gnav__inner { justify-content: space-between; }
  .gnav__util { margin-left: auto; margin-right: 0; }
  .gnav__toggle { display: block; }

  /* Teljes képernyős menü, a tételek lépcsőzetesen úsznak be */
  .gnav__list {
    position: fixed;
    inset: var(--gnav-h) 0 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 20px 48px 40px;
    background: #fff;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
  }

  .gnav__list li {
    opacity: 0;
    translate: 0 -8px;
    transition: opacity 0.3s, translate 0.3s var(--ease);
  }

  .gnav__list a {
    padding: 4px 0;
    line-height: 1.3;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--slate-800);
  }

  .gnav.is-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .gnav.is-open::before { background: #fff; }

  .gnav.is-open .gnav__list { visibility: visible; opacity: 1; transition: opacity 0.3s; }
  .gnav.is-open .gnav__list li { opacity: 1; translate: 0 0; transition-delay: calc(60ms + var(--i, 0) * 30ms); }
  .gnav.is-open .gnav__list li:nth-child(2) { --i: 1; }
  .gnav.is-open .gnav__list li:nth-child(3) { --i: 2; }
  .gnav.is-open .gnav__list li:nth-child(4) { --i: 3; }
  .gnav.is-open .gnav__list li:nth-child(5) { --i: 4; }
  .gnav.is-open .gnav__list li:nth-child(6) { --i: 5; }
  .gnav.is-open .gnav__list li:nth-child(7) { --i: 6; }
}

html.gnav-open { overflow: hidden; }

/* ---------- Helyi navigáció: a globális eltűnése után csúszik be felülről ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgb(255 255 255 / 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgb(15 23 42 / 0.08);
  translate: 0 -100%;
  visibility: hidden;
  transition: translate 0.45s var(--ease), visibility 0s linear 0.45s;
}

.nav.is-docked {
  translate: 0 0;
  visibility: visible;
  transition: translate 0.45s var(--ease);
}

.nav__inner {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav__links a {
  font-size: 13px;
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-current { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 6px; }

.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  place-items: center;
}

/* ---------- Belépő animációk ---------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition:
    opacity 1.1s var(--ease) var(--d, 0ms),
    translate 1.1s var(--ease) var(--d, 0ms),
    scale 1.2s var(--ease) var(--d, 0ms);
}

.js [data-reveal='zoom'] { scale: 0.94; translate: 0 48px; }

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(56px, 9vw, 112px);
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--tint) 100%);
  overflow: hidden;
}

.hero__eyebrow {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 24px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero__eyebrow .logo-mark { width: 24px; height: 27px; }

.hero__lead {
  max-width: 740px;
  margin: 26px auto 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.hero__stage-wrap {
  margin-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.hero__stage {
  --p: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-stage);
  overflow: hidden;
  background: #c9d6df;
  box-shadow: 0 50px 120px -50px rgb(15 23 42 / 0.45);
  scale: calc(0.94 + var(--p) * 0.06);
  transform-origin: 50% 0;
  will-change: scale;
}

.hero__stage picture,
.hero__img {
  width: 100%;
  height: 100%;
}

.hero__img {
  object-fit: cover;
  object-position: 50% 52%;
  scale: calc(1.12 - var(--p) * 0.12);
  will-change: scale;
}

/* Lebegő, üveghatású chipek a hero képen */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgb(255 255 255 / 0.75);
  box-shadow: 0 14px 34px -14px rgb(15 23 42 / 0.35), 0 1px 2px rgb(15 23 42 / 0.06);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  scale: 0.9;
  animation:
    chipIn 0.9s var(--ease) forwards calc(900ms + var(--i) * 160ms),
    bob 7s ease-in-out infinite alternate calc(var(--i) * -1.3s);
}

@keyframes chipIn {
  to { opacity: 1; scale: 1; }
}

@keyframes bob {
  0% { translate: 0 0; }
  100% { translate: 0 -10px; }
}

.chip__num {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.chip__ok { font-size: 19px; color: var(--emerald-500); }

.chip__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 15px;
}

.chip__icon--blue { background: var(--blue-50); color: var(--blue-600); }
.chip__icon--emerald { background: var(--emerald-50); color: var(--emerald-600); }

.chip--wide {
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  min-width: 210px;
  padding: 13px 15px;
  border-radius: var(--r-card);
}

.chip__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.chip__label { font-size: 13px; color: var(--slate-500); font-weight: 600; }
.chip__value { font-size: 20px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.chip__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--slate-200);
  overflow: hidden;
}

.chip__bar span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  transform-origin: left;
  animation: barGrow 1.6s var(--ease) both 1.4s;
}

@keyframes barGrow {
  from { transform: scaleX(0); }
}

.chip--a { left: 13%; top: 24%; }
.chip--b { left: 9%; top: 46%; }
.chip--c { right: 7%; top: 14%; }
.chip--d { right: 6%; top: 54%; }
.chip--e { left: 15%; bottom: 13%; }

/* ---------- Kiemelt állítás ---------- */

.statement { padding: clamp(110px, 15vw, 210px) 0 clamp(80px, 10vw, 140px); }

.statement__text {
  max-width: 1040px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: var(--ink);
}

.statement__text .w {
  opacity: 0.13;
  transition: opacity 0.35s linear;
}

.statement__text .w.on { opacity: 1; }

/* ---------- Fénypontok galéria ---------- */

.highlights { padding: 20px 0 clamp(96px, 12vw, 160px); }

.highlights .section-title { margin-bottom: clamp(32px, 4vw, 52px); }

.gallery {
  --card-w: min(1000px, 86vw);
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
}

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

.gallery__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-inline: calc((100vw - var(--card-w)) / 2);
}

.hl-card {
  position: relative;
  flex: none;
  width: var(--card-w);
  height: clamp(500px, 58vw, 660px);
  border-radius: 28px;
  overflow: hidden;
  scroll-snap-align: center;
  background: linear-gradient(180deg, #f6f9fc 0%, #e8eef6 100%);
  isolation: isolate;
}

.hl-card__caption {
  position: absolute;
  z-index: 2;
  top: clamp(28px, 4vw, 44px);
  left: clamp(24px, 4.4vw, 48px);
  right: clamp(24px, 4.4vw, 48px);
  max-width: 600px;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--slate-600);
}

.hl-card__caption strong { color: var(--ink); }

.hl-card__visual {
  position: absolute;
  inset: clamp(130px, 15vw, 170px) clamp(24px, 4.4vw, 48px) 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hl-card--grid .hl-card__visual { inset-inline: clamp(16px, 4vw, 48px); }

.hl-card--grid .mini-grid {
  width: 100%;
  padding: 14px 14px 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -10px 60px -24px rgb(15 23 42 / 0.3), 0 0 0 1px rgb(15 23 42 / 0.05);
  overflow: hidden;
}

.hl-card--dark {
  background:
    radial-gradient(ellipse 70% 60% at 50% 78%, rgb(37 99 235 / 0.55) 0%, rgb(30 58 138 / 0.25) 45%, transparent 75%),
    var(--dark);
}

.hl-card--dark .hl-card__caption { color: var(--slate-400); }
.hl-card--dark .hl-card__caption strong { color: #fff; }

.hl-pimo {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-bottom: 40px;
}

/* Pimo figura: az app jobb alsó gombja (fehér kör, size-14 / size-9), a pislogás és mozgás az SVG-ben van */
.pimo {
  --size: 56px;
  --ring: 0 0 0 1px rgb(0 0 0 / 0.1);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1), var(--ring);
}

.pimo img { display: block; width: 64%; height: auto; }

.pimo--xs { --size: 1.6em; box-shadow: var(--ring); }

.pimo--xl {
  --size: clamp(110px, 14vw, 150px);
  margin-bottom: 18px;
  box-shadow: 0 0 90px 10px rgb(37 99 235 / 0.55), var(--ring);
  animation: pimo-glow 6s ease-in-out infinite;
}

@keyframes pimo-glow {
  0%, 100% { translate: 0 0; box-shadow: 0 0 90px 10px rgb(37 99 235 / 0.55), var(--ring); }
  50% { translate: 0 -10px; box-shadow: 0 0 120px 24px rgb(37 99 235 / 0.65), var(--ring); }
}

.hl-pimo__bubble {
  width: fit-content;
  max-width: min(420px, 100%);
  padding: 11px 16px;
  border-radius: 18px 18px 18px 6px;
  background: rgb(51 65 85 / 0.6);
  border: 1px solid rgb(148 163 184 / 0.15);
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.4;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hl-pimo__bubble--me {
  border-radius: 18px 18px 6px 18px;
  background: var(--blue-600);
  border-color: transparent;
  color: #fff;
}

.hl-card--ntak { background: linear-gradient(180deg, #f6f9fc 0%, #e6edf6 100%); }

.hl-ntak {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 40px;
}

.hl-ntak__logos { display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); }
.hl-ntak__logos img { height: clamp(40px, 6vw, 64px); width: auto; }

.hl-ntak__list {
  width: min(460px, 100%);
  margin: 0;
  padding: 8px 18px;
  list-style: none;
  background: #fff;
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-float);
}

.hl-ntak__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
  border-bottom: 1px solid var(--slate-100);
}

.hl-ntak__list li:last-child { border-bottom: 0; }
.hl-ntak__list i { font-size: 20px; color: var(--emerald-500); }
.hl-ntak__list span { margin-left: auto; font-size: 13px; color: var(--slate-400); font-variant-numeric: tabular-nums; }

.hl-card--devices { background: linear-gradient(180deg, #f8fafc 0%, #e9eef5 100%); }

.device-laptop {
  position: relative;
  isolation: isolate;
  width: min(640px, 80%);
  margin-right: 12%;
  margin-bottom: 36px;
}

.device-laptop__screen {
  aspect-ratio: 16 / 10;
  padding: 10px;
  border-radius: 18px 18px 0 0;
  background: #0f172a;
  box-shadow: 0 30px 60px -30px rgb(15 23 42 / 0.5);
}

.device-laptop__screen .mini-grid {
  height: 100%;
  border-radius: 8px;
  background: #fff;
  padding: 8px 8px 0;
  overflow: hidden;
}

.device-laptop__base {
  height: 14px;
  margin: 0 -7%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 55%, #94a3b8 100%);
  box-shadow: 0 20px 30px -18px rgb(15 23 42 / 0.5);
}

.device-phone {
  position: absolute;
  z-index: 1;
  right: 6%;
  bottom: 20px;
  width: clamp(140px, 19%, 180px);
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: 0 30px 60px -20px rgb(15 23 42 / 0.55);
}

.device-phone__screen {
  height: 100%;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  container-type: inline-size;
}

/* Telefonos foglalási űrlap: minden em-ben, így a kijelző szélességével együtt méreteződik */
.pf {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 6.4cqw;
  line-height: 1.25;
  color: var(--ink);
}

.pf__bar {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 2.5em 1em 0.7em;
  border-bottom: 1px solid var(--slate-100);
}

.pf__bar i { font-size: 1.05em; color: var(--slate-500); }
.pf__bar b { font-size: 1.3em; letter-spacing: -0.02em; }
.pf__bar svg { width: 1.05em; height: 1.2em; margin-left: auto; color: var(--blue-700); }

.pf__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0.5em 1em;
}

.pf__sec {
  margin: 0.5em 0 0;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.pf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }

.pf__field {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.35em 0.6em 0.4em;
  border-radius: 0.75em;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--slate-200);
}

.pf__field span { font-size: 0.72em; font-weight: 500; color: var(--slate-500); }

.pf__field em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf__field.is-focus { box-shadow: inset 0 0 0 1.5px var(--blue-600), 0 0 0 0.25em rgb(37 99 235 / 0.15); }
.pf__field--select em { padding-right: 1em; }
.pf__field--select i { position: absolute; right: 0.6em; bottom: 0.55em; font-size: 0.85em; color: var(--slate-400); }

.pf__caret {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: var(--blue-600);
  animation: pf-caret 1.1s steps(1) infinite;
}

@keyframes pf-caret { 50% { opacity: 0; } }

.pf__nights {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin: 0;
  font-size: 0.78em;
  color: var(--slate-500);
}

.pf__nights i { color: var(--blue-600); }

.pf__btn {
  margin: 0 1em 1.5em;
  padding: 0.7em;
  border-radius: 0.8em;
  background: var(--blue-600);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* ---------- Takarítás (galéria) ---------- */
.hl-card--hk { background: linear-gradient(180deg, #f8fafc 0%, #e6edf5 100%); }

.hl-hk { justify-content: flex-start; }

.hl-hk .hk-laptop { width: min(600px, 61%); margin: 0 0 36px 1%; }
.hl-hk .device-laptop__screen { padding: 8px; container-type: inline-size; }
.hl-hk .hk-phone { width: clamp(118px, 18.5%, 172px); }
.hl-hk .hk-phone--a { right: 20.5%; bottom: 10px; }
.hl-hk .hk-phone--b { right: 0; bottom: 36px; }
.hk-phone .device-phone__screen { position: relative; background: var(--slate-50); }

.hk-tag {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px -8px rgb(15 23 42 / 0.3), 0 0 0 1px rgb(15 23 42 / 0.05);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.hk-tag i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.hk-desk,
.hk-m { transition: opacity 0.35s; }
.hl-hk.is-fading .hk-desk,
[data-hk-demo].is-fading .hk-m { opacity: 0; }

/* Laptop: a Takarítás oldal; em-ben, a képernyő szélességéhez igazodik */
.hk-desk {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: var(--slate-50);
  font-size: 1.5cqw;
  line-height: 1.3;
  color: var(--slate-700);
}

.hk-desk__nav {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.3em;
  height: 3.2em;
  padding: 0 1.4em;
  border-bottom: 1px solid var(--slate-200);
  background: #fff;
  font-weight: 600;
  color: var(--slate-500);
}

.hk-desk__nav svg { width: 1.3em; height: 1.45em; margin-right: 0.8em; color: var(--blue-700); }
.hk-desk__nav span { padding: 0.35em 0.75em; border-radius: 0.7em; }
.hk-desk__nav .is-active { background: var(--blue-50); color: var(--blue-700); }

.hk-desk__me {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  margin-left: auto;
  border-radius: 50%;
  background: var(--slate-800);
  color: #fff;
  font-size: 0.8em;
  font-style: normal;
  font-weight: 700;
}

.hk-desk__page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1.3em 1.6em;
}

.hk-desk__head { display: flex; align-items: center; justify-content: space-between; }
.hk-desk__head b { font-size: 1.9em; letter-spacing: -0.02em; color: var(--ink); }

.hk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.6em 1.1em;
  border-radius: 0.9em;
  background: var(--blue-600);
  color: #fff;
  font-weight: 600;
}

.hk-tabs {
  display: flex;
  gap: 0.3em;
  width: fit-content;
  padding: 0.3em;
  border: 1px solid rgb(226 232 240 / 0.6);
  border-radius: 1.3em;
  background: linear-gradient(to top, rgb(255 255 255 / 0.8), rgb(255 255 255 / 0.4));
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

.hk-tab {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 0.85em;
  border-radius: 1em;
  font-weight: 700;
  white-space: nowrap;
}

.hk-tab.is-active { background: #fff; color: var(--blue-600); box-shadow: 0 2px 6px rgb(59 130 246 / 0.08), 0 0 0 1px rgb(226 232 240 / 0.6); }

.hk-tab em {
  min-width: 1.8em;
  padding: 0.1em 0.45em;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.85em;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.hk-tab.is-active em { background: var(--blue-50); color: var(--blue-600); }

.hk-desk__grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13em;
  gap: 1.2em;
  align-items: start;
}

.hk-table,
.hk-sum {
  border-radius: 1.2em;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--slate-200);
  overflow: hidden;
}

.hk-tr {
  display: grid;
  grid-template-columns: 6.2em 10.2em minmax(0, 1fr) 6.4em 7em;
  align-items: center;
  gap: 0.7em;
  height: 3.1em;
  padding: 0 1.1em;
  border-top: 1px solid var(--slate-100);
  white-space: nowrap;
}

.hk-tr > span { display: flex; align-items: center; gap: 0.4em; min-width: 0; overflow: hidden; }
.hk-tr small { font-size: 0.85em; color: var(--slate-500); font-variant-numeric: tabular-nums; }
.hk-tr--head { height: 2.6em; border-top: 0; background: var(--slate-50); }
.hk-tr--head > span { font-size: 0.85em; font-weight: 700; color: var(--slate-500); }
.hk-tr.is-flash { animation: hkFlash 1.6s var(--ease); }
.hk-room { font-weight: 700; color: var(--ink); }
.hk-room small { font-weight: 400; }

.hk-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.35em;
  padding: 0.25em 0.65em;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.88em;
  font-weight: 600;
  white-space: nowrap;
}

.hk-badge--blue { background: var(--blue-50); color: var(--blue-700); }
.hk-badge--red { background: var(--red-50); color: #b91c1c; }
.hk-badge--amber { background: var(--amber-50); color: var(--amber-700); }
.hk-badge--emerald { background: var(--emerald-50); color: var(--emerald-700); }

.hk-bar {
  display: block;
  flex: none;
  width: 4.2em;
  height: 0.55em;
  border-radius: 999px;
  background: var(--slate-200);
  overflow: hidden;
}

.hk-bar > i {
  display: block;
  width: calc(var(--w, 0) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--amber-400);
  transition: width 0.6s var(--ease), background-color 0.4s;
}

.hk-bar--ok > i { background: var(--emerald-500); }
.hk-prog.is-empty { visibility: hidden; }

.hk-unassigned {
  padding: 0.2em 0.6em;
  border: 1px solid var(--amber-200);
  border-radius: 0.5em;
  background: var(--amber-50);
  color: var(--amber-700);
  font-size: 0.85em;
  font-weight: 600;
}

.hk-sum { padding: 1.1em 1.2em 1.2em; }
.hk-sum__title { display: flex; align-items: center; gap: 0.45em; margin: 0 0 1em; font-weight: 700; color: var(--ink); }
.hk-sum__row + .hk-sum__row { margin-top: 0.9em; }
.hk-sum__who { display: flex; align-items: center; gap: 0.5em; }

.hk-sum__who i {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.8em;
  font-style: normal;
  font-weight: 700;
}

.hk-sum__who b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hk-sum__who small { font-size: 0.85em; color: var(--slate-500); font-variant-numeric: tabular-nums; }

.hk-sum__bar {
  display: flex;
  height: 0.5em;
  margin-top: 0.6em;
  border-radius: 999px;
  background: var(--slate-100);
  overflow: hidden;
}

.hk-sum__bar i { width: calc(var(--w, 0) * 100%); background: var(--emerald-500); transition: width 0.6s var(--ease); }
.hk-sum__bar i + i { background: var(--amber-400); }
.hk-sum__now { min-height: 1.3em; margin: 0.35em 0 0; font-size: 0.8em; font-weight: 600; color: var(--amber-700); }

/* Telefonok: a takarítók nézete, a kijelző szélességéhez igazítva */
.hk-m {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 6.4cqw;
  line-height: 1.25;
  color: var(--slate-700);
}

.hk-m__head {
  flex: none;
  padding: 2.5em 0.9em 0.75em;
  border-bottom: 1px solid var(--slate-200);
  background: #fff;
}

.hk-m__back {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  margin-bottom: 0.15em;
  font-size: 0.78em;
  font-weight: 700;
  color: var(--blue-700);
}

.hk-m__title { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; }
.hk-m__title > div { min-width: 0; }

.hk-m__title p {
  margin: 0;
  overflow: hidden;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--slate-500);
}

.hk-m__title b { display: block; font-size: 1.4em; letter-spacing: -0.02em; color: var(--slate-800); }

.hk-m__mono {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.75em;
  font-style: normal;
  font-weight: 700;
}

.hk-m__prog { display: flex; align-items: center; gap: 0.6em; margin-top: 0.6em; }
.hk-m__prog .hk-bar { flex: 1; width: auto; height: 0.5em; }
.hk-m__prog span { font-size: 0.72em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hk-m__status {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.45em;
  font-size: 0.72em;
  font-weight: 600;
  white-space: nowrap;
  color: var(--slate-500);
}

.hk-m__main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  padding: 0.75em 0.6em;
  overflow: hidden;
}

.hk-m__group > p {
  margin: 0 0 0.45em;
  padding: 0 0.25em;
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.hk-m__group--amber > p { color: var(--amber-700); }
.hk-m__group--emerald > p { color: var(--emerald-700); }
.hk-m__group > .hk-item + .hk-item { margin-top: 0.4em; }

.hk-item {
  display: flex;
  align-items: center;
  gap: 0.55em;
  min-height: 3.5em;
  padding: 0.5em 0.65em;
  border: 1px solid var(--slate-200);
  border-radius: 1em;
  background: #fff;
}

.hk-item.is-active { padding: calc(0.5em - 1px) calc(0.65em - 1px); border: 2px solid #fcd34d; }
.hk-item.is-in { animation: hkIn 0.5s var(--ease); }
.hk-item__no { flex: none; width: 1.75em; font-size: 1.35em; letter-spacing: -0.02em; color: var(--slate-800); font-variant-numeric: tabular-nums; }
.hk-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hk-item__body b { overflow: hidden; font-size: 0.74em; text-overflow: ellipsis; white-space: nowrap; }

.hk-item__body small {
  display: flex;
  align-items: center;
  gap: 0.25em;
  margin-top: 0.15em;
  overflow: hidden;
  font-size: 0.62em;
  white-space: nowrap;
  color: var(--slate-500);
}

.hk-item__end { flex: none; font-size: 0.66em; font-weight: 700; color: var(--amber-700); }
.hk-item__end--done { display: flex; align-items: center; gap: 0.2em; color: var(--emerald-700); font-variant-numeric: tabular-nums; }
.hk-item__caret { flex: none; font-size: 0.85em; color: var(--slate-400); }

.hk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4em; }
.hk-tile { padding: 0.45em 0.6em; border: 1px solid var(--slate-200); border-radius: 1em; background: #fff; }

.hk-tile span {
  display: block;
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.hk-tile b { font-size: 0.86em; font-variant-numeric: tabular-nums; }
.hk-tile--hi { border-color: transparent; background: var(--blue-50); }
.hk-tile--hi span { color: var(--blue-600); }
.hk-tile--hi b { color: var(--blue-800); }

.hk-checks { display: flex; flex-direction: column; gap: 0.4em; }

.hk-check {
  display: flex;
  align-items: center;
  gap: 0.55em;
  min-height: 2.6em;
  padding: 0.4em 0.65em;
  border: 1px solid var(--slate-200);
  border-radius: 1em;
  background: #fff;
  transition: background-color 0.3s, border-color 0.3s, opacity 0.4s;
}

.hk-check__box {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  border: 2px solid var(--slate-300);
  border-radius: 0.4em;
  background: #fff;
  color: #fff;
  transition: background-color 0.25s, border-color 0.25s;
}

.hk-check__box i { font-size: 0.8em; opacity: 0; scale: 0.4; transition: opacity 0.25s, scale 0.35s var(--ease); }
.hk-check > b { flex: 1; min-width: 0; overflow: hidden; font-size: 0.74em; text-overflow: ellipsis; white-space: nowrap; }
.hk-check > i { flex: none; font-size: 0.8em; color: var(--slate-400); }
.hk-check.is-done { border-color: var(--emerald-200); background: var(--emerald-50); }
.hk-check.is-done .hk-check__box { border-color: var(--emerald-600); background: var(--emerald-600); }
.hk-check.is-done .hk-check__box i { opacity: 1; scale: 1; }
.hk-check.is-done > b { color: #065f46; }
.hk-m.is-closed .hk-check { opacity: 0.6; }

/* Lezáráskor a lábléc összecsukódik, mint az appban */
.hk-m__foot {
  flex: none;
  display: grid;
  grid-template-rows: 1fr;
  border-top: 1px solid var(--slate-200);
  background: #fff;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.3s;
}

.hk-m__foot > div { min-height: 0; overflow: hidden; padding: 0.55em 0.6em 1.3em; }
.hk-m.is-closed .hk-m__foot { grid-template-rows: 0fr; opacity: 0; }
.hk-m__foot p { margin: 0 0 0.45em; font-size: 0.6em; text-align: center; color: var(--slate-500); }
.hk-m__btns { display: flex; gap: 0.4em; }

.hk-mbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  padding: 0.65em 0.7em;
  border-radius: 0.9em;
  font-size: 0.74em;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.3s, filter 0.2s;
}

.hk-mbtn--outline { background: #fff; box-shadow: inset 0 0 0 1px var(--slate-300); }
.hk-mbtn--ok { flex: 1; background: var(--emerald-600); color: #fff; }
.hk-mbtn--ok.is-off { opacity: 0.4; }
.hk-mbtn.is-busy { filter: brightness(0.9); }
.hk-spin { animation: gpSpin 0.7s linear infinite; }

.hk-touch {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 15cqw;
  height: 15cqw;
  margin: -7.5cqw 0 0 -7.5cqw;
  border-radius: 50%;
  background: rgb(15 23 42 / 0.16);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.8);
  opacity: 0;
  pointer-events: none;
}

.hk-touch.is-on { animation: hkTouch 0.65s ease-out; }

@keyframes hkFlash { from { background-color: var(--blue-50); } }
@keyframes hkIn { from { opacity: 0; translate: 0 0.6em; } }

@keyframes hkTouch {
  0% { opacity: 0; scale: 0.4; }
  25% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 1.5; }
}

/* ---------- Vendégapp (Jenkins) a galériában: az app saját színei és formái ---------- */
.hl-card--guestapp { background: linear-gradient(180deg, #f3fbf7 0%, #e1f3ea 100%); }
.hl-ga { --pw: clamp(150px, 21%, 196px); }
.hl-ga .ga-phone { right: auto; width: var(--pw); }
.hl-ga .ga-phone--ios { left: calc(50% - var(--pw) - 14px); bottom: 40px; }
.hl-ga .ga-phone--android { left: calc(50% + 14px); bottom: 14px; }
.ga-phone .device-phone__screen { position: relative; background: #f8fafc; }
.ga-tag i { background: var(--slate-900); font-size: 11px; }
.ga-tag .apple-logo { width: 9px; height: 11px; margin-top: -1px; }

.ga-cam { position: absolute; z-index: 6; top: 3.2cqw; left: 50%; background: #0b1220; translate: -50% 0; }
.ga-cam--island { width: 28cqw; height: 7.5cqw; border-radius: 999px; }
.ga-cam--hole { width: 6cqw; height: 6cqw; border-radius: 50%; }

.ga {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  font-size: 6.9cqw;
  line-height: 1.3;
  color: #334155;
  transition: opacity 0.35s;
}

[data-ga-demo].is-fading .ga { opacity: 0; }

.ga-top { display: flex; align-items: center; gap: 0.5em; padding: 2.9em 0.9em 0.6em; }
.ga-logo { flex: none; width: 1.6em; height: 1.8em; color: #10b981; }
.ga-brand { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ga-brand b { font-size: 0.95em; color: #0f172a; }

.ga-brand small {
  overflow: hidden;
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  color: #64748b;
}

.ga-ibtn {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.6em;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  font-size: 0.9em;
  color: #334155;
}

.ga-ibtn--bt { color: #10b981; }
.ga-body { flex: 1; min-height: 0; overflow: hidden; padding: 0.2em 0.9em; }
.ga-h1 { margin: 0 0 0.55em; font-size: 1.25em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #0f172a; }

.ga-sec {
  margin: 0 0 0.45em;
  font-size: 0.54em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

/* A foglalás jegy formájú kártyája: zöld átmenet, szaggatott tépésvonal kivágott fülekkel */
.ga-ticket {
  position: relative;
  margin-bottom: 0.9em;
  overflow: hidden;
  border-radius: 0.8em;
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 0.2em 0.6em rgb(15 23 42 / 0.08);
  color: #fff;
}

.ga-ticket::before,
.ga-ticket::after {
  content: '';
  position: absolute;
  width: 9em;
  height: 9em;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  pointer-events: none;
}

.ga-ticket::before { top: -3.5em; right: -2.5em; }
.ga-ticket::after { top: -5.5em; right: 1.5em; background: rgb(255 255 255 / 0.06); }
.ga-ticket__top { display: flex; align-items: center; gap: 0.5em; padding: 0.8em 0.8em 0.7em; }
.ga-ticket__top > div { flex: 1; min-width: 0; }

.ga-ticket small {
  display: block;
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.8);
}

.ga-ticket__top b { display: block; overflow: hidden; font-size: 1em; text-overflow: ellipsis; white-space: nowrap; }

.ga-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.3em;
  padding: 0.25em 0.5em;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
  font-size: 0.6em;
  font-weight: 700;
  white-space: nowrap;
}

.ga-pill--sm { padding: 0.25em 0.45em; font-size: 0.5em; }
.ga-ticket__cut { position: relative; margin: 0 0.8em; border-top: 1px dashed rgb(255 255 255 / 0.45); }

.ga-ticket__cut::before,
.ga-ticket__cut::after {
  content: '';
  position: absolute;
  top: -0.45em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #f8fafc;
}

.ga-ticket__cut::before { left: -1.25em; }
.ga-ticket__cut::after { right: -1.25em; }
.ga-ticket__bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.3em; padding: 0.7em 0.8em 0.8em; }
.ga-ticket__bottom b { display: block; font-size: 0.64em; font-variant-numeric: tabular-nums; }
.ga-ticket__bottom div > span { display: block; font-size: 0.54em; color: rgb(255 255 255 / 0.8); }
.ga-ticket__bottom .is-right { text-align: right; }

/* Zárcsempe: nyitáskor zöldre telik, majd fentről lefelé fogy, ahogy a zár visszazár */
.ga-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45em; }

.ga-lock {
  position: relative;
  min-height: 6.4em;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0.8em;
  background: #fff;
  transition: border-color 0.3s;
}

.ga-lock__body,
.ga-lock__fill { padding: 0.7em; }

.ga-well {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  margin-bottom: 0.55em;
  border-radius: 0.6em;
  background: #ecfdf5;
  color: #10b981;
  font-size: 1em;
}

.ga-lock b { display: block; overflow: hidden; font-size: 0.7em; text-overflow: ellipsis; white-space: nowrap; color: #0f172a; }
.ga-lock small { display: block; font-size: 0.58em; color: #64748b; white-space: nowrap; }
.ga-lock__state { position: absolute; top: 0.6em; right: 0.55em; display: flex; flex-direction: column; align-items: flex-end; gap: 0.35em; }
.ga-lock__state > i { font-size: 0.85em; color: #64748b; }

.ga-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15em 0.45em;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.5em;
  font-weight: 600;
  white-space: nowrap;
}

.ga-spin {
  display: none;
  width: 0.9em;
  height: 0.9em;
  border: 0.15em solid #a7f3d0;
  border-top-color: #10b981;
  border-radius: 50%;
  animation: gpSpin 0.7s linear infinite;
}

.ga-lock.is-busy .ga-lock__body .ga-chip { display: none; }
.ga-lock.is-busy .ga-lock__body .ga-spin { display: block; }
.ga-lock.is-open { border-color: #10b981; }

.ga-lock__fill {
  position: absolute;
  inset: 0;
  background: #10b981;
  clip-path: inset(100% 0 0 0);
}

.ga-lock.is-open .ga-lock__fill { clip-path: inset(0 0 0 0); }
.ga-lock.is-draining .ga-lock__fill { clip-path: inset(100% 0 0 0); transition: clip-path 5s linear; }
.ga-lock__fill .ga-well { background: rgb(255 255 255 / 0.2); color: #fff; }
.ga-lock__fill b { color: #fff; }
.ga-lock__fill small,
.ga-lock__fill .ga-lock__state > i { color: rgb(255 255 255 / 0.85); }
.ga-lock__fill .ga-chip { background: rgb(255 255 255 / 0.2); color: #fff; }
.ga-ring { position: absolute; right: 0.6em; bottom: 0.6em; width: 1.3em; height: 1.3em; rotate: -90deg; }
.ga-ring circle { fill: none; stroke: rgb(255 255 255 / 0.35); stroke-width: 3; }
.ga-ring .ga-ring__bar { stroke: #fff; stroke-dasharray: 56.55; stroke-dashoffset: 0; }
.ga-lock.is-draining .ga-ring__bar { animation: gaRing 5s linear forwards; }

@keyframes gaRing { to { stroke-dashoffset: 56.55; } }

/* Azonosítás: vendégkártyák állapottal, a VIZA-tájékoztató alatta */
.ga-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.45em; }
.ga-row .ga-sec { margin: 0; }

.ga-guest {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 0.45em;
  padding: 0.6em 0.65em;
  border: 1px solid #e2e8f0;
  border-radius: 0.8em;
  background: #fff;
  transition: border-color 0.3s;
}

.ga-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.7em;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}

.ga-av .ga-spin { display: block; width: 1.1em; height: 1.1em; }
.ga-guest > div { flex: 1; min-width: 0; }
.ga-guest b { display: block; font-size: 0.76em; color: #0f172a; }
.ga-guest small { display: flex; align-items: center; gap: 0.25em; font-size: 0.58em; color: #64748b; white-space: nowrap; }
.ga-guest__end { flex: none; font-size: 0.95em; color: #94a3b8; }
.ga-guest.is-done { border-color: #a7f3d0; }
.ga-guest.is-done .ga-av { background: #ecfdf5; color: #059669; }
.ga-guest.is-done small,
.ga-guest.is-done .ga-guest__end { color: #059669; }

.ga-info {
  display: flex;
  gap: 0.45em;
  margin-top: 0.6em;
  padding: 0.65em;
  border: 1px solid #a7f3d0;
  border-radius: 0.8em;
  background: #ecfdf5;
}

.ga-info i { flex: none; font-size: 0.9em; color: #047857; }

.ga-info p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.54em;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

/* Alsó fülsor: az aktív fül halványzöld kapszulában, az Azonosításon állapotjelvény */
.ga-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0.4em 0.2em 1.5em;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.ga-tab { display: flex; flex-direction: column; align-items: center; gap: 0.15em; min-width: 0; color: #94a3b8; }
.ga-tab__ic { position: relative; display: grid; place-items: center; width: 2.2em; height: 1.3em; border-radius: 999px; font-size: 1em; }
.ga-tab small { max-width: 100%; overflow: hidden; font-size: 0.4em; font-weight: 500; white-space: nowrap; }
.ga-tab.is-on { color: #10b981; }
.ga-tab.is-on .ga-tab__ic { background: #ecfdf5; }

.ga-badge {
  position: absolute;
  top: 0;
  right: 0.25em;
  display: grid;
  place-items: center;
  width: 0.62em;
  height: 0.62em;
  border: 0.1em solid #fff;
  border-radius: 50%;
  background: #eab308;
  color: #fff;
  transition: background-color 0.3s;
}

.ga-badge i { font-size: 0.4em; }
.ga-badge.is-ok { background: #10b981; }

/* NFC-s okmányolvasás: a Jenkins IdScanModal és SaveGuestModal képernyői a lista fölé csúsznak */
.ga-push {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  translate: 100% 0;
  transition: translate 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ga-push.is-on { translate: 0 0; }

.ga-nav {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 2.75em 0.9em 0.65em;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
}

.ga-nav i { font-size: 0.95em; }
.ga-nav b { font-size: 0.78em; }
.ga-push__body { flex: 1; min-height: 0; overflow: hidden; padding: 0.75em 0.9em; }
.ga-push .ga-h1 { font-size: 1.08em; }

.ga-method {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  margin-bottom: 0.45em;
  padding: 0.65em;
  border: 1px solid #e2e8f0;
  border-radius: 0.8em;
  background: #fff;
}

.ga-method .ga-well { flex: none; margin: 0; }
.ga-method > div { flex: 1; min-width: 0; }
.ga-method__head { display: flex; align-items: center; justify-content: space-between; gap: 0.3em; margin-bottom: 0.2em; }
.ga-method b { font-size: 0.66em; line-height: 1.25; color: #0f172a; }

.ga-method small {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.5em;
  line-height: 1.4;
  color: #64748b;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Személyi / útlevél választó */
.ga-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4em; margin-bottom: 0.55em; }

.ga-seg span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  padding: 0.85em 0.3em 0.75em;
  border: 1px solid #e2e8f0;
  border-radius: 1.1em;
  background: #fff;
  color: #64748b;
  font-size: 0.52em;
  white-space: nowrap;
}

.ga-seg i { font-size: 1.7em; }
.ga-seg .is-on { border-color: #10b981; background: #ecfdf5; color: #047857; font-weight: 600; }

.ga-card { margin-top: 0.55em; padding: 0.65em; border: 1px solid #e2e8f0; border-radius: 0.8em; background: #fff; }
.ga-card .ga-sec { margin-bottom: 0.55em; }
.ga-label { display: block; margin-bottom: 0.4em; font-size: 0.52em; font-weight: 500; color: #64748b; }

.ga-input {
  display: flex;
  align-items: center;
  height: 2.5em;
  padding: 0 0.7em;
  border: 1px solid #10b981;
  border-radius: 0.7em;
  box-shadow: 0 0 0 0.2em rgb(16 185 129 / 0.12);
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.ga-input em { font-style: normal; font-weight: 400; color: #94a3b8; }
.ga-input span:not(:empty) ~ em { display: none; }

.ga-caret {
  width: 1px;
  height: 1.1em;
  margin-right: 0.1em;
  background: #10b981;
  animation: pf-caret 1.1s steps(1) infinite;
}

.ga-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  height: 3.3em;
  margin-top: 0.85em;
  border-radius: 1em;
  background: #10b981;
  color: #fff;
  font-size: 0.66em;
  font-weight: 700;
}

.ga-btn i { font-size: 1.3em; }
.ga-btn--muted { margin-top: 0.6em; border: 1px solid #e2e8f0; background: #fff; color: #334155; }

/* „Tartsd a telefon hátlapját az okmányhoz…” fedőréteg */
.ga-modal {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 1em;
  background: rgb(0 0 0 / 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
}

.ga-modal.is-on { opacity: 1; visibility: visible; transition: opacity 0.3s; }

.ga-modal__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1.1em 0.9em 0.9em;
  border-radius: 0.9em;
  background: #fff;
  text-align: center;
  scale: 0.94;
  transition: scale 0.3s var(--ease);
}

.ga-modal.is-on .ga-modal__card { scale: 1; }
.ga-modal .ga-well { width: 2em; height: 2em; margin-bottom: 0.45em; border-radius: 0.65em; font-size: 1.45em; }
.ga-modal.is-reading .ga-well { animation: gaPulse 1s ease-out infinite; }
.ga-modal__card b { margin-bottom: 0.35em; font-size: 0.76em; line-height: 1.3; color: #0f172a; }
.ga-modal__card small { margin-bottom: 0.8em; font-size: 0.52em; line-height: 1.45; color: #64748b; }
.ga-modal .ga-spin { display: block; }
.ga-modal .ga-btn { align-self: stretch; }

@keyframes gaPulse {
  from { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.45); }
  to { box-shadow: 0 0 0 0.45em rgb(16 185 129 / 0); }
}

/* Vendég adatai: a chipből kitöltött mezők sorban felvillannak */
.ga-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em 0.45em; }
.ga-field { min-width: 0; }
.ga-field small { display: block; margin-bottom: 0.3em; font-size: 0.48em; color: #64748b; }

.ga-field span {
  display: flex;
  align-items: center;
  height: 2.6em;
  padding: 0 0.6em;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0.65em;
  background: #fff;
  font-size: 0.6em;
  color: #0f172a;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ga-push.is-on .ga-field span { animation: gaFill 1.3s ease both calc(380ms + var(--k, 0) * 110ms); }

@keyframes gaFill {
  0% { border-color: #e2e8f0; background: #fff; color: transparent; }
  25% { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
}

/* Az okmány a telefon mögé csúszik; a keret egy réteggel fölötte van, a kijelző legfelül */
.ga-phone--android::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 7px solid #0f172a;
  border-radius: inherit;
  pointer-events: none;
}

.ga-phone--android .device-phone__screen { z-index: 1; }

.ga-idcard {
  position: absolute;
  z-index: -1;
  left: 36%;
  top: 46%;
  width: 108%;
  aspect-ratio: 85.6 / 54;
  border-radius: 6% / 9.5%;
  background: linear-gradient(135deg, #fdf2f8 0%, #f0fdf4 55%, #e0f2fe 100%);
  box-shadow: 0 0 0 1px rgb(15 23 42 / 0.08), 0 18px 40px -16px rgb(15 23 42 / 0.5);
  container-type: inline-size;
  opacity: 0;
  translate: 55% 25%;
  rotate: 18deg;
  transition: opacity 0.45s, translate 0.75s var(--ease), rotate 0.75s var(--ease);
  pointer-events: none;
}

.ga-idcard.is-on { opacity: 1; translate: 0 0; rotate: -7deg; }
.ga-idcard.is-reading { animation: gaNfc 1s ease-out infinite; }

@keyframes gaNfc {
  from { box-shadow: 0 0 0 1px rgb(15 23 42 / 0.08), 0 0 0 0 rgb(16 185 129 / 0.6); }
  to { box-shadow: 0 0 0 1px rgb(15 23 42 / 0.08), 0 0 0 12cqw rgb(16 185 129 / 0); }
}

.ga-idcard__band {
  position: absolute;
  left: 7%;
  top: 8%;
  font-size: 4.6cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #047857;
}

.ga-idcard__photo {
  position: absolute;
  left: 7%;
  top: 26%;
  display: grid;
  place-items: end center;
  width: 24%;
  height: 58%;
  overflow: hidden;
  border-radius: 6%;
  background: #cbd5e1;
  color: #f8fafc;
  font-size: 19cqw;
  line-height: 0.85;
}

.ga-idcard__lines { position: absolute; left: 37%; right: 8%; top: 30%; display: grid; gap: 4.4cqw; }
.ga-idcard__lines i { height: 2.6cqw; border-radius: 99px; background: #94a3b8; opacity: 0.45; }
.ga-idcard__lines i:nth-child(1) { width: 78%; background: #475569; opacity: 0.6; }
.ga-idcard__lines i:nth-child(2) { width: 56%; }
.ga-idcard__lines i:nth-child(3) { width: 68%; }
.ga-idcard__nfc { position: absolute; right: 7%; bottom: 9%; font-size: 11cqw; color: #10b981; }

.gallery__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.gallery__dots {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgb(226 232 240 / 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.gallery__dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--slate-400);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.5s var(--ease), background-color 0.3s;
}

.gallery__dot.is-active { width: 48px; background: var(--slate-300); }

.gallery__dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--slate-600);
  transform-origin: left;
  transform: scaleX(var(--prog, 1));
}

.gallery__play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgb(226 232 240 / 0.7);
  color: var(--slate-700);
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.gallery__play:hover { background: var(--slate-200); }

/* ---------- Szekciók ---------- */

.section {
  position: relative;
  padding: clamp(100px, 12vw, 168px) 0;
}

.section--tint { background: var(--tint); }

.section--dark {
  background: var(--dark);
  color: var(--slate-300);
  overflow: hidden;
}

.section--dark .section-title { color: #fff; }
.section--dark .lead { color: var(--slate-400); }
.section--dark .lead strong { color: #fff; }

/* Lábjegyzet: a címsor csillaga és az apró betűs magyarázat a leírás alatt */
sup.fn { margin-left: 0.04em; font-size: 0.5em; line-height: 0; vertical-align: 0.85em; }

.footnote {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate-500);
}

/* Sötét háttéren világosabb, hogy a 12 px-es szöveg is jól olvasható maradjon */
.section--dark .footnote { color: rgb(148 163 184 / 0.8); }

.glow {
  position: absolute;
  inset: 20% -10% -10%;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgb(37 99 235 / 0.35), transparent 70%);
  pointer-events: none;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.split-head .section-title { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split__copy .lead { margin-top: 4px; }

/* ---------- Böngészőablak + app keret ---------- */

.window {
  margin-top: clamp(48px, 6vw, 80px);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 60px 120px -40px rgb(15 23 42 / 0.32),
    0 30px 60px -30px rgb(15 23 42 / 0.2),
    0 0 0 1px rgb(15 23 42 / 0.07);
}

.window__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.window__dots { display: flex; gap: 7px; }
.window__dots i { width: 12px; height: 12px; border-radius: 999px; background: #ff5f57; }
.window__dots i:nth-child(2) { background: #febc2e; }
.window__dots i:nth-child(3) { background: #28c840; }

.window__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--slate-200);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
}

.app { position: relative; background: var(--slate-50); }

.app__pimo {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  transition: scale 0.25s var(--ease);
}

.app__pimo:hover { scale: 1.1; }

.app__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}

.app__nav .logo-mark { margin-right: 10px; }
.app__nav-item { padding: 6px 11px; border-radius: 10px; white-space: nowrap; }
.app__nav-item.is-active { background: var(--blue-50); color: var(--blue-700); }

/* Az app gyorsműveleti ikonsora a menü jobb oldalán, ahogy a szobatükör oldalon látszik */
.app__quick {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px;
  border-radius: 14px;
  background: rgb(248 250 252 / 0.5);
  box-shadow: 0 0 0 1px var(--slate-100);
}

.app__qbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--slate-100);
  color: var(--slate-500);
  font-size: 20px;
}

.app__qbtn--on { background: var(--emerald-100); box-shadow: 0 0 0 1px var(--emerald-200), 0 1px 2px rgb(15 23 42 / 0.05); color: var(--emerald-600); }

.app__qbtn em {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--emerald-500);
  animation: pulse 2s ease-in-out infinite;
}

.app__qbtn b {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--red-500);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.app__user {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding: 3px 10px 3px 3px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(226 232 240 / 0.6), 0 1px 2px rgb(15 23 42 / 0.05);
  color: var(--slate-500);
  font-size: 10px;
}

.app__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}

.app__avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--emerald-500);
}

/* Szobatükör fejléce, ahogy az appban: szűrő, színek és keresés balra, a dátumléptető jobbra */
.sl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 22px 12px;
}

.sl-ibtn,
.sl-today,
.sl-tbtn {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.sl-ibtn { background: var(--slate-100); color: var(--slate-400); font-size: 20px; }
.sl-spacer { flex: 1; }
.sl-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.sl-today {
  background: var(--blue-600);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 0 0 1px var(--blue-600), 0 1px 2px var(--blue-200);
}

.sl-nav__group {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.8);
  box-shadow: 0 0 0 1px rgb(226 232 240 / 0.8), 0 1px 2px rgb(15 23 42 / 0.05);
}

.sl-tbtn { color: var(--slate-500); font-size: 16px; }

.sl-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 144px;
  margin: 0 4px;
  padding: 4px 8px;
  border-inline: 1px solid var(--slate-100);
}

.sl-date small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--slate-500);
}

.sl-date b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--slate-700);
  font-variant-numeric: tabular-nums;
}

.sl-date b i { color: var(--blue-600); }

/* Az app lebegő eszköztára a rács jobb szélén */
.sl-stage { position: relative; }

.sl-toolbar {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  translate: 0 -50%;
}

.sl-toolbar span {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--slate-500);
  font-size: 24px;
}

.sl-toolbar .is-on { background: var(--blue-50); color: var(--blue-600); }
.sl-toolbar .sl-caret { position: absolute; bottom: 4px; left: 4px; font-size: 7px; }

.grid-scroll {
  overflow-x: auto;
  padding: 0 22px 16px;
  scrollbar-width: thin;
}

.sl-stage .grid-scroll { padding: 0 0 16px; }

/* ---------- Szobatükör rács ---------- */

.roomgrid {
  --room-col: 168px;
  --row-h: 42px;
  --head-h: 50px;
  position: relative;
  display: grid;
  grid-template-columns: var(--room-col) 1fr;
  min-width: 880px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--g-surface);
  overflow: hidden;
  font-size: 13px;
  color: var(--g-text);
}

.rg-corner {
  display: flex;
  align-items: center;
  height: var(--head-h);
  padding: 0 14px;
  border-bottom: 1px solid var(--g-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g-muted);
}

.rg-days {
  display: grid;
  grid-template-columns: repeat(var(--days), 1fr);
  height: var(--head-h);
  border-bottom: 1px solid var(--g-line);
}

.rg-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--g-line);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--g-muted);
  line-height: 1.2;
  text-transform: capitalize;
}

.rg-day b { font-size: 15px; color: var(--g-text); font-weight: 700; letter-spacing: -0.02em; }
.rg-day.is-weekend { background: var(--g-weekend); }

.rg-day.is-today {
  background: var(--g-primary);
  color: rgb(255 255 255 / 0.85);
}

.rg-day.is-today b { color: #fff; }

.rg-rooms > div {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--row-h);
  padding: 0 14px;
  border-bottom: 1px solid var(--g-line);
  white-space: nowrap;
}

.rg-rooms b { font-weight: 700; font-variant-numeric: tabular-nums; }
.rg-rooms span.t { color: var(--g-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.rg-rooms .dot { margin-left: auto; width: 7px; height: 7px; }

.rg-lanes {
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--row-h) - 1px),
    var(--g-line) calc(var(--row-h) - 1px),
    var(--g-line) var(--row-h)
  );
}

.rg-cols {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--days), 1fr);
}

.rg-cols span { border-left: 1px solid var(--g-line); }
.rg-cols span.is-weekend { background: color-mix(in srgb, var(--g-weekend) 70%, transparent); }

.rg-today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--g-primary);
  z-index: 3;
  pointer-events: none;
}

.rg-today::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--g-primary);
}

/* Az app fejléce és szobaoszlopa: hónapsáv, nap a napnév fölött, külön keretezett cellák */
.roomgrid--app {
  --room-col: 176px;
  --row-h: 48px;
  --head-h: 68px;
  border-width: 1px 0 0;
  border-radius: 0;
  font-size: 14px;
}

.roomgrid--app .rg-corner {
  align-items: flex-start;
  padding: 8px;
  border: 1px solid var(--g-line);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--g-text);
}

.roomgrid--app .rg-days { display: block; border-bottom: 0; }

.rg-months,
.rg-dayrow { display: grid; grid-template-columns: repeat(var(--days), 1fr); }

.rg-months { height: 20px; }

.rg-months > div {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-block: 1px solid var(--g-line);
  background: var(--g-surface);
  font-size: 12px;
  white-space: nowrap;
}

.rg-months > .is-cur { border-color: var(--g-primary); background: var(--g-primary); color: #fff; }
.rg-months > .is-first { z-index: 1; border-left: 1px solid; border-radius: 2px 0 0 2px; }
.rg-months > .is-last { z-index: 1; justify-content: flex-end; border-right: 1px solid; border-radius: 0 2px 2px 0; }
.rg-months > .is-first:not(.is-cur),
.rg-months > .is-last:not(.is-cur) { border-inline-color: var(--g-line); }
.rg-months b { font-weight: 700; }
.rg-dayrow { height: 48px; }

.roomgrid--app .rg-day {
  border: 1px solid var(--g-line);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--g-text);
  text-transform: none;
}

.roomgrid--app .rg-day b { font-size: 14px; letter-spacing: 0; }

.roomgrid--app .rg-day.is-today {
  border: 2px solid color-mix(in oklab, var(--g-primary), #000 18%);
  background: var(--g-primary);
  color: #fff;
}

.roomgrid--app .rg-rooms { display: flex; }

.roomgrid--app .rg-building {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: center;
  width: 20px;
  height: auto;
  padding: 8px 0;
  border: 1px solid var(--g-line);
  background: var(--g-surface);
}

.rg-building span {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--slate-700);
  writing-mode: vertical-rl;
  rotate: 180deg;
}

.roomgrid--app .rg-roomlist { display: block; flex: 1; min-width: 0; height: auto; padding: 0; border: 0; }

.rg-room {
  display: flex;
  align-items: center;
  height: var(--row-h);
  padding: 0 2px 0 6px;
  border: 1px solid var(--g-line);
  border-radius: 2px;
  background: var(--g-surface);
}

.rg-room__main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.rg-room__main b { font-size: 14px; line-height: 16px; font-weight: 700; }

.rg-room__info {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  font-size: 10px;
  line-height: 16px;
  white-space: nowrap;
  color: var(--g-muted);
}

.rg-room__info > span { display: inline-flex; align-items: center; gap: 2px; }
.rg-room__info i { font-size: 12px; }
.rg-room__hk { font-weight: 700; }
.rg-room__hk--dirty { color: #dc2626; }
.rg-room__hk--busy { color: #d97706; }
.rg-room__side { display: flex; flex: none; flex-direction: column; align-items: center; gap: 2px; }

.rg-clean,
.rg-guest { display: grid; place-items: center; width: 20px; height: 20px; }

.rg-clean { border-radius: 6px; font-size: 16px; }
.rg-clean--clean { background: var(--slate-50); color: var(--slate-300); }
.rg-clean--dirty { background: #fff; color: #dc2626; }
.rg-clean--busy { background: #fff; color: #d97706; }
.rg-guest { border-radius: 8px; }
.rg-guest svg { width: 18px; height: 18px; }
.rg-guest--awaiting { background: #fcd34d; color: var(--slate-900); }
.rg-guest--inHouse { background: #dc2626; color: #fff; }
.rg-guest--departing { background: var(--slate-100); color: var(--slate-500); box-shadow: inset 0 0 0 1px var(--slate-400); }

.roomgrid--app .rg-today { opacity: 0.6; }

/* Csoportkapcsolatok: a téglák fölött, a foglalás színének sötétebb árnyalatával; a téglák után úsznak be */
.rg-links {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.2s;
}

.is-in .rg-links { opacity: 1; }
.rg-links g { color: color-mix(in oklab, var(--c), #000 28%); }
.rg-links path { fill: none; stroke: currentColor; stroke-width: 2; }
.roomgrid--app .rg-today::before { content: none; }

/* Foglalás-tégla: fél cellával beljebb indul, mint az appban */
.brick {
  --c: var(--res-booked);
  position: absolute;
  top: calc(var(--r) * var(--row-h) + 5px);
  left: calc((var(--s) + 0.5) / var(--days) * 100% + 2px);
  width: calc(var(--n) / var(--days) * 100% - 4px);
  height: calc(var(--row-h) - 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid color-mix(in oklab, var(--c), #000 28%);
  background: var(--c);
  color: var(--fg, #fff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  z-index: 2;
  clip-path: inset(0 100% 0 0 round 8px);
  transition:
    clip-path 0.9s var(--ease) var(--delay, 0ms),
    translate 0.7s var(--ease),
    scale 0.3s var(--ease),
    box-shadow 0.3s,
    background-color 0.5s,
    color 0.5s,
    border-color 0.5s,
    width 0.3s var(--ease);
}

.roomgrid--app .brick { top: calc(var(--r) * var(--row-h) + 2px); height: calc(var(--row-h) - 4px); }

.brick > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brick small { display: block; font-size: 10px; font-weight: 500; opacity: 0.85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.is-in .brick,
.brick.is-shown { clip-path: inset(-12px -40px -30px -12px round 8px); }

.brick.cut-l { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0; }
.brick.cut-r { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }

.s-booked { --c: var(--res-booked); --fg: var(--res-booked-fg, #fff); }
.s-confirmed { --c: var(--res-confirmed); --fg: var(--res-confirmed-fg, #fff); }
.s-offer { --c: var(--res-offer); --fg: var(--res-offer-fg, #fff); }
.s-checkin { --c: var(--res-checkin); --fg: var(--res-checkin-fg, #fff); }
.s-paid { --c: var(--res-paid); --fg: var(--res-paid-fg, #fff); }
.s-dinv { --c: var(--res-dinv); --fg: var(--res-dinv-fg, #fff); }

.s-online,
.s-inquiry,
.s-deposit {
  background: color-mix(in oklab, var(--c) 12%, #fff);
  color: color-mix(in oklab, var(--c), #000 30%);
  border-color: color-mix(in oklab, var(--c) 75%, #fff);
}

.s-online { --c: var(--res-confirmed); }
.s-inquiry { --c: var(--res-offer); }
.s-deposit { --c: var(--res-paid); }

.s-checkout {
  background: var(--slate-100);
  color: var(--slate-500);
  border-color: var(--slate-300);
}

.s-ooo {
  background: var(--slate-300) repeating-linear-gradient(135deg, transparent 0 6px, rgb(255 255 255 / 0.35) 6px 12px);
  color: #fff;
  border-color: var(--slate-50);
}

/* Szerkesztő mód bemutatója: áthelyezés, nyújtás, új foglalás */
.brick.is-lifted {
  scale: 1.04;
  z-index: 6;
  box-shadow: 0 16px 30px -10px rgb(15 23 42 / 0.45);
  transition: translate 0.3s var(--ease), scale 0.3s var(--ease), box-shadow 0.3s, background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* Nyújtás: a megfogott szél vastag kerete, húzás közben zöld gyűrű, ahogy az appban */
.brick.is-edge { border-right-width: 4px; }
.brick.is-resizing { opacity: 0.85; outline: 2px solid var(--emerald-500); outline-offset: 1px; }
.brick.is-born { animation: rgBorn 0.45s var(--ease) both; }
.brick.is-gone { opacity: 0; transition: opacity 0.5s; }

@keyframes rgBorn { from { opacity: 0; scale: 0.96; } }

/* Az app + füle a cella jobb felén, és a húzás közben cellánként növekvő szaggatott helyőrző */
.rg-plus {
  position: absolute;
  z-index: 4;
  top: calc(var(--r, 0) * var(--row-h) + 2px);
  left: calc((var(--s, 0) + 0.5) / var(--days) * 100%);
  display: grid;
  place-items: center;
  width: calc(0.5 / var(--days) * 100%);
  height: calc(var(--row-h) - 4px);
  border-radius: 8px 0 0 8px;
  background: #fcd34d;
  color: var(--slate-700);
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.rg-new {
  position: absolute;
  z-index: 3;
  top: calc(var(--r, 0) * var(--row-h) + 2px);
  left: calc((var(--s, 0) + 0.5) / var(--days) * 100% + 2px);
  width: calc(var(--n, 1) / var(--days) * 100% - 4px);
  height: calc(var(--row-h) - 4px);
  border: 1px dashed var(--amber-400);
  border-radius: 8px;
  background: rgb(254 243 199 / 0.7);
  opacity: 0;
  pointer-events: none;
  transition: width 0.25s var(--ease), opacity 0.2s;
}

.rg-plus.is-on,
.rg-new.is-on { opacity: 1; }
.roomgrid--app .rg-room.is-hl { background: #fcd34d; }
.roomgrid--app .rg-dayrow .rg-day.is-hl { border-color: #fcd34d; background: #fcd34d; color: var(--slate-700); }

/* Egérmutató: húzás közben gyorsabban követi a mozdulatot */
.rg-cursor {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: left 0.6s var(--ease), top 0.6s var(--ease), opacity 0.3s;
}

.rg-cursor.is-on { opacity: 1; }
.rg-cursor.is-drag { transition-duration: 0.3s, 0.3s, 0.3s; }

.rg-cursor i {
  position: absolute;
  font-size: 24px;
  color: var(--slate-900);
  filter: drop-shadow(0 1px 1px rgb(255 255 255 / 0.9)) drop-shadow(0 3px 5px rgb(15 23 42 / 0.35));
}

.rg-cursor .ph-cursor { top: -3px; left: -4px; }
.rg-cursor .ph-arrows-horizontal,
.rg-cursor .ph-hand-grabbing { translate: -50% -50%; }

.brick.is-ok { outline: 2px solid var(--emerald-500); outline-offset: 1px; }

.brick.is-bad {
  background: #ffe4e6;
  border-color: var(--rose-500);
  color: #be123c;
  outline: 2px solid #fb7185;
  outline-offset: 1px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 2px 92px 22px 22px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
}

.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); border: 1px solid color-mix(in oklab, var(--c), #000 25%); }

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px clamp(24px, 4vw, 56px);
  margin-top: clamp(56px, 7vw, 96px);
}

.trio--six { row-gap: clamp(40px, 5vw, 64px); }
.trio__icon { font-size: 38px; color: var(--blue-600); }
.trio__item h3 { margin: 14px 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.trio__item p { font-size: 16px; color: var(--slate-500); }

/* Kicsinyített rács (galéria, laptop, paletta) */
.mini-grid .roomgrid {
  --room-col: 92px;
  --row-h: 36px;
  --head-h: 42px;
  min-width: 0;
  border-radius: 12px;
  font-size: 12px;
}

.mini-grid .rg-rooms span.t,
.mini-grid .rg-rooms .dot { display: none; }

.mini-grid--flat .roomgrid {
  --room-col: 34px;
  --row-h: 17px;
  --head-h: 20px;
  border-radius: 6px;
  font-size: 7px;
}

.mini-grid--flat .rg-day { font-size: 0; }
.mini-grid--flat .rg-day b { font-size: 7px; }
.mini-grid--flat .rg-corner { font-size: 0; padding: 0; }
.mini-grid--flat .rg-rooms > div { padding: 0 4px; }
.mini-grid--flat .brick { font-size: 0; border-radius: 3px; top: calc(var(--r) * var(--row-h) + 3px); height: calc(var(--row-h) - 6px); padding: 0; }
.mini-grid--flat .brick small { display: none; }

/* ---------- Irányítópult (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px;
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s, translate 0.4s var(--ease);
}

.tile:hover { box-shadow: 0 30px 60px -30px rgb(15 23 42 / 0.25); }
.tile--rev { grid-column: span 2; }

.tile__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-800);
  letter-spacing: -0.015em;
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-control);
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  color: var(--slate-600);
  font-size: 18px;
}

.tile__meta { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--slate-400); }
.tile__foot { margin-top: auto; text-align: center; font-size: 14px; color: var(--slate-500); }

.ring {
  position: relative;
  width: 156px;
  margin: 18px auto 14px;
}

.ring svg { rotate: -90deg; }
.ring circle { fill: none; stroke-width: 11; }
.ring__track { stroke: var(--slate-100); }

.ring__value {
  stroke: var(--blue-600);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.8s var(--ease) 0.3s;
}

.is-in .ring__value { stroke-dashoffset: calc(100 - var(--v)); }

.ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring__label strong { font-size: 36px; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.ring__label > span { font-size: 12px; color: var(--slate-500); margin-top: 4px; }

.tile__kpi { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; }
.tile__kpi strong { font-size: 36px; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }

.trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.trend--up { background: var(--emerald-50); color: var(--emerald-700); }

.area { width: 100%; height: auto; margin-top: auto; overflow: visible; }

.area__line {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease) 0.2s;
}

.area__fill { opacity: 0; transition: opacity 1.2s ease 1s; }
.is-in .area__line { stroke-dashoffset: 0; }
.is-in .area__fill { opacity: 1; }

.area__months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
  text-align: center;
  text-transform: capitalize;
}

.arrivals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0 18px;
}

.arrivals strong { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.arrivals span { font-size: 12px; color: var(--slate-500); }

.mini-list { margin: auto 0 0; padding: 0; list-style: none; }

.mini-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid var(--slate-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}

.mini-list em { margin-left: auto; font-style: normal; font-weight: 500; color: var(--slate-400); font-size: 12px; white-space: nowrap; }

.stack-bar {
  display: flex;
  gap: 3px;
  height: 14px;
  margin: 26px 0 20px;
}

.stack-bar span {
  width: var(--w);
  border-radius: 999px;
  background: var(--c);
  transform-origin: left;
  scale: 0 1;
  transition: scale 1.2s var(--ease);
}

.stack-bar span:nth-child(2) { transition-delay: 0.15s; }
.stack-bar span:nth-child(3) { transition-delay: 0.3s; }
.stack-bar span:nth-child(4) { transition-delay: 0.45s; }
.is-in .stack-bar span { scale: 1 1; }

.legend-list { margin: auto 0 0; padding: 0; list-style: none; }

.legend-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}

.legend-list b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink); }
.sw { width: 10px; height: 10px; border-radius: 4px; background: var(--c); }

.bars {
  display: flex;
  gap: 8px;
  height: 190px;
  margin-top: auto;
  padding-top: 20px;
}

.bars > div {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  justify-items: center;
}

.bars .track { position: relative; width: 100%; }

.bars .track b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--h) + 6px);
  text-align: center;
}

.bars i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: var(--blue-100);
  transform-origin: bottom;
  scale: 1 0;
  transition: scale 1.1s var(--ease) var(--delay, 0ms);
}

.bars i.hi { background: linear-gradient(180deg, var(--blue-500), var(--blue-700)); }
.bars b { font-size: 11px; font-weight: 700; color: var(--slate-700); font-variant-numeric: tabular-nums; }
.bars span { font-size: 11px; font-weight: 600; color: var(--slate-400); text-transform: capitalize; }
.is-in .bars i { scale: 1 1; }

/* ---------- Pimo ---------- */

.chat {
  position: relative;
  max-width: 740px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  border-radius: var(--r-3xl);
  background: rgb(15 23 42 / 0.72);
  border: 1px solid rgb(148 163 184 / 0.16);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 50px 140px -40px rgb(37 99 235 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.02) inset;
  overflow: hidden;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 16px 20px;
  border-bottom: 1px solid rgb(148 163 184 / 0.12);
}

.chat__head strong { display: block; color: #fff; font-size: 15px; letter-spacing: -0.01em; }
.chat__head div > span { display: block; font-size: 12px; color: var(--slate-400); }

.chat__avatar { --size: 42px; }

.chat__replay {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgb(148 163 184 / 0.22);
  background: transparent;
  color: var(--slate-300);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, rotate 0.5s var(--ease);
}

.chat__replay:hover { background: rgb(148 163 184 / 0.12); rotate: -120deg; }

.chat__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
  padding: 22px 20px;
}

.msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 6px;
  background: rgb(51 65 85 / 0.55);
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.45;
  align-self: flex-start;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.5s var(--ease), translate 0.5s var(--ease);
}

.msg.is-in { opacity: 1; translate: 0 0; }

.msg--me {
  align-self: flex-end;
  border-radius: 18px 18px 6px 18px;
  background: var(--blue-600);
  color: #fff;
}

/* Pimo buborékai mellett a figura, mint az app chatjében */
.msg--pimo,
.report { position: relative; margin-left: 36px; }

.msg--pimo::before {
  content: '';
  position: absolute;
  top: 2px;
  left: -36px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff url('../img/pimo.svg') center / 18px no-repeat;
}

.msg--loader { display: flex; align-items: center; gap: 10px; color: var(--slate-400); font-size: 14px; }

.report {
  align-self: stretch;
  max-width: 100%;
  padding: 18px 18px 14px;
  border-radius: var(--r-card);
  background: rgb(2 6 23 / 0.55);
  border: 1px solid rgb(148 163 184 / 0.16);
}

.report__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.report__head strong { display: block; color: #fff; font-size: 15px; letter-spacing: -0.015em; }
.report__head span { font-size: 12px; color: var(--slate-400); }

.report__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgb(37 99 235 / 0.2);
  color: var(--blue-300);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.report__row {
  display: grid;
  grid-template-columns: 140px 1fr 56px;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}

.report__row span { color: var(--slate-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report__row b { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }

.report__row i {
  height: 10px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform-origin: left;
  scale: 0 1;
  transition: scale 1.1s var(--ease) var(--delay, 0ms);
}

.report.is-in .report__row i { scale: 1 1; }

.chat__input {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  margin: 0 14px 14px;
  padding: 0 8px 0 16px;
  border-radius: var(--r-card);
  background: rgb(30 41 59 / 0.8);
  border: 1px solid rgb(148 163 184 / 0.16);
  color: var(--slate-500);
  font-size: 15px;
}

.chat__typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__typed.is-typing { color: #fff; }

.chat__typed.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--blue-400);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret { 50% { opacity: 0; } }

.chat__send {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
  font-size: 16px;
  flex: none;
}

.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
}

.skill {
  padding: 28px;
  border-radius: var(--r-3xl);
  background: rgb(15 23 42 / 0.6);
  border: 1px solid rgb(148 163 184 / 0.14);
}

.skill i { font-size: 34px; color: var(--blue-400); }
.skill h3 { margin: 16px 0 8px; color: #fff; font-size: 19px; letter-spacing: -0.02em; }
.skill p { color: var(--slate-400); font-size: 15px; }

/* Márka-betöltő (HexLoader) */
.hex-loader {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--blue-400);
  animation: hexPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hex-loader svg { width: 100%; height: 100%; overflow: visible; animation: hexRotate 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.hex-loader path { fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.hex-loader .t { opacity: 0.2; }
.hex-loader .s { stroke-dasharray: 12, 240; animation: hexDash 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite; }

@keyframes hexRotate { to { transform: rotate(360deg); } }

@keyframes hexDash {
  0% { stroke-dasharray: 12, 240; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 160, 240; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 12, 240; stroke-dashoffset: -240; }
}

@keyframes hexPulse {
  0%, 100% { scale: 0.92; }
  50% { scale: 1.06; }
}

/* ---------- Dinamikus árazás ---------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 600;
}

.pricer {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-float);
}

.pricer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }

.pricer__price {
  margin-top: 6px;
  font-size: clamp(44px, 5.2vw, 66px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.pricer__price small { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--slate-500); }
.pricer__base { margin-top: 4px; font-size: 14px; color: var(--slate-400); }

.pricer__delta {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.3s, color 0.3s;
}

.pricer__delta.is-down { background: var(--blue-50); color: var(--blue-700); }
.pricer__delta.is-up { background: var(--emerald-50); color: var(--emerald-700); }

.bands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 28px 0 26px;
  padding: 5px;
  border-radius: var(--r-card);
  border: 1px solid var(--slate-200);
}

.band {
  min-width: 0;
  padding: 14px 4px;
  border-radius: 11px;
  background: var(--slate-50);
  text-align: center;
  transition: background-color 0.35s, scale 0.35s var(--ease);
}

.band b { display: block; font-size: 18px; color: var(--slate-400); letter-spacing: -0.03em; transition: color 0.35s; }
.band span { display: block; margin-top: 2px; font-size: 11px; line-height: 1.25; color: var(--slate-400); transition: color 0.35s; }
.band.is-active { background: var(--blue-50); }
.band.is-active b { color: var(--blue-600); }
.band.is-active span { color: var(--slate-600); }

/* A sávok egyforma szélesek, ezért mindegyik maga mondja meg a foglaltsági tartományát */
.band small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s;
}

.band.is-active small { color: var(--blue-600); }

.slider { display: block; }

.slider__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-700);
}

.slider__label strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.slider input {
  --fill: 55%;
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600) var(--fill), var(--slate-200) var(--fill));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 12px rgb(15 23 42 / 0.2);
  transition: scale 0.2s var(--ease);
}

.slider input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 12px rgb(15 23 42 / 0.2);
}

.slider input:active::-webkit-slider-thumb { scale: 1.12; }

.slider__ticks {
  position: relative;
  display: block;
  height: 18px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
}

.slider__ticks span { position: absolute; translate: -50% 0; }
.slider__ticks span:nth-child(1) { left: 0; translate: 0 0; }
.slider__ticks span:nth-child(2) { left: 40%; }
.slider__ticks span:nth-child(3) { left: 70%; }
.slider__ticks span:nth-child(4) { left: 90%; }

.pricer__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--slate-400);
}

/* ---------- Vendégportál ---------- */

.portal { margin-top: clamp(40px, 5vw, 64px); }

/* Lépésválasztó a bemutató fölött */
.portal__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 1040px;
  margin: 0 auto;
}

.pstep {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px 18px;
  border: 0;
  border-radius: var(--r-card);
  background: transparent;
  color: var(--slate-500);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.pstep:hover { background: rgb(255 255 255 / 0.6); }
.pstep.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 0 0 1px var(--line); }

.pstep__n {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--slate-200);
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}

.pstep.is-active .pstep__n { background: var(--blue-600); color: #fff; }

.pstep__t { display: flex; flex-direction: column; min-width: 0; }
.pstep__t b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.pstep__t small { overflow: hidden; font-size: 13px; color: var(--slate-500); white-space: nowrap; text-overflow: ellipsis; }

.pstep__bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 3px;
  border-radius: 3px;
  background: var(--slate-100);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.pstep__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-600);
  transform-origin: left;
  scale: var(--prog, 0) 1;
  transition: scale 0.1s linear;
}

.pstep.is-active .pstep__bar { opacity: 1; }

.portal__window { margin-top: 18px; }

/* A bemutató vászna: fix logikai szélesség, a script méretezi az ablakhoz */
.portal__viewport { position: relative; height: 760px; overflow: hidden; background: var(--slate-50); }

.gp {
  position: absolute;
  top: 0;
  left: 0;
  width: 1180px;
  container-type: inline-size;
  transform-origin: 0 0;
  scale: var(--k, 1);
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate-700);
}

.gp-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--slate-50);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0s linear 0.55s;
}

.gp-scene.is-on { opacity: 1; visibility: visible; transition: opacity 0.55s var(--ease); }

/* A táblázatos jelenet adja a vászon magasságát */
.gp-scene--roster { position: relative; inset: auto; }

/* Közös elemek */
.gp-mono {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--r-control);
  background: var(--blue-900);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.gp-mono--dark { background: var(--slate-800); }

.gp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
}

.gp-head div > b,
.gp-head div > span { display: block; }
.gp-head div > b { font-size: 14px; font-weight: 700; color: var(--slate-900); }
.gp-head div > span { font-size: 12px; color: var(--slate-500); }

.gp-lang {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-600);
}

.gp-head__who { padding-left: 14px; border-left: 1px solid var(--slate-200); text-align: right; }
.gp-head__who b { color: var(--slate-700); }

.gp-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 24px 16px; }

.gp-over { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
.gp-h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; color: var(--slate-900); }
.gp-hint,
.gp-muted { font-size: 13.5px; color: var(--slate-500); }

.gp-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.gp-card--narrow { padding: 12px 16px; border-radius: var(--r-card); }

.gp-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.gp-card__head b { font-size: 14px; font-weight: 700; color: var(--slate-800); }
.gp-card__head span { font-size: 13px; font-weight: 600; color: var(--slate-500); font-variant-numeric: tabular-nums; }

.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: none;
  height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s, scale 0.15s var(--ease);
}

.gp-btn i { font-size: 16px; }
.gp-btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 1px 2px rgb(15 23 42 / 0.1); }
.gp-btn--outline { background: #fff; border-color: var(--slate-200); color: var(--slate-700); }
.gp-btn--ghost { height: 32px; padding: 0 10px; color: var(--slate-600); }
.gp-btn--sm { height: 30px; padding: 0 11px; border-radius: 10px; font-size: 13px; }
.gp-btn--block { width: 100%; }
.gp-btn.is-pressed { scale: 0.95; }
.gp-btn--primary.is-pressed { background: var(--blue-700); }
.gp-btn--outline.is-pressed { background: var(--slate-100); }

.gp-spin,
.gp-ring {
  display: none;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgb(255 255 255 / 0.4);
  border-top-color: #fff;
  animation: gpSpin 0.7s linear infinite;
}

.gp-ring { display: inline-block; border-color: var(--slate-200); border-top-color: var(--slate-500); }
.gp-btn.is-busy .gp-spin { display: block; }
.gp-btn.is-busy > i:not(.gp-spin) { display: none; }

@keyframes gpSpin { to { rotate: 1turn; } }
@keyframes gpFade { from { opacity: 0; translate: 0 8px; } }
@keyframes gpPop { from { opacity: 0; scale: 0.5; } }

.gp-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-control);
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  color: var(--slate-700);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gp-input--code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 600; letter-spacing: 0.06em; }
.gp-input.is-focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(59 130 246 / 0.12); }
.gp-input--sm { height: 38px; }
.gp-input--search { width: 240px; flex: none; color: var(--slate-400); }
.gp-input--search i { font-size: 16px; }

.gp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--slate-700); }

.gp-bar { height: 8px; border-radius: 999px; background: var(--slate-200); overflow: hidden; }

.gp-bar > i {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: 999px;
  background: var(--blue-600);
  transition: width 0.45s var(--ease), background-color 0.4s;
}

.gp-bar.is-full > i,
.gp-bar--ok > i { background: var(--emerald-600); }
.gp-bar--ok > i { width: 100%; }

.gp-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.gp-badge--ok { background: var(--emerald-100); color: var(--emerald-700); }
.gp-badge--amber { background: var(--amber-100); color: var(--amber-700); }
.gp-badge[hidden] { display: none; }

/* Pipa a kerek jelölőkben (lépések, kötelező adatok) */
.gp-tick { position: relative; }

.gp-tick::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 3.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  translate: -50% -70%;
  rotate: -45deg;
  opacity: 0;
}

/* 1. Meghívó és belépés */
.gp-scene--invite {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse 60% 70% at 50% 40%, #fff 0%, var(--slate-100) 70%);
}

.gp-mail {
  width: 560px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-float), 0 0 0 1px rgb(15 23 42 / 0.05);
  overflow: hidden;
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.6s var(--ease), translate 0.8s var(--ease);
}

.gp-mail.is-in { opacity: 1; translate: 0 0; }

.gp-mail__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--slate-100); }
.gp-mail__head div > b { display: block; font-size: 14px; color: var(--slate-900); }
.gp-mail__head div > span { display: block; font-size: 12px; color: var(--slate-500); }
.gp-mail__head time { margin-left: auto; font-size: 12px; color: var(--slate-400); }

.gp-mail__body { padding: 22px 28px 26px; }
.gp-mail__body h4 { margin-bottom: 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--slate-900); }
.gp-mail__body p { margin-bottom: 6px; font-size: 14.5px; color: var(--slate-700); }
.gp-mail__body p.gp-muted { font-size: 13.5px; color: var(--slate-500); }

.gp-mail__rows { margin: 14px 0 0; }
.gp-mail__rows div { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--slate-200); }
.gp-mail__rows dt { flex: none; width: 150px; font-size: 13px; color: var(--slate-500); }
.gp-mail__rows dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--blue-900); }

.gp-mail__cred {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--slate-50);
  transition: background-color 0.4s, box-shadow 0.4s;
}

.gp-mail__cred.is-hl { background: var(--blue-50); box-shadow: 0 0 0 2px var(--blue-200); }
.gp-mail__cred small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
.gp-mail__cred div { display: grid; grid-template-columns: 1fr 1fr; margin-top: 6px; }
.gp-mail__cred span { display: flex; flex-direction: column; font-size: 12px; color: var(--slate-500); }
.gp-mail__cred b { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 18px; letter-spacing: 0.06em; color: var(--slate-900); }

.gp-mail__btn {
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 24px;
  border-radius: 10px;
  background: var(--blue-900);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: scale 0.15s var(--ease), filter 0.15s;
}

.gp-mail__btn.is-pressed { scale: 0.95; filter: brightness(1.25); }

.gp-login {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}

.gp-login.is-in { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }

.gp-login__form { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 40px 80px; }

.gp-login__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-control);
  background: var(--slate-800);
  color: #fff;
  font-size: 24px;
}

.gp-login h4 { margin-top: 18px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--slate-700); }
.gp-login__form > p { margin-bottom: 18px; font-size: 14px; color: var(--slate-700); }
.gp-login__photo { position: relative; overflow: hidden; container-type: size; background: #dde5ee; }

/* A kép úgy áll, mint egy 50% 55%-os cover háttér; a táblák a kép saját koordinátáiban ülnek */
.gp-photo {
  position: absolute;
  top: 55%;
  left: 50%;
  width: max(100cqw, 100cqh * 1920 / 1688);
  aspect-ratio: 1920 / 1688;
  translate: -50% -55%;
  container-type: inline-size;
}

.gp-photo > img { display: block; width: 100%; height: 100%; }

/* Ugyanazok az üvegchipek, mint a hero képen, a kép méretéhez igazítva; a bejelentkező oldallal együtt úsznak be */
.gp-photo .chip {
  top: var(--y);
  gap: 0.55em;
  padding: 0.45em 0.85em 0.45em 0.45em;
  font-size: 1.35cqw;
  transform: translateY(-50%);
  animation: none;
}

.gp-login.is-in .gp-photo .chip {
  animation:
    chipIn 0.8s var(--ease) forwards calc(300ms + var(--i) * 90ms),
    bob 7s ease-in-out infinite alternate calc(var(--i) * -1.3s);
}

.gp-pin--l { right: calc(100% - var(--x)); }
.gp-pin--r { left: var(--x); }
.gp-photo .chip__num { padding: 0.2em 0.55em; font-size: 0.82em; }
.gp-photo .chip__ok,
.gp-photo .chip > .ph-bold { font-size: 1.35em; }
.gp-photo .chip__wait { color: var(--amber-500); }
.gp-pin--empty { border-style: dashed; border-color: var(--slate-300); background: rgb(255 255 255 / 0.5); box-shadow: none; }
.gp-pin--empty > i { color: var(--slate-300); }
.gp-pin__line { width: 6.5em; height: 0.55em; border-radius: 999px; background: var(--slate-200); }

.gp-photo .chip--wide { min-width: 11em; gap: 0.6em; padding: 0.75em 0.9em 0.85em; border-radius: 1em; }
.gp-photo .chip__row { align-items: center; }
.gp-photo .chip__value { font-size: 1.55em; }
.gp-photo .chip__value small { font-size: 1em; font-weight: 600; color: var(--slate-400); }
.gp-photo .chip__bar { height: 0.42em; }
.gp-photo .chip__bar span { animation: none; }
.gp-login.is-in .gp-photo .chip__bar span { animation: barGrow 1.2s var(--ease) both 0.9s; }

.gp-pin__icon {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.55em;
  background: var(--slate-800);
  color: #fff;
}

.gp-alert {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blue-50);
  font-size: 13px;
  color: var(--blue-700);
}

.gp-alert > i { flex: none; font-size: 20px; color: var(--blue-600); }
.gp-alert b { display: block; color: var(--blue-900); }

/* 2. Betöltés Excelből */
.gp-imp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.gp-imp-actions { display: flex; gap: 8px; margin-left: auto; }

.gp-steps { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gp-steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--slate-500); }
.gp-steps li + li::before { content: ''; width: 24px; height: 1px; background: var(--slate-200); transition: background-color 0.3s; }
.gp-steps li.is-active,
.gp-steps li.is-done { color: var(--slate-800); }
.gp-steps li.is-active::before,
.gp-steps li.is-done::before { background: var(--blue-600); }

.gp-steps li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--slate-200);
  color: var(--slate-500);
  font-size: 12px;
  transition: background-color 0.3s, color 0.3s;
}

.gp-steps li.is-active span { background: var(--blue-600); color: #fff; }
.gp-steps li.is-done span { background: var(--emerald-600); color: transparent; }
.gp-steps li.is-done .gp-tick::after { opacity: 1; }

.gp-imp-pane { display: none; flex-direction: column; gap: 12px; }
.gp-imp-pane.is-on { display: flex; animation: gpFade 0.45s var(--ease); }

.gp-file { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.gp-file > i { font-size: 20px; color: var(--emerald-600); }
.gp-file b { color: var(--slate-700); }
.gp-file > span:not(.gp-check) { margin-right: 24px; color: var(--slate-500); }

.gp-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--blue-600);
  color: #fff;
  font-size: 11px;
}

.gp-imp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.gp-side { display: flex; flex-direction: column; gap: 10px; }

.gp-sheet { border-radius: var(--r-card); background: #fff; box-shadow: 0 0 0 1px rgb(226 232 240 / 0.6); overflow: hidden; }
.gp-sheet__scroll { overflow: hidden; }
.gp-sheet table { width: max-content; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }

.gp-sheet th,
.gp-sheet td { border-right: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }

.gp-sheet th {
  width: 184px;
  padding: 9px;
  background: var(--slate-50);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
  transition: background-color 0.3s;
}

.gp-sheet th.is-sel { background: var(--blue-50); }

.gp-sheet td {
  max-width: 184px;
  padding: 6px 12px;
  overflow: hidden;
  color: var(--slate-400);
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.3s, background-color 0.3s;
}

.gp-sheet td.is-mapped { color: var(--slate-700); }
.gp-sheet td.is-sel { background: rgb(239 246 255 / 0.6); }

.gp-sheet th:first-child,
.gp-sheet td:first-child { width: 40px; padding: 6px 8px; background: var(--slate-50); font-size: 11px; color: var(--slate-400); text-align: right; }

.gp-sheet__more { padding: 8px 12px; border-top: 1px solid var(--slate-100); font-size: 12px; color: var(--slate-500); }

.gp-colname { display: flex; align-items: center; gap: 8px; border-radius: 8px; transition: scale 0.15s; }
.gp-colname.is-pressed { scale: 0.96; }
.gp-colname b { font-size: 12px; font-weight: 700; color: var(--slate-700); }

.gp-letter {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--slate-200);
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
}

.gp-select {
  display: flex;
  align-items: center;
  height: 32px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  color: var(--slate-700);
  white-space: nowrap;
  overflow: hidden;
}

.gp-select::after { content: ''; margin-left: auto; border: 4px solid transparent; border-top-color: var(--slate-400); translate: 0 2px; }
.gp-select.is-empty { color: var(--slate-400); }
.gp-select.is-flash { animation: gpFlash 0.7s var(--ease); }

@keyframes gpFlash { from { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgb(59 130 246 / 0.3); } }

.gp-status { display: flex; align-items: center; gap: 4px; height: 16px; margin-top: 6px; font-size: 11px; font-weight: 600; }
.gp-status i { font-size: 13px; }
.gp-status--ok { color: var(--emerald-600); }
.gp-status--check { color: var(--amber-600); }
.gp-status--skip { color: var(--slate-400); }
.gp-status:not(:empty) { animation: gpFade 0.35s var(--ease); }

.gp-req { display: flex; flex-direction: column; gap: 1px; margin: 0; padding: 0; list-style: none; }
.gp-req li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate-500); transition: color 0.3s; }

.gp-req li i {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1.5px solid var(--slate-300);
  transition: background-color 0.3s, border-color 0.3s;
}

.gp-req li.is-ok { color: var(--slate-700); }
.gp-req li.is-ok i { background: var(--emerald-600); border-color: var(--emerald-600); }
.gp-req li.is-ok .gp-tick::after { opacity: 1; }

.gp-detail__empty { font-size: 13px; color: var(--slate-500); }
.gp-detail__body { display: none; }
.gp-detail.is-open .gp-detail__empty { display: none; }
.gp-detail.is-open .gp-detail__body { display: block; animation: gpFade 0.4s var(--ease); }
.gp-detail__col { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--slate-800); }

.gp-map { margin: 4px 0 10px; padding: 0; list-style: none; }
.gp-map li { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--slate-100); font-size: 13px; }
.gp-map code { padding: 2px 7px; border-radius: 6px; background: var(--slate-100); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; }
.gp-map i { color: var(--slate-400); }
.gp-map b { color: var(--slate-800); }
.gp-map small { margin-left: auto; font-size: 12px; color: var(--slate-400); }

.gp-rooms-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gp-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--slate-700); }

.gp-radio { display: flex; gap: 10px; padding: 7px 0; }
.gp-radio > i { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; border: 1.5px solid var(--slate-300); background: #fff; }
.gp-radio.is-on > i { border: 5px solid var(--blue-600); }
.gp-radio b { display: block; font-size: 14px; font-weight: 600; color: var(--slate-700); }
.gp-radio span { font-size: 12.5px; color: var(--slate-500); }

.gp-big { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--slate-900); }
.gp-small { margin-top: 10px; font-size: 12.5px; }

.gp-room-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gp-room { padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; animation: gpFade 0.45s var(--ease) backwards; }
.gp-room__head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--slate-700); }
.gp-room__head i { color: var(--slate-500); }
.gp-room__head .gp-badge { margin-left: auto; }
.gp-room ul { margin: 8px 0 0; padding: 0; list-style: none; }
.gp-room li { display: flex; gap: 8px; padding: 2px 0; font-size: 13.5px; color: var(--slate-700); }
.gp-room li span { width: 22px; color: var(--slate-400); text-align: right; font-variant-numeric: tabular-nums; }

.gp-load { width: 100%; max-width: 640px; margin: 48px auto 0; padding: 32px 36px; }
.gp-load__title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gp-load__title > i { display: none; font-size: 34px; color: var(--emerald-600); }
.gp-load__title b { display: block; font-size: 16px; color: var(--slate-800); }
.gp-load__title span { font-size: 14px; color: var(--slate-500); }
.gp-load.is-done .gp-load__title > i { display: block; animation: gpPop 0.5s var(--ease); }
.gp-load__count { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--slate-700); font-variant-numeric: tabular-nums; }

/* 3. Kitöltés: összefoglaló, eszköztár és a táblázat */
.gp-sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 16px 32px;
  padding: 14px 20px;
}

.gp-sum__side { display: flex; flex-direction: column; gap: 10px; }
.gp-metas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.gp-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-600);
}

.gp-meta i { font-size: 14px; color: var(--slate-500); }
.gp-sum__until { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 14px; color: var(--slate-500); }
.gp-sum__until i { font-size: 20px; }
.gp-sum__prog > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 13.5px; }
.gp-sum__prog b { font-weight: 600; color: var(--slate-700); }
.gp-sum__prog span { color: var(--slate-500); }

.gp-tabs {
  display: flex;
  flex: none;
  gap: 4px;
  margin-right: 6px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(to top, rgb(255 255 255 / 0.8), rgb(255 255 255 / 0.4));
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

.gp-tabs span { padding: 5px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--slate-500); }
.gp-tabs .is-on { background: #fff; color: var(--slate-800); box-shadow: 0 4px 8px -2px rgb(59 130 246 / 0.08), 0 0 0 1px var(--line); }

.gp-tools { display: flex; align-items: center; gap: 8px; }

.gp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-control);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  white-space: nowrap;
}

.gp-toggle i { position: relative; width: 28px; height: 16px; border-radius: 999px; background: var(--slate-200); }
.gp-toggle i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(15 23 42 / 0.2); }

.gp-save { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; color: var(--slate-500); white-space: nowrap; }
.gp-save i { font-size: 20px; }
.gp-save .ph-check-circle { color: var(--emerald-600); }

.gp-grid { position: relative; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.gp-grid__scroll { position: relative; overflow: hidden; }
.gp-grid table { table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13.5px; color: var(--slate-700); }

.gp-grid th {
  padding: 0 10px;
  overflow: hidden;
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
  text-align: left;
  white-space: nowrap;
}

.gp-grid .eg-g th { height: 26px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
.gp-grid .eg-c th { height: 32px; font-size: 13.5px; font-weight: 700; color: var(--slate-700); }
.gp-grid th em { margin-left: 5px; font-style: normal; font-weight: 700; color: var(--red-500); }

.gp-grid td {
  position: relative;
  height: 29px;
  padding: 0 10px;
  overflow: hidden;
  border-right: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: background-color 0.3s;
}

.gp-grid tbody tr { background: #fff; }
.gp-grid tbody tr.is-zebra { background: var(--slate-50); }

.gp-grid .eg-room td { height: 30px; padding: 0; overflow: visible; border-right: 0; border-bottom-color: var(--blue-100); background: var(--blue-50); }

.gp-grid .eg-room td > div {
  position: sticky;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 0 12px;
  font-weight: 700;
  color: var(--blue-700);
}

.gp-grid .eg-room .eg-places { font-weight: 400; color: var(--slate-500); }

.gp-grid .eg-st,
.gp-grid .eg-pin { position: sticky; z-index: 2; background: inherit; }
.gp-grid .eg-st { left: 0; padding: 0; text-align: center; }
.gp-grid .eg-st i { font-size: 18px; vertical-align: middle; }
.gp-grid .eg-st .ph-baby { color: var(--blue-600); }
.gp-grid .eg-st .gp-ring { vertical-align: middle; }
.gp-grid .eg-pin--last { border-right-color: var(--slate-300); box-shadow: 4px 0 8px -6px rgb(15 23 42 / 0.18); }

.gp-grid .eg-menu {
  position: sticky;
  right: 0;
  z-index: 2;
  padding: 0;
  border-right: 0;
  border-left: 1px solid var(--slate-200);
  background: inherit;
  box-shadow: -4px 0 8px -6px rgb(15 23 42 / 0.18);
  color: var(--slate-400);
  text-align: center;
}

.gp-grid thead .eg-st,
.gp-grid thead .eg-pin,
.gp-grid thead .eg-menu { z-index: 3; background: var(--slate-50); }

.gp-grid.is-unpinned .eg-pin,
.gp-grid.is-unpinned .eg-menu { position: static; box-shadow: none; }

.gp-grid .eg-date { font-size: 12px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.gp-grid td.is-missing { background: var(--amber-50); }

.gp-grid td.is-missing::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--amber-400);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.gp-grid td.is-sel { background: var(--blue-50); outline: 2px solid var(--blue-600); outline-offset: -2px; }
.gp-grid td.is-done { animation: gpCellDone 1.2s var(--ease); }

@keyframes gpCellDone { from { background-color: var(--emerald-100); } }

.gp-editor {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 2px var(--blue-600), 0 12px 28px -10px rgb(15 23 42 / 0.4);
  font-size: 13.5px;
  color: var(--slate-800);
  white-space: nowrap;
  animation: gpPop 0.2s var(--ease);
}

.gp-editor::after { content: ''; width: 1.5px; height: 16px; margin-left: 1px; background: var(--blue-600); animation: gpCaret 1s steps(1) infinite; }
.gp-editor--select::after { display: none; }

@keyframes gpCaret { 50% { opacity: 0; } }

.gp-menu {
  position: absolute;
  z-index: 6;
  padding: 4px;
  border-radius: var(--r-control);
  background: #fff;
  box-shadow: var(--shadow-overlay), 0 0 0 1px rgb(15 23 42 / 0.06);
  font-size: 13.5px;
  animation: gpFade 0.25s var(--ease);
}

.gp-menu div { padding: 6px 10px; border-radius: 8px; color: var(--slate-700); white-space: nowrap; }
.gp-menu div.is-empty { color: var(--slate-400); }
.gp-menu div.is-hover { background: var(--blue-50); color: var(--blue-700); }

.gp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gp-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--slate-500); }
.gp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.gp-legend em { font-style: normal; font-weight: 700; color: var(--red-500); }
.gp-dot { width: 10px; height: 10px; border-radius: 3px; }
.gp-dot--amber { background: var(--amber-400); }
.gp-dot--red { background: var(--red-500); }

.gp-finish { display: flex; align-items: center; gap: 12px; }
.gp-finished { display: none; align-items: center; gap: 6px; font-size: 14px; color: var(--slate-500); white-space: nowrap; }
.gp-finished i { font-size: 20px; color: var(--emerald-600); }
.gp-finished.is-on { display: inline-flex; animation: gpFade 0.5s var(--ease); }

/* 4. Befejezés: megerősítés és értesítés a recepciónak */
.gp-modal {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  background: rgb(15 23 42 / 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0s linear 0.35s;
}

.gp-modal.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s; }

.gp-modal__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: 480px;
  padding: 24px;
  border-radius: var(--r-3xl);
  background: #fff;
  box-shadow: var(--shadow-overlay);
  scale: 0.94;
  transition: scale 0.4s var(--ease);
}

.gp-modal.is-on .gp-modal__card { scale: 1; }

.gp-modal__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 20px;
}

.gp-modal__card b { display: block; margin-top: 2px; font-size: 16px; color: var(--slate-900); }
.gp-modal__card p { margin-top: 6px; font-size: 14px; color: var(--slate-500); }
.gp-modal__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

.gp-desk {
  position: absolute;
  top: 84px;
  right: 24px;
  z-index: 9;
  width: 360px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-float), 0 0 0 1px rgb(15 23 42 / 0.06);
  opacity: 0;
  translate: 48px 0;
  transition: opacity 0.5s var(--ease), translate 0.7s var(--ease);
}

.gp-desk.is-on { opacity: 1; translate: 0 0; }
.gp-desk__head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--slate-500); }
.gp-desk__head svg { width: 16px; height: 18px; color: var(--blue-700); }
.gp-desk__head b { font-size: 13px; color: var(--slate-800); }
.gp-desk__head span { margin-left: auto; }
.gp-desk__title { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--slate-900); }
.gp-desk__line { display: flex; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--slate-600); }
.gp-desk__line i { flex: none; font-size: 17px; color: var(--emerald-600); }
.gp-desk__prog { margin-top: 12px; }
.gp-desk__prog span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--slate-600); }
.gp-desk__note { margin-top: 10px; font-size: 12px; color: var(--slate-500); }

/* Bemutató egérmutató */
.gp-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 26px;
  height: 26px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 3px 5px rgb(15 23 42 / 0.35));
  transition: translate 0.8s cubic-bezier(0.45, 0.05, 0.25, 1), opacity 0.3s;
}

.gp-cursor.is-on { opacity: 1; }
.gp-cursor svg { width: 100%; height: 100%; fill: var(--slate-900); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; transform-origin: 5px 3px; transition: scale 0.15s; }
.gp-cursor.is-down svg { scale: 0.82; }

.gp-cursor::after {
  content: '';
  position: absolute;
  left: -11px;
  top: -13px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgb(37 99 235 / 0.3);
  opacity: 0;
}

.gp-cursor.is-down::after { animation: gpRipple 0.5s ease-out; }

@keyframes gpRipple {
  from { opacity: 1; scale: 0.2; }
  to { opacity: 0; scale: 1.4; }
}

/* Keskenyebb vászon (tablet, telefon) */
@container (max-width: 1060px) {
  .gp-hide-md { display: none !important; }
}

@container (max-width: 940px) {
  .gp-login { grid-template-columns: minmax(0, 1fr); }
  .gp-login__photo { display: none; }
  .gp-login__form { padding: 40px max(48px, calc(50% - 230px)); }
  .gp-imp-grid { grid-template-columns: minmax(0, 1fr); }
  .gp-side > .gp-card:first-child { display: none; }
  .gp-sheet tbody tr:nth-child(n + 4) { display: none; }
  .gp-rooms-mode { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gp-room-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-room:nth-child(3) { display: none; }
  .gp-sum { grid-template-columns: minmax(0, 1fr); }
  .gp-sum__until { justify-content: flex-start; }
  .gp-hide-sm,
  .gp-legend,
  .gp-head__who { display: none !important; }
}

/* Galéria: kicsi, élő táblázat */
.hl-card--portal { background: linear-gradient(180deg, #f6f9fc 0%, #e6edf6 100%); }
.hl-card--portal .hl-card__visual { inset-inline: clamp(16px, 4vw, 48px); }

.hl-portal {
  width: 100%;
  max-height: 100%;
  padding: 18px 18px 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -10px 60px -24px rgb(15 23 42 / 0.3), 0 0 0 1px rgb(15 23 42 / 0.05);
  overflow: hidden;
  font-size: 14px;
  color: var(--slate-700);
}

.hl-portal__prog { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; margin-bottom: 14px; }
.hl-portal__prog b { font-weight: 600; white-space: nowrap; }
.hl-portal__prog .gp-bar { grid-column: 1 / -1; }
.hl-portal .gp-grid { border-bottom: 0; border-radius: 14px 14px 0 0; }

/* Okmányolvasó: széles kártya */
.card-xl.card-xl--wide { flex-direction: row; margin-top: clamp(48px, 6vw, 80px); }
.card-xl--wide .scan { flex: 0 0 52%; min-height: 360px; }
.card-xl--wide .card-xl__copy { align-self: center; padding: 40px clamp(28px, 4vw, 56px); }

.trio--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }

.card-xl {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.card-xl__copy { padding: 30px 34px 36px; }
.card-xl__copy h3 { margin-bottom: 10px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; color: var(--ink); }
.card-xl__copy p { font-size: 16px; color: var(--slate-500); }

/* Az okmányolvasó két eszköze a kártya szövege alatt */
.scan-options { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.scan-options li { display: flex; align-items: flex-start; gap: 14px; }

/* inline-flex: a kéttónusú ikon két rétege így egymásra kerül, nem egymás alá */
.scan-options i {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 22px;
}

.scan-options b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.scan-options span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--slate-500); }

.scan {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 380px;
  padding: 32px 24px;
  background: linear-gradient(180deg, #eef3f9 0%, #e1e9f3 100%);
}

.scan__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--emerald-200);
  background: #fff;
  color: var(--emerald-700);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.idcard {
  position: relative;
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 14px;
  width: min(340px, 100%);
  aspect-ratio: 85.6 / 54;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #eaf1fa 50%, #dbe6f4 100%);
  box-shadow: 0 24px 44px -20px rgb(15 23 42 / 0.4), inset 0 0 0 1px rgb(255 255 255 / 0.9);
  overflow: hidden;
}

.idcard__photo {
  display: grid;
  place-items: end center;
  border-radius: 8px;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  color: #e2e8f0;
  font-size: 64px;
  overflow: hidden;
}

.idcard__photo i { translate: 0 10px; }

.idcard__lines { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.idcard__title { font-size: 7.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--blue-800); }
.idcard__lines span[style] { display: block; width: var(--w); height: 7px; border-radius: 4px; background: var(--slate-300); }

.idcard__mrz {
  margin-top: auto;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
}

.scan__beam {
  position: absolute;
  inset-inline: 0;
  top: -50px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgb(16 185 129 / 0.18) 70%, rgb(16 185 129 / 0.9) 97%, transparent);
  animation: beam 3.2s ease-in-out infinite;
}

@keyframes beam {
  0% { top: -50px; }
  55%, 100% { top: 100%; }
}

.scan__result {
  width: min(340px, 100%);
  padding: 4px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.scan__result div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
  animation: fieldIn 3.2s ease-in-out infinite;
}

.scan__result div:nth-child(2) { animation-delay: 0.15s; }
.scan__result div:nth-child(3) { animation-delay: 0.3s; border-bottom: 0; }
.scan__result span { color: var(--slate-500); }
.scan__result b { color: var(--slate-800); font-weight: 600; }

@keyframes fieldIn {
  0%, 30% { opacity: 0.25; }
  45%, 92% { opacity: 1; }
  100% { opacity: 0.25; }
}

/* ---------- Pénzügy ---------- */

.invoice {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-float);
  font-size: 14px;
}

.invoice__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--slate-200);
}

.invoice__no { display: block; margin-top: 4px; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

.invoice__party {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.invoice__party span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
.invoice__party b { display: block; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.invoice__party em { display: block; font-style: normal; font-size: 13px; color: var(--slate-500); }

.currency-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-control);
  background: var(--slate-100);
}

.currency-toggle button {
  padding: 6px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.currency-toggle button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(15 23 42 / 0.12); }

.invoice__items { width: 100%; border-collapse: collapse; }

.invoice__items th {
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.invoice__items td { padding: 12px 0; border-bottom: 1px solid var(--slate-100); color: var(--slate-700); }
.invoice__items td:nth-child(2) { padding-inline: 12px; color: var(--slate-500); white-space: nowrap; }
.invoice__items th:last-child,
.invoice__items td:last-child { text-align: right; }
.invoice__items td:last-child { font-weight: 600; color: var(--slate-800); font-variant-numeric: tabular-nums; white-space: nowrap; }

[data-huf] { transition: opacity 0.25s, translate 0.25s var(--ease); }
[data-huf].flip { opacity: 0; translate: 0 -6px; }

.invoice__total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 10px; }
.invoice__total span { font-size: 15px; font-weight: 600; color: var(--slate-500); }
.invoice__total strong { font-size: 32px; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }

.invoice__via {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  font-size: 12px;
  color: var(--slate-500);
}

.via { padding: 4px 10px; border-radius: 999px; background: var(--slate-100); color: var(--slate-700); font-weight: 600; }
.invoice__rate { margin-left: auto; font-variant-numeric: tabular-nums; }

.feature-list { margin: 30px 0 0; padding: 0; list-style: none; }

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-700);
}

.feature-list li:first-child { border-top: 1px solid var(--line); }
.feature-list i { flex: none; font-size: 26px; color: var(--blue-600); }

/* ---------- NTAK ---------- */

.logos { display: flex; align-items: center; gap: 32px; margin-top: 34px; }
.logos img { height: 46px; width: auto; }

.feed {
  padding: 22px;
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-float);
}

.feed__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 16px; }
.feed__head strong { font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }

.feed__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 330px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-card);
  border: 1px solid var(--slate-100);
  background: var(--slate-50);
  animation: rowIn 0.6s var(--ease) both;
}

@keyframes rowIn {
  from { opacity: 0; translate: 0 -14px; scale: 0.98; }
}

.feed-row__logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-control);
  border: 1px solid var(--line);
  background: #fff;
}

.feed-row__logo img { width: 30px; height: auto; }
.feed-row__title { display: block; font-size: 14px; font-weight: 600; color: var(--slate-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row__meta { display: block; font-size: 12px; color: var(--slate-500); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.status .hex-loader { width: 12px; height: 12px; color: var(--amber-600); }
.status--wait { background: var(--amber-50); border: 1px solid var(--amber-200); color: var(--amber-700); }
.status--ok { background: var(--emerald-50); border: 1px solid var(--emerald-200); color: var(--emerald-700); }

.feed__cert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--amber-200);
  background: var(--amber-50);
}

.feed__cert i { font-size: 30px; color: var(--amber-600); }
.feed__cert b { display: block; font-size: 14px; color: var(--slate-800); }
.feed__cert span { display: block; font-size: 13px; color: var(--amber-800); }

/* ---------- Paletták ---------- */

.palette-demo {
  margin-top: clamp(48px, 6vw, 72px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.palette-demo__picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--slate-100);
}

.pal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 36px;
  padding: 0 14px 0 6px;
  border: 0;
  border-radius: 999px;
  background: var(--slate-50);
  box-shadow: inset 0 0 0 1px var(--slate-200);
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.pal:hover { background: #fff; }
.pal[aria-checked='true'] { background: var(--blue-50); color: var(--blue-700); box-shadow: inset 0 0 0 1.5px var(--blue-500); }

.pal__sw {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 40px;
  height: 24px;
  flex: none;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(15 23 42 / 0.08);
}

.palette-demo__stage {
  --g-bg: var(--slate-100);
  padding: clamp(18px, 3vw, 32px);
  background: var(--g-bg);
  transition: background-color 0.5s;
}

.pstage__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pstage__head .logo-mark { color: var(--g-primary, var(--blue-700)); transition: color 0.5s; }
.pstage__title { font-size: 22px; font-weight: 700; letter-spacing: -0.035em; color: var(--g-text, var(--ink)); transition: color 0.5s; }

.pstage__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  margin-left: auto;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--g-primary, var(--blue-600));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.5s;
}

.mini-grid--palette .roomgrid { --room-col: 110px; box-shadow: var(--shadow-card); }
.hl-card--grid .roomgrid { --row-h: 46px; }
.mini-grid--palette .rg-rooms span.t { display: inline; }
.mini-grid--palette .rg-day,
.mini-grid--palette .rg-cols span,
.mini-grid--palette .rg-rooms > div { transition: background-color 0.5s, color 0.5s, border-color 0.5s; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(56px, 7vw, 96px);
}

.stat { text-align: center; }

.stat strong {
  display: block;
  font-size: clamp(52px, 6.4vw, 88px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat span { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--slate-500); }

/* ---------- Modulok ---------- */

.modules {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
}

.module {
  padding: 24px;
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: #fff;
  transition: translate 0.35s var(--ease), box-shadow 0.35s;
}

.module:hover { translate: 0 -4px; box-shadow: 0 24px 48px -24px rgb(15 23 42 / 0.25); }
.module i { font-size: 30px; color: var(--blue-600); }
.module h3 { margin: 14px 0 4px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.module p { font-size: 14px; color: var(--slate-500); }

/* További funkciók: apró betűs, csoportosított felsorolás a csempék alatt */
.more {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--slate-200);
}

.more__title {
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.more__grid { columns: 4 140px; column-gap: clamp(24px, 4vw, 48px); }
.more__group { break-inside: avoid; padding-bottom: clamp(24px, 3vw, 32px); }

.more__group h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.more__group ul { margin: 0; padding: 0; list-style: none; }
.more__group li { padding: 3px 0; font-size: 14px; line-height: 1.4; color: var(--slate-600); }
.more__group li span { white-space: nowrap; }

/* ---------- Biztonság ---------- */

.secure { display: flex; flex-direction: column; gap: 18px; }

.totp {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  border-radius: var(--r-3xl);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-float);
}

.totp .overline { color: var(--slate-400); }

.totp__ring { position: relative; width: 64px; height: 64px; flex: none; }
.totp__ring svg { rotate: -90deg; }
.totp__ring circle { fill: none; stroke-width: 3.5; }
.totp__track { stroke: rgb(148 163 184 / 0.22); }
.totp__arc { stroke: var(--blue-400); stroke-linecap: round; stroke-dasharray: 100; transition: stroke-dashoffset 1s linear; }
.totp__ring i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: var(--blue-400); }

.totp__code {
  margin-top: 2px;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  transition: opacity 0.3s, translate 0.3s var(--ease);
}

.totp__code.flip { opacity: 0; translate: 0 -8px; }

.approve {
  padding: 30px;
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-float);
  text-align: center;
}

.approve__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: var(--r-card);
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 30px;
}

.approve h3 { font-size: 20px; letter-spacing: -0.025em; color: var(--ink); }
.approve p { margin-top: 6px; font-size: 15px; color: var(--slate-500); }

.approve__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 20px;
  font-size: 13px;
  color: var(--slate-500);
}

.approve__meta span { display: inline-flex; align-items: center; gap: 5px; }
.approve__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.abtn {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: var(--r-control);
  font-size: 15px;
  font-weight: 600;
}

.abtn--ghost { border: 1px solid var(--slate-200); color: var(--slate-700); }
.abtn--primary { background: var(--blue-600); color: #fff; }

/* ---------- Átállás ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 30px;
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: #fff;
}

/* Hatszög számjelvény, a logó formájára */
.step__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 54px;
  background: linear-gradient(160deg, var(--blue-500), var(--blue-700));
  clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.step h3 { margin: 18px 0 6px; font-size: 20px; letter-spacing: -0.025em; color: var(--ink); }
.step p { font-size: 15px; color: var(--slate-500); }

/* ---------- Záró CTA ---------- */

.cta {
  position: relative;
  padding: clamp(120px, 15vw, 210px) 0;
  /* Az Ajánlatot kérek gombok ugrása átlépi a díszítő felső térközt, így az űrlap eleje is látszik */
  scroll-margin-top: calc(40px - clamp(120px, 15vw, 210px));
  background: radial-gradient(ellipse 70% 60% at 50% 100%, var(--blue-50) 0%, #fff 70%);
  overflow: hidden;
}

.cta__mark {
  width: 56px;
  height: 63px;
  margin: 0 auto 30px;
  color: var(--blue-700);
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty { 50% { translate: 0 -10px; } }

.display--cta { font-size: clamp(40px, 7vw, 92px); }
.cta .lead { margin-top: 24px; }

/* ---------- Árajánlatkérő űrlap ---------- */
.quote {
  max-width: 920px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-float);
  text-align: left;
}

.quote__block { min-width: 0; margin: 0; padding: 0; border: 0; }
.quote__block + .quote__block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--slate-100); }

/* A legend lebegtetve a többi tartalommal együtt folyik, így a margói a megszokott módon működnek */
.quote__title {
  display: flex;
  float: left;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.quote__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 14px;
}

.quote__count {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color 0.25s, color 0.25s;
}

.quote__count.is-on { background: var(--blue-50); color: var(--blue-700); }
.quote__title + * { clear: both; }
.quote__sub { margin: -6px 0 18px; font-size: 15px; color: var(--slate-500); }
.quote__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 600; color: var(--slate-700); }
.field__label em,
.quote em { font-style: normal; color: var(--red-500); }

.field__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--slate-300);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__input::placeholder { color: var(--slate-400); }
.field__input:hover { border-color: var(--slate-400); }
.field__input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(59 130 246 / 0.15); }
.field__input--area { height: auto; min-height: 112px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field__hint { font-size: 13px; color: var(--slate-500); }
.field__error { min-height: 0; font-size: 13px; font-weight: 500; color: #dc2626; }
.field__error:empty { display: none; }
.field.is-invalid .field__input { border-color: var(--red-500); box-shadow: 0 0 0 4px rgb(239 68 68 / 0.12); }

/* Funkciócsempék: a natív jelölőnégyzet rejtett, de fókuszálható; kijelölve kék keret és pipa */
.quote__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; }

.opt input,
.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  opacity: 0;
  pointer-events: none;
}

.opt__box {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.opt__box:hover { border-color: var(--slate-300); }

.opt__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 22px;
  transition: background-color 0.2s, color 0.2s;
}

.opt__text { flex: 1; min-width: 0; }
.opt__text b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.3; }
.opt__text small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--slate-500); }
.opt__text small span { white-space: nowrap; }

.opt__check,
.consent__box {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--slate-300);
  border-radius: 50%;
  background: #fff;
  color: #fff;
  font-size: 12px;
  transition: background-color 0.2s, border-color 0.2s;
}

.opt__check i,
.consent__box i { opacity: 0; scale: 0.5; transition: opacity 0.2s, scale 0.25s var(--ease); }
.opt input:checked + .opt__box { border-color: var(--blue-500); background: var(--blue-50); }
.opt input:checked + .opt__box .opt__icon { background: #fff; color: var(--blue-600); }
.opt input:checked + .opt__box .opt__check { border-color: var(--blue-600); background: var(--blue-600); }

.opt input:checked + .opt__box .opt__check i,
.consent input:checked + .consent__box i { opacity: 1; scale: 1; }

.opt input:focus-visible + .opt__box,
.consent input:focus-visible + .consent__box { outline: 2px solid var(--blue-500); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; font-size: 15px; color: var(--slate-600); cursor: pointer; }
.consent__box { margin-top: 1px; border-radius: 7px; }
.consent input:checked + .consent__box { border-color: var(--blue-600); background: var(--blue-600); }
.consent a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.consent.is-invalid .consent__box { border-color: var(--red-500); box-shadow: 0 0 0 4px rgb(239 68 68 / 0.12); }
.consent__error { display: block; margin: 8px 0 0 34px; }

.quote__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-100);
}

.quote__note { font-size: 13px; color: var(--slate-500); }
.quote__submit { gap: 10px; border: 0; font-family: inherit; cursor: pointer; }
.quote__submit.is-busy { pointer-events: none; opacity: 0.75; }
.quote__submit i { display: inline-block; }
.quote__submit.is-busy i { animation: gpSpin 0.8s linear infinite; }
.quote__status { margin-top: 14px; font-size: 14px; font-weight: 500; color: #b45309; text-align: right; }
.quote__status:empty { display: none; }

.quote--done { text-align: center; }
.quote-done__icon { display: block; font-size: 56px; line-height: 1; color: var(--emerald-500); }
.quote--done h3 { margin: 14px 0 6px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.quote--done p { font-size: 16px; color: var(--slate-500); }

/* ---------- Globális lábléc (minden oldalon azonos) ---------- */

.gfooter {
  padding: 22px 0 28px;
  background: #f5f5f7;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: #6e6e73;
}

.gfooter__inner {
  width: min(1024px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.gfooter a { color: #424245; text-decoration: none; }
.gfooter a:hover { color: var(--ink); text-decoration: underline; }

.gfooter__note {
  padding-bottom: 14px;
  border-bottom: 1px solid #d2d2d7;
}

.gfooter__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 6px;
  color: #424245;
}

.gfooter__crumbs a { display: grid; place-items: center; }
.gfooter__crumbs .logo-mark { width: 15px; height: 17px; color: #424245; }
.gfooter__crumbs > i { font-size: 10px; color: #86868b; }

.gfooter__cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 0 30px;
}

.gfooter__cols h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
}

.gfooter__cols ul { margin: 0; padding: 0; list-style: none; }
.gfooter__cols li { margin-bottom: 9px; }

.gfooter__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  border-top: 1px solid #d2d2d7;
}

.gfooter__made { display: inline-flex; align-items: center; gap: 8px; color: #424245; }

/* Piros-fehér-zöld zászlócska */
.hu-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ce2939 0 33.4%, #fff 33.4% 66.6%, #477050 66.6% 100%);
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18);
}

@media (max-width: 833px) {
  .gfooter__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
  .gfooter__cols > :last-child { grid-column: 1 / -1; }
}

/* ---------- Reszponzív ---------- */

@media (max-width: 1060px) {
  #szobatukor .app__qbtn--opt,
  #szobatukor .app__nav-item:nth-of-type(n + 5) { display: none; }

  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: rgb(255 255 255 / 0.96);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgb(15 23 42 / 0.08);
    opacity: 0;
    translate: 0 -8px;
    pointer-events: none;
    transition: opacity 0.25s, translate 0.25s var(--ease);
  }

  .nav__links a { padding: 12px 0; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--slate-100); }
  .nav.is-open .nav__links { opacity: 1; translate: 0 0; pointer-events: auto; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: grid; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--rev { grid-column: span 2; order: -1; }
  .tile--occ { order: -2; }

  .split,
  .split-head { grid-template-columns: minmax(0, 1fr); }

  .split--reverse .split__copy { order: -1; }
  .skills,
  .trio { grid-template-columns: 1fr; }
  .trio--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-xl.card-xl--wide { flex-direction: column; }
  .card-xl--wide .scan { flex: none; }
  .card-xl--wide .card-xl__copy { padding: 30px 34px 36px; }
  .modules { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .palette-demo__picker {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }

  .hero__stage { aspect-ratio: 4 / 5; border-radius: 24px; }
  .hero__img { object-position: 50% 50%; }
  .chip { font-size: 12px; padding: 5px 10px 5px 5px; }
  .chip__num { font-size: 11px; padding: 2px 6px; }
  .chip--wide { min-width: 160px; padding: 10px 12px; }
  .chip--a { left: 5%; top: 18%; }
  .chip--b,
  .chip--e { display: none; }
  .chip--c { right: 5%; top: 5%; }
  .chip--d { right: 4%; top: auto; bottom: 8%; }

  #szobatukor .app__nav-item:not(.is-active),
  #szobatukor .app__quick { display: none; }
  #szobatukor .app__user { margin-left: auto; }
  #szobatukor .sl-bar { padding: 12px 14px 10px; }
  #szobatukor .sl-ibtn--star,
  #szobatukor .sl-tbtn--week { display: none; }
  #szobatukor .sl-toolbar { right: 10px; gap: 2px; padding: 3px; }
  #szobatukor .sl-toolbar span { width: 34px; height: 34px; font-size: 20px; }

  .hl-card { border-radius: 24px; }
  .hl-card--grid .roomgrid,
  .mini-grid--palette .roomgrid { --room-col: 56px; }
  .mini-grid--palette .rg-rooms span.t { display: none; }
  .gallery__track { gap: 12px; }
  .device-laptop { width: 88%; margin-right: 12%; }
  .device-phone { right: 0; bottom: 14px; width: 42%; }
  .hl-hk { align-items: flex-start; }
  .hl-hk .hk-laptop { width: 100%; margin: 4px 0 0; }
  .hl-hk .hk-phone { width: 40%; }
  .hl-hk .hk-phone--a { right: 44%; bottom: 12px; }
  .hl-hk .hk-phone--b { right: 2%; bottom: 26px; }
  .hk-tag { display: none; }
  .hl-ga { --pw: 44%; }
  .hl-ga .ga-phone--ios { left: calc(50% - var(--pw) - 6px); bottom: 34px; }
  .hl-ga .ga-phone--android { left: calc(50% + 6px); bottom: 12px; }

  .bento { grid-template-columns: 1fr; }
  .tile--rev { grid-column: auto; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .module h3 { overflow-wrap: anywhere; }
  .module { padding: 20px; }
  .steps { grid-template-columns: 1fr; }
  .trio--four,
  .trio--six { grid-template-columns: minmax(0, 1fr); }
  .quote__grid,
  .quote__options { grid-template-columns: minmax(0, 1fr); }
  .quote { padding: 22px 16px; border-radius: 22px; }
  .opt__box { gap: 10px; padding: 12px; }
  .opt__icon { width: 36px; height: 36px; font-size: 20px; }
  .quote__foot { flex-direction: column-reverse; align-items: stretch; }
  .quote__submit { justify-content: center; }
  .quote__status { text-align: center; }
  .quote__count { font-size: 11px; }
  .more__grid { column-gap: 20px; }
  .more__group li { font-size: 13px; text-wrap: pretty; }
  .portal__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pstep { gap: 10px; padding: 12px 12px 16px; }
  .pstep__bar { left: 12px; right: 12px; bottom: 7px; }
  .pstep__t b { font-size: 14px; }
  .pstep__t small { display: none; }
  .hl-portal { padding: 14px 14px 0; }
  .hl-portal__prog [data-roster='save'] { display: none; }
  .band span { display: none; }
  .slider__ticks span:nth-child(4) { display: none; }
  .report__row { grid-template-columns: 96px 1fr 44px; }
  .chat__body { min-height: 440px; padding: 18px 14px; }
  .msg { max-width: 92%; }
  .logos img { height: 36px; }
}

@media (max-width: 760px) {
  /* A sávok itt egyenlő szélesek, ezért a csúszka jelölői nem esnek egybe velük: elrejtjük őket */
  .slider__ticks { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] { opacity: 1; translate: none; scale: none; }
  .hero__stage,
  .hero__img { scale: 1; }
}

/* ==========================================================================
   October-téma kiegészítései: hírlevél, űrlap-visszajelzés, kampányfejléc, EU-tájékoztató
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hírlevél a láblécben ---------- */

.gfooter__news {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 40px;
  padding: 20px 0;
  border-bottom: 1px solid #d2d2d7;
}

.gfooter__news h3 { margin: 0 0 2px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #1d1d1f; }
.gfooter__news p { font-size: 12px; }
.gfooter__form { position: relative; display: flex; flex: 0 1 380px; gap: 8px; min-width: 0; }

.gfooter__form input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.gfooter__form input[type='email']:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgb(59 130 246 / 0.15); }

.gfooter__form button {
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #1d1d1f;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.gfooter__form button:hover { background: #424245; }
.gfooter--slim .gfooter__legal { border-top: 0; }

/* ---------- Szerveroldali űrlap-visszajelzés (Magic Forms) ---------- */

.alert { position: relative; margin-bottom: 24px; padding: 14px 44px 14px 18px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.alert-danger { background: #fef2f2; color: #b91c1c; }
.alert-success { background: #ecfdf5; color: #047857; }
.alert h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: inherit; }
.alert p { margin: 0; color: inherit; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert .close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; color: inherit; cursor: pointer; }

select.field__input {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2364748b'%3E%3Cpath d='M216.5 104.5l-80 80a12 12 0 0 1-17 0l-80-80a12 12 0 0 1 17-17L128 159l71.5-71.5a12 12 0 0 1 17 17z'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
}

.quote__submit:disabled { opacity: 0.7; cursor: progress; }
.quote__submit.is-busy i { animation: hk-spin 0.9s linear infinite; }

/* ---------- Kampányoldal fejléce: logó és telefonszám ---------- */

.gnav--slim .gnav__inner { justify-content: space-between; }
.gnav--slim .gnav__logo { display: flex; align-items: center; }

.gnav__call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-800);
  text-decoration: none;
}

.gnav__call:hover { color: var(--blue-600); }

/* ---------- EU-tájékoztató a főoldalon ---------- */

.dimop { display: block; background: #fff; }
.dimop img { display: block; width: 100%; height: auto; }

@media (min-width: 992px) {
  .dimop { position: fixed; bottom: 0; left: 80px; z-index: 1000; width: 300px; }
  .home .gfooter { padding-bottom: 116px; } /* a lebegő tájékoztató ne takarja a jogi sort */
}

@media (max-width: 600px) {
  .gfooter__form { flex-basis: 100%; }
}
