/* ==========================================================================
   TZSVTAV téma — komponens- és szekció-stílusok
   A tzsvtav.hu sötét, prémium, technológiai megjelenését követi.
   ========================================================================== */

/* --- Tipográfia --- */
.font-display { font-family: "Space Grotesk", "Inter", sans-serif; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.entry-content p { color: hsl(215 15% 78%); line-height: 1.75; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration: none; opacity: 0.85; }
.entry-content h2, .entry-content h3 { margin-top: 2em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.entry-content ul li { list-style: disc; margin-bottom: 0.4em; color: hsl(215 15% 78%); }
.entry-content ol li { list-style: decimal; margin-bottom: 0.4em; color: hsl(215 15% 78%); }
.entry-content blockquote {
  margin: 1.5em 0;
  padding: 0.8em 1.4em;
  border-left: 3px solid var(--primary);
  background: hsl(220 18% 12% / 0.5);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--foreground);
}
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { padding: 0.7rem 0.9rem; border: 1px solid var(--border); text-align: left; }
.entry-content th { background: var(--secondary); color: var(--foreground); font-weight: 600; }

/* --- Layout helpers --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-tight { padding: 3.5rem 0; }
.border-b { border-bottom: 1px solid hsl(220 15% 15% / 0.6); }
.border-t { border-top: 1px solid hsl(220 15% 15% / 0.6); }
.bg-black-40 { background: hsl(0 0% 0% / 0.4); }
.bg-card-80 { background: hsl(222 26% 7% / 0.8); }

/* --- LED dot --- */
.led-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: var(--primary);
  box-shadow: 0 0 10px hsl(351 78% 48% / 0.9), 0 0 22px hsl(351 78% 48% / 0.5);
  animation: led-blink 2.4s ease-in-out infinite;
}
@keyframes led-blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* --- Nav dot --- */
.nav-dot {
  display: inline-block;
  width: 6px; height: 6px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: hsl(0 84% 56% / 0.8);
  box-shadow: 0 0 4px 1px hsl(0 84% 56% / 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-dot.active {
  background: hsl(142 90% 55%);
  box-shadow: 0 0 6px 1px hsl(142 90% 55% / 0.85), 0 0 12px 3px hsl(142 90% 55% / 0.35);
  animation: nav-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes nav-dot-pulse { 0%,100%{opacity:1} 50%{opacity:0.55} }

/* --- Decorative grid bg --- */
.bg-grid {
  background-image:
    linear-gradient(to right, hsl(351 78% 48% / 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(351 78% 48% / 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.text-glow { text-shadow: 0 0 32px hsl(351 78% 48% / 0.45); }
.card-glow { box-shadow: 0 0 0 1px hsl(351 78% 48% / 0.18), 0 18px 50px -20px hsl(351 78% 48% / 0.25); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { box-shadow: 0 0 24px hsl(351 78% 48% / 0.4); background: hsl(351 78% 52%); }
.btn-outline {
  border-color: hsl(220 15% 25%);
  background: hsl(220 18% 12% / 0.6);
  color: var(--foreground);
}
.btn-outline:hover { border-color: hsl(351 78% 48% / 0.5); color: var(--primary); }
.btn-lg { padding: 0.85rem 1.6rem; font-size: 1rem; }

/* --- Section head --- */
.section-head { margin-bottom: 3rem; }
.section-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.eyebrow .line { display: inline-block; width: 2rem; height: 1px; background: hsl(351 78% 48% / 0.6); }
.section-head h2 { max-width: 42rem; }
.section-head .subtitle { max-width: 42rem; color: var(--muted-foreground); font-size: 1.02rem; line-height: 1.7; }

/* ==========================================================================
   Header / Navigáció
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }

.topbar {
  border-bottom: 1px solid hsl(0 0% 100% / 0.05);
  background: hsl(0 0% 0% / 0.5);
  backdrop-filter: blur(12px);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 2.25rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.topbar-left { display: flex; align-items: center; gap: 1.5rem; }
.topbar-left a { display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.topbar-left a:hover { color: var(--primary); }
.topbar-left .ic { width: 0.9rem; height: 0.9rem; color: var(--primary); }
.topbar-left .hours { display: inline-flex; align-items: center; gap: 0.4rem; }
@media (max-width: 768px) { .topbar { display: none; } }

.main-nav {
  border-bottom: 1px solid transparent;
  background: hsl(222 32% 4% / 0.7);
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}
.main-nav.scrolled {
  border-color: hsl(0 0% 100% / 0.1);
  background: hsl(222 32% 4% / 0.95);
  backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 4rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.site-logo img { height: 2rem; width: auto; max-width: 180px; object-fit: contain; }
.site-logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--foreground);
}
.site-logo-text .accent { color: var(--primary); text-shadow: 0 0 32px hsl(351 78% 48% / 0.45); }

/* Primary menu */
.primary-menu { display: none; align-items: center; gap: 0.25rem; }
.primary-menu > li > a,
.primary-menu > li > .menu-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a { color: var(--foreground); }
.primary-menu .has-children > .menu-item-link { cursor: default; }
.primary-menu .caret { width: 0.9rem; height: 0.9rem; transition: transform 0.2s; }
.primary-menu li.has-children:hover > .menu-item-link .caret { transform: rotate(180deg); color: var(--primary); }

/* Dropdown */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border: 1px solid hsl(0 0% 100% / 0.1);
  background: hsl(222 30% 6% / 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -20px hsl(0 0% 0% / 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.primary-menu li.has-children { position: relative; }
.primary-menu li.has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted-foreground);
  transition: background 0.15s, color 0.15s;
}
.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu .current-menu-item > a { background: var(--accent); color: var(--primary); }

@media (min-width: 1024px) { .primary-menu { display: flex; } }

/* Header actions */
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(0 0% 100% / 0.15);
  background: hsl(220 18% 12% / 0.6);
  color: var(--foreground);
  transition: all 0.2s;
}
.icon-btn:hover { border-color: hsl(351 78% 48% / 0.5); color: var(--primary); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn svg { width: 1.1rem; height: 1.1rem; }
.icon-btn.catalog {
  border-color: hsl(0 84% 56% / 0.6);
  background: hsl(0 84% 56% / 0.1);
  color: hsl(0 75% 65%);
}
.icon-btn.catalog:hover { border-color: hsl(0 84% 60%); background: hsl(0 84% 56% / 0.15); }
.cta-btn { display: none; }
@media (min-width: 640px) { .cta-btn { display: inline-flex; } }

.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* --- Mobile menu --- */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: hsl(0 0% 0% / 0.7);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-panel {
  position: fixed; top: 0; right: 0; z-index: 70;
  height: 100%; width: 20rem; max-width: 85vw;
  display: flex; flex-direction: column;
  overflow-y: auto;
  border-left: 1px solid hsl(0 0% 100% / 0.1);
  background: hsl(222 32% 4% / 0.98);
  box-shadow: -20px 0 50px -10px hsl(0 0% 0% / 0.5);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid hsl(0 0% 100% / 0.1);
}
.mobile-head .title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em;
}
.mobile-body { flex: 1; padding: 0.75rem; overflow-y: auto; }
.mobile-body > a,
.mobile-body .mobile-link {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
}
.mobile-body > a:hover, .mobile-body .mobile-link:hover { background: var(--accent); }
.mobile-body .mobile-featured {
  margin-bottom: 0.5rem;
  border: 1px solid hsl(0 84% 56% / 0.4);
  background: hsl(0 84% 56% / 0.1);
}
.mobile-sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
  color: var(--foreground);
  background: transparent; border: none;
}
.mobile-sub-toggle:hover { background: var(--accent); }
.mobile-sub-toggle .chev { transition: transform 0.2s; width: 1rem; height: 1rem; }
.mobile-sub-toggle.open .chev { transform: rotate(180deg); }
.mobile-sub {
  margin-left: 1rem; padding-left: 0.75rem;
  border-left: 1px solid hsl(0 0% 100% / 0.1);
  display: none;
}
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem; color: var(--muted-foreground);
  border-radius: 0.4rem;
  transition: background 0.15s, color 0.15s;
}
.mobile-sub a:hover { background: var(--accent); color: var(--foreground); }
.mobile-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid hsl(0 0% 100% / 0.1);
}
.mobile-foot a { font-size: 0.75rem; color: var(--muted-foreground); display: inline-flex; align-items: center; gap: 0.4rem; }
.mobile-foot .ic { width: 0.9rem; height: 0.9rem; color: var(--primary); }
@media (min-width: 1024px) { .mobile-overlay, .mobile-panel { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: 6.5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, hsl(351 78% 48% / 0.18), transparent 55%),
    linear-gradient(to bottom, hsl(222 32% 4% / 0.6), var(--background) 92%);
}
.hero-grid { position: absolute; inset: 0; z-index: 0; opacity: 0.4; }
.hero-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid hsl(351 78% 48% / 0.3);
  background: hsl(351 78% 48% / 0.08);
  border-radius: 9999px;
  font-size: 0.78rem; font-weight: 500;
  color: hsl(351 70% 70%);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.hero h1 .accent { color: var(--primary); text-shadow: 0 0 32px hsl(351 78% 48% / 0.45); }
.hero-subtitle {
  max-width: 44rem;
  font-size: 1.1rem; line-height: 1.7;
  color: hsl(215 15% 72%);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

/* Stats band */
.stats-band { border-bottom: 1px solid hsl(220 15% 15% / 0.6); background: hsl(0 0% 0% / 0.4); }
.stats-grid {
  max-width: var(--container); margin: 0 auto; padding: 1.8rem 1.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem; font-weight: 700; color: var(--foreground);
}
.stat-label { margin-top: 0.25rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-foreground); }

/* ==========================================================================
   Marquee (márkalogo futószalag)
   ========================================================================== */
.marquee { border-block: 1px solid hsl(220 15% 15% / 0.6); background: hsl(0 0% 0% / 0.3); overflow: hidden; padding: 1.4rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 36s linear infinite; }
.marquee-item {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.12em;
  color: hsl(215 15% 55%);
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Service / product / reference kártyák
   ========================================================================== */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid.cols-2 { grid-template-columns: 1fr; }
.cards-grid.cols-3 { grid-template-columns: 1fr; }
.cards-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.cols-2, .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid hsl(0 0% 100% / 0.1);
  background: var(--card);
  border-radius: 0.75rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: hsl(351 78% 48% / 0.4); box-shadow: 0 0 0 1px hsl(351 78% 48% / 0.18), 0 18px 50px -20px hsl(351 78% 48% / 0.25); }
.card-media { position: relative; height: 10rem; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--card), transparent); }
.card-icon {
  position: absolute; bottom: 0.75rem; left: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid hsl(351 78% 48% / 0.4);
  background: hsl(222 32% 4% / 0.8);
  color: var(--primary);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card-body p { flex: 1; font-size: 0.88rem; line-height: 1.65; color: var(--muted-foreground); margin-bottom: 1rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  padding: 0.25rem 0.65rem;
  border: 1px solid hsl(0 0% 100% / 0.1);
  background: hsl(220 18% 12% / 0.6);
  border-radius: 9999px;
  font-size: 0.7rem; font-weight: 500;
  color: var(--muted-foreground);
}

/* Plain card (no media) */
.card.plain .card-body { padding: 1.5rem; }
.card.plain .card-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem; font-weight: 700; color: var(--primary);
  margin-bottom: 0.75rem; letter-spacing: 0.1em;
}

/* ==========================================================================
   Quality / timeline
   ========================================================================== */
.quality-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .quality-grid { grid-template-columns: repeat(3, 1fr); } }
.quality-item {
  padding: 1.75rem;
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: 0.75rem;
  background: hsl(222 26% 7% / 0.6);
}
.quality-item h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.quality-item p { font-size: 0.9rem; line-height: 1.7; color: var(--muted-foreground); margin: 0; }

/* Timeline */
.timeline { position: relative; max-width: 48rem; margin: 0 auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 0.4rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: linear-gradient(to bottom, var(--primary), transparent); }
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -1.7rem; top: 0.4rem;
  width: 0.7rem; height: 0.7rem; border-radius: 9999px;
  background: var(--primary);
  box-shadow: 0 0 10px hsl(351 78% 48% / 0.8);
}
.timeline-year { font-family: "Space Grotesk", sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--primary); letter-spacing: 0.08em; }
.timeline-item h3 { font-size: 1.15rem; margin: 0.3rem 0 0.4rem; }
.timeline-item p { font-size: 0.9rem; line-height: 1.7; color: var(--muted-foreground); margin: 0; }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq-list { max-width: 50rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid hsl(0 0% 100% / 0.1); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1.1rem 1.3rem;
  background: transparent; border: none;
  font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--foreground); text-align: left;
}
.faq-q .pm { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--primary); transition: transform 0.2s; }
.faq-q.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 1.3rem 1.2rem; font-size: 0.92rem; line-height: 1.75; color: var(--muted-foreground); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-block: 1px solid hsl(220 15% 15% / 0.6);
  background: hsl(0 0% 0% / 0.4);
  overflow: hidden;
}
.cta-band .bg-grid { position: absolute; inset: 0; opacity: 0.4; }
.cta-inner { position: relative; max-width: var(--container-narrow); margin: 0 auto; padding: 5rem 1.5rem; text-align: center; }
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p { max-width: 36rem; margin: 0 auto 2rem; color: var(--muted-foreground); }

