/* ── Electro-Flow theme – fő stíluslap ───────────────────────────── */

:root {
  --ef-yellow: #f9d800;
  --ef-yellow-hover: #e6c800;
  --ef-black: #060606;
  --ef-white: #ffffff;
  --ef-gold: #ba8b49;
  --ef-gold-light: #f7eb9d;
  --ef-bg-alt: #fafafa;
  --ef-bg-mid: #0d0d0d;
  --ef-text: #060606;
  --ef-muted: #5d5d5d;
  --ef-border: #e8e8e8;
  --ef-radius-sm: 3px;
  --ef-radius-md: 4px;
  --ef-radius-lg: 6px;
  --ef-container: 1200px;

  --ef-header-h: 96px;
  --ef-header-h-mobile: 80px;

  /* sötét felületeken használt kontraszthelyes szöveg-tokenek */
  --ef-on-dark: rgba(255, 255, 255, 0.94);
  --ef-on-dark-soft: rgba(255, 255, 255, 0.78);
  --ef-on-dark-meta: rgba(255, 255, 255, 0.62);
  --ef-on-dark-faint: rgba(255, 255, 255, 0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background: var(--ef-white);
  color: var(--ef-text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* fixed header miatt szekciókhoz scroll-margin */
[id] { scroll-margin-top: var(--ef-header-h); }

/* ── WP admin bar fix ────────────────────────────────────────────── */
.admin-bar .nav-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav-header { top: 46px; } }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--ef-black);
  transition: box-shadow 300ms ease;
}
.nav-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.6); }
.nav-inner {
  max-width: var(--ef-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: var(--ef-header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo-link { display: inline-flex; align-items: center; line-height: 0; }
/* Logó: 70px magas → ~400px széles (a kép natív 320:56 arányában). */
.nav-logo {
  height: 70px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  transition: opacity 200ms ease;
}
.nav-logo-link:hover .nav-logo { opacity: 0.92; }
.nav-links-desktop {
  display: flex; gap: 32px; list-style: none; align-items: center;
  margin: 0; padding: 0;
}
.nav-links-desktop li { list-style: none; margin: 0; padding: 0; }
.nav-links-desktop a,
.nav-link {
  position: relative;
  display: inline-block;
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ef-on-dark-soft);
  padding: 8px 2px;
  text-decoration: none;
  transition: color 200ms;
}
.nav-links-desktop a::after,
.nav-link::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--ef-yellow);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 220ms ease;
}
.nav-links-desktop a:hover,
.nav-link:hover { color: #fff; }
/* Az aláhúzást csak hover és a JS-ből kapott `.is-active` jelzi.
   A WP által anchor menü esetén beadott `.current-menu-item` /
   `.current_page_item` osztályokat NEM használjuk aláhúzásra,
   mert minden anchor link a saját főoldalra mutat, így ezek
   minden menüpontnál aktívak lennének. */
.nav-links-desktop a:hover::after,
.nav-links-desktop a.is-active::after,
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-links-desktop a.is-active,
.nav-link.is-active { color: #fff; }
/* Mobil menüben a JS által megadott aktív állapot világosabb szöveg. */
.nav-mobile a.is-active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-size: 14px; font-weight: 500;
  color: var(--ef-on-dark-soft); letter-spacing: 0.01em;
  transition: color 200ms;
}
.nav-phone:hover { color: var(--ef-yellow); }
.nav-cta {
  background: var(--ef-yellow); color: var(--ef-black);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 24px; border-radius: var(--ef-radius-sm);
  transition: background 200ms, transform 150ms;
}
.nav-cta:hover { background: var(--ef-yellow-hover); transform: translateY(-1px); }
/* ── Hamburger ─────────────────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  gap: 6px;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav-burger:hover { border-color: rgba(249, 216, 0, 0.35); background: rgba(249, 216, 0, 0.06); }
.nav-burger:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: 2px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 280ms cubic-bezier(.4, 0, .2, 1),
              opacity 180ms ease,
              background 200ms ease;
}
.nav-burger:hover span { background: var(--ef-yellow); }
/* hamburger → X animáció (aria-expanded="true" jön a JS-től) */
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.nav-burger[aria-expanded="true"] {
  border-color: rgba(249, 216, 0, 0.5);
  background: rgba(249, 216, 0, 0.08);
}
.nav-burger[aria-expanded="true"] span { background: var(--ef-yellow); }

/* ── Mobil menü panel ──────────────────────────────────────────── */
/* Zárt állapot: vertikális padding, border, shadow MIND 0 – így nem
   foglal helyet (még böngésző-eltérések esetén sem). A vizuális
   díszítések (border-top, box-shadow) csak nyitott állapotban
   aktiválódnak. */
.nav-mobile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  background: rgba(13, 13, 13, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 0 solid rgba(249, 216, 0, 0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  /* zárt állapot – animációhoz */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 280ms ease,
    transform 320ms cubic-bezier(.4, 0, .2, 1),
    max-height 360ms cubic-bezier(.4, 0, .2, 1),
    padding 280ms cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear 360ms;
}
.nav-mobile.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 520px;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(249, 216, 0, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition:
    opacity 280ms ease,
    transform 320ms cubic-bezier(.4, 0, .2, 1),
    max-height 360ms cubic-bezier(.4, 0, .2, 1),
    padding 280ms cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear 0s;
}

/* Desktopon (1025px-től felfelé) a mobil panel teljesen rejtett –
   sem helyet, sem layout-tartalmat nem foglal el, és nem szivárog
   ki háttérszín / shadow sem. */
@media (min-width: 1025px) {
  .nav-mobile,
  #nav-mobile {
    display: none !important;
    max-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
}
/* finom arany highlight a panel tetején */
.nav-mobile::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ef-gold), var(--ef-gold-light), var(--ef-gold), transparent);
  opacity: 0.65;
  pointer-events: none;
}

