/* ==========================================================================
   Villanyszerelés Mesterfokon — 2. változat
   Paletta a logóból: feszültségsárga #EFAB01, grafit #202329.
   Világos, tiszta alap; a sárga „fényként” viselkedik: felgyullad, világít.
   A mozgások mind kikapcsolnak, ha a látogató a „kevesebb mozgást” kéri.
   ========================================================================== */

:root {
  --paper:     #FFFFFF;
  --mist:      #F5F4F0;
  --line:      #E7E4DD;
  --ink:       #202329;
  --ink-2:     #2B2F37;
  --ink-3:     #15171B;
  --muted:     #5D636D;
  --volt:      #EFAB01;
  --volt-hi:   #FFC933;
  --volt-lo:   #B98300;
  --volt-wash: #FFF4D2;
  --wa:        #0B7C6F;
  --wa-lo:     #075E54;

  --disp: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --wrap: 1220px;
  --pad:  clamp(1.25rem, 5vw, 3rem);
  --sect: clamp(5rem, 11vw, 9rem);
  --r:    22px;

  --ease:   cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* --------------------------------------------------------------- alap */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* --------------------------------------------------------- tipográfia */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--disp);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.eyebrow span {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 1.7rem;
  padding-inline: .4rem;
  border-radius: 6px;
  background: var(--volt);
  color: var(--ink);
  letter-spacing: .05em;
}
.eyebrow--light { color: #A3A9B3; }
.eyebrow--ink   { color: var(--ink); }

.h2 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--volt-lo); }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--volt); }

.lead { max-width: 52ch; font-size: 1.1em; color: var(--muted); }

.sec-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 54rem; }
.sec-head--split {
  max-width: none;
  display: grid;
  gap: 1rem 4rem;
  align-items: end;
}
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.4fr 1fr; } }
.sec-head--split .lead { margin: 0; }

/* -------------------------------------------------------------- fejléc */
/* Lebegő, lekerekített sáv: elválik a laptól, görgetéskor árnyékot kap. */

.head {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px var(--pad) 0;
  pointer-events: none;
}
.head__in {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: calc(var(--wrap) - 2 * 1rem);
  margin-inline: auto;
  padding: .55rem .6rem .55rem 1.1rem;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgba(32, 35, 41, .07);
  border-radius: 18px;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.head.is-stuck .head__in {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px -22px rgba(32, 35, 41, .45);
}

.head__logo { display: block; flex: none; line-height: 0; }
.head__logo img { height: clamp(34px, 6vw, 46px); width: auto; }

.head__nav {
  display: none;
  margin-left: auto;
  gap: 1.9rem;
  font-family: var(--disp);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.head__nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
}
.head__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.head__nav a:hover::after { transform: scaleX(1); }

.head__call {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.1rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .03em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.head__call svg { color: var(--volt); }
.head__call:hover { background: var(--volt); color: var(--ink); }
.head__call:hover svg { color: var(--ink); }
@media (max-width: 520px) { .head__call span { display: none; } .head__call { padding: .7rem; } }

@media (min-width: 1060px) {
  .head__nav { display: flex; }
  .head__nav + .head__call { margin-left: clamp(1.5rem, 3vw, 2.5rem); }
}

/* ---------------------------------------------------------------- hero */

.hero {
  --mx: 0; --my: 0;               /* egérpozíció -1…1, a JS állítja */
  position: relative;
  isolation: isolate;
  margin-top: -74px;               /* a lebegő fejléc mögé fusson be */
  padding-top: 74px;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(239, 171, 1, .20), transparent 70%),
    var(--paper);
  overflow: hidden;
}

/* Halvány tervrajz-rács a háttérben, a szélek felé elhalványul. */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(32, 35, 41, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 41, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 80% at 60% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(75% 80% at 60% 45%, #000 30%, transparent 80%);
}

.hero__in {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem);
}
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.05fr .95fr; min-height: min(calc(100vh - 74px), 860px); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .95rem .45rem .75rem;
  margin: 0 0 1.5rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px -14px rgba(32, 35, 41, .4);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
}
/* A címke a h1-en belül van (SEO), ezért a h1 betűtípusát visszaállítjuk. */
.hero__h1 .pill {
  display: flex;
  width: fit-content;
  font-family: var(--body);
  line-height: 1.3;
  letter-spacing: 0;
}
@media (max-width: 479px) { .pill__more { display: none; } }
.pill__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22A45D;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(34, 164, 93, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 164, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 164, 93, 0); }
}

