/* =============================================================
   TTenergy — Main Stylesheet
   Importálja: tokens.css
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Khand:wght@700&display=swap');

/* =============================================================
   BETÖLTŐ KÉPERNYŐ
   ============================================================= */

#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #080d14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.loader__flash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, #ffffff 0%, rgba(0,170,255,0.35) 45%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}

.loader__center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.loader__logo {
  width: min(380px, 52vw);
  display: block;
  filter: grayscale(1) brightness(0.22);
}

.loader__progress-wrap {
  width: min(380px, 52vw);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.loader__progress-track {
  width: 100%;
  height: 2px;
  background: rgba(0, 170, 255, 0.12);
  border-radius: 1px;
  overflow: hidden;
}

.loader__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0066ff 0%, #00aaff 60%, #80ddff 100%);
  box-shadow: 0 0 10px #00aaff, 0 0 24px rgba(0,170,255,0.5);
  border-radius: 1px;
}

.loader__progress-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(0, 170, 255, 0.7);
  opacity: 0;
}


/* ── Utility ─────────────────────────────────────────────────── */
.text-primary { color: var(--c-primary); }

/* ── Scroll layer stacking (footer slides under content) ─────── */
/* Footer z-index: 0 (sticky), minden szekció felette: z-index: 1  */
.hero,
.services,
.usp,
.references,
.promo-image,
.faq,
.cta,
.marquee-divider {
  position: relative;
  z-index: 1;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Noise overlay (teljes oldal, fixed, pointer-events: none) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  background-repeat: repeat;
}
body {
  font-family: var(--font-body);
  color: var(--c-text-body);
  background: var(--c-dark);
  -webkit-font-smoothing: antialiased;
}


/* =============================================================
   KOMPONENSEK
   ============================================================= */

/* ── Buttons ─────────────────────────────────────────────────── */
/* ── Lightning bolt hover animáció – csak a főbb CTA gombokra ── */
@keyframes btn-strike {
  0%   { transform: translateX(-160%) skewX(-18deg); }
  100% { transform: translateX(280%)  skewX(-18deg); }
}
@keyframes btn-glow-primary {
  0%   { box-shadow: 0 0 0px rgba(0,170,255,0); }
  18%  { box-shadow: 0 0 22px rgba(0,170,255,0.9), 0 0 50px rgba(0,170,255,0.4); }
  100% { box-shadow: 0 0 8px  rgba(0,170,255,0.25); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-btn);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--btn-py) var(--btn-px);
  border: none;
  border-radius: var(--r-btn);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast), opacity var(--t-fast);
}

/* Villám streak – csak nagy primary CTA gombra */
.btn--primary:not(.btn--sm)::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 0;
  width: 45%;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 15%,
    rgba(255,255,255,0.55) 48%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.55) 52%,
    rgba(255,255,255,0.08) 85%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
  z-index: 1;
}
.btn--primary:not(.btn--sm) {
  position: relative;
  overflow: hidden;
}
.btn--primary:not(.btn--sm):hover::before {
  animation: btn-strike 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Primary – kék */
.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
}
.btn--primary:not(.btn--sm):hover {
  background: var(--c-primary-hover);
  animation: btn-glow-primary 0.55s ease forwards;
}
.btn--primary.btn--sm:hover { background: var(--c-primary-hover); }

/* Dark – sötét */
.btn--dark {
  background: var(--c-text-heading);
  color: var(--c-white);
}
.btn--dark:hover { background: #222222; }

/* Small – navigációs méret (150×33) */
.btn--sm {
  padding: var(--btn-py-sm) var(--btn-px-sm);
}


/* ── Ghost link ("Secondary ghost") ─────────────────────────── */
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-white);
  transition: gap var(--t-med), color var(--t-fast);
}
.ghost-link:hover {
  gap: 14px;
  color: var(--c-primary);
}
.ghost-link .arrow {
  display: inline-block;
  transition: transform var(--t-med);
}
.ghost-link:hover .arrow { transform: translateX(4px); }


/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-badge);
  font-weight: 400;
  color: var(--c-white);
  background: var(--c-primary-dark);
  padding: 4px 10px 3px;
  border-radius: var(--r-badge);
  line-height: 1.2;
}


/* ── Bento Card ──────────────────────────────────────────────── */
/*
  Használat: <article class="bento-card" style="--bg: url(img/x.webp)">
  Default: csak cím látható, gradient overlay.
  Hover:   alcím + link megjelenik, teljes sötét overlay + kép zoom.
*/
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--card-py) var(--card-px);
  background-color: #111827;
  cursor: pointer;
}

/* Képréteg – zoom animációhoz */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform var(--t-slow);
}
.bento-card:hover::after {
  transform: scale(1.05);
}

/* Overlay – alapból alulról sötétedő gradient, hoverre tömör */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.30) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
  transition: background var(--t-med);
}
.bento-card:hover::before {
  background: rgba(0, 0, 0, 0.62);
}

.bento-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.bento-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-card);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--c-white);
  text-transform: uppercase;
}

/* Reveal wrapper – CSS grid trick: 0fr → 1fr animálja a magasságot */
.bento-card__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med);
}
.bento-card__reveal-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--gap-card-body);
  padding-top: calc(var(--gap-card-body) / 2);
  opacity: 0;
  transition: opacity var(--t-med);
}
.bento-card:hover .bento-card__reveal {
  grid-template-rows: 1fr;
}
.bento-card:hover .bento-card__reveal-inner {
  opacity: 1;
}

.bento-card__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-text-subtle);
}

