 :root{
    --bg:#F6F7F3;
    --panel:#FFFFFF;
    --ink:#10161A;
    --ink-soft:#4B565C;
    --line:#DCE2DC;
    --blue:#1E4FFF;
    --blue-deep:#0B1220;
    --green:#22C97A;
    --battery: #00ccff;
    --amber:#FFB020;
    --red:#FF5C5C;
    --radius:14px;
    --display:'Roboto',sans-serif;
    --body:'Inter',sans-serif;
    --small:'Roboto',sans-serif;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  html, body{overflow-x:clip; width:100%;}
  body{
    background:var(--bg);
    color:var(--ink);
    font-family:var(--body);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit;}
  .wrap{max-width:1120px; margin:0 auto; padding:0 24px;}
  h1,h2,h3{font-family:var(--display); letter-spacing:-0.02em; line-height:1.05;}
  .eyebrow{
    font-family:var(--small); font-size:11.5px; text-transform:uppercase;
    color:var(--blue); display:flex; align-items:center; gap:8px; margin-bottom:14px;
  }
  .eyebrow::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px rgba(34,201,122,.18);}

  /* Focus visibility */
  a:focus-visible, button:focus-visible{outline:2px solid var(--blue); outline-offset:3px;}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
  }

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(246,247,243,.86); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
    
  }
  .nav{display:flex; align-items:center; justify-content:space-between; padding:16px 24px;}