.hero__h1 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2.7rem, 1.4rem + 5vw, 5.6rem);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}
.hero__line { display: block; }
.hero__line:not(.hero__line--on) { color: #3A3E46; }

/* „Felkapcsolódó” csattanó: a sárga fénycsík neoncső-szerűen pislákolva gyullad fel. */
.glow {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
  color: var(--ink);
  animation: text-on 1.8s 1s both;
}
.glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.12em; right: -.12em;
  top: 52%; bottom: 2%;
  border-radius: .08em;
  background: var(--volt);
  box-shadow: 0 0 40px 6px rgba(239, 171, 1, .55);
  animation: light-on 1.8s 1s both;
}
@keyframes light-on {
  0%   { opacity: 0; transform: scaleX(.98); }
  8%   { opacity: .9; }
  12%  { opacity: .1; }
  20%  { opacity: 1; }
  24%  { opacity: .25; }
  34%  { opacity: 1; }
  40%  { opacity: .6; }
  48%, 100% { opacity: 1; transform: none; }
}
@keyframes text-on {
  0%   { color: #C5C8CE; }
  20%  { color: var(--ink); }
  24%  { color: #C5C8CE; }
  34%, 100% { color: var(--ink); }
}

/* Telefonszám: ikonos, nagy, kattintható blokk. */
.phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
}
.phone__ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--volt);
  box-shadow: 0 16px 30px -16px rgba(32, 35, 41, .8);
  transition: transform .4s var(--spring);
}
.phone__ico::after {           /* „csörög”: hullámzó gyűrű */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid var(--volt);
  opacity: 0;
  animation: ring 2.6s 2.5s ease-out infinite;
}
@keyframes ring {
  0%   { opacity: .9; transform: scale(.9); }
  70%, 100% { opacity: 0; transform: scale(1.25); }
}
.phone:hover .phone__ico { transform: rotate(-12deg) scale(1.06); }
.phone__txt { display: flex; flex-direction: column; line-height: 1; }
.phone__lbl {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
.phone__num {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.4rem);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.phone:hover .phone__num { color: var(--volt-lo); }

.cta-row { display: flex; flex-wrap: wrap; gap: .875rem; }
@media (max-width: 480px) { .cta-row { flex-direction: column; align-items: stretch; } }

/* Hero kép: 3D-ben döntött keret, az egérrel együtt mozdul. */
.hero__visual {
  position: relative;
  perspective: 1400px;
}
.hero__tilt,
.hero__visual > .hero__frame,
.hero__visual > .badge { transform-style: preserve-3d; }

.hero__frame {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 32px;
  overflow: hidden;
  background: var(--mist);
  box-shadow:
    0 50px 80px -40px rgba(32, 35, 41, .55),
    0 0 0 1px rgba(32, 35, 41, .06);
  transform:
    rotateY(calc(-9deg + var(--mx) * 7deg))
    rotateX(calc(4deg - var(--my) * 6deg));
  transition: transform .25s linear;
  will-change: transform;
}
@media (max-width: 899px) { .hero__frame { aspect-ratio: 4 / 3.6; transform: none; border-radius: 24px; } }

.hero__img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 45%;
}
.hero__frame picture { display: contents; }
.hero__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
}
.hero__video.is-playing { opacity: 1; }

.hero__glow {
  position: absolute;
  inset: 10% -6% -6% 10%;
  border-radius: 40px;
  background: var(--volt);
  filter: blur(2px);
  transform:
    translate(calc(var(--mx) * -14px), calc(var(--my) * -14px))
    rotate(4deg);
  transition: transform .25s linear;
  z-index: -1;
}