/* Placeholder szín ha nincs kép */
.bento-card--placeholder-1 { background-color: #0d1420; }
.bento-card--placeholder-2 { background-color: #111827; }
.bento-card--placeholder-3 { background-color: #0a1628; }
.bento-card--placeholder-4 { background-color: #141c2e; }
.bento-card--placeholder-5 { background-color: #0f1923; }


/* ── Reference Card ──────────────────────────────────────────── */
.ref-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 621 / 352;
  background: #c8c8c8;
  cursor: pointer;

  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
}

.ref-card__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #c0c0c0 0%, #d8d8d8 100%);
  transition: transform var(--t-slow);
}
.ref-card:hover .ref-card__placeholder { transform: scale(1.04); }

.ref-card .badge {
  position: absolute;
  top: 18px;
  left: 16px;
  z-index: 1;
}


/* =============================================================
   HEADER
   ============================================================= */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 71px;
  padding: 19px clamp(30px, 15.6vw, 300px);
  display: flex;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.header__logo {
  flex-shrink: 0;
  margin-right: auto;
}
.header__logo img {
  height: 48px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--gap-nav);
  margin-right: clamp(24px, 5vw, 80px);
}

.header__nav a {
  font-family: var(--font-heading);
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1;
  color: var(--c-white);
  transition: color var(--t-fast);
}
.header__nav a:hover { color: var(--c-primary); }


/* =============================================================
   HERO
   ============================================================= */

.hero {
  position: relative;
  height: 80vh;
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Hero háttér videó */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Sötét gradient overlay — csak a bal 60% */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.72) 30%,
    rgba(0,0,0,0.35) 52%,
    transparent 62%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 710px;
}


/* Hero enter animáció — elemek kezdetben láthatatlanok */
.hero__title,
.hero__subtitle,
.hero__cta {
  opacity: 0;
  transform: translateY(32px);
}

.hero--animate .hero__title {
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}
.hero--animate .hero__subtitle {
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}
.hero--animate .hero__cta {
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.34s forwards;
}

/* Hero háttérkép lassú zoom */
.hero--animate .hero__video {
  animation: hero-bg-zoom 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-bg-zoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--c-white);
  text-transform: uppercase;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-text-light);
  margin-bottom: 6px;
}

.hero__cta {
  margin-top: 10px;
  display: flex;
  gap: var(--gap-btns);
  flex-wrap: wrap;
}

/* Fehér ghost gomb — hero másodlagos CTA */
.btn--white {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--c-white);
}


/* =============================================================
   SERVICES (kártyák szekció)
   ============================================================= */

.services {
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
}

.services__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.services__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--c-text-heading);
  text-transform: uppercase;
  max-width: 1030px;
}

.services__body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-text-body);
  max-width: 1135px;
}

/* 2 col bento grid */
.services__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cards);
}

.services__cards .bento-card {
  height: 665px;
}


/* =============================================================
   USP – sötét szekció  (trustly-stílusú kártyák)
   ============================================================= */

.usp {
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
}

.usp__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--c-white);
  text-transform: uppercase;
  max-width: 1140px;
}

.usp__grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap-cards);
}

/* Sor 1: 2× egyenlő (Figma: 2× 752px) */
.usp__row--large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cards);
}

/* Sor 2: 3 egyenlő */
.usp__row--small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-cards);
}

/* ── USP Card (szöveg felül, körös arrow lent) ─────────────── */
.usp-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px var(--card-px) 32px;
  cursor: pointer;
  min-height: 411px;
}

.usp__row--small .usp-card {
  min-height: 275px;
}

/* Kép réteg */
.usp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 0;
  transition: transform var(--t-slow), opacity var(--t-med);
}
.usp-card:hover::after {
  transform: scale(1.05);
  opacity: 0.32;
}

/* Gradient overlay */
.usp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}

.usp-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 82%;
}

.usp-card__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, var(--fs-card));
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-white);
  text-transform: uppercase;
}

/* Kiemelt kártya (széles, árazás) */
.usp-card--highlight .usp-card__title {
  font-size: clamp(26px, 2.4vw, 38px);
}

.usp-card__desc {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.58);
}

