/* ═══════════════════════════════════════════════════════════════════════════════
   PólóDekor.hu — Cyberpunk Styles v2.0
   Arculat: Cyborg-Robi ceruzarajz stílus, sárga áramkörök, sötét alap
   Modulok: Nav, Hero, Cards, Cyborg-Logic, Outlet, FAQ, Testimonials,
            Lightbox, WIP Modal, Back-to-top, Sticky CTA, Scroll Progress,
            Cookie, Social, Form
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── CSS Változók ─────────────────────────────────────────────────────────── */
:root {
  /* Brand — PólóDekor Cyberpunk */
  --primary:       #FFD300;
  --primary-dark:  #B8860B;
  --primary-pale:  rgba(255, 211, 0, 0.1);
  --primary-glow:  rgba(255, 211, 0, 0.25);
  --color-blue:    #4BDBFF;

  /* Sötét téma (alapértelmezett — cyberpunk) */
  --bg:            #0f1012;
  --bg-alt:        #161819;
  --bg-card:       #1c1e21;
  --text:          #e0e0e0;
  --text-muted:    #8a8f98;
  --text-heading:  #f5f5f5;
  --border:        rgba(255, 211, 0, 0.08);
  --border-accent: rgba(255, 211, 0, 0.15);
  --shadow:        0 4px 32px rgba(0, 0, 0, .5);
  --shadow-sm:     0 2px 12px rgba(0, 0, 0, .35);
  --shadow-glow:   0 0 30px rgba(255, 211, 0, 0.08);

  /* Nav */
  --nav-h:         72px;
  --nav-bg-solid:  rgba(15, 16, 18, .92);

  /* Spacing */
  --container-max: 1280px;
  --section-py:    clamp(4rem, 8vw, 7rem);
  --gap:           1.5rem;

  /* Typography */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', 'Fira Code', monospace;
  --fs-xs:    .75rem;
  --fs-sm:    .875rem;
  --fs-base:  1rem;
  --fs-lg:    1.125rem;
  --fs-xl:    1.25rem;
  --fs-2xl:   1.5rem;
  --fs-3xl:   clamp(1.75rem, 3vw, 2.25rem);
  --fs-hero:  clamp(2rem, 5vw, 3.5rem);

  /* Radius */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Transition */
  --tr: .2s ease;
}

/* ─── Világos téma ─────────────────────────────────────────────────────────── */
body.light {
  --bg:           #fafaf8;
  --bg-alt:       #f0f0ec;
  --bg-card:      #ffffff;
  --text:         #1a1a1a;
  --text-muted:   #6b7280;
  --text-heading: #0f0f0f;
  --border:       rgba(0, 0, 0, .08);
  --border-accent:rgba(184, 134, 11, 0.2);
  --shadow:       0 4px 24px rgba(0, 0, 0, .08);
  --shadow-sm:    0 2px 8px  rgba(0, 0, 0, .05);
  --shadow-glow:  0 0 20px rgba(255, 211, 0, 0.05);
  --nav-bg-solid: rgba(250, 250, 248, .95);
}

/* ─── FOUC prevention ──────────────────────────────────────────────────────── */
html.no-js body { visibility: hidden; }

/* ─── Betűtípusok ──────────────────────────────────────────────────────────── */
/* Google Fonts: Syne (display), Space Grotesk (body), Roboto Mono (code)
   Importálás az index.html <head>-ben történik <link> tagen keresztül.       */