/* Lebegő „jelvények” a kép előtt: más mélységben mozognak, mint a kép. */
.badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 40px -22px rgba(32, 35, 41, .6);
  font-size: .98rem;
  line-height: 1.2;
  transition: transform .25s linear;
  animation: bob 6s ease-in-out infinite;
}
.badge--a {
  left: -6%; top: 14%;
  translate: calc(var(--mx) * 26px) calc(var(--my) * 26px);
}
.badge--b {
  right: -5%; bottom: 10%;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  background: var(--ink);
  color: var(--paper);
  animation-delay: -3s;
  translate: calc(var(--mx) * 34px) calc(var(--my) * 34px);
}
.badge__ico {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--volt);
  color: var(--ink);
}
.badge__lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #A3A9B3; }
.badge__big { font-family: var(--disp); font-weight: 800; font-size: 2rem; color: var(--volt); line-height: 1; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (max-width: 899px) {
  .badge--a { left: 4%; top: auto; bottom: -18px; }
  .badge--b { right: 4%; bottom: auto; top: -18px; }
}

/* 3D-renderelt tárgyak a hero körül. */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fl {
  position: absolute;
  width: clamp(70px, 9vw, 140px);
  height: auto;
  filter: drop-shadow(0 26px 22px rgba(32, 35, 41, .22));
  translate: calc(var(--mx) * var(--d) * 60px) calc(var(--my) * var(--d) * 60px);
  animation: drift 9s ease-in-out infinite;
  transition: translate .3s linear;
}
.fl--bolt   { --d: .9;  left: 50%;  top: 9%;  width: clamp(80px, 9vw, 130px); animation-delay: -1s; }
.fl--switch { --d: .7;  right: 2%;  top: 8%;   animation-delay: -4s; }
.fl--plug   { --d: .5;  right: 1%;  bottom: 7%; animation-delay: -2.5s; }
.fl--mcb    { --d: .35; left: 51%;  bottom: 3%; width: clamp(50px, 5.5vw, 85px); animation-delay: -6s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}
@media (max-width: 899px) {
  .fl--plug, .fl--mcb { display: none; }
  .fl--bolt   { left: 1%; right: auto; top: auto; bottom: 31%; width: 72px; z-index: 3; }
  .fl--switch { right: auto; left: 3%; top: auto; bottom: 2%; width: 60px; }
}
@media (max-width: 600px) { .fl--switch { display: none; } .fl--bolt { width: 58px; bottom: 33%; } }

/* -------------------------------------------------------------- gombok */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.8rem;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), background-color .2s var(--ease);
}
/* Fényvillanás végigfut a gombon rámutatáskor. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--volt { background: var(--volt); color: var(--ink); box-shadow: 0 16px 30px -16px rgba(185, 131, 0, 1); }
.btn--volt:hover { background: var(--volt-hi); }
.btn--dark { background: var(--ink); color: var(--paper); box-shadow: 0 16px 30px -16px rgba(32, 35, 41, 1); }
.btn--dark:hover { background: #000; }
.btn--wa   { background: var(--wa); color: var(--paper); box-shadow: 0 16px 30px -16px rgba(11, 124, 111, 1); }
.btn--wa:hover { background: var(--wa-lo); }
.btn--block { width: 100%; }
.btn__ico { flex: 0 0 auto; width: 1.1em; height: 1.1em; }

/* -------------------------------------------------------------- szalag */