/* Körös arrow gomb alul-bal */
.usp-card__arrow {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 16px;
  line-height: 1;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.usp-card:hover .usp-card__arrow {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: rotate(45deg);
}

/* Kártya háttérszínek */
.usp-card--1 { background: linear-gradient(to top, #020E1F 0%, #117EB5 100%); }
.usp-card--2 { background-color: #0a0a0a; }
.usp-card--3 {
  background: linear-gradient(24.27deg, #040912 18.33%, #484848 149.87%);
  border: 1px solid #5A5A5A;
}
.usp-card--4 { background-color: #0a0a0a; }
.usp-card--5 { background-color: #dce9f5; }

/* USP kártya 5 – térkép verzió */
.usp-card--map { padding: 0; }
.usp-card--map::before,
.usp-card--map::after { display: none; }

.usp-map__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.usp-map__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 80, 200, 0.28);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.usp-map__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(20px, 2.5vw, 36px);
  background: linear-gradient(to top, rgba(220, 233, 245, 0.95) 0%, rgba(220, 233, 245, 0.70) 30%, rgba(220, 233, 245, 0.0) 60%);
}

.usp-card--map .usp-card__title { color: #0a1a2e; }
.usp-card--map .usp-card__desc  { color: rgba(5, 20, 50, 0.65); }

/* Card 1 – tt-logo-mono-white jobbra igazítva, 752px széles, 2% átlátszóság */
.usp-card--1::after {
  background-image: url('../img/tt-logo-mono-white.webp');
  background-size: 752px auto;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.02;
}
/* Card 1 + Card 4 – hover effekt tiltva */
.usp-card--1,
.usp-card--4 { cursor: default; }

.usp-card--1:hover::after { transform: none; opacity: 0.02; }
.usp-card--4:hover::after { transform: none; opacity: 0.22; }

.usp-card--1:hover::before,
.usp-card--4:hover::before { background: linear-gradient(145deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%); }

.usp-card--1:hover .usp-card__arrow,
.usp-card--4:hover .usp-card__arrow { background: transparent; border-color: rgba(255,255,255,0.4); transform: none; }

/* Teljes képes bg-img elem (Card 2) */
.usp-card__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Logo + cím csoport (Card 1) */
.usp-card__cta-group {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}
.usp-card__logo-img {
  width: 170px;
  height: auto;
  display: block;
}
/* Card 1 cím – 48px */
.usp-card--1 .usp-card__title {
  font-size: 48px;
}
/* Card 3 és 5 cím – 40px */
.usp-card--3 .usp-card__title,
.usp-card--5 .usp-card__title {
  font-size: 40px;
}

/* Teljes képes kártya – nincs szöveges overlay, kép 100% látható */
.usp-card--image::before { display: none; }
.usp-card--image::after  { opacity: 1; }

/* Kártya 5 – fehér alap, átlátszó kék radial gradient overlay jobb alsó sarokból */
.usp-card--light::before {
  background: radial-gradient(circle at 100% 100%, rgba(0,102,255,0.22) 0%, rgba(0,170,255,0) 65%);
}
.usp-card--light::after  { display: none; }
.usp-card--light .usp-card__title { color: var(--c-text-heading); }

/* Kollázs (Kártya 3 – 4 fotó, teljes kártyaszélesség) */
.usp-card__collage {
  position: relative;
  z-index: 2;
  height: 185px;
  flex-shrink: 0;
  margin-left: calc(-1 * var(--card-px));
  margin-right: calc(-1 * var(--card-px));
  margin-bottom: calc(-1 * var(--card-py));
}
.collage-photo {
  position: absolute;
  width: 50%;
  height: 175px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.collage-photo--1 { left: 0;   bottom: 0;    transform: rotate(-5deg); z-index: 1; }
.collage-photo--2 { left: 19%; bottom: 12px; transform: rotate(1deg);  z-index: 2; }
.collage-photo--3 { left: 38%; bottom: 0;    transform: rotate(4deg);  z-index: 3; }
.collage-photo--4 { left: 57%; bottom: 10px; transform: rotate(-3deg); z-index: 4; }

/* Hover: kép megemelkedik */
.collage-photo--1:hover { transform: rotate(-5deg) translateY(-14px); box-shadow: 0 14px 32px rgba(0,0,0,0.65); z-index: 10; }
.collage-photo--2:hover { transform: rotate(1deg)  translateY(-14px); box-shadow: 0 14px 32px rgba(0,0,0,0.65); z-index: 10; }
.collage-photo--3:hover { transform: rotate(4deg)  translateY(-14px); box-shadow: 0 14px 32px rgba(0,0,0,0.65); z-index: 10; }
.collage-photo--4:hover { transform: rotate(-3deg) translateY(-14px); box-shadow: 0 14px 32px rgba(0,0,0,0.65); z-index: 10; }

/* Jobb alsó sarokba igazított kép – alja kissé kilóg, teteje a kártyán belül marad */
.usp-card__image-bottom {
  position: absolute;
  right: 0;
  bottom: -16px;
  z-index: 2;
}
.usp-card__image-bottom img {
  height: 238px;   /* rögzített magasság: top = 275-16-238 = 21px belül marad */
  width: auto;
  display: block;
}


/* =============================================================
   SERVICE CARD  (aloldalak – ipari / magán)
   Reused tokens: --r-card, --font-heading, --fs-section,
   --fs-body, --c-dark, --c-white, --c-primary, --c-text-body
   ============================================================= */

.hero--sub {
  height: 80vh;
  min-height: 520px;
}

/* Intro szekció a services-page elején */
.services-page {
  background: var(--c-gray-light);
  position: relative;
  z-index: 1;
}

/* ── Split layout: bal h2 + jobb kártyák (lako.html) ─────────── */
.services-page--split {
  background: var(--c-gray-light);
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
}

.services-split {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.services-split__label {
  position: sticky;
  top: 91px;
  padding-top: clamp(24px, 3.65vw, 70px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 28px);
}

.services-split__h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-text-heading);
  line-height: 1.0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.services-split__desc {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--c-text-body);
}

.services-split__highlight {
  font-family: var(--font-heading);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.services-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1vw, 14px);
}

/* Kártyák jobb oszlopban */
.services-split__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Figma-stílus: sötét alap, páros kártya fehér */
.svc-card {
  border-radius: var(--r-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 622fr 713fr;
  gap: clamp(32px, 4.4vw, 84px);
  padding: clamp(36px, 4vh, 52px) clamp(32px, 3.3vw, 50px);
  min-height: 420px;
  background: radial-gradient(ellipse at 115% 140%, #107db4 0%, #020e1f 55%);
}

.svc-card:nth-child(even) {
  background: #ffffff;
}

.svc-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.svc-card__num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.svc-card__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.05;
  margin-bottom: 14px;
}

.svc-card__desc {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(235, 235, 235, 0.82);
  margin-bottom: 18px;
}

.svc-card__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
}

.svc-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}

.svc-card__list li {
  font-size: var(--fs-body);
  line-height: 1.4;
  color: rgba(235, 235, 235, 0.62);
  padding-left: 28px;
  position: relative;
}

.svc-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-primary);
  font-weight: 700;
}

.svc-card__body .btn {
  align-self: flex-start;
}

/* Páros (fehér) kártyák szövegszín */
.svc-card:nth-child(even) .svc-card__title   { color: var(--c-text-heading); }
.svc-card:nth-child(even) .svc-card__desc    { color: var(--c-text-body); }
.svc-card:nth-child(even) .svc-card__divider { border-top-color: rgba(0, 0, 0, 0.12); }
.svc-card:nth-child(even) .svc-card__list li { color: var(--c-text-body); }

.svc-card__image {
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  border-radius: 14px 3px 14px 3px;
  background-color: rgba(255, 255, 255, 0.06);
}

.svc-card:nth-child(even) .svc-card__image {
  background-color: rgba(0, 0, 0, 0.04);
}

/* ── Tab layout (lako.html) ──────────────────────────────────── */
.services-page--tabs {
  background: var(--c-dark);
}

.services-tabs {
  display: grid;
  grid-template-columns: clamp(220px, 22vw, 340px) 1fr;
  align-items: start;
  max-width: 1920px;
  margin: 0 auto;
}

/* Bal nav */
.services-tabs__nav {
  position: sticky;
  top: 71px;
  padding: clamp(48px, 5vw, 80px) clamp(24px, 2.5vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-tabs__heading {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 28px;
}

.services-tabs__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 18px 16px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-fast);
}

.services-tabs__item:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services-tabs__item.is-active {
  border-left-color: var(--c-primary);
}

.services-tabs__num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  min-width: 20px;
  flex-shrink: 0;
}

.services-tabs__name {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--t-fast);
}

.services-tabs__item.is-active .services-tabs__name,
.services-tabs__item:hover .services-tabs__name {
  color: var(--c-white);
}

/* Jobb panel */
.services-tabs__panels {
  display: grid;
}