/* Menüpontok: stagger transition */
.nav-mobile a {
  color: var(--ef-on-dark-soft);
  font-size: 16px; font-weight: 500;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 240ms ease, transform 240ms ease, color 200ms ease;
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: #fff; }
/* nyitáskor érkezzenek a menüpontok kis késleltetéssel */
.nav-mobile.is-open a            { opacity: 1; transform: translateY(0); }
.nav-mobile.is-open a:nth-child(1) { transition-delay: 80ms; }
.nav-mobile.is-open a:nth-child(2) { transition-delay: 130ms; }
.nav-mobile.is-open a:nth-child(3) { transition-delay: 180ms; }
.nav-mobile.is-open a:nth-child(4) { transition-delay: 230ms; }
.nav-mobile.is-open a:nth-child(5) { transition-delay: 280ms; }
.nav-mobile.is-open a:nth-child(6) { transition-delay: 320ms; }

.nav-mobile .mobile-cta {
  background: var(--ef-yellow);
  color: var(--ef-black);
  text-align: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: var(--ef-radius-sm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  margin-top: 14px;
  box-shadow: 0 6px 24px rgba(249, 216, 0, 0.18);
  transition: background 200ms ease, opacity 240ms ease, transform 240ms ease;
}
.nav-mobile .mobile-cta:hover {
  background: var(--ef-yellow-hover);
  color: var(--ef-black);
}
/* Telefonszám a mobil menüben – arany accent, kicsit hangsúlyosabb */
.nav-mobile .mobile-phone {
  color: var(--ef-yellow);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.nav-mobile .mobile-phone:hover { color: var(--ef-yellow-hover); }
/* A gold-line kizárólag elválasztó vonal a header alján – semmilyen
   wrapper funkciója nincs, ne kapjon paddinget vagy magasságot. */
.gold-line {
  display: block;
  width: 100%;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, var(--ef-gold) 0%, var(--ef-gold-light) 50%, transparent 100%);
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; background: var(--ef-black);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: var(--ef-header-h);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.hero-glow {
  position: absolute; bottom: -10%; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 60%;
  background: radial-gradient(ellipse, rgba(249,216,0,0.13) 0%, transparent 65%);
  pointer-events: none; filter: blur(8px);
}
.hero-corner {
  position: absolute; top: 0; right: 0;
  width: 380px; height: 380px;
  background: radial-gradient(circle at top right, rgba(186,139,73,0.18), transparent 60%);
  pointer-events: none;
}
.hero-accent-line {
  position: absolute; left: 0; top: 25%; bottom: 25%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--ef-gold) 30%, var(--ef-gold-light) 50%, var(--ef-gold) 70%, transparent);
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--ef-container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 64px);
  position: relative; z-index: 1;
  width: 100%;
}
.hero-overline {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ef-yellow);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-overline::before {
  content: ''; display: block; width: 36px; height: 2px;
  background: var(--ef-yellow);
}
.hero-h1 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
  color: #fff; max-width: 920px;
  font-variation-settings: 'wdth' 105;
  margin-bottom: 20px;
  overflow-wrap: normal;
  word-break: normal;
}
/* Fő gondolati egység: „Épületvillamos tervezés és műszaki ellenőrzés".
   Block elem, hogy a sub külön sorba kerüljön. A `text-wrap: balance`
   modern böngészőkben egyenlő sorhosszra törli, ha tördelni kell –
   régebbi böngészőkben sima természetes tördelés a fallback. Nincs
   fix `<br>`. */
