/* =========================================================
   Müller Villanyszerelés – teljes stíluslap
   Tiszta CSS, build lépés nélkül. Mentés után frissítsd a böngészőt.

   TARTALOM
   0. Betűtípusok
   1. Színek és alapértékek (ÚJ ÜGYFÉLNÉL CSAK EZT KELL ÁTÍRNI)
   2. Alapbeállítások (reset)
   3. Elrendezés, szakaszok, címsorok
   4. Fejléc és navigáció
   5. Gombok
   6. Főoldal szakaszai (hero, számok sáv, mottó, előnyök, szolgáltatások,
      munkamenet, referenciák, vélemények, GYIK, munkaterület, kapcsolat)
   7. Lábléc, mobil hívássáv, lightbox
   8. Jogi oldalak fejléce és elrendezése
   9. Animációk, CTA, űrlap, körhinta, jogi tartalom, süti sáv
   ========================================================= */

/* =========================================================
   0. BETŰTÍPUSOK
   A fájlnevek a ./fonts mappában lévő fájlokhoz igazodjanak.
   Ha a régi src/input.css-ben más @font-face szabályok voltak,
   azokat másold ide ezek helyett.
   ========================================================= */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   1. SZÍNEK ÉS ALAPÉRTÉKEK
   ========================================================= */
:root {
  --red: #D92319;          /* kiemelőszín: gombok, ikonok, linkek */
  --red-hover: #E8362B;
  --red-dark: #A61912;
  --ink: #1A1A1A;          /* oldal háttere */
  --slate: #333333;        /* keretek, kártyák */
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, .78);
  --star: #F5B301;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --container: 72rem;
}

/* =========================================================
   2. ALAPBEÁLLÍTÁSOK
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }
h1, h2, h3, button, .font-display { font-family: var(--font-display); }
h1, h2, h3 { font-size: inherit; font-weight: inherit; line-height: 1.2; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

section[id], h2[id] { scroll-margin-top: 96px; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.text-accent { color: var(--red); }
.icon-sm { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon    { width: 1.5rem;  height: 1.5rem;  flex-shrink: 0; }
.icon-md { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.icon-lg { width: 2.5rem;  height: 2.5rem;  flex-shrink: 0; }

/* =========================================================
   3. ELRENDEZÉS
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; }
.container-narrow { max-width: 48rem; margin: 0 auto; }
.section { padding: 6rem 1.5rem; border-top: 1px solid var(--slate); overflow: hidden; }
.section--alt  { background: rgba(51, 51, 51, .10); }
.section--tint { background: rgba(51, 51, 51, .20); }
.section--plain { border-top: 0; }

.section-head { max-width: 42rem; margin-bottom: 3.5rem; }
.h2 { font-size: 1.875rem; font-weight: 800; color: var(--text); line-height: 1.15; }
.lead { margin-top: 1rem; font-size: 1.125rem; line-height: 1.65; color: rgba(255, 255, 255, .75); }
@media (min-width: 768px) { .h2 { font-size: 2.25rem; } }

.section-head-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-head-row .section-head { margin-bottom: 0; }
@media (min-width: 768px) {
  .section-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* =========================================================
   4. FEJLÉC ÉS NAVIGÁCIÓ
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  background: rgba(26, 26, 26, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate);
}
.header-inner {
  max-width: 80rem; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; overflow: hidden; }
.brand img { height: 2.75rem; width: auto; min-width: 0; object-fit: contain; }

.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link { font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .8); transition: color .2s ease; }
.nav-link:hover { color: #FFFFFF; }

.menu-toggle { padding: .5rem; color: #FFFFFF; flex-shrink: 0; }
.menu-toggle svg { width: 1.75rem; height: 1.75rem; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu { display: none; border-top: 1px solid var(--slate); background: var(--ink); }
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu, .mobile-menu.open { display: none; } }
.mobile-menu-inner { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu-inner a:not(.cta-glow) { padding: .75rem 0; font-weight: 600; color: rgba(255, 255, 255, .9); }
.mobile-menu-inner .cta-glow { margin-top: .75rem; }

/* Nyelvváltó (HU / EN) */
.lang-link {
  font-size: .8125rem; font-weight: 700; letter-spacing: .05em; color: rgba(255, 255, 255, .85);
  padding: .35rem .6rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: .5rem;
  transition: border-color .2s ease, color .2s ease;
}
.lang-link:hover { border-color: var(--red); color: #FFFFFF; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.header-actions .nav-link { display: none; }
@media (min-width: 640px) { .header-actions .nav-link { display: inline; } }

/* =========================================================
   5. GOMBOK (az izzó CTA a 9. részben)
   ========================================================= */
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 9999px;
  color: #FFFFFF; font-weight: 700; font-size: 1.125rem; padding: 1rem 1.75rem;
  transition: border-color .2s ease;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }
.btn-ghost svg { color: var(--red); }

.btn-outline-sm {
  display: inline-block; font-size: .875rem; font-weight: 700; color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 9999px; padding: .75rem 1.25rem;
  transition: border-color .2s ease, background-color .2s ease;
}
.btn-outline-sm:hover { border-color: rgba(255, 255, 255, .6); }
.btn-outline-sm--accent { border-color: var(--red); }
.btn-outline-sm--accent:hover { border-color: var(--red); background: var(--red); }

.btn-light {
  flex-shrink: 0; font-size: .875rem; font-weight: 700;
  background: #FFFFFF; color: var(--ink); padding: .75rem 1.25rem; border-radius: 9999px;
}

/* =========================================================
   6. FŐOLDAL SZAKASZAI
   ========================================================= */

/* --- Hero --- */
/* Teljes szélességű háttér: finom áramköri minta + piros fény. A tartalom a hero-gridben marad konténerszélességű. */
.hero { position: relative; padding: 3rem 1.5rem 7rem; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.5'%3E%3Cpath d='M0 40h50l20 20h40M110 60v40l20 20h30M20 160v-40l30-30h30M80 0v30l-15 15M140 0v20h20M0 110h20'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.12'%3E%3Ccircle cx='50' cy='40' r='3'/%3E%3Ccircle cx='110' cy='60' r='3'/%3E%3Ccircle cx='130' cy='120' r='3'/%3E%3Ccircle cx='50' cy='90' r='3'/%3E%3Ccircle cx='65' cy='45' r='3'/%3E%3Ccircle cx='140' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 75% 40%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 85% at 75% 40%, #000 15%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 78% 35%, rgba(217, 35, 25, .22), transparent 42%),
    linear-gradient(to bottom, transparent 70%, var(--ink));
}
.hero-grid { max-width: var(--container); margin: 0 auto; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .hero { padding-top: 5rem; padding-bottom: 8rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
}
/* Ha nincs jobb oszlop (régi elrendezés): egy oszlop */
.hero-grid.hero-grid--solo { grid-template-columns: 1fr; }
.hero-grid--solo .hero-text { max-width: none; }
.hero-title { font-size: 2.25rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.hero-text { margin-top: 2rem; font-size: 1.125rem; line-height: 1.65; color: rgba(255, 255, 255, .85); max-width: 36rem; }
@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
  .hero-text { font-size: 1.25rem; }
}
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

/* Bizalmi címkék a gombok alatt */
.badges { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .625rem; }
.badges li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 9999px; font-size: .9rem; font-weight: 600;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88);
}
.badges li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(217, 35, 25, .8); }

/* Illusztráció (amíg nincs saját fotó) + lebegő címke */
.hero-art { position: relative; max-width: 30rem; width: 100%; margin: 0 auto; }
.hero-illu { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.hero-tag {
  position: absolute; left: -.5rem; top: 14%;
  background: var(--red); color: #FFFFFF; border-radius: var(--radius-md); padding: .8rem 1.1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .45), 0 0 30px rgba(217, 35, 25, .35);
  transform: rotate(-3deg);
}
.hero-tag b { display: block; font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: .95; }
.hero-tag span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) { .hero-tag { left: -1.5rem; } .hero-tag b { font-size: 2.75rem; } }