.services-tabs__content {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-rows: clamp(240px, 35vh, 420px) 1fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.services-tabs__content.is-active {
  opacity: 1;
  pointer-events: auto;
}

.services-tabs__content-img {
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  position: relative;
}

.services-tabs__content-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--c-dark) 100%);
}

.services-tabs__content-body {
  padding: clamp(36px, 4vw, 64px) clamp(36px, 4vw, 64px) clamp(48px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-tabs__content-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 60px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.0;
}

.services-tabs__content-desc {
  font-size: var(--fs-body);
  line-height: 1.5;
  color: rgba(235, 235, 235, 0.70);
  max-width: 580px;
}

.services-tabs__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.services-tabs__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-tabs__list li {
  font-size: var(--fs-body);
  line-height: 1.4;
  color: rgba(235, 235, 235, 0.55);
  padding-left: 22px;
  position: relative;
}

.services-tabs__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 700;
}

.services-page__intro {
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px) var(--gap-section);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.services-page__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--c-text-heading);
  text-transform: uppercase;
}

/* ── Sticky scroll stack grid ────────────────────────────────── */
.services-page__grid--sticky {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px) var(--pad-y);
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

/* Sötét variant: radial gradient – középpont a kártya jobb-alján kívül */
.service-card {
  position: sticky;
  top: 91px;
  min-height: 573px;
  overflow: hidden;
  border-radius: var(--r-card);
  background: radial-gradient(ellipse at 115% 140%, #107db4 0%, #020e1f 55%);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.14);

  display: grid;
  grid-template-columns: 622fr 713fr;
  gap: clamp(32px, 4.4vw, 84px);
  padding: clamp(36px, 4.2vh, 56px) clamp(36px, 3.3vw, 50px);
}

/* Páros kártyák: fehér háttér */
.service-card:nth-child(even) {
  background: #ffffff;
}

/* Stack peek: 40px lépésköz; 91px = 71px header + 20px rés */
.service-card:nth-child(1) { z-index: 1; top:  91px; }
.service-card:nth-child(2) { z-index: 2; top: 131px; }
.service-card:nth-child(3) { z-index: 3; top: 171px; }
.service-card:nth-child(4) { z-index: 4; top: 211px; }
.service-card:nth-child(5) { z-index: 5; top: 251px; }
.service-card:nth-child(6) { z-index: 6; top: 291px; }

/* Bal oldali tartalom – függőlegesen középre */
.service-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-card__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(235, 235, 235, 0.85);
  margin-bottom: 20px;
}

.service-card__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 20px;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}
.service-card__list li {
  font-size: var(--fs-btn);
  line-height: 1.4;
  color: rgba(235, 235, 235, 0.65);
  padding-left: 20px;
  position: relative;
}
.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 700;
}

/* Fehér kártya: szöveg és vonal felülírása */
.service-card:nth-child(even) .service-card__title   { color: #000000; }
.service-card:nth-child(even) .service-card__desc    { color: rgb(88, 88, 88); }
.service-card:nth-child(even) .service-card__divider { border-top-color: rgba(0, 0, 0, 0.15); }
.service-card:nth-child(even) .service-card__list li { color: rgb(88, 88, 88); }
.service-card:nth-child(even) .service-card__image   { background-color: rgba(0, 0, 0, 0.06); }

/* Jobb oldali kép – teljes belső magasságot kitölti */
.service-card__image {
  align-self: stretch;
  border-radius: 14px 3px 14px 3px;
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.07);
}

@media (max-width: 768px) {
  .service-card {
    grid-template-columns: 1fr;
    min-height: unset;
    padding: 36px 24px;
    gap: 24px;
  }
  .service-card__image { height: 220px; align-self: auto; }
  .usp-strip { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .service-card { gap: clamp(24px, 3vw, 48px); }
}


/* USP strip – 3 sor sötét háttéren */
.usp-strip {
  background: var(--c-dark);
  padding: 48px clamp(30px, 15.6vw, 300px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-section);
  position: relative;
  z-index: 1;
}

.usp-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: var(--fs-nav);
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  line-height: var(--lh-tight);
}
.usp-strip__item::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .services-page__grid--2col,
  .services-page__grid--3col { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__img { min-height: 180px; }
  .usp-strip { grid-template-columns: 1fr; }
  .services-page__grid--3col .service-card { grid-template-rows: 160px 1fr; }
}

@media (max-width: 1024px) {
  .services-page__grid--3col { grid-template-columns: 1fr 1fr; }
}


/* =============================================================
   MARQUEE DIVIDER (szekció elválasztó sáv)
   ============================================================= */

.marquee-divider {
  background: var(--c-primary);
  overflow: hidden;
  padding: 14px 0;
  width: 100%;
}

.marquee-divider__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-rtl 32s linear infinite;
}

.marquee-divider__track span {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.05em;
  padding: 0 20px;
}

.md-sep {
  color: rgba(255, 255, 255, 0.4) !important;
  padding: 0 !important;
}

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


/* =============================================================
   REFERENCES
   ============================================================= */

.references {
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
}

/* Fejléc sor: cím bal, leírás jobb */
.references__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--gap-nav);
}

.references__header-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.references__btns {
  display: flex;
  gap: var(--gap-btns);
}

.references__title {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--c-text-heading);
  text-transform: uppercase;
}

.references__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-text-body);
  max-width: 614px;
  text-align: right;
}

/* 3 col grid */
.references__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-cards);
}


/* =============================================================
   PROMO IMAGE (full-width, referenciák és CTA között)
   ============================================================= */

.promo-image {
  width: 100%;
  height: 632px;
  background: #1a1a2e url('../img/promo.jpeg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.promo-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.promo-image__inner {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.05em;
  user-select: none;
  white-space: nowrap;
}


/* =============================================================
   AJÁNLATKÉRŐ FORM SZEKCIÓ
   ============================================================= */

.contact-form-section {
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  background: var(--c-dark);
  position: relative;
  z-index: 1;
}

.contact-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}

.contact-form-section__header {
  position: sticky;
  top: 91px;
}

.contact-form-section__title {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: var(--lh-tight);
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 20px;
}

.contact-form-section__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255,255,255,0.5);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__group--full {
  grid-column: 1 / -1;
}

.contact-form__label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