.logo{
  display:flex;
  align-items:center;
  gap:8px;
}
.logo-img{
  height:28px;
  width:auto;
  display:block;
}
  .nav ul{list-style:none; display:flex; gap:32px; margin:0; padding:0;}
  .nav a{font-size:14.5px; font-weight:500; text-decoration:none; color:var(--ink-soft); transition:color .15s;}
  .nav a:hover{color:var(--ink);}
  .navlinks{display:flex; align-items:center; gap:32px;}
  .btn{
    font-family:var(--body); font-weight:600; font-size:14.5px; text-decoration:none;
    padding:11px 20px; border-radius:9px; border:1px solid transparent; cursor:pointer; display:inline-flex; align-items:center; gap:8px;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-primary{background:var(--ink); color:#c7c7c7 !important;}
  .btn-primary:hover{background:var(--blue); transform:translateY(-1px); box-shadow:0 6px 18px rgba(30,79,255,.28); color: #fff !important;}
  .btn-ghost{border-color:var(--line); color:var(--ink); background:transparent;}
  .btn-ghost:hover{border-color:var(--ink);}
  .menu-toggle{
    display:none; background:none; border:1px solid var(--line); border-radius:9px; cursor:pointer;
    width:40px; height:40px; align-items:center; justify-content:center; color:var(--ink); flex-shrink:0;
  }
  .menu-toggle svg{width:20px; height:20px;}
  .mobile-menu{display:none;}

  /* ---------- HERO ---------- */
  .hero{padding:76px 0 40px; position:relative; overflow:hidden;}
  .hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
  .hero h1{font-size:clamp(34px,4.6vw,58px); font-weight:700; margin-bottom:22px;}
  .hero h1 em{font-style:normal; color:var(--blue);}
  .hero p.lead{font-size:17.5px; color:var(--ink-soft); max-width:46ch; margin-bottom:32px;}
  .hero-cta{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px;}
  .trust-row{display:flex; gap:26px; flex-wrap:wrap; font-family:var(--small); font-size:12.5px; color:var(--ink-soft);}
  .trust-row span{display:flex; align-items:center; gap:7px;}
  .trust-row svg{width:14px; height:14px; stroke:var(--green);}

  /* Signature battery diagnostic visual */
  .cell-scan{
    background:var(--blue-deep); border-radius:20px; padding:34px 28px 28px;
    position:relative; overflow:hidden; box-shadow:0 30px 60px -20px rgba(11,18,32,.45);
    user-select: none;
  }
  .cell-scan-head{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:22px; color:#fff;}
  .cell-scan-head .label{font-family:var(--small); font-size:11.5px; letter-spacing:.1em; color:#8CA0C4; text-transform:uppercase;}
  .cell-scan-head .soh{font-family:var(--small); font-size:34px; font-weight:600; color:var(--battery);}
  .cells{display:grid; grid-template-columns:repeat(10,1fr); gap:6px; margin-bottom:20px;}
  .cell{
    height:46px; border-radius:5px; background:#1B2740; position:relative; overflow:hidden;
    border:1px solid rgba(255,255,255,.06);
  }
  .cell::after{
    content:""; position:absolute; inset:0; background:linear-gradient(180deg,var(--battery),#2a6fbd);
    transform:translateY(100%); animation:fillcell 2.6s ease-in-out infinite;
  }

.cell{
 animation:
   cellGlow 2.8s ease-in-out infinite;
   animation-delay:calc(var(--i,0) * 120ms);
}

  @keyframes fillcell{
    0%{transform:translateY(100%);}
    40%{transform:translateY(0%);}
    70%{transform:translateY(0%);}
    100%{transform:translateY(100%);}
  }
  .cell-scan-foot{display:flex; justify-content:space-between; color:#8CA0C4; font-family:var(--small); font-size:12px;}
  .cell-scan-foot b{color:#fff; font-weight:500;}
  .badge-cert{
    position:absolute; top:-14px; right:26px; background:var(--green); color:#062416;
    font-family:var(--small); font-size:11px; font-weight:600; letter-spacing:.05em;
    padding:6px 12px; border-radius:20px; box-shadow:0 8px 18px rgba(34,201,122,.35);
  }

  /* ---------- SECTION GENERIC ---------- */
  section{padding:88px 0;}
  .section-head{max-width:640px; margin-bottom:48px;}
  .section-head h2{font-size:clamp(26px,3vw,36px); font-weight:600;}
  .section-head p{color:var(--ink-soft); margin-top:14px; font-size:16px;}

  /* ---------- PROBLEM STATS ---------- */
  .stats-band{background:var(--blue-deep); color:#fff;  background-image: url("elektromos-auto.webp"); background-size: cover; background-repeat: no-repeat;}
  .stats-band .section-head p{color:#9FB0CC;}
  .stat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
  .stat{border-left:2px solid rgba(255,255,255,.14); padding-left:20px;}
  .stat .num{font-family:var(--small); font-size:40px; font-weight:600; color:var(--green);}
  .stat .cap{color:#9FB0CC; font-size:14px; margin-top:6px;}

  /* ---------- SOLUTION CARDS ---------- */
  .card-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;

  box-shadow:0 0 0 rgba(16,22,26,0);
  transform:translateY(0);

  transition:
    transform .25s cubic-bezier(.2,.8,.2,1),
    box-shadow .25s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:
    0 18px 35px -18px rgba(16,22,26,.28);
}
  .card .icon{
    width:42px; height:42px; border-radius:10px; background:#EDF1FF; display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  }
  .card .icon svg{width:22px; height:22px; stroke:var(--blue); fill:none; stroke-width:1.8;}
  .card h3{font-size:18px; font-weight:600; margin-bottom:10px;}
  .card p{color:var(--ink-soft); font-size:14.5px;}

  /* ---------- PROCESS ---------- */
  .process{background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .process-head-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; margin-bottom:48px;}
  .process-head-grid .section-head{margin-bottom:0;}
  .illustration-panel{
    background:var(--blue-deep); border-radius:18px; box-shadow:0 24px 48px -24px rgba(11,18,32,.4);
  }
  .process-image{
  width:100%;
  height:auto;
  border-radius:12px;
  display:block;
}
  .process-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative;}
  .process-grid::before{
    content:""; position:absolute; top:26px; left:8%; right:8%; height:1px; background:var(--line); z-index:0;
  }
  .step{position:relative; z-index:1; padding-right:24px; font-weight: bold;}
  .step .n{
    width:52px; height:52px; border-radius:50%; background:var(--ink); color:#fff;
    display:flex; align-items:center; justify-content:center; font-size:15px; margin-bottom:18px; user-select: none;
  }
  .step:nth-child(2) .n{background:var(--blue);}
  .step:nth-child(3) .n{background:var(--green); color:#062416;}
  .step h3{font-size:17px; font-weight:600; margin-bottom:8px;}
  .step p{color:var(--ink-soft); font-size:14.5px;}
  .step .time{font-family:var(--small); font-size:12px; color:var(--blue); margin-top:10px; display:block;}

  /* ---------- PRODUCTS ---------- */
  .prod-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px;}
  .prod{
    border-radius:var(--radius); padding:30px 26px; border:1px solid var(--line); background:var(--panel);
  }
  .prod.hi{background:var(--blue-deep); color:#fff; border-color:transparent; position:relative;}
  .prod-top{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:16px;}
  .prod-top h3{font-size:20px; font-weight:700;}
  .prod-top .tag{font-family:var(--small); font-size:11px; padding:4px 10px; border-radius:20px; background:#EDF1FF; color:var(--blue);}
  .prod.hi .tag{background:rgba(34,201,122,.16); color:var(--green);}
  .prod ul{list-style:none; margin-top:16px; display:flex; flex-direction:column; gap:10px;}
  .prod li{display:flex; gap:10px; font-size:14.5px; align-items:flex-start;}
  .prod.hi p{color:#B9C4DA;}
  .prod:not(.hi) p{color:var(--ink-soft);}
  .prod li svg{width:16px; height:16px; stroke:var(--green); flex-shrink:0; margin-top:2px;}
  .prod.hi li svg{stroke:var(--green);}

  /* ---------- CONTACT ---------- */
  .contact-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:start;}
  .contact-info{background:var(--blue-deep); border-radius:20px; padding:36px 32px; color:#fff;}
  .contact-info h2{font-size:26px; margin-bottom:12px;}
  .contact-info p{color:#9FB0CC; font-size:15px; margin-bottom:26px;}
  .contact-info .illustration-panel{background:transparent; padding:0; box-shadow:none; margin-bottom:26px;}
  .contact-list{list-style:none; display:flex; flex-direction:column; gap:14px;}
  .contact-list li{display:flex; align-items:center; gap:10px; font-size:14.5px; color:#D7DEEA;}
  .contact-list svg{width:17px; height:17px; stroke:var(--green); flex-shrink:0;}
  .contact-list a{color:inherit; text-decoration:none;}
  .contact-list a:hover{color:var(--green);}
  .btn-kapcs{color: #fff !important;}

  .contact-image{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}
  .form-card{
    background:var(--panel); border:1px solid var(--line); border-radius:20px; padding:34px 32px;
    box-shadow:0 24px 48px -30px rgba(16,22,26,.25);
  }
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
  .field{margin-bottom:18px;}
  .field label{display:block; font-size:13px; font-weight:600; margin-bottom:7px; color:var(--ink);}
  .field input, .field select, .field textarea{
    width:100%; font-family:var(--body); font-size:14.5px; color:var(--ink);
    border:1px solid var(--line); border-radius:9px; padding:11px 13px; background:var(--bg);
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  .field input:focus, .field select:focus, .field textarea:focus{
    outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(30,79,255,.14); background:#fff;
  }
  .field textarea{resize:vertical; min-height:100px;}
  .form-note{font-size:12.5px; color:var(--ink-soft); margin-top:2px; margin-bottom:20px;}
  .form-status{
    display:none; margin-top:16px; padding:12px 14px; border-radius:9px; font-size:14px;
    background:rgba(34,201,122,.12); color:#0F7A46; border:1px solid rgba(34,201,122,.35);
  }

  /* ---------- CTA BAND ---------- */
  .cta-band{
    background:linear-gradient(135deg, var(--ink) 0%, var(--blue-deep) 100%);
    color:#fff; border-radius:24px; padding:56px 48px; display:grid; grid-template-columns:1.3fr .7fr; gap:32px; align-items:center;
    margin:0 140px;
  }
  .cta-band h2{font-size:clamp(24px,3vw,32px); margin-bottom:12px;}
  .cta-band p{color:#B9C4DA; max-width:44ch;}
  .cta-band .btn-primary{background:var(--green); color:#062416;}
  .cta-band .btn-primary:hover{background:#3EE092; box-shadow:0 8px 20px rgba(34,201,122,.3);}
  .cta-actions{display:flex; flex-direction:column; gap:12px;}
  .cta-actions .btn{justify-content:center;}

  /* ---------- FOOTER ---------- */
  footer{padding:56px 0 30px; border-top:1px solid var(--line); margin-top:60px;}
  .foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; margin-bottom:40px;}
  .foot-grid h4{font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-soft); margin-bottom:14px; font-family:var(--small); font-weight:500;}
  .foot-grid ul{list-style:none; display:flex; flex-direction:column; gap:9px;}
  .foot-grid a{text-decoration:none; color:var(--ink-soft); font-size:14px;}
  .foot-grid a:hover{color:var(--ink);}
  .foot-bottom{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:12.5px; color:var(--ink-soft); font-family:var(--small);}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 880px){
    .navlinks{display:none;}
    .menu-toggle{display:flex;}
    .mobile-menu{
      display:block; max-height:0; overflow:hidden;
      background:var(--panel); border-bottom:1px solid var(--line);
      transition:max-height .28s ease;
    }
    .mobile-menu.open{max-height:340px;}
    .mobile-menu ul{list-style:none; display:flex; flex-direction:column; padding:4px 24px 8px;}
    .mobile-menu li{border-top:1px solid var(--line);}
    .mobile-menu a{display:block; padding:15px 2px; font-size:15.5px; font-weight:500; text-decoration:none; color:var(--ink);}
    .mobile-menu .btn{margin:6px 24px 22px; justify-content:center;}
    .hero-grid{grid-template-columns:1fr; gap:40px;}
    .stat-grid{grid-template-columns:1fr; gap:22px;}
    .card-grid{grid-template-columns:1fr;}
    .process-head-grid{grid-template-columns:1fr; gap:28px;}
    .process-grid{grid-template-columns:1fr; gap:30px;}
    .process-grid::before{display:none;}
    .prod-grid{grid-template-columns:1fr;}
    .cta-band{grid-template-columns:1fr; padding:36px 26px; margin:0 12px; border-radius:18px;}
    .contact-grid{grid-template-columns:1fr; gap:36px;}
    .form-row{grid-template-columns:1fr;}
    .foot-grid{grid-template-columns:1fr 1fr; gap:28px;}
    .cells{grid-template-columns:repeat(6,1fr);}
  }


/* Scroll reveal alapállapot */
.reveal{
  opacity:0;
  filter:blur(4px);
  transition:
    opacity .7s ease,
    filter .7s ease;
}

.reveal.visible{
  opacity:1;
  filter:blur(0);
}

.reveal-left{
  opacity:0;
  transform:translateX(-30px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2,.8,.2,1);
}

.reveal-left.visible{
  opacity:1;
  transform:none;
}

.reveal-scale{
  opacity:0;
  transform:scale(.94);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2,.8,.2,1);
}

.reveal-scale.visible{
  opacity:1;
  transform:scale(1);
}


/* HERO indulás */
.hero .eyebrow,
.hero h1,
.hero .lead,
.hero-cta,
.trust-row{
  animation:heroFade .8s ease both;
}

.hero h1{
  animation-delay:.12s;
}

.hero .lead{
  animation-delay:.22s;
}

.hero-cta{
  animation-delay:.32s;
}

.trust-row{
  animation-delay:.42s;
}


@keyframes heroFade{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:none;
  }
}


/* ==============================
   BUTTON EFFECTS
============================== */

.btn{
  position:relative;
  overflow:hidden;
  transition:
    transform .25s cubic-bezier(.2,.8,.2,1),
    box-shadow .25s ease,
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease;
}


.btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:70%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.25),
    transparent
  );
  transition:left .5s ease;
}


.btn:hover::before{
  left:140%;
}


.btn:hover{
  transform:translateY(-2px);
}


.btn:active{
  transform:translateY(1px) scale(.98);
}


.btn-primary{
  transition:
    background-color .3s ease,
    transform .25s ease,
    box-shadow .25s ease;
}


.cells{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:6px;
}


.cell{
  height:auto;
  aspect-ratio:1 / 1.25;
  min-height:30px;
}


/* mobil kompatibilitás */
@media(max-width:880px){

  .cells{
    display:flex;
    gap:4px;
    flex-wrap:nowrap;
  }

  .cell{
    flex:1;
    min-width:0;
    height:34px;
    aspect-ratio:auto;
  }

}

@media(max-width:420px){

  .cell-scan{
    padding:28px 18px 22px;
  }

  .cells{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:5px;
  }

  .cell{
    min-height:25px;
  }
}

@media(max-width:380px){

  .cell-scan{
    padding-left:14px;
    padding-right:14px;
  }

  .cells{
    gap:3px;
  }

  .cell{
    height:28px;
  }

}


.btn{
  appearance:none;
  font-family:var(--body);
  border:none;
}


.social-links{
  display:flex;
  gap:10px;
  margin-top:18px;
}

.social-links a{
  width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--ink-soft);
  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.social-links svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}

.social-links a:hover{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
  transform:translateY(-3px);
}

.social-links.dark a{
  border-color:rgba(255,255,255,.2);
  color:#D7DEEA;
}

.social-links.dark a:hover{
  background:var(--green);
  color:#062416;
  border-color:var(--green);
}

/* ==============================
   BRAND MARQUEE
============================== */
.brand-strip{
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:22px 0;
  background:rgba(255,255,255,.35);
}

.brand-track{
  display:flex;
  flex-wrap:nowrap;
  width:max-content;
  will-change:transform;
  animation:brandScroll 35s linear infinite;
}

.brand-group{
  display:flex;
  flex-shrink:0;
  flex-wrap:nowrap;
}

.brand-item{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-inline:42px;

  font-family:var(--display);
  font-size:20px;
  font-weight:600;
  letter-spacing:-.02em;
  white-space:nowrap;

  color:#89939A;
  opacity:.65;
  filter:grayscale(1);

  user-select:none;

  transition:
    opacity .25s ease,
    color .25s ease,
    filter .25s ease;
}

.brand-item:hover{
  color:var(--ink);
  opacity:1;
  filter:none;
}

@keyframes brandScroll{
  from{
    transform:translate3d(0,0,0);
  }
  to{
    transform:translate3d(-50%,0,0);
  }
}

@media (max-width:880px){

  .brand-strip{
    margin-top:45px;
    padding:18px 0;
  }

  .brand-item{
    font-size:16px;
    padding-inline:25px;
  }

}