/* Illusztráció mozgásai */
.illu-wire { stroke-dasharray: 10 14; animation: wireFlow 1.6s linear infinite; }
@keyframes wireFlow { to { stroke-dashoffset: -48; } }
.illu-glow { animation: bulbPulse 3s ease-in-out infinite; transform-origin: 292px 240px; }
@keyframes bulbPulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.illu-blink { animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* --- Számok sáv (a hero alá lóg) --- */
.stats { position: relative; z-index: 2; padding: 0 1.5rem 4rem; margin-top: -4rem; }
.stats-box {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: #222222; border: 1px solid var(--slate); border-top: 3px solid var(--red);
  border-radius: var(--radius-md); box-shadow: 0 25px 50px rgba(0, 0, 0, .45);
}
.stats-box > div {
  display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: .3rem;
  padding: 1.5rem 1rem; text-align: center; border-color: var(--slate); border-style: solid; border-width: 0;
}
.stats-box > div:nth-child(odd) { border-right-width: 1px; }
.stats-box > div:nth-child(-n+2) { border-bottom-width: 1px; }
.stats-box dt { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.stats-box dd { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: #FFFFFF; }
.stats-box dd a { color: var(--red); }
.stats-box dd a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .stats-box { grid-template-columns: repeat(4, 1fr); }
  .stats-box > div { padding: 2rem 1rem; border-width: 0 !important; }
  .stats-box > div + div { border-left-width: 1px !important; }
  .stats-box dd { font-size: 2rem; }
}

.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--slate); }
.portrait-caption { margin-top: 1rem; font-size: .875rem; color: rgba(255, 255, 255, .6); }

/* --- Mottó --- */
.motto { padding: 5rem 1.5rem; border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); background: rgba(51, 51, 51, .2); overflow: hidden; }
.motto blockquote { max-width: 56rem; margin: 0 auto; }
.motto p { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.375; }
@media (min-width: 768px) { .motto p { font-size: 2.25rem; } }

/* --- Előnyök --- */
.benefits-section { max-width: calc(var(--container) + 3rem); margin: 0 auto; padding: 6rem 1.5rem; }
.benefits { display: grid; gap: 3rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.benefit { border-left: 2px solid var(--red); padding-left: 1.5rem; }
.benefit h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.benefit p { color: rgba(255, 255, 255, .8); line-height: 1.65; }

/* --- Szolgáltatások --- */
.featured-grid { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .featured-grid { grid-template-columns: 1fr 1fr; } }
.feature-card {
  position: relative; overflow: hidden;
  background: var(--ink); border: 1px solid rgba(217, 35, 25, .5);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
/* Piros sáv, ami ráhúzáskor végigfut a kártya tetején */
.feature-card::after, .tile::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--red); box-shadow: 0 0 12px rgba(217, 35, 25, .8); transition: width .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 25px 45px rgba(0, 0, 0, .45); }
.feature-card:hover::after, .tile:hover::after { width: 100%; }
@media (min-width: 768px) { .feature-card { padding: 2.5rem; } }
.feature-card > .icon-lg {
  width: 3.75rem; height: 3.75rem; padding: .8rem; margin-bottom: 1.5rem;
  color: var(--red); background: #111111; border: 1px solid rgba(217, 35, 25, .35); border-radius: .9rem;
}
.feature-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.feature-card p { color: rgba(255, 255, 255, .8); line-height: 1.65; margin-bottom: 1.5rem; }
.checklist { display: grid; gap: .5rem; color: rgba(255, 255, 255, .9); }
.checklist li { display: flex; gap: .75rem; }
.checklist li::before { content: "✓"; color: var(--red); font-weight: 700; }

.tiles {
  display: grid; gap: 1px; background: var(--slate);
  border: 1px solid var(--slate); border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 640px)  { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; background: var(--ink); padding: 1.75rem; transition: background-color .3s ease; }