.contact-form__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-size: 13px;
}

.contact-form__input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px 2px 10px 2px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--c-white);
  transition: border-color var(--t-fast), background var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}

.contact-form__input::placeholder {
  color: rgba(255,255,255,0.22);
}

.contact-form__input:focus {
  border-color: var(--c-primary);
  background: rgba(0,170,255,0.06);
}

.contact-form__input.contact-form__input--error {
  border-color: #ff4d4d;
}

.contact-form__select {
  cursor: pointer;
  color: rgba(255,255,255,0.22);
}

.contact-form__select.contact-form__select--filled {
  color: var(--c-white);
}

.contact-form__select option {
  background: #1e1e1e;
  color: var(--c-white);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 4px;
}

.contact-form__note {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.contact-form__submit {
  flex-shrink: 0;
}

.contact-form__submit-loading {
  display: none;
}

.contact-form--sending .contact-form__submit-text { display: none; }
.contact-form--sending .contact-form__submit-loading { display: inline; }
.contact-form--sending .contact-form__submit { opacity: 0.7; pointer-events: none; }

/* Visszajelzés sáv */
.contact-form__feedback {
  display: none;
  padding: 14px 20px;
  border-radius: 8px 2px 8px 2px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.contact-form__feedback--success {
  display: block;
  background: rgba(0,200,100,0.12);
  border: 1.5px solid rgba(0,200,100,0.4);
  color: #4dffaa;
}

.contact-form__feedback--error {
  display: block;
  background: rgba(255,77,77,0.1);
  border: 1.5px solid rgba(255,77,77,0.35);
  color: #ff8080;
}


/* =============================================================
   FAQ – GYIK szekció
   ============================================================= */

.faq {
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  background: var(--c-dark);
}

.faq__header {
  display: flex;
  align-items: flex-end;
  gap: clamp(30px, 6vw, 100px);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.faq__title {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: var(--lh-tight);
  text-transform: uppercase;
  color: #ffffff;
  flex-shrink: 0;
}

.faq__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255,255,255,0.55);
  max-width: 44ch;
  padding-bottom: 6px;
}

/* Accordion lista – 2 oszlopos grid */
.faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}


.faq__item {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.faq__item--open {
  border-color: var(--c-primary);
  background: rgba(0,170,255,0.07);
}

/* Kérdés gomb */
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}

.faq__q:hover { color: rgba(255,255,255,0.9); }
.faq__item--open .faq__q { color: #ffffff; }

/* +/× ikon – kör + cross */
.faq__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
}
.faq__icon::before {
  width: 12px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px; height: 12px;
  transform: translate(-50%, -50%);
}

.faq__item--open .faq__icon {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #ffffff;
}
.faq__item--open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* Válasz – max-height alapú animáció */
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__a-inner {
  padding: 0 28px 24px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255,255,255,0.6);
}

.faq__link {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__link:hover { color: var(--c-primary-dark); }


/* =============================================================
   CTA SZEKCIÓ
   ============================================================= */

.cta {
  background: var(--c-gray-light);
  min-height: 619px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 60px clamp(30px, 15.6vw, 300px) 0;
  border-radius: 0 0 100px 100px;
  overflow: hidden;
}

.cta__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
  align-self: center;
}

.cta__tagline {
  font-family: var(--font-heading);
  font-size: var(--fs-card);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--c-text-heading);
  text-transform: uppercase;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--c-primary);
  text-transform: uppercase;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
}

.btn--cta-lg {
  font-size: 40px;
  padding: 14px 52px;
}

.cta__phone-link {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-text-heading);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--t-fast);
}
.cta__phone-link:hover { color: var(--c-primary); }

.cta__image {
  width: 40%;
  flex-shrink: 0;
  align-self: flex-end;
}
.cta__image img { width: 100%; height: auto; display: block; }


/* =============================================================
   FOOTER
   ============================================================= */

.footer {
  background: var(--c-dark);
  background-image: radial-gradient(ellipse 90% 55% at 50% 100%, rgba(26,46,74,0.5) 0%, rgba(15,30,50,0.5) 30%, transparent 65%);
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px) 0;
  overflow: hidden;
  position: sticky;
  bottom: 0;
  z-index: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: var(--pad-y);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: 4px;
}

.footer__col p {
  font-size: 15px;
  line-height: var(--lh-body);
  color: #585858;
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__col a {
  font-size: 15px;
  color: #585858;
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--c-primary); }

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

.footer__copy {
  font-size: 12px;
  color: #393939;
}

/* Footer logó watermark */
.footer__watermark {
  user-select: none;
  margin-top: 24px;
  margin-bottom: 0;
  opacity: 0.04;
  position: relative;
  z-index: 1;
  line-height: 0;
}
.footer__watermark img {
  width: min(420px, 36%);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: grayscale(1);
}


/* =============================================================
   LAKÓ OLDAL — USP BENTO GRID
   ============================================================= */

.lako-bento-section {
  background:
    radial-gradient(68.84% 64.51% at 65.74% 84.21%, rgba(0, 170, 255, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%),
    #151515;
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  position: relative;
  z-index: 1;
}

.lako-bento-section__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: clamp(32px, 3vw, 56px);
}

.lako-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lako-bento__card {
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
}

/* ── 1. Wide kártya ── */
.lako-bento__card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  min-height: 360px;
  background: #17202e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible; /* figura kilóghat a kártya tetején */
}

.lako-bento__wide-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(40px, 4.2vw, 80px);
}

.lako-bento__wide-img {
  width: 42%;
  flex-shrink: 0;
  position: relative;
}

.lako-bento__wide-figure {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 130%;
  width: auto;
  display: block;
}