/* ==========================================================================
   Page header (belső oldalak)
   ========================================================================== */
.page-header {
  position: relative;
  padding: 9rem 0 3.5rem;
  border-bottom: 1px solid hsl(220 15% 15% / 0.6);
  overflow: hidden;
}
.page-header .bg-grid { position: absolute; inset: 0; opacity: 0.3; }
.page-header-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.5; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.75rem; }
.page-header .lead { max-width: 44rem; font-size: 1.05rem; color: hsl(215 15% 72%); }

/* ==========================================================================
   Content layout
   ========================================================================== */
.content-area { padding: 4rem 0; }
.entry-content { max-width: var(--container-narrow); margin: 0 auto; }
.entry-content.alignwide, .alignwide { max-width: var(--container-wide); }
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ==========================================================================
   Integration placeholder (katalógus / konfigurátor / szimulátor)
   ========================================================================== */
.integration-slot {
  margin: 2rem 0;
  padding: 2.5rem;
  border: 1px dashed hsl(351 78% 48% / 0.4);
  border-radius: 0.9rem;
  background: hsl(222 26% 7% / 0.5);
  text-align: center;
}
.integration-slot .slot-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; margin-bottom: 1rem;
  border: 1px solid hsl(351 78% 48% / 0.4);
  background: hsl(351 78% 48% / 0.1);
  border-radius: 0.75rem;
  color: var(--primary);
}
.integration-slot .slot-icon svg { width: 1.75rem; height: 1.75rem; }
.integration-slot h3 { margin-bottom: 0.5rem; }
.integration-slot p { max-width: 40rem; margin: 0 auto 1.2rem; color: var(--muted-foreground); font-size: 0.92rem; }
.integration-slot .slot-hint {
  display: inline-block; padding: 0.3rem 0.7rem;
  border: 1px solid hsl(0 0% 100% / 0.1); border-radius: 0.4rem;
  font-size: 0.72rem; color: var(--muted-foreground);
  font-family: monospace;
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--foreground); }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  height: 2.75rem; padding: 0.6rem 0.85rem;
  border: 1px solid hsl(220 15% 18%);
  border-radius: var(--radius);
  background: hsl(220 18% 12% / 0.6);
  color: var(--foreground);
  font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: auto; min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: hsl(351 78% 48% / 0.6);
  box-shadow: 0 0 0 1px hsl(351 78% 48% / 0.4);
}
.field input::placeholder, .field textarea::placeholder { color: hsl(215 15% 45%); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.7rem center; padding-right: 2.2rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-item .ic { flex-shrink: 0; width: 1.1rem; height: 1.1rem; color: var(--primary); margin-top: 0.15rem; }
.info-item .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); margin-bottom: 0.2rem; }
.info-item .val { font-size: 0.95rem; color: var(--foreground); }
.info-item .val a:hover { color: var(--primary); }