.tile:hover { background: #1f1f1f; }
.tile-icon {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem;
  border-radius: .7rem; background: #111111; border: 1px solid rgba(217, 35, 25, .35); color: var(--red);
}
.tile-icon svg { width: 1.4rem; height: 1.4rem; }
.tile h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.tile p { color: rgba(255, 255, 255, .75); line-height: 1.65; }

/* --- Munkamenet --- */
.steps { display: grid; gap: 2rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.step-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.step-dot {
  flex-shrink: 0; font-family: var(--font-display); font-weight: 800;
  font-size: 2.75rem; line-height: 1; letter-spacing: -.03em; color: var(--red);
  text-shadow: 0 0 24px rgba(217, 35, 25, .45);
}
.step-line { display: none; flex: 1; height: 2px; background: rgba(217, 35, 25, .6); }
@media (min-width: 768px) { .step-line { display: block; } }
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: rgba(255, 255, 255, .75); line-height: 1.65; }

.cta-band {
  margin-top: 4rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  background: rgba(51, 51, 51, .25); border: 1px solid var(--slate); border-radius: var(--radius-lg); padding: 2rem;
}
.cta-band p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; text-align: center; }
.cta-band .cta-glow { flex-shrink: 0; }
@media (min-width: 640px) {
  .cta-band { flex-direction: row; justify-content: space-between; }
  .cta-band p { text-align: left; }
}
@media (min-width: 768px) { .cta-band { padding: 2.5rem; } .cta-band p { font-size: 1.5rem; } }
/* Kiemelt (piros) változat */
.cta-band--accent {
  position: relative; overflow: hidden; border: 0;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 25px 50px -12px rgba(217, 35, 25, .45);
}
.cta-band--accent::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px);
}
.cta-band--accent > * { position: relative; }
.cta-band--accent p { max-width: 38rem; }
.cta-band--accent .cta-glow { background: var(--ink); animation: none; box-shadow: 0 10px 25px rgba(0, 0, 0, .35); }
.cta-band--accent .cta-glow:hover { background: #000000; }

/* --- Referenciák --- */
.fb-link {
  display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0;
  font-size: .875rem; font-weight: 700; color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 9999px; padding: .625rem 1.25rem .625rem .75rem;
  transition: color .2s ease, border-color .2s ease;
}
.fb-link:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }
.fb-link img { width: 1.5rem; height: 1.5rem; }
.ref-img {
  display: block; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--slate);
}
.ref-caption { margin-top: .5rem; font-size: .875rem; color: rgba(255, 255, 255, .65); }

/* --- Vélemények --- */
.rating-line { margin-top: 1rem; color: rgba(255, 255, 255, .8); }
.rating-line strong { color: #FFFFFF; }
.rating-line .stars { color: var(--star); font-size: 1.125rem; }
.review-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.notice {
  margin-bottom: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  background: rgba(51, 51, 51, .25); border: 1px solid var(--slate); border-radius: var(--radius-md); padding: 1.5rem;
}
.notice p { color: rgba(255, 255, 255, .8); line-height: 1.65; }
@media (min-width: 640px) { .notice { flex-direction: row; align-items: center; } }
.reviews-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  display: flex; flex-direction: column;
  background: rgba(51, 51, 51, .25); border: 1px solid var(--slate); border-radius: var(--radius-md); padding: 1.75rem;
}
.review-stars { color: var(--star); margin-bottom: 1rem; }
.review-text { flex: 1; color: rgba(255, 255, 255, .9); line-height: 1.65; }
.review-name { margin-top: 1.5rem; font-weight: 700; }
.review-meta { font-size: .875rem; color: rgba(255, 255, 255, .5); }