/* ── 2. Sötét kártya ── */
.lako-bento__card--dark {
  min-height: 380px;
  background: radial-gradient(ellipse at 110% 130%, #107db4 0%, #020e1f 55%);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
  padding: clamp(32px, 3.3vw, 50px);
}

.lako-bento__dark-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── iOS értesítés mockup ── */
.lako-bento__notif {
  flex: 1;
  min-width: 0;
  align-self: center;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lako-bento__notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lako-bento__notif-app {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lako-bento__notif-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.lako-bento__notif-icon svg { width: 100%; height: 100%; display: block; }

.lako-bento__notif-appname,
.lako-bento__notif-time {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

.lako-bento__notif-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

.lako-bento__notif-body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 3. Fotó kártya ── */
.lako-bento__card--photo {
  min-height: 380px;
  background: #0a1628 url('https://picsum.photos/seed/service-van-work/900/600') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.lako-bento__photo-inner {
  padding: clamp(32px, 3.3vw, 50px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.80) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── 4. Kék árnyalat kártya ── */
.lako-bento__card--blue {
  min-height: 220px;
  background: rgba(0, 102, 255, 0.10);
  border: 1px solid rgba(0, 170, 255, 0.16);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
  padding: clamp(32px, 3.3vw, 50px);
}

.lako-bento__blue-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Garancia checklist UI */
.lako-bento__checklist {
  flex: 1;
  min-width: 0;
  align-self: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 170, 255, 0.18);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lako-bento__check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}

.lako-bento__check-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lako-bento__check-item:first-child {
  padding-top: 0;
}

.lako-bento__check-item--hl {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 15px;
}

.lako-bento__check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(0, 170, 255, 0.12);
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lako-bento__check-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.lako-bento__check-icon--hl {
  background: rgba(0, 170, 255, 0.22);
  border-color: rgba(0, 170, 255, 0.55);
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.25);
}

/* ── 5. Térkép kártya ── */
.lako-bento__card--map {
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  background: #dce9f5;
}

.lako-bento__map-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lako-bento__map-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 80, 200, 0.28);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.lako-bento__map-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(32px, 3.3vw, 50px);
  background: linear-gradient(to top, rgba(220, 233, 245, 0.95) 0%, rgba(220, 233, 245, 0.70) 30%, rgba(220, 233, 245, 0.0) 60%);
}

.lako-bento__card--map .lako-bento__card-title { color: #0a1a2e; }
.lako-bento__card--map .lako-bento__card-desc  { color: rgba(5, 20, 50, 0.60); }
.lako-bento__card--map .lako-bento__label      { color: var(--c-primary-dark); }

/* Térkép pin marker */
.szfvar-pin {
  background: none;
  border: none;
}

.szfvar-pin__dot {
  width: 10px;
  height: 10px;
  background: #00aaff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.szfvar-pin__ring {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 170, 255, 0.65);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: szfvar-pulse 2.2s ease-out infinite;
}

@keyframes szfvar-pulse {
  0%   { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Leaflet attribution mini stílus */
.lako-bento__card--map .leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(0, 0, 0, 0.45) !important;
  color: rgba(255, 255, 255, 0.35) !important;
  padding: 2px 5px !important;
}

/* ── Tipográfia ── */
.lako-bento__label {
  font-family: var(--font-heading);
  font-size: var(--fs-badge);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-primary);
}

.lako-bento__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.4vw, 60px);
  font-weight: 700;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--c-white);
}

.lako-bento__desc {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-subtle);
  max-width: 520px;
}

.lako-bento__card-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-white);
}

.lako-bento__card-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-subtle);
}



/* =============================================================
   IPARI OLDAL — USP BENTO GRID
   ============================================================= */

.ipari-bento-section {
  background:
    radial-gradient(68.84% 64.51% at 65.74% 84.21%, rgba(0, 170, 255, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%),
    #151515;
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  position: relative;
  z-index: 1;
}

.ipari-bento-section__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: clamp(32px, 3vw, 56px);
}

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

/* ── Alap kártya ── */
.ipari-bento__card {
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
}

/* ── 1. Stat kártya (2 oszlop) ── */
.ipari-bento__card--stats {
  grid-column: 1 / 3;
  background: radial-gradient(ellipse at 115% 140%, #107db4 0%, #020e1f 55%);
  padding: clamp(36px, 3.6vw, 56px);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(28px, 3vw, 48px);
  min-height: 320px;
}

.ipari-bento__stats-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.ipari-bento__card-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.1;
}

.ipari-bento__card--docs .ipari-bento__card-title,
.ipari-bento__card--guarantee .ipari-bento__card-title {
  color: var(--c-text-heading);
}

.ipari-bento__card-desc {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.ipari-bento__card--docs .ipari-bento__card-desc,
.ipari-bento__card--guarantee .ipari-bento__card-desc {
  color: var(--c-text-body);
}

.ipari-status-checks {
  width: 50%;
  flex-shrink: 0;
  position: relative;
  height: 140px;
  align-self: center;
}

.ipari-status-check {
  position: absolute;
  left: 0;
  right: 0;
  background: #0f1e30;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  transform-origin: top center;
}

.ipari-status-check:nth-child(1) { top: 0;     z-index: 4; transform: scale(1);    }
.ipari-status-check:nth-child(2) { top: 92px;  z-index: 3; transform: scale(0.96); }
.ipari-status-check:nth-child(3) { top: 100px; z-index: 2; transform: scale(0.92); }
.ipari-status-check:nth-child(4) { top: 106px; z-index: 1; transform: scale(0.88); }

.ipari-status-check__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0d1f33;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.ipari-status-check__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.ipari-status-check__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ipari-status-check__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ipari-status-check__sender {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.ipari-status-check__time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  flex-shrink: 0;
}

.ipari-status-check__body {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ipari-status-check__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ipari-status-check__dot--done {
  background: var(--c-primary);
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.65);
}

.ipari-status-check__text {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

/* ── 2. Térkép kártya ── */
.ipari-bento__card--map {
  min-height: 260px;
  padding: 0;
  background: #dce9f5;
}

.ipari-bento__map-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ipari-bento__map-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 80, 200, 0.28);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ipari-bento__map-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(24px, 2.5vw, 40px);
  background: linear-gradient(to top, rgba(220, 233, 245, 0.95) 0%, rgba(220, 233, 245, 0.70) 30%, rgba(220, 233, 245, 0.0) 60%);
}