/* ─── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background var(--tr), color var(--tr);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ─── Akadálymentesség ─────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #000;
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--tr);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ─── Layout ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section {
  padding-block: var(--section-py);
}
.section--alt { background: var(--bg-alt); }

/* ─── Utility ──────────────────────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Tipográfia ───────────────────────────────────────────────────────────── */
h1, h2 { font-family: var(--font-display); color: var(--text-heading); line-height: 1.15; font-weight: 700; }
h3, h4 { font-family: var(--font-head); color: var(--text-heading); line-height: 1.15; font-weight: 700; }
h1 { font-size: var(--fs-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
.section__title { margin-bottom: 1rem; }
.section__lead  { color: var(--text-muted); font-size: var(--fs-lg); margin-bottom: 2.5rem; max-width: 640px; }

/* ─── Gombok ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: var(--fs-base);
  transition: all var(--tr);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 211, 0, 0.2);
}
.btn--primary:hover {
  background: #ffe44d;
  box-shadow: 0 0 30px rgba(255, 211, 0, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary-pale);
}
.btn--lg       { padding: .9rem 2.25rem; font-size: var(--fs-lg); }
.btn--sm       { padding: .45rem 1rem;   font-size: var(--fs-sm); }
.btn--full     { width: 100%; justify-content: center; }
.btn svg       { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ─── Scroll Progress Bar ──────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #FFA500);
  width: 0%;
  z-index: 1001;
  pointer-events: none;
}

/* ─── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--tr), box-shadow var(--tr), backdrop-filter var(--tr);
}
.nav.scrolled {
  background: var(--nav-bg-solid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm), 0 1px 0 var(--border-accent);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text);
  transition: color var(--tr);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav__links a:hover { color: var(--primary); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--text);
  transition: background var(--tr), color var(--tr);
}
.theme-toggle:hover { background: var(--bg-alt); color: var(--primary); }
.theme-toggle .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body:not(.light) .icon-sun  { display: none; }
body.light        .icon-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--nav-bg-solid);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  height: calc(100dvh - var(--nav-h));
}
.mobile-menu[aria-hidden="true"] { display: none; }
.mobile-menu a {
  font-weight: 600;
  padding-block: .5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-block: calc(var(--nav-h) + 3rem) 5rem;
  position: relative;
  overflow: hidden;
}
/* Cyberpunk grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 211, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 211, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__text { max-width: 600px; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding: .35rem .75rem;
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  border-radius: var(--r);
  letter-spacing: 0.02em;
}
.hero__text h1 {
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.hero__lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual */
.hero__visual { display: flex; justify-content: center; }
.hero__mascot-frame {
  position: relative;
  max-width: 480px;
  width: 100%;
}
.hero__mascot-frame img {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-accent);
  position: relative;
  z-index: 1;
}
.hero__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%      { opacity: .8; transform: scale(1.05); }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { top: 6px; opacity: 1; }
  50%      { top: 18px; opacity: .3; }
}

/* ─── Stats ────────────────────────────────────────────────────────────────── */
.stats {
  padding-block: 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--tr), box-shadow var(--tr);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.stat-card__number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-card__label {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: .5rem;
}

/* ─── Cards (Szolgáltatások) ──────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--tr);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: var(--border-accent);
}
.card:hover::before { opacity: 1; }

.card__img-wrap {
  margin: -2rem -2rem 1.5rem;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.card__img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__img-wrap img { transform: scale(1.05); }

/* Card visual placeholder (cards without a photo) */
.card__visual {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card__visual svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 16px rgba(255,211,0,.5));
}
.card__visual--szita {
  background:
    radial-gradient(ellipse 55% 55% at 50% 50%, rgba(255,211,0,.11) 0%, transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,211,0,.09) 0px, rgba(255,211,0,.09) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, rgba(255,211,0,.09) 0px, rgba(255,211,0,.09) 1px, transparent 1px, transparent 20px),
    linear-gradient(160deg, #161820 0%, #1e2028 100%);
}
.card__visual--folia {
  background:
    radial-gradient(ellipse 55% 55% at 50% 50%, rgba(255,211,0,.11) 0%, transparent 65%),
    repeating-linear-gradient(50deg, rgba(255,211,0,.09) 0px, rgba(255,211,0,.09) 1px, transparent 1px, transparent 12px),
    linear-gradient(160deg, #161820 0%, #1e2028 100%);
}
.card__visual-label {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255,211,0,.45);
  font-family: var(--font-mono, monospace);
  z-index: 2;
}
@media (max-width: 768px) {
  .card__visual { height: 160px; }
}

.card__icon {
  width: 56px; height: 56px;
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: var(--fs-xl); margin-bottom: .75rem; }
.card__desc  { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.7; margin-bottom: 1.25rem; }
.card__link  { color: var(--primary); font-weight: 600; font-size: var(--fs-sm); transition: gap var(--tr); display: inline-flex; gap: .25rem; align-items: center; }
.card__link:hover { gap: .5rem; }