/* --- GYIK --- */
.faq-title { margin-bottom: 2.5rem; }
.faq { border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); }
.faq details { padding: .5rem 0; }
.faq details + details { border-top: 1px solid var(--slate); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1rem 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
}
.faq-icon { color: var(--red); font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.faq-body { padding-bottom: 1.25rem; color: rgba(255, 255, 255, .8); line-height: 1.65; }
.faq-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* --- Munkaterület --- */
.eyebrow {
  display: inline-block; margin-bottom: .75rem; font-size: .8125rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.area-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.towns {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .55rem 1.25rem;
  max-width: 34rem;
}
.towns span {
  flex: 0 0 9.5rem; position: relative; padding-left: 1.1rem; font-size: .95rem;
  color: rgba(255, 255, 255, .8); cursor: default;
}
.towns span::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: .4rem; height: .4rem; border-radius: 50%; background: rgba(217, 35, 25, .7);
}
.towns span.hl { color: #FFFFFF; font-weight: 700; }
.towns span.hl::before { background: var(--red); box-shadow: 0 0 0 3px rgba(217, 35, 25, .25); }
.towns span.towns-more {
  flex-basis: 100%; padding-left: 0; margin-top: .35rem;
  font-size: .9rem; font-style: italic; color: rgba(255, 255, 255, .55);
}
.towns span.towns-more::before { display: none; }
.area-cta { margin-top: 2rem; }
.area-map svg { width: 100%; max-width: 30rem; height: auto; margin: 0 auto; }
.map-ring { transform-origin: 214px 128px; animation: mapPulse 3s ease-out infinite; }
.map-ring--2 { animation-delay: -1.5s; }
@keyframes mapPulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

/* --- Google Térkép --- */
.gmap {
  margin-top: 1.5rem; aspect-ratio: 4 / 3; width: 100%;
  border: 1px solid var(--slate); border-radius: var(--radius-md); overflow: hidden;
  background: rgba(51, 51, 51, .25);
}
.gmap iframe { width: 100%; height: 100%; border: 0; display: block; }
.gmap-consent {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem; text-align: center;
}
.gmap-consent p { color: rgba(255, 255, 255, .75); line-height: 1.6; max-width: 26rem; font-size: .95rem; }

/* --- Kapcsolat --- */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.contact-intro .lead { margin-top: 1.25rem; color: rgba(255, 255, 255, .8); }
.contact-cards { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; padding: 1.25rem;
  background: var(--ink); border: 1px solid var(--slate); border-radius: var(--radius-md);
  transition: border-color .3s ease;
}
.contact-card:hover { border-color: var(--red); }
.contact-icon {
  flex-shrink: 0; margin-right: 1.25rem; padding: 1rem; border-radius: .75rem;
  background: rgba(217, 35, 25, .1); color: var(--red); transition: background-color .3s ease;
}
.contact-card:hover .contact-icon { background: rgba(217, 35, 25, .2); }
.contact-text { min-width: 0; }
.contact-label { font-size: .875rem; color: rgba(255, 255, 255, .55); margin-bottom: .25rem; }
.contact-value { font-size: 1.25rem; font-weight: 700; transition: color .3s ease; }
.contact-value--email { font-size: 1rem; word-break: break-all; }
@media (min-width: 640px) { .contact-value--email { font-size: 1.125rem; } }
.contact-card:hover .contact-value { color: var(--red); }
.contact-area { margin-top: 2rem; color: rgba(255, 255, 255, .6); line-height: 1.65; }
.form-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.form-note { color: rgba(255, 255, 255, .65); margin-bottom: 1.75rem; }
.form-card .cta-glow { width: 100%; }
.form-card { position: relative; }

/* =========================================================
   7. LÁBLÉC, MOBIL HÍVÁSSÁV, LIGHTBOX
   ========================================================= */
.site-footer {
  padding: 2.5rem 0; border-top: 1px solid var(--slate); background: var(--ink);
  text-align: center; color: rgba(255, 255, 255, .6);
}
.footer-inner {
  max-width: 80rem; margin: 0 auto; padding: 0 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.footer-partner { display: flex; justify-content: center; }
.footer-partner img { width: 180px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-link {
  font-family: var(--font-display); font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .8);
  transition: color .2s ease;
}
.footer-link:hover { color: var(--red); }
.footnote { font-size: .75rem; max-width: 42rem; line-height: 1.65; color: rgba(255, 255, 255, .55); }
.footnote a { text-decoration: underline; }
.footnote a:hover { color: var(--red); }
.copyright { font-size: .75rem; }
.footer-nap { font-size: .875rem; color: rgba(255, 255, 255, .8); line-height: 1.7; }
.footer-nap a:hover { color: var(--red); }
.hero-kicker { display: block; margin-bottom: 1rem; font-size: .875rem; }

.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .75rem;
  background: rgba(26, 26, 26, .95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--slate);
}
.call-bar .cta-glow { width: 100%; }
@media (min-width: 768px) { .call-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 76px; } }

#lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .9);
  align-items: center; justify-content: center; padding: 1rem;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; padding: .5rem;
  color: #FFFFFF; font-size: 2.25rem; line-height: 1;
}
.lightbox-figure { max-width: 64rem; width: 100%; }
.lightbox-figure img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: .75rem; }
.lightbox-figure figcaption { margin-top: .75rem; text-align: center; color: rgba(255, 255, 255, .8); }