.hero-h1-main {
  display: block;
  text-wrap: balance;
}
.hero-h1 em {
  font-style: normal;
  /* természetes inline szövegfolyás – semmi nowrap, így nem lóg ki
     mobilon, és a fő egység szabadon törhet a megfelelő helyen */
  display: inline;
  white-space: normal;
  background: linear-gradient(90deg, var(--ef-gold) 0%, var(--ef-gold-light) 60%, var(--ef-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.hero-h1-sub {
  display: block;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.hero-lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.7; color: var(--ef-on-dark-soft);
  max-width: 640px; margin-bottom: 32px;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(247,235,157,0.9);
  background: rgba(186,139,73,0.08);
  border: 1px solid rgba(186,139,73,0.28);
  border-radius: 999px;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ef-gold-light);
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-contact-bar {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-contact-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--ef-on-dark-meta); font-size: 14.5px;
}
.hero-contact-item a { color: inherit; transition: color 200ms; }
.hero-contact-item a:hover { color: var(--ef-yellow); }
.hero-contact-item svg { flex-shrink: 0; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ef-yellow); color: var(--ef-black);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 34px; border-radius: var(--ef-radius-sm);
  border: none; cursor: pointer;
  transition: background 200ms, transform 150ms, box-shadow 200ms;
}
.btn-primary:hover {
  background: var(--ef-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(249,216,0,0.3);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ef-on-dark-soft);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--ef-radius-sm);
  border: 1px solid rgba(255,255,255,0.28);
  transition: border-color 200ms, color 200ms, background 200ms;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--ef-yellow);
  color: var(--ef-yellow);
  background: rgba(249,216,0,0.04);
}
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ef-black);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--ef-radius-sm);
  border: 1px solid #c9c9c9;
  transition: border-color 200ms, color 200ms;
  cursor: pointer;
}
.btn-outline-dark:hover { border-color: var(--ef-black); }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-dark { background: var(--ef-black); }
.section-alt  { background: var(--ef-bg-alt); }
.section-mid  { background: var(--ef-bg-mid); }
.ef-container {
  max-width: var(--ef-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}
.section-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ef-gold);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--ef-gold);
}
.section-h2 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ef-text);
  margin-bottom: 18px;
}
.section-h2-inv { color: #fff; }
.section-h2 .gold-text {
  background: linear-gradient(90deg, var(--ef-gold), var(--ef-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-lead {
  font-size: 1.125rem; line-height: 1.7;
  color: var(--ef-muted);
  max-width: 580px;
}
.section-lead-inv { color: var(--ef-on-dark-soft); }
.section-header { margin-bottom: 56px; }

/* ── Services ────────────────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.service-card {
  background: white;
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-lg);
  overflow: hidden;
  transition: box-shadow 250ms ease, transform 250ms ease, border-color 250ms ease;
  cursor: pointer;
}
.service-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: rgba(186,139,73,0.4);
}
.service-card-img {
  width: 100%; height: 150px; object-fit: cover;
}
.service-card-body { padding: 20px 22px 24px; }
.service-icon-wrap {
  width: 38px; height: 38px;
  background: var(--ef-black);
  border-radius: var(--ef-radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-icon-wrap svg {
  width: 18px; height: 18px;
  stroke: var(--ef-yellow); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.service-card-title {
  font-family: 'Archivo', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--ef-text);
  line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.01em;
}
.service-card-desc {
  font-size: 14.5px; color: var(--ef-muted); line-height: 1.6;
}

/* ── Process ─────────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 30px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ef-gold), var(--ef-gold-light), var(--ef-gold), transparent);
}
.process-step { text-align: center; padding: 0 18px; position: relative; }
.process-num {
  width: 60px; height: 60px;
  background: var(--ef-bg-mid);
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  position: relative; z-index: 1;
  font-family: 'Archivo', sans-serif;
  font-size: 19px; font-weight: 800;
  color: var(--ef-yellow);
}
.process-title {
  font-family: 'Archivo', sans-serif;
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 10px;
}
.process-desc {
  font-size: 13.5px; color: var(--ef-on-dark-soft); line-height: 1.6;
}
.process-divider {
  margin-top: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ef-gold), var(--ef-gold-light), transparent);
}
.process-cta-wrap { margin-top: 36px; display: flex; justify-content: center; }

/* ── About ───────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ef-gold);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.about-label::before {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--ef-gold);
}
.about-h2 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ef-text);
  margin-bottom: 22px;
}
.about-text {
  font-size: 1.125rem; line-height: 1.75; color: #3d3d3d;
  margin-bottom: 18px;
}
.about-bullets {
  list-style: none; margin: 26px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.about-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; color: #2d2d2d; font-weight: 500;
}
.about-bullets li::before {
  content: ''; display: block;
  width: 8px; height: 8px;
  background: var(--ef-yellow);
  border-radius: 1px; margin-top: 7px; flex-shrink: 0;
}
.about-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.about-img-wrap { border-radius: 8px; overflow: hidden; position: relative; }
.about-img {
  width: 100%; height: 520px;
  object-fit: cover; object-position: center top;
}

/* HM monogramos placeholder kártya a Rólam-szekcióban
   (személyfotó helyett, hogy ne sugalljon konkrét személyt). */
.about-monogram {
  position: relative;
  width: 100%;
  height: 520px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(186,139,73,0.18), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(249,216,0,0.08), transparent 60%),
    linear-gradient(160deg, #0d0d0d 0%, #060606 60%, #111 100%);
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  color: rgba(186,139,73,0.45);
}
.about-monogram-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.about-monogram-glow {
  position: absolute; left: 50%; top: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(249,216,0,0.14), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.about-monogram-circuit {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.85;
  pointer-events: none;
}
.about-monogram-mark {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-58%);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.about-monogram-letters {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(7rem, 13vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--ef-gold) 0%, var(--ef-gold-light) 50%, var(--ef-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 6px 30px rgba(249,216,0,0.18);
  display: inline-block;
}
.about-monogram-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  padding: 8px 18px;
  border: 1px solid rgba(186,139,73,0.4);
  border-radius: 999px;
  background: rgba(6,6,6,0.55);
  backdrop-filter: blur(6px);
}
.about-monogram::before {
  content: '';
  position: absolute; inset: 16px;
  border: 1px solid rgba(186,139,73,0.18);
  border-radius: 4px;
  pointer-events: none;
}
.about-monogram::after {
  content: '';
  position: absolute; left: 24px; right: 24px; bottom: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ef-gold), var(--ef-gold-light), var(--ef-gold), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.about-img-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--ef-radius-lg);
  padding: 16px 22px;
}
.about-img-badge strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 16.5px; font-weight: 700; color: #fff;
  margin-bottom: 4px;
}
.about-img-badge span {
  font-size: 13px; color: var(--ef-on-dark-soft);
}

/* ── Stats ───────────────────────────────────────────────────────── */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ef-gold), var(--ef-gold-light), transparent);
}
.stat-block {
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat-block:last-child { border-right: none; }
.stat-icon-wrap { margin-bottom: 14px; }
.stat-icon-wrap svg {
  width: 26px; height: 26px;
  stroke: var(--ef-gold); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  margin: 0 auto; display: block;
}
.stat-number {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800; color: var(--ef-yellow);
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 14px; font-weight: 500;
  color: var(--ef-on-dark-soft);
  letter-spacing: 0.04em; line-height: 1.4;
}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-info-list {
  display: flex; flex-direction: column; gap: 14px; margin-top: 36px;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--ef-radius-md);
}
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(249,216,0,0.12);
  border-radius: var(--ef-radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg {
  width: 18px; height: 18px;
  stroke: var(--ef-yellow); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-info-lbl {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ef-on-dark-meta);
  margin-bottom: 6px;
}
.contact-info-val {
  font-size: 16px; color: var(--ef-on-dark); font-weight: 500;
}
a.contact-info-val { transition: color 200ms; }
a.contact-info-val:hover { color: var(--ef-yellow); }
/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--ef-black);
  padding: 56px 0 32px;
  border-top: 1px solid #1a1a1a;
}
.footer-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--ef-gold), var(--ef-gold-light), transparent);
  margin-bottom: 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 44px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Footer logó: ugyanaz az arány, mint a headerben (~400px szélesen). */