.ipari-bento__card--map .ipari-bento__card-title { color: #0a1a2e; }
.ipari-bento__card--map .ipari-bento__card-desc  { color: rgba(5, 20, 50, 0.60); }

.ipari-bento__card--map .leaflet-control-attribution {
  display: none;
}

/* ── 3. Dokumentált átadás ── */
.ipari-bento__card--docs {
  background: #f3f5f8;
  padding: clamp(28px, 2.8vw, 44px);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ipari-docs-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Document stack ── */
.ipari-docs-stack {
  position: relative;
  height: 200px;
  margin-left: calc(-1 * clamp(28px, 2.8vw, 44px));
  margin-right: calc(-1 * clamp(28px, 2.8vw, 44px));
  flex-shrink: 0;
}

.ipari-doc {
  position: absolute;
  width: 62%;
  height: 160px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  left: 50%;
  bottom: 20px;
}

.ipari-doc--3 {
  transform: translateX(-50%) rotate(-6deg) translateY(14px);
  z-index: 1;
}

.ipari-doc--2 {
  transform: translateX(-50%) rotate(4deg) translateY(7px);
  z-index: 2;
}

.ipari-doc--1 {
  transform: translateX(-50%) rotate(-1deg);
  z-index: 3;
}

.ipari-doc__header {
  background: #020e1f;
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
}

.ipari-doc__header-logo {
  height: 18px;
}

.ipari-doc__header-logo img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.ipari-doc__title {
  font-size: 10px;
  font-weight: 700;
  color: #1a2535;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px 4px;
  line-height: 1.3;
}

.ipari-doc__lines {
  padding: 6px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ipari-doc__lines span {
  display: block;
  height: 7px;
  background: #e8eaee;
  border-radius: 4px;
}

.ipari-doc__stamp {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--c-primary);
  color: var(--c-primary);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── 4. Telephely / kapcsolattartás ── */
.ipari-bento__card--contact {
  padding: 0;
  background: #0d1824;
}

.ipari-bento__contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.ipari-bento__contact-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(5, 15, 30, 0.96) 0%,
    rgba(5, 15, 30, 0.75) 45%,
    rgba(5, 15, 30, 0.35) 100%
  );
}

.ipari-bento__contact-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 240px;
  padding: clamp(24px, 2.8vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ipari-bento__contact-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ipari-bento__contact-logo-img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.ipari-bento__contact-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary);
}

.ipari-bento__contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ipari-bento__contact-pill {
  display: inline-block;
  font-size: clamp(12px, 0.95vw, 14px);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 5px 12px;
  width: fit-content;
  backdrop-filter: blur(6px);
}

a.ipari-bento__contact-pill:hover {
  background: rgba(0, 170, 255, 0.15);
  border-color: rgba(0, 170, 255, 0.4);
  color: var(--c-primary);
}

/* ── 5. Garancia kártya ── */
.ipari-bento__card--guarantee {
  background: url('../img/herov2.webp') center / cover no-repeat;
  min-height: 200px;
  padding: 0;
}

/* =============================================================
   GAMIFIED AJÁNLATKÉRÉS – QUIZ WIZARD
   ============================================================= */

.quiz-section {
  position: relative;
  z-index: 1;
  background: var(--c-gray-light);
  min-height: calc(100vh - 71px);
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  display: flex;
  align-items: flex-start;
}

.quiz {
  background: #ffffff;
  border-radius: var(--r-card);
  box-shadow: 0 4px 48px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.04);
  padding: 52px;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

/* Progress */
.quiz__progress {
  margin-bottom: 44px;
}
.quiz__progress-track {
  height: 4px;
  background: #e8e8e8;
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}
.quiz__progress-fill {
  height: 100%;
  background: var(--c-primary);
  border-radius: 2px;
  width: 0%;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
}
.quiz__progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quiz__step-label {
  font-size: 13px;
  color: var(--c-text-body);
  font-weight: 600;
}
.quiz__step-hint {
  font-size: 12px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Steps */
.quiz__steps {
  position: relative;
  min-height: 280px;
}
.quiz__step {
  display: none;
}
.quiz__step.is-active {
  display: block;
  animation: quiz-step-in 0.28s cubic-bezier(.4,0,.2,1) both;
}
@keyframes quiz-step-in {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}

.quiz__title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-text-heading);
  margin: 0 0 8px;
  line-height: 1.15;
}
.quiz__subtitle {
  font-size: 15px;
  color: var(--c-text-body);
  margin: 0 0 28px;
  line-height: 1.55;
}

/* Options grid */
.quiz__options {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}
.quiz__options--2col {
  grid-template-columns: repeat(2, 1fr);
}

.quiz__option {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #fff;
  border: 2px solid #e4e4e4;
  border-radius: 12px 3px 12px 3px;
  padding: 20px 18px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  font-family: inherit;
}
.quiz__option:hover {
  border-color: var(--c-primary);
  background: rgba(0,170,255,0.03);
}
.quiz__option.is-selected {
  border-color: var(--c-primary);
  background: rgba(0,170,255,0.07);
}
.quiz__option-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: #aaa;
  flex-shrink: 0;
  transition: color 0.18s;
  display: block;
}
.quiz__option-icon svg {
  width: 100%;
  height: 100%;
}
.quiz__option:hover .quiz__option-icon,
.quiz__option.is-selected .quiz__option-icon {
  color: var(--c-primary);
}
.quiz__option-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-dark);
  margin-bottom: 4px;
  transition: color 0.18s;
}
.quiz__option.is-selected .quiz__option-label {
  color: var(--c-primary-dark);
}
.quiz__option-desc {
  font-size: 12px;
  color: #aaa;
  line-height: 1.45;
}

/* Summary tags (step 4) */
.quiz__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.quiz__summary-tag {
  background: var(--c-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* Form (step 4) */
.quiz__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.quiz__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.quiz__form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-dark);
}
.quiz__form-optional {
  font-weight: 400;
  color: #bbb;
}
.quiz__form-input {
  background: #f8f8f8;
  border: 1.5px solid #e4e4e4;
  border-radius: 10px 2px 10px 2px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-dark);
  transition: border-color 0.18s, background 0.18s;
  width: 100%;
  box-sizing: border-box;
}
.quiz__form-input:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
}
.quiz__form-textarea {
  resize: vertical;
  min-height: 90px;
}
.quiz__form-feedback {
  font-size: 14px;
  margin-bottom: 8px;
  min-height: 20px;
}
.quiz__form-feedback--error {
  color: #d32f2f;
}