/* ─── Cyborg-Logic Grid ───────────────────────────────────────────────────── */
.logic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap);
}
.logic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  position: relative;
}
.logic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: var(--border-accent);
}
.logic-card__icon {
  width: 56px; height: 56px;
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.logic-card__icon svg {
  width: 28px; height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logic-card__title {
  font-size: var(--fs-xl);
  margin-bottom: .75rem;
  font-family: var(--font-head);
}
.logic-card__desc {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.logic-card__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--primary);
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);
  padding: .4rem .75rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.logic-card__tag code {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ─── Outlet Section ──────────────────────────────────────────────────────── */
.outlet-section {
  position: relative;
  overflow: hidden;
}
.outlet-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 211, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.outlet__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.outlet__desc {
  color: var(--text-muted);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.outlet__cta { margin-top: 0; }

/* Outlet counter box */
.outlet__counter-wrap { display: flex; justify-content: center; }
.outlet__counter-box {
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  border-radius: var(--r-xl);
  padding: 2.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow), var(--shadow-glow);
  width: 100%;
  max-width: 360px;
}
.outlet__counter-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.outlet__counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.outlet__counter-number {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.outlet__counter-unit {
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  color: var(--text-muted);
}
.outlet__progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.outlet__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #FFA500);
  border-radius: 4px;
  transition: width 1s ease;
}
.outlet__counter-hint {
  display: block;
  font-size: var(--fs-xs);
  color: var(--primary);
  font-family: var(--font-mono);
  animation: blink-hint 2s ease-in-out infinite;
}
@keyframes blink-hint {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}

/* ─── Vélemények (Testimonials) ────────────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--tr), box-shadow var(--tr);
}
.testimonial-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.testimonial-card__stars { color: var(--primary); font-size: var(--fs-lg); letter-spacing: 2px; }
.testimonial-card__text {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: var(--fs-sm);
  flex-grow: 1;
}
.testimonial-card__author {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.testimonial-card__author strong { color: var(--text-heading); font-size: var(--fs-sm); }
.testimonial-card__author span   { color: var(--text-muted);   font-size: var(--fs-xs); }

/* ─── FAQ Accordion ────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.faq-item:hover { box-shadow: var(--shadow-sm); border-color: var(--border-accent); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--tr);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ─── Kapcsolat ────────────────────────────────────────────────────────────── */
.kapcsolat__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-muted);
}
.contact-list .icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list a { color: var(--text); font-weight: 500; transition: color var(--tr); }
.contact-list a:hover { color: var(--primary); }
.business-hours h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.business-hours p   { color: var(--text-muted); }

/* ─── Form ─────────────────────────────────────────────────────────────────── */
.kapcsolat__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.form-group label span { color: var(--primary); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: .75rem 1rem;
  color: var(--text);
  transition: border-color var(--tr), box-shadow var(--tr);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-pale);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group--consent { flex-direction: row; align-items: flex-start; gap: .75rem; }
.form-group--consent input { width: auto; flex-shrink: 0; margin-top: 3px; accent-color: var(--primary); }
.form-group--consent label { font-size: var(--fs-sm); font-weight: 400; color: var(--text-muted); }
.form-group--consent a { color: var(--primary); text-decoration: underline; }

/* Form feedback */
.form-feedback {
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.5;
}
.form-feedback[hidden] { display: none; }
.form-feedback--success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.form-feedback--error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.btn__loading { display: none; }
.btn.is-loading .btn__text    { display: none; }
.btn.is-loading .btn__loading { display: inline; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3rem;
}
.footer__brand p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: .5rem; line-height: 1.6; }
.footer__brand a { color: var(--text-muted); transition: color var(--tr); }
.footer__brand a:hover { color: var(--primary); }
.footer__brand img { margin-bottom: .75rem; }
.footer__nav { display: flex; flex-direction: column; gap: .75rem; }
.footer__nav a { color: var(--text-muted); font-size: var(--fs-sm); transition: color var(--tr); text-transform: uppercase; letter-spacing: 0.03em; }
.footer__nav a:hover { color: var(--primary); }
.footer__contact { display: flex; flex-direction: column; gap: .75rem; }
.footer__contact a { color: var(--text-muted); font-size: var(--fs-sm); transition: color var(--tr); }
.footer__contact a:hover { color: var(--primary); }