.footer-logo {
  height: 70px;
  width: auto;
  max-width: 400px;
  margin-bottom: 22px;
  display: block;
}
.footer-tagline {
  font-size: 14.5px; color: var(--ef-on-dark-soft);
  line-height: 1.65; max-width: 260px; margin-bottom: 22px;
}
.footer-tagline .footer-chamber {
  display: inline-block; margin-top: 6px;
  font-size: 12px; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.5);
}
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(249,216,0,0.1);
  color: rgba(249,216,0,0.85);
  border-radius: 2px;
  border: 1px solid rgba(249,216,0,0.22);
}
.footer-col-title {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ef-on-dark-meta);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14.5px; color: var(--ef-on-dark-soft);
  transition: color 200ms;
}
.footer-links a:hover { color: var(--ef-yellow); }
.footer-contact-row {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px;
}
.footer-contact-row svg { flex-shrink: 0; margin-top: 3px; }
.footer-contact-row span,
.footer-contact-row a {
  font-size: 14.5px; color: var(--ef-on-dark-soft); line-height: 1.55;
  transition: color 200ms;
}
.footer-contact-row a:hover { color: var(--ef-yellow); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: 13.5px; color: var(--ef-on-dark-meta); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 13.5px; color: var(--ef-on-dark-meta);
  transition: color 200ms;
}
.footer-legal a:hover { color: var(--ef-yellow); }