/* =========================================================
   8. JOGI OLDALAK – fejléc és elrendezés
   ========================================================= */
.page-hero { border-bottom: 1px solid var(--slate); background: rgba(51, 51, 51, .15); }
.page-hero-inner { max-width: calc(var(--container) + 3rem); margin: 0 auto; padding: 3.5rem 1.5rem 3rem; }
.page-hero h1 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-subtitle { margin-top: 1rem; font-size: 1.125rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.legal-layout { max-width: calc(var(--container) + 3rem); margin: 0 auto; padding: 3.5rem 1.5rem; display: grid; gap: 3rem; }
.legal-aside { display: none; }
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 230px 1fr; }
  .legal-aside { display: block; }
}

/* =========================================================
   9. ANIMÁCIÓK ÉS KOMPONENSEK
   ========================================================= */
/* =========================================================
   GÖRGETÉSRE ISMÉTLŐDŐ ANIMÁCIÓK
   Csak akkor rejtünk el bármit, ha a JS fut (html.js).
   ========================================================= */
html.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .75s cubic-bezier(.2, .7, .2, 1),
    transform .75s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
html.js .reveal[data-reveal="left"]  { transform: translateX(-40px); }
html.js .reveal[data-reveal="right"] { transform: translateX(40px); }
html.js .reveal[data-reveal="zoom"]  { transform: scale(.93); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Munkamenet: összekötő vonal „kirajzolódik” */
.step-line {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s ease;
  transition-delay: calc(var(--d, 0ms) + 250ms);
}
html:not(.js) .step-line,
.is-visible .step-line { transform: scaleX(1); }

/* Számozott kör: rövid „felvillanás” megjelenéskor */
.is-visible .step-dot { animation: dotPop .6s ease-out both; animation-delay: var(--d, 0ms); }
@keyframes dotPop {
  0%   { transform: scale(.6); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* =========================================================
   CTA GOMBOK – nagyobb, izzó
   ========================================================= */
.cta-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--red);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  animation: ctaPulse 2.6s ease-in-out infinite;
  transition: transform .2s ease, background-color .2s ease;
}
.cta-glow:hover {
  background: var(--red-hover);
  transform: translateY(-2px) scale(1.03);
}
.cta-glow:active { transform: scale(.98); background: var(--red-dark); }
.cta-glow[disabled] { opacity: .6; cursor: wait; animation: none; }

.cta-lg { font-size: 1.25rem; padding: 1.3rem 2.8rem; }
.cta-md { font-size: 1.05rem; padding: 1rem 2rem; }
.cta-sm { font-size: .92rem; padding: .7rem 1.4rem; }
@media (max-width: 480px) {
  .cta-lg { font-size: 1.1rem; padding: 1.15rem 2rem; width: 100%; }
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(217, 35, 25, .55),
      0 10px 30px -6px rgba(217, 35, 25, .55);
  }
  60% {
    box-shadow:
      0 0 0 14px rgba(217, 35, 25, 0),
      0 0 46px 6px rgba(217, 35, 25, .45);
  }
}