/* Navigation */
.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}
.quiz__btn-back {
  background: none;
  border: none;
  color: var(--c-text-body);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.18s;
}
.quiz__btn-back:hover { color: var(--c-dark); }

/* Success screen */
.quiz__step--success {
  text-align: center;
  padding: 40px 0 20px;
}
.quiz__success-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
  animation: quiz-pop 0.5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes quiz-pop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.quiz__success-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 20px;
}
.quiz__back-home {
  display: inline-block;
  margin-top: 12px;
  color: var(--c-text-body);
  font-size: 14px;
}
.quiz__back-home:hover { color: var(--c-dark); }

/* ── Address step (quiz step 4) ── */
.address-search-wrap {
  position: relative;
  margin-bottom: 12px;
}
.address-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--c-primary);
  pointer-events: none;
}
.address-input {
  width: 100%;
  background: #f8f8f8;
  border: 1.5px solid #e4e4e4;
  border-radius: 10px 2px 10px 2px;
  padding: 14px 16px 14px 44px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--c-dark);
  box-sizing: border-box;
  transition: border-color 0.18s, background 0.18s;
}
.address-input:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
}
.address-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e4e4e4;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 500;
  overflow: hidden;
}
.address-suggestions.is-open { display: block; }
.address-suggestion {
  padding: 11px 16px;
  cursor: pointer;
  font-size: 13px;
  color: var(--c-dark);
  border-bottom: 1px solid #f4f4f4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: background 0.14s;
  line-height: 1.4;
}
.address-suggestion:last-child { border-bottom: none; }
.address-suggestion:hover { background: rgba(0,170,255,0.06); }
.address-suggestion-pin {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--c-primary);
  margin-top: 2px;
}
.address-map-container {
  border-radius: 12px 3px 12px 3px;
  overflow: hidden;
  border: 1.5px solid #e4e4e4;
}
#address-map { height: 260px; }
.address-hint {
  font-size: 12px;
  color: #bbb;
  margin: 8px 0 0;
  text-align: center;
}
.address-pin-marker { background: none; border: none; }
.address-pin-marker svg { filter: drop-shadow(0 3px 8px rgba(0,170,255,0.35)); overflow: visible; }

/* ── Köszönjük oldal ── */
.koszonjuk-section {
  position: relative;
  z-index: 1;
  background: var(--c-gray-light);
  min-height: calc(100vh - 71px);
  padding: var(--pad-y) clamp(30px, 15.6vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.koszonjuk {
  text-align: center;
  max-width: 640px;
  width: 100%;
}
.koszonjuk__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  background: var(--c-primary);
  border-radius: 50%;
  margin-bottom: 32px;
  animation: koszonjuk-pop 0.55s cubic-bezier(.34,1.56,.64,1) both;
}
.koszonjuk__badge svg { width: 44px; height: 44px; color: #fff; }
@keyframes koszonjuk-pop {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.koszonjuk__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-text-heading);
  margin: 0 0 12px;
  line-height: 1.1;
}
.koszonjuk__sub {
  font-size: 17px;
  color: var(--c-text-body);
  margin: 0 0 40px;
  line-height: 1.6;
}
.koszonjuk__steps {
  display: flex;
  margin-bottom: 40px;
  text-align: left;
  border-radius: var(--r-card);
  overflow: hidden;
}
.koszonjuk__step {
  flex: 1;
  padding: 24px 20px;
  background: #fff;
}
.koszonjuk__step + .koszonjuk__step { border-left: 1px solid #f0f0f0; }
.koszonjuk__step-num {
  width: 28px;
  height: 28px;
  background: var(--c-primary);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}
.koszonjuk__step-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-dark);
  margin: 0 0 4px;
}
.koszonjuk__step-desc {
  font-size: 12px;
  color: var(--c-text-body);
  margin: 0;
  line-height: 1.45;
}
.koszonjuk__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.koszonjuk__back {
  color: var(--c-text-body);
  font-size: 14px;
}
.koszonjuk__back:hover { color: var(--c-dark); }

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1280px) {
  :root {
    --fs-hero:    52px;
    --fs-section: 60px;
    --fs-card:    28px;
  }
  .references__desc { text-align: left; }
}

@media (max-width: 1024px) {
  :root {
    --fs-hero:    44px;
    --fs-section: 54px;
  }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col:first-child { grid-column: 1 / -1; }
  .usp__row--large { grid-template-columns: 1fr 1fr; }
  .usp__row--small { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --fs-hero:    36px;
    --fs-section: 45px;
    --fs-card:    24px;
    --fs-nav:     18px;
    --fs-body:    17px;
    --pad-y:      64px;
    --card-py:    32px;
  }

  .header { height: 60px; padding: 12px 20px; }
  .header__nav { display: none; }

  .hero { height: auto; min-height: 540px; padding-top: 100px; }

  .services__cards   { grid-template-columns: 1fr; }
  .services__cards .bento-card { aspect-ratio: 4 / 3; }

  .usp__row--large { grid-template-columns: 1fr; }
  .usp__row--small { grid-template-columns: 1fr; }
  .usp-card { min-height: 220px; }
  .usp__row--small .usp-card { min-height: 200px; }

  .references__header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .references__grid   { grid-template-columns: 1fr; }
  .references__desc   { text-align: left; max-width: 100%; }

  .contact-form-section__inner { grid-template-columns: 1fr; }
  .contact-form-section__header { position: static; }
  .contact-form__row { grid-template-columns: 1fr; }

  .faq__header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .faq__desc   { max-width: 100%; }
  .faq__list   { grid-template-columns: 1fr; }

  .quiz { padding: 32px 24px; }
  .quiz__options--2col { grid-template-columns: 1fr; }
  .quiz__form-row { grid-template-columns: 1fr; }

  .promo-image { height: 240px; }

  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__text { padding-bottom: 0; }
  .cta__title { font-size: 56px; }
  .cta__image { width: 60%; align-self: flex-end; }
  .btn--cta-lg { font-size: 28px; padding: 12px 36px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__col:first-child { grid-column: auto; }
  .footer__watermark { font-size: 48px; }
}

@media (max-width: 480px) {
  .cta__btns { flex-direction: column; align-items: center; }
  .cta__btns .btn { width: 100%; justify-content: center; }
}