/* ── Standard pages (Impresszum, Adatkezelés, single, 404) ─────── */
.page-wrap {
  padding: calc(var(--ef-header-h) + clamp(56px, 8vw, 96px)) 0 clamp(64px, 8vw, 112px);
}
.page-wrap .ef-container { max-width: 880px; }
.page-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.page-content {
  font-size: 1.125rem; line-height: 1.75; color: #2d2d2d;
}
.page-content h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.625rem; font-weight: 700;
  margin: 36px 0 14px;
}
.page-content h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  margin: 26px 0 10px;
}
.page-content p { margin-bottom: 18px; }
.page-content ul, .page-content ol { margin: 0 0 18px 22px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--ef-gold); border-bottom: 1px solid rgba(186,139,73,0.4); }
.page-content a:hover { color: var(--ef-text); border-color: var(--ef-text); }

.error-404 { text-align: center; }
.error-404 .page-title { color: var(--ef-gold); }

/* ── Accessibility helpers ───────────────────────────────────────── */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  position: fixed !important; top: 8px; left: 8px;
  height: auto; width: auto; clip: auto; clip-path: none;
  background: var(--ef-yellow); color: var(--ef-black);
  padding: 10px 16px; z-index: 9999;
  font-weight: 700; text-decoration: none;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links-desktop { gap: 22px; }
  .nav-links-desktop a,
  .nav-link { font-size: 14px; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-inner { gap: 60px; }
}

/* 1024px alatt mobil/tablet header: csak logó + hamburger marad,
   minden más navigációs elem a lenyíló menübe kerül.
   (912px körüli laptopoknál is ez aktiválódik, így a telefonszám
   nem nyomódik össze.) */
@media (max-width: 1024px) {
  .nav-links-desktop, .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .nav-actions { gap: 12px; }
  /* Mobilon nincs külön CTA gomb a fejlécben – csak logó + hamburger.
     Az ajánlatkérés a hamburger menüben elérhető (.mobile-cta). */
  .nav-cta { display: none; }
}

@media (max-width: 768px) {
  :root { --ef-header-h: var(--ef-header-h-mobile); }
  .nav-inner { height: var(--ef-header-h-mobile); padding: 0 18px; }
  .nav-logo { height: 56px; max-width: 320px; }
  .footer-logo { height: 56px; max-width: 320px; }
  .hero { padding-top: var(--ef-header-h-mobile); }
  .hero-corner { width: 240px; height: 240px; }
  .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 360px; }
  .about-monogram { height: 360px; }
  .about-monogram-glow { width: 240px; height: 240px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 36px 24px; }
  .stat-block:nth-last-child(-n+2) { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: flex-start; }
  body { font-size: 16px; }
  .section-lead, .about-text, .page-content { font-size: 1.0625rem; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .services-grid, .stats-strip, .process-steps { grid-template-columns: 1fr; }
  .stat-block { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-block:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { justify-content: center; }
  .hero-h1-sub { font-size: 1.4rem; }
  .nav-logo { height: 46px; max-width: 260px; }
  .footer-logo { height: 50px; max-width: 280px; }
}