.ticker {
  position: relative;
  z-index: 2;
  margin-block: -1.5rem;
  padding: 1rem 0;
  background: var(--volt);
  transform: rotate(-1.6deg);
  box-shadow: 0 20px 40px -26px rgba(185, 131, 0, .9);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker span {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.ticker svg { width: 1.4rem; height: 1.4rem; color: var(--ink); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ szekciók */

.section { position: relative; padding-block: var(--sect); }
.section--white { background: var(--paper); }
.section--dark  {
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(239, 171, 1, .12), transparent 70%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

/* ------------------------------------------------- miért engem hívj */

.whys {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  perspective: 1000px;
}
@media (min-width: 640px)  { .whys { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .whys { grid-template-columns: repeat(4, 1fr); } }

.why {
  --rx: 0; --ry: 0;
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(32, 35, 41, .06), 0 20px 40px -32px rgba(32, 35, 41, .5);
  transform: rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg));
  transition: transform .2s linear, box-shadow .3s var(--ease);
}
.why:hover { box-shadow: 0 30px 50px -28px rgba(32, 35, 41, .55); }
.why__ico {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  margin-bottom: 1.2rem;
  background: var(--volt-wash);
  color: var(--ink);
  transition: background-color .3s var(--ease), transform .5s var(--spring), box-shadow .3s var(--ease);
}
.why:hover .why__ico {
  background: var(--volt);
  transform: translateZ(30px) rotate(-8deg) scale(1.08);
  box-shadow: 0 0 0 8px rgba(239, 171, 1, .18), 0 10px 30px rgba(239, 171, 1, .55);
}
.why__h {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 0 0 .5rem;
}
.why p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ------------------------------------------- szolgáltatások: vitrin */

.show { display: grid; gap: 0; grid-template-columns: 1fr; }

.show__stage { display: none; }
.svc__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 1.25rem;
  grid-column: 1 / -1;
}

.show__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }

.svc {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem 1.5rem;
  align-items: start;
  padding-block: 2.25rem;
  border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }

.svc__n {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 3vw, 5rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(32, 35, 41, .35);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease), text-shadow .5s var(--ease);
}
.svc__h {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem);
  line-height: 1;
  margin: .2rem 0 .6rem;
  transition: color .4s var(--ease);
}
.svc p { margin: 0; color: var(--muted); max-width: 40ch; }

/* Asztali gép: ragadós, 3D-ben forduló kép balra, a lista jobbra. */
@media (min-width: 900px) {
  .show { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }

  .show__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    perspective: 1500px;
  }
  .show__frame {
    --rx: 0; --ry: 0;
    position: relative;
    aspect-ratio: 4 / 3.5;
    transform-style: preserve-3d;
    transform: rotateY(calc(10deg + var(--ry) * 1deg)) rotateX(calc(3deg + var(--rx) * 1deg));
    transition: transform .3s linear;
  }
  .show__frame::before {         /* sárga „tábla” a kép mögött, mélyebben */
    content: "";
    position: absolute;
    inset: 8% -5% -5% 8%;
    border-radius: 30px;
    background: var(--volt);
    transform: translateZ(-80px);
  }
  .show__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 50px 80px -40px rgba(32, 35, 41, .6);
    opacity: 0;
    transform: rotateY(-55deg) translateZ(-160px) translateX(-12%) scale(.9);
    transition: opacity .55s var(--ease), transform .95s var(--ease);
    backface-visibility: hidden;
  }
  .show__img.is-past { transform: rotateY(55deg) translateZ(-160px) translateX(12%) scale(.9); }
  .show__img.is-on   { opacity: 1; transform: none; }

  .show__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--disp);
    font-weight: 800;
    font-size: 1.3rem;
    font-variant-numeric: tabular-nums;
  }
  .show__n { color: var(--volt-lo); min-width: 2ch; }
  .show__tot { color: var(--muted); }
  .show__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
  .show__bar span {
    display: block; height: 100%; width: 16.66%;
    background: var(--volt);
    transition: width .6s var(--ease);
  }

  .svc {
    min-height: 46vh;
    align-content: center;
    border-top: 0;
    opacity: .28;
    transform: translateX(0);
    transition: opacity .5s var(--ease), transform .6s var(--ease);
  }
  .svc:last-child { border-bottom: 0; }
  .svc.is-on { opacity: 1; transform: translateX(10px); }
  .svc.is-on .svc__n {
    color: var(--volt);
    -webkit-text-stroke-color: var(--volt);
    text-shadow: 0 0 34px rgba(239, 171, 1, .6);
  }
  .svc__img { display: none; }
}

.ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--r);
  background: var(--volt-wash);
}
.ask p { margin: 0; flex: 1 1 22rem; font-size: 1.1rem; }
.ask__bolt { width: 40px; height: 40px; color: var(--volt-lo); flex: none; }

/* ------------------------------------------- folyamat: „áramkör” */

.circuit {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-left: 3rem;
}
.circuit__wire {
  position: absolute;
  left: 11px; top: 11px; bottom: 11px;
  width: 3px;
  background: rgba(255, 255, 255, .12);
  border-radius: 3px;
}
.circuit__wire span {
  position: absolute;
  inset: 0;
  background: var(--volt);
  box-shadow: 0 0 18px 2px rgba(239, 171, 1, .7);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--ease) .2s;
}
.circuit.is-live .circuit__wire span { transform: none; }

.node { position: relative; }
.node__dot {
  position: absolute;
  left: -3rem; top: 0;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid #4A4F59;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.circuit.is-live .node__dot {
  background: var(--volt);
  border-color: var(--volt-hi);
  box-shadow: 0 0 0 8px rgba(239, 171, 1, .16), 0 0 30px 6px rgba(239, 171, 1, .6);
}
.circuit.is-live .node:nth-child(2) .node__dot { transition-delay: .3s; }
.circuit.is-live .node:nth-child(3) .node__dot { transition-delay: 1s; }
.circuit.is-live .node:nth-child(4) .node__dot { transition-delay: 1.7s; }

.node__n {
  display: block;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .25);
  margin-bottom: .4rem;
  transition: -webkit-text-stroke-color .6s var(--ease), color .6s var(--ease);
}
.circuit.is-live .node:nth-child(2) .node__n { transition-delay: .3s; }
.circuit.is-live .node:nth-child(3) .node__n { transition-delay: 1s; }
.circuit.is-live .node:nth-child(4) .node__n { transition-delay: 1.7s; }
.circuit.is-live .node__n { -webkit-text-stroke-color: var(--volt); }

.node__h {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.05;
  margin: 0 0 .4rem;
}
.node p { margin: 0; color: #A9AFB8; max-width: 30ch; }

@media (min-width: 820px) {
  .circuit { grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-left: 0; padding-top: 3.5rem; }
  .circuit__wire { left: 11px; right: 11px; top: 11px; bottom: auto; width: auto; height: 3px; }
  .circuit__wire span { transform: scaleX(0); transform-origin: left; }
  .node__dot { left: 0; top: -3.5rem; }
}

/* ----------------------------------------------------------------- ár */

.price {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 920px) { .price { grid-template-columns: 1.15fr .85fr; } }

.ticks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.ticks li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 1.05rem;
}
.ticks svg {
  flex: none;
  width: 28px; height: 28px;
  padding: 5px;
  border-radius: 8px;
  background: var(--volt);
  color: var(--ink);
}