.social-links {
  display: flex;
  gap: .75rem;
  margin-top: .75rem;
}
.social-links a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--border);
  transition: transform var(--tr), background var(--tr);
}
.social-links a:hover {
  transform: scale(1.15);
  background: var(--primary);
}
.social-links svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.social-links a:hover svg { stroke: #000; }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom p { color: var(--text-muted); font-size: var(--fs-xs); }
.footer__powered { font-family: var(--font-mono); }

/* ─── Back-to-top ──────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow), 0 0 20px rgba(255, 211, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background var(--tr);
  z-index: 800;
}
.back-to-top svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ─── Sticky Mobile CTA ───────────────────────────────────────────────────── */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: .75rem 1rem;
    padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--border-accent);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .3);
    z-index: 800;
    display: flex;
    gap: 8px;
    transform: translateY(100%);
    transition: transform .3s ease;
  }
  .sticky-cta.visible { transform: translateY(0); }
  .sticky-cta .btn { color: #000; justify-content: center; }
  .sticky-cta .btn--outline { color: var(--primary); }
  .sticky-cta .btn svg { width: 16px; height: 16px; }
  .back-to-top { bottom: 5.5rem; right: 1rem; }
}

/* ─── Cookie Banner ────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(280px, 90vw, 560px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-banner p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }
.cookie-banner p a { color: var(--primary); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .75rem; justify-content: flex-end; }
.cookie-banner[hidden] { display: none; }
@media (max-width: 768px) {
  .cookie-banner { bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; width: 100%; }
}

/* ─── WIP Modal ────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow), var(--shadow-glow);
  position: relative;
}
.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--tr), color var(--tr);
}
.modal__close:hover { background: var(--bg-alt); color: var(--text); }
.modal__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal__icon svg {
  width: 32px; height: 32px;
  fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.modal h2 { font-size: var(--fs-2xl); margin-bottom: .5rem; }
.modal p  { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 1.5rem; }

/* ─── Lightbox ─────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  padding: 2rem;
  cursor: pointer;
}
.lightbox[hidden] { display: none; }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--tr);
  z-index: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .15); }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r);
  cursor: default;
}

/* ─── Scroll Reveal ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* ─── Reszponzív ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner         { grid-template-columns: 1fr; text-align: center; }
  .hero__text          { max-width: 100%; }
  .hero__visual        { order: -1; }
  .hero__mascot-frame  { max-width: 400px; margin-inline: auto; }
  .hero__ctas          { justify-content: center; }
  .hero__tag           { margin-inline: auto; }
  .outlet__inner       { grid-template-columns: 1fr; text-align: center; }
  .outlet__text        { order: 1; }
  .outlet__counter-wrap{ order: 0; }
  .outlet__counter-box { margin-inline: auto; }
  .outlet__cta         { margin-inline: auto; }
  .section__lead       { margin-inline: auto; }
  .kapcsolat__inner    { grid-template-columns: 1fr; }
  .footer__inner       { grid-template-columns: 1fr 1fr; }
  .stats__grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links    { display: none; }
  .nav__cta      { display: none; }
  .hamburger     { display: flex; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom .container { justify-content: center; text-align: center; }
  .testimonials  { grid-template-columns: 1fr; }
  .logic-grid    { grid-template-columns: 1fr; }
  .hero__scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero__ctas    { flex-direction: column; }
  .cards-grid    { grid-template-columns: 1fr; }
  .stats__grid   { grid-template-columns: 1fr; }
}

/* ─── Ajánlat-flow Timeline ───────────────────────────────────────────────── */
.flow-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 3rem;
  position: relative;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(255,211,0,.25) 100%);
  pointer-events: none;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 .5rem;
}
.flow-step__num-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}
.flow-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-xl);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255,211,0,.3);
}
.flow-step__title {
  font-size: var(--fs-base);
  font-weight: 700;
  font-family: var(--font-head);
  margin-bottom: .5rem;
  color: var(--text-heading);
}
.flow-step__desc {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.flow-cta {
  text-align: center;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .flow-timeline {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .flow-timeline::before { display: none; }
  .flow-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
  }
  .flow-step__num-wrap { margin-bottom: 0; flex-shrink: 0; }
  .flow-step__number { width: 44px; height: 44px; font-size: var(--fs-base); }
  .flow-step__content { display: flex; flex-direction: column; gap: .25rem; }
}

/* ─── Print ────────────────────────────────────────────────────────────────── */
@media print {
  .nav, .cookie-banner, .hamburger, .theme-toggle, .back-to-top,
  .sticky-cta, .scroll-progress, .modal-overlay, .lightbox,
  .hero__scroll-indicator, .hero__glow { display: none !important; }
  .hero { min-height: unset; padding-top: 2rem; }
  body  { background: white; color: black; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .text-gradient { -webkit-text-fill-color: #B8860B; color: #B8860B; }
}