/* ==========================================================================
   References gallery
   ========================================================================== */
.ref-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
.ref-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid hsl(0 0% 100% / 0.1); border-radius: 0.75rem; background: var(--card); transition: transform 0.3s, border-color 0.3s; }
.ref-card:hover { transform: translateY(-4px); border-color: hsl(351 78% 48% / 0.4); }
.ref-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--secondary); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ref-card:hover .ref-media img { transform: scale(1.05); }
.ref-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.ref-loc { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.4rem; }
.ref-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.ref-body p { font-size: 0.88rem; line-height: 1.65; color: var(--muted-foreground); margin-bottom: 0.9rem; flex: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid hsl(0 0% 100% / 0.1); background: hsl(0 0% 0% / 0.4); }
.newsletter-band { border-bottom: 1px solid hsl(0 0% 100% / 0.1); background: linear-gradient(to bottom, hsl(351 78% 48% / 0.06), transparent); }
.newsletter-inner { max-width: var(--container); margin: 0 auto; padding: 3rem 1.5rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .newsletter-inner { grid-template-columns: 1fr 1fr; } }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input {
  flex: 1; height: 2.75rem; padding: 0.6rem 0.85rem 0.6rem 2.4rem;
  border: 1px solid hsl(0 0% 100% / 0.1); border-radius: var(--radius);
  background: hsl(0 0% 100% / 0.03); color: var(--foreground); font-size: 0.9rem;
}
.newsletter-form input:focus { outline: none; border-color: hsl(351 78% 48% / 0.6); }
.footer-main { max-width: var(--container); margin: 0 auto; padding: 3.5rem 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h3 { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--foreground); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--muted-foreground); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-desc { margin-top: 1rem; max-width: 20rem; font-size: 0.88rem; line-height: 1.7; color: var(--muted-foreground); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius);
  border: 1px solid hsl(0 0% 100% / 0.1); color: var(--muted-foreground);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: hsl(351 78% 48% / 0.5); color: var(--primary); }