/* Az árkártya villanyóra-szerű: sötét, LED-del, nagy számmal. */
.meter {
  --rx: 0; --ry: 0;
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 28px;
  background: linear-gradient(160deg, #2C3039, var(--ink-3));
  color: var(--paper);
  box-shadow: 0 50px 80px -40px rgba(32, 35, 41, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(1000px) rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg));
  transition: transform .2s linear;
}
.meter__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.meter__lbl { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #A3A9B3; }
.meter__led {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 12px 3px rgba(239, 171, 1, .8);
  animation: blink 1.6s steps(2, start) infinite;
}
@keyframes blink { to { opacity: .25; } }
.meter__big {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(3.6rem, 2.4rem + 5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--volt);
  text-shadow: 0 0 40px rgba(239, 171, 1, .4);
  margin: 0 0 1.25rem;
}
.meter__big span { font-size: .4em; margin-left: .25em; color: var(--paper); text-shadow: none; }
.meter__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #C3C8D0;
}
.meter__row strong { color: var(--paper); font-family: var(--disp); font-size: 1.25rem; font-weight: 700; }
.meter .btn { margin-top: 1.25rem; }
.meter__note { margin: 1rem 0 0; font-size: .88rem; color: #A3A9B3; }

/* ------------------------------------------------------------ terület */

.area {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 920px) { .area { grid-template-columns: .8fr 1.2fr; } }

/* „Radar”: Abádszalókról induló hullámok. */
.area__radar {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 32%, rgba(32, 35, 41, .06) 32% 32.5%, transparent 32.5% 64%, rgba(32, 35, 41, .06) 64% 64.5%, transparent 64.5%),
    radial-gradient(circle, var(--volt-wash), var(--paper) 72%);
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--volt);
  opacity: 0;
  animation: radar 4.5s ease-out infinite;
}
.ring:nth-child(2) { animation-delay: 1.5s; }
.ring:nth-child(3) { animation-delay: 3s; }
@keyframes radar {
  0%   { transform: scale(.12); opacity: .9; }
  100% { transform: scale(1);   opacity: 0; }
}
.area__pin {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--volt);
  color: var(--ink);
  box-shadow: 0 0 0 10px rgba(239, 171, 1, .2), 0 20px 30px -12px rgba(185, 131, 0, .9);
}
.area__home {
  position: absolute;
  left: 50%; top: calc(50% + 48px);
  translate: -50% 0;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .04em;
}

.towns {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.towns li {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.15rem;
  padding: .45rem 1rem;
  border-radius: 10px;
  background: var(--mist);
  transition: background-color .2s var(--ease), transform .3s var(--spring);
}
.towns li:hover { background: var(--volt); transform: translateY(-3px) rotate(-2deg); }
/* Abádszalók nincs külön kiemelve (2026-11-02, a felhasználó kérésére). */
.towns .towns__more { background: transparent; border: 2px dashed var(--volt); color: var(--volt-lo); }

/* Vármegyék: sötét „sínre” fűzött címkék a településlista alatt. */
.counties {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 34px -24px rgba(32, 35, 41, .9);
}
.counties__lbl {
  margin: 0 0 .65rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--volt);
}
.counties__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.counties__list li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.1rem;
  padding: .35rem .85rem .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.counties__list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 10px var(--volt);
}
.counties__list li:hover { background: var(--volt); color: var(--ink); }
.counties__list li:hover::before { background: var(--ink); box-shadow: none; }

/* ------------------------------------------------- gyakori kérdések */

.faq {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .faq { grid-template-columns: 1fr 1.5fr; }
  .faq__head { position: sticky; top: 7rem; }
}
.faq__list { display: grid; gap: .75rem; }

.qa {
  position: relative;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -24px rgba(32, 35, 41, .55);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--spring);
}
/* Bal oldali „áramsín”: nyitáskor sárgán felizzik. */
.qa::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--volt);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.qa:hover { transform: translateX(4px); border-color: #D9D4C8; }
.qa[open] { border-color: var(--volt); box-shadow: 0 22px 40px -26px rgba(185, 131, 0, .7); }
.qa[open]::before { transform: scaleY(1); }

.qa__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 1.15rem 1.5rem;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem);
  line-height: 1.2;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:focus-visible { outline: 3px solid var(--volt); outline-offset: -3px; border-radius: 18px; }

/* Plusz jel, ami nyitáskor elfordul és sárga kapcsolóvá válik. */
.qa__x {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--mist);
  transition: background-color .25s var(--ease), transform .45s var(--spring);
}
.qa__x::before, .qa__x::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.qa__x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--spring); }
.qa[open] .qa__x { background: var(--volt); transform: rotate(180deg); }
.qa[open] .qa__x::after { transform: translate(-50%, -50%) rotate(0deg); }