/* =========================================================
   GYIK
   ========================================================= */
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform .25s ease; }
details[open] .faq-icon { transform: rotate(45deg); }
details[open] .faq-body { animation: faqOpen .3s ease-out; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   KÉPHELYEK / LIGHTBOX
   ========================================================= */
.img-slot { position: relative; background: #262626; }
.img-slot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.img-slot:hover img { transform: scale(1.05); }
.img-slot .slot-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: rgba(255, 255, 255, .35); font-size: .8rem; text-align: center; padding: 1rem;
}
/* =========================================================
   REFERENCIA KÖRHINTA (carousel)
   ========================================================= */
.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 85%; scroll-snap-align: start; margin: 0; }
@media (min-width: 640px)  { .carousel-slide { flex-basis: calc((100% - 1rem) / 2); } }
@media (min-width: 1024px) { .carousel-slide { flex-basis: calc((100% - 2rem) / 3); } }
.carousel-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem;
}
.carousel-dots { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.carousel-dot {
  width: .625rem; height: .625rem; padding: 0; border: 0; border-radius: 9999px; cursor: pointer;
  background: rgba(255, 255, 255, .3);
  transition: width .3s ease, background-color .3s ease;
}
.carousel-dot:hover { background: rgba(255, 255, 255, .6); }
.carousel-dot.is-active { width: 1.75rem; background: var(--red); }
.carousel-dot:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.carousel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 9999px; cursor: pointer;
  color: #FFFFFF; background: transparent; border: 1px solid rgba(255, 255, 255, .25);
  transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}
.carousel-btn:hover:not([disabled]) { border-color: var(--red); background: rgba(217, 35, 25, .15); }
.carousel-btn[disabled] { opacity: .3; cursor: default; }
.carousel-loading .carousel-track { opacity: .5; }

#lightbox { display: none !important; }
#lightbox.open { display: flex !important; animation: faqOpen .25s ease-out; }

/* =========================================================
   KAPCSOLATI ŰRLAP
   ========================================================= */
.form-card {
  background: var(--ink);
  border: 1px solid var(--slate);
  border-radius: 1.5rem;
  padding: 2rem;
}
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  background: #232323;
  border: 1px solid #3d3d3d;
  border-radius: .75rem;
  color: #FFFFFF;
  font: inherit;
  font-size: 1rem;
  padding: .85rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 35, 25, .25);
}
.form-grid { display: grid; gap: 1.1rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: rgba(255, 255, 255, .75); line-height: 1.55; }
.check input { margin-top: .2rem; width: 1.15rem; height: 1.15rem; accent-color: var(--red); flex-shrink: 0; }
.check a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: .75rem; padding: 1rem 1.1rem; font-size: .95rem; line-height: 1.5; }
.form-status.ok  { display: block; background: rgba(34, 160, 90, .15); border: 1px solid rgba(34, 160, 90, .5); }
.form-status.err { display: block; background: rgba(217, 35, 25, .12); border: 1px solid rgba(217, 35, 25, .5); }

/* =========================================================
   JOGI OLDALAK
   ========================================================= */