.footer-social svg { width: 1rem; height: 1rem; }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid hsl(0 0% 100% / 0.05);
  font-size: 0.78rem; color: var(--muted-foreground);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .legal { display: flex; gap: 1rem; }
.footer-bottom .legal a:hover { color: var(--primary); }
.footer-tagline { font-family: "Space Grotesk", sans-serif; letter-spacing: 0.12em; color: hsl(351 78% 48% / 0.6); }

/* ==========================================================================
   Blog / archive
   ========================================================================== */
.archive-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .archive-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid hsl(0 0% 100% / 0.1); border-radius: 0.75rem; background: var(--card); transition: transform 0.3s, border-color 0.3s; }
.post-card:hover { transform: translateY(-4px); border-color: hsl(351 78% 48% / 0.4); }
.post-card-media { aspect-ratio: 16/9; overflow: hidden; background: var(--secondary); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 0.5rem; }
.post-card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.post-card-body h3 a:hover { color: var(--primary); }
.post-card-body .excerpt { font-size: 0.88rem; line-height: 1.65; color: var(--muted-foreground); flex: 1; margin-bottom: 1rem; }
.post-card-body .readmore { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 0.4rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 0.6rem;
  border: 1px solid hsl(0 0% 100% / 0.1); border-radius: var(--radius);
  font-size: 0.88rem; color: var(--muted-foreground);
  transition: all 0.2s;
}
.pagination .page-numbers:hover { border-color: hsl(351 78% 48% / 0.5); color: var(--primary); }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }

/* Single post */
.single-header { padding: 9rem 0 2.5rem; }
.single-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.single-meta a:hover { color: var(--primary); }
.single-featured { border-radius: 0.75rem; overflow: hidden; margin: 2rem 0; }
.post-nav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid hsl(220 15% 15% / 0.6); }
.post-nav a { font-size: 0.88rem; color: var(--muted-foreground); }
.post-nav a:hover { color: var(--primary); }
.post-nav .label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.3rem; }

/* 404 */
.error-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8rem 1.5rem 4rem; }
.error-code { font-family: "Space Grotesk", sans-serif; font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; color: var(--primary); text-shadow: 0 0 40px hsl(351 78% 48% / 0.4); line-height: 1; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .led-dot, .nav-dot.active, .marquee-track, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