.qa__a { padding: 0 1.5rem 1.35rem; color: var(--muted); }
.qa__a p { margin: 0; max-width: 60ch; }
.qa[open] .qa__a { animation: qa-in .4s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------------ záró CTA */

.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(255, 255, 255, .55), transparent 70%),
    var(--volt);
}
.final__in { position: relative; z-index: 1; }
.final__h {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2.8rem, 1.6rem + 5.5vw, 6rem);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0 0 1.5rem;
  color: rgba(32, 35, 41, .55);
}
.final__h strong { color: var(--ink); }
.final__num {
  display: inline-block;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  margin-bottom: 2rem;
  padding-bottom: .1em;
  border-bottom: 6px solid var(--ink);
  transition: transform .3s var(--spring);
}
.final__num:hover { transform: translateY(-4px); }
.final__meta { margin: 1.5rem 0 0; font-weight: 600; color: rgba(32, 35, 41, .7); }

/* Felső kábelen lógó, lengő izzó. */
.final__bulb {
  position: absolute;
  z-index: 0;
  right: clamp(-2rem, 4vw, 8rem);
  top: 0;
  width: clamp(180px, 24vw, 340px);
  transform-origin: 50% 0;
  animation: swing 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(185, 131, 0, .6));
}
@keyframes swing {
  0%, 100% { transform: rotate(4deg); }
  50%      { transform: rotate(-4deg); }
}
@media (max-width: 760px) { .final__bulb { opacity: .35; right: -3rem; } }

/* -------------------------------------------------------------- lábléc */

.foot {
  background: var(--ink-3);
  color: #9DA3AD;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  font-size: .9rem;
}
.foot__in {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) { .foot__in { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
.foot__logo { width: 56px; height: 56px; }
.foot__legal p, .foot__right p { margin: 0 0 .3rem; }
.foot__legal strong { color: var(--paper); font-family: var(--disp); font-size: 1.2rem; letter-spacing: .02em; }
.foot a { color: var(--paper); }
.foot__copy { margin: 0; }
@media (min-width: 820px) { .foot__right { text-align: right; } }

/* ------------------------------------------------------ mobil hívósáv */

.callbar {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 150;
  display: flex;
  gap: 8px;
  transform: translateY(150%);
  transition: transform .4s var(--spring);
}
.callbar.is-on { transform: translateY(0); }
.callbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem;
  border-radius: 16px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .03em;
  text-decoration: none;
  box-shadow: 0 16px 30px -12px rgba(32, 35, 41, .55);
}
.callbar__btn--tel { flex: 1 1 auto; background: var(--volt); color: var(--ink); }
.callbar__btn--wa  { flex: 0 0 auto; background: var(--wa);   color: var(--paper); padding-inline: 1.1rem; }
@media (min-width: 720px) { .callbar { display: none; } }
@media (max-width: 719px) { body { padding-bottom: 5.5rem; } }

/* ------------------------------------------------------- jogi aloldal */

.doc { max-width: 70ch; }
.doc__note {
  background: var(--volt-wash);
  border-left: 4px solid var(--volt);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-size: .95rem;
}
.doc__h {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 2.5rem 0 .75rem;
}
.doc__list { margin: 0 0 1em; padding-left: 1.25rem; }
.doc__list li { margin-bottom: .5rem; }
.doc__date {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

/* ------------------------------------------------------------ beúsztatás */

/* A tartalom alapból látszik. Csak akkor rejtjük el, ha a JS lefutott. */
.js .reveal {
  opacity: 0;
  transform: perspective(900px) translateY(40px) rotateX(-14deg);
  transform-origin: 50% 0;
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* A hero kép keretének saját 3D-forgatása van: azt a beúsztatás ne írja felül. */
.js .hero__visual.reveal { transform: translateY(40px) scale(.96); }
.js .hero__visual.reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__visual.reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .ticker__track { animation: none; }
  .qa, .qa::before, .qa__x, .qa__x::after { transition: none; }
  .qa[open] .qa__a { animation: none; }
  .glow, .glow::before { animation: none; }
  .fl, .badge, .final__bulb, .ring, .meter__led, .pill__dot, .phone__ico::after { animation: none; }
  .hero__frame, .show__frame { transform: none; }
  .circuit__wire span { transition: none; }
  .callbar { transition: none; }
}