.legal { max-width: 48rem; }
.legal section { padding: 2.25rem 0; border-top: 1px solid var(--slate); }
.legal section:first-child { border-top: 0; padding-top: 0; }
.legal h2 {
  font-size: 1.45rem; font-weight: 800; line-height: 1.25; color: #FFFFFF;
  margin-bottom: 1.25rem; padding-left: 1rem; border-left: 3px solid var(--red);
}
.legal h3 { font-size: 1.08rem; font-weight: 700; color: #FFFFFF; margin: 1.75rem 0 .75rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal p + p { margin-top: 1rem; }
.legal strong { color: #FFFFFF; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { display: grid; gap: .8rem; }
.legal ul li { position: relative; padding-left: 1.25rem; }
.legal ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.table-wrap {
  overflow-x: auto; border: 1px solid var(--slate); border-radius: 1rem; margin: 1rem 0 1.5rem;
}
.legal table { width: 100%; border-collapse: collapse; }
.legal table.wide { min-width: 760px; }
.legal th, .legal td {
  padding: .9rem 1.1rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--slate); font-size: .95rem;
}
.legal tr:last-child td { border-bottom: 0; }
.legal th {
  background: #2a2a2a; color: #FFFFFF; font-family: 'Montserrat', sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
}
.legal td { color: rgba(255, 255, 255, .88); }
.legal table:not(.wide) td:first-child { font-weight: 700; color: #FFFFFF; width: 36%; background: rgba(51, 51, 51, .25); }
.legal table.wide td:first-child { font-weight: 700; color: #FFFFFF; }
.legal-box {
  background: rgba(51, 51, 51, .25); border: 1px solid var(--slate); border-left: 3px solid var(--red);
  border-radius: .9rem; padding: 1.1rem 1.25rem; margin: 1rem 0;
}
.legal-box p { margin: 0; }
.legal-box p + p { margin-top: .25rem; }

.legal-toc { position: sticky; top: 110px; }
.legal-toc ol { display: grid; gap: .15rem; border-left: 1px solid var(--slate); }
.legal-toc a {
  display: block; padding: .4rem .9rem; margin-left: -1px; font-size: .88rem; line-height: 1.4;
  color: rgba(255, 255, 255, .6); border-left: 2px solid transparent; text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.legal-toc a:hover, .legal-toc a.active { color: #FFFFFF; border-left-color: var(--red); }

/* =========================================================
   SÜTI SÁV
   ========================================================= */
.cc-banner {
  position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem; margin-left: auto;
  background: #222222; border: 1px solid #3d3d3d; border-radius: 1.25rem;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .7);
  padding: 1.5rem; color: #FFFFFF;
  animation: ccIn .45s cubic-bezier(.2, .7, .2, 1);
}
@keyframes ccIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cc-banner h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem; }
.cc-banner p { font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.cc-banner a { color: var(--red); text-decoration: underline; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.1rem; }
.cc-actions .cc-full { grid-column: 1 / -1; }
.cc-btn {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem;
  padding: .8rem 1rem; border-radius: 9999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #FFFFFF;
  transition: border-color .2s ease, background-color .2s ease;
}
.cc-btn:hover { border-color: rgba(255, 255, 255, .6); }
.cc-btn.primary { background: var(--red); border-color: var(--red); }
.cc-btn.primary:hover { background: var(--red-hover); }
.cc-btn.link { border: 0; text-decoration: underline; padding: .4rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.cc-options { display: none; margin-top: 1rem; border-top: 1px solid #3d3d3d; padding-top: .5rem; }
.cc-banner.show-options .cc-options { display: block; }
.cc-opt { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #333; }
.cc-opt:last-child { border-bottom: 0; }
.cc-opt strong { display: block; font-size: .92rem; }
.cc-opt span { font-size: .8rem; color: rgba(255, 255, 255, .6); line-height: 1.45; }
.cc-switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-switch i {
  position: absolute; inset: 0; background: #444; border-radius: 9999px; transition: background .2s ease;
}
.cc-switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #FFFFFF; transition: transform .2s ease;
}
.cc-switch input:checked + i { background: var(--red); }
.cc-switch input:checked + i::after { transform: translateX(18px); }
.cc-switch input:disabled + i { opacity: .5; }
.cc-switch input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 2px; }

/* =========================================================
   CSÖKKENTETT MOZGÁS
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { scroll-behavior: auto; }
  html.js .reveal, html.js .reveal[data-reveal] { transform: none; transition: opacity .6s ease; }
  .step-line { transform: scaleX(1); transition: none; }
  .is-visible .step-dot, .cta-glow, .cc-banner, details[open] .faq-body { animation: none; }
  .cta-glow { box-shadow: 0 0 30px 2px rgba(217, 35, 25, .45); }
  .img-slot:hover img { transform: none; }
  .illu-wire, .illu-glow, .illu-blink, .map-ring { animation: none; }
  .feature-card:hover { transform: none; }
}
