/* ============================================================
   Klíma Megtakarítás Kalkulátor — stíluslap
   Designnyelv: világos, levegős, lekerekített; indigó–sárga
   akcentusokkal, eltolt lágy árnyékokkal.
   ============================================================ */

:root {
  /* Felületek */
  --bg:        #ffffff;
  --bg-soft:   #f2f7f5;   /* halvány szekcióháttér */
  --card:      #ffffff;
  --line:      #eef2f1;
  --line-2:    #e2e8e6;

  /* Szöveg */
  --text:      #333333;
  --text-2:    #545966;
  --text-3:    #8b909c;

  /* Márka */
  --brand:     #414e9c;
  --brand-600: #364185;
  --brand-100: #e8eaf5;
  --accent:    #feae00;
  --accent-100:#fff4dd;

  /* Állapotok */
  --good:      #4e7e50;
  --good-bg:   #d9ebda;
  --warm:      #e07b39;
  --warm-bg:   #fdeee2;
  --danger:    #d32f2f;

  /* Forma */
  --radius:    24px;
  --radius-sm: 16px;
  --pill:      40px;
  --shadow:    16px 16px 24px rgba(0, 0, 0, .06);
  --shadow-sm: 8px 8px 18px rgba(0, 0, 0, .05);
  --shadow-lg: 20px 20px 44px rgba(0, 0, 0, .09);

  --maxw:      1240px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 700; }
p { margin: 0; }
b, strong { font-weight: 700; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.grad { color: var(--brand); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 16px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 76px);
  background: var(--bg-soft);
  overflow: hidden;
}

/* Nap-motívum a jobb felső sarokban — a hűtés/meleg kettősség jelzése */
.hero__glow {
  position: absolute; top: -140px; right: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(254, 174, 0, .22) 0%, rgba(254, 174, 0, .06) 45%, transparent 70%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
  padding: 8px 18px; margin-bottom: 24px;
  background: #fff;
  border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-size: clamp(36px, 5.6vw, 66px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero__lead {
  max-width: 56ch;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 14px;
  list-style: none; margin: 44px 0 0; padding: 0;
}
.hero__stats li {
  display: flex; flex-direction: column;
  background: #fff;
  padding: 18px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 168px;
}
.hero__stats b { font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.hero__stats li:nth-child(2) b { color: var(--accent); }
.hero__stats li:nth-child(3) b { color: var(--good); }
.hero__stats span { font-size: 13.5px; color: var(--text-3); margin-top: 2px; }

/* ============================================================
   GOMBOK
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent; border-radius: var(--pill);
  font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand); color: #fff;
  box-shadow: 8px 8px 20px rgba(65, 78, 156, .24);
}
.btn--primary:hover { background: var(--brand-600); box-shadow: 10px 12px 26px rgba(65, 78, 156, .32); }

.btn--ghost {
  background: #fff; color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--brand); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ============================================================
   ELRENDEZÉS
   ============================================================ */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 396px;
  gap: 26px;
  align-items: start;
  padding: clamp(34px, 5vw, 60px) 0;
}

.form-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.result-col { position: sticky; top: 22px; }

@media (max-width: 1060px) {
  .layout { grid-template-columns: 1fr; }
  .result-col { position: static; order: -1; }
}

/* ============================================================
   KÁRTYÁK
   ============================================================ */

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.card--accent {
  background: var(--card);
  box-shadow: var(--shadow);
}

.card__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.card__head h2 { font-size: clamp(20px, 2.3vw, 24px); }
.card__sub { color: var(--text-3); font-size: 14.5px; margin-top: 4px; }

.step {
  flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
  background: var(--brand-100); color: var(--brand);
}
.step--accent { background: var(--accent-100); color: #b87c00; }
.step--muted  { background: var(--bg-soft); color: var(--text-2); }

/* ============================================================
   ŰRLAPELEMEK
   ============================================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }

.field__label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.field__hint { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.field__out {
  font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand);
  background: var(--brand-100); padding: 3px 12px; border-radius: var(--pill);
}

input[type="number"], select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit; font-size: 15px;
  transition: border-color .16s, box-shadow .16s;
  appearance: none;
}
input[type="number"]:hover, select:hover { border-color: var(--line-2); }
input[type="number"]:focus, select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-100);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23545966' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

.input-unit { position: relative; }
.input-unit .unit {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 13.5px; color: var(--text-3); pointer-events: none;
}
.input-unit input { padding-right: 46px; }
.input-unit--sm input { height: 44px; font-size: 14.5px; }

/* Léptető — a webshop mennyiségválasztójának mintájára */
.stepper {
  display: flex; align-items: center;
  height: 48px; padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--pill);
}
.stepper input {
  height: auto; border: 0; padding: 0; text-align: center;
  font-weight: 700; font-size: 15px;
  background: transparent;
}
.stepper input:focus { box-shadow: none; }
.stepper__btn {
  flex: none; width: 38px; height: 38px;
  background: var(--bg-soft);
  border: 0; border-radius: 50%;
  color: var(--brand); font-size: 19px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: background .16s;
}
.stepper__btn:hover { background: var(--brand-100); }

/* Csúszkák */
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; margin: 10px 0;
  background: #e4ecea;
  border-radius: var(--pill);
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 3px 10px rgba(65, 78, 156, .35);
  transition: transform .14s var(--ease);
}
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); border: 4px solid #fff;
  box-shadow: 0 3px 10px rgba(65, 78, 156, .35);
  cursor: pointer;
}
.range--before::-webkit-slider-thumb { background: var(--accent); box-shadow: 0 3px 10px rgba(254, 174, 0, .45); }
.range--before::-moz-range-thumb    { background: var(--accent); box-shadow: 0 3px 10px rgba(254, 174, 0, .45); }
.range--after::-webkit-slider-thumb { background: var(--good); box-shadow: 0 3px 10px rgba(78, 126, 80, .35); }
.range--after::-moz-range-thumb     { background: var(--good); box-shadow: 0 3px 10px rgba(78, 126, 80, .35); }

/* ============================================================
   KÉRDÉSBLOKKOK — nagy, kattintható válaszkártyák
   ============================================================ */

.q { border: 0; margin: 0 0 26px; padding: 0 0 26px; border-bottom: 1px solid var(--line); }
.q--last { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.q__title {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  width: 100%; padding: 0;
  font-size: 16.5px; font-weight: 600; color: var(--text);
  margin-bottom: 14px;
}
.q__out {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 17px;
  color: #fff; background: var(--brand);
  padding: 5px 18px; border-radius: var(--pill);
}
.q__hint { font-size: 12.5px; color: var(--text-3); margin-top: 12px; }

.opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.opt { position: relative; display: block; cursor: pointer; }
.opt input {
  position: absolute; opacity: 0;
  width: 100%; height: 100%; margin: 0; cursor: pointer;
}

.opt__in {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  height: 100%; padding: 18px 12px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all .18s var(--ease);
}
.opt__ico { font-size: 26px; line-height: 1.2; }
.opt__in b { font-size: 15px; font-weight: 600; }
.opt__in small { font-size: 12.5px; color: var(--text-3); }

.opt:hover .opt__in { border-color: var(--line-2); transform: translateY(-2px); }

.opt input:checked + .opt__in {
  border-color: var(--brand);
  background: var(--brand-100);
  box-shadow: 6px 6px 16px rgba(65, 78, 156, .16);
}
.opt input:checked + .opt__in b { color: var(--brand); }
.opt input:focus-visible + .opt__in { outline: 2px solid var(--brand); outline-offset: 3px; }

.scale {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--text-3); margin-top: -2px;
}

/* Két oszlopra tördelve a páratlanul maradó utolsó kártya
   végigér a soron, hogy ne lógjon félszélességben. */
@media (max-width: 620px) {
  .opts > .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ============================================================
   TIPPEK — bepipálható vállalások forintértékkel
   ============================================================ */

.tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.tip__row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.tip__row:hover { border-color: var(--line-2); }

.tip__check { position: absolute; opacity: 0; width: 0; height: 0; }

.tip__box {
  flex: none;
  width: 26px; height: 26px;
  border: 2px solid var(--line-2);
  border-radius: 9px;
  background: #fff;
  position: relative;
  transition: all .18s var(--ease);
}
.tip__box::after {
  content: ""; position: absolute;
  left: 7px; top: 2px; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(.4); opacity: 0;
  transition: all .18s var(--ease);
}

.tip__ico { font-size: 22px; line-height: 1; }

.tip__txt b { display: block; font-size: 15.5px; font-weight: 600; }
.tip__txt small { display: block; font-size: 12.8px; color: var(--text-3); line-height: 1.45; margin-top: 2px; }

.tip__val {
  text-align: right; white-space: nowrap;
  font-size: 16px; font-weight: 700; color: var(--good);
  font-variant-numeric: tabular-nums;
}
.tip__val small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.tip__val--zero { color: var(--text-3); font-weight: 500; }
.tip__val--neg { color: var(--danger); }

/* Bekapcsolt állapot */
.tip.is-on .tip__row { border-color: var(--good); background: #f6fbf6; }
.tip.is-on .tip__box { background: var(--good); border-color: var(--good); }
.tip.is-on .tip__box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.tip__check:focus-visible + .tip__box { outline: 2px solid var(--brand); outline-offset: 3px; }

@media (max-width: 560px) {
  .tip__row { grid-template-columns: auto auto 1fr; gap: 10px 12px; padding: 14px; }
  .tip__val { grid-column: 2 / -1; text-align: left; margin-top: 2px; }
  .tip__val small { display: inline; margin-left: 6px; }
}

/* ============================================================
   FINOMHANGOLÁS
   ============================================================ */

.tune { padding: 0; }
.tune__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 24px clamp(22px, 3vw, 34px);
  cursor: pointer; list-style: none;
}
.tune__summary::-webkit-details-marker { display: none; }
.tune__summary b { display: block; font-size: 16.5px; font-weight: 600; }
.tune__summary small { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.tune__summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 600;
  transition: transform .22s var(--ease);
}
.tune[open] .tune__summary::after { transform: rotate(45deg); }
.tune__grid { padding: 0 clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px); }

/* Gyorsbeállítás-pirulák */
.preset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.preset-row__label { font-size: 13.5px; color: var(--text-3); margin-right: 4px; }

.chip {
  padding: 10px 20px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: var(--text-2);
  font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all .16s var(--ease);
}
.chip:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 6px 6px 16px rgba(65,78,156,.22); }
.chip--solid { background: var(--brand); color: #fff; }
.chip--reset:hover { background: #fff; color: var(--text); border-color: var(--line-2); box-shadow: var(--shadow-sm); }

.factor__name { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   TÉNYEZŐ-LISTA
   ============================================================ */

.factors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.factor {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}
.factor__name { font-size: 15px; font-weight: 600; }
.factor__val { font-size: 15px; font-weight: 700; color: var(--good); font-variant-numeric: tabular-nums; white-space: nowrap; }
.factor__val--zero { color: var(--text-3); }
.factor__bar { grid-column: 1 / -1; height: 6px; background: #fff; border-radius: var(--pill); overflow: hidden; margin-top: 4px; }
.factor__bar span { display: block; height: 100%; border-radius: var(--pill); background: var(--brand); transition: width .5s var(--ease); }
.factor__bar span.is-neg { background: var(--danger); }
.factor__val--neg { color: var(--danger); }

.factors__empty { padding: 26px; text-align: center; color: var(--text-3); font-size: 14.5px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.factors__note { font-size: 12.5px; color: var(--text-3); margin-top: 16px; }

/* ============================================================
   EREDMÉNY PANEL — indigó kiemelt kártya
   ============================================================ */

.result {
  position: relative;
  padding: 30px 28px 26px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  box-shadow: 16px 16px 32px rgba(65, 78, 156, .26);
  overflow: hidden;
}

/* Halvány nap-korong a kártya tetején */
.result::before {
  content: ""; position: absolute; top: -90px; right: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 174, 0, .28), transparent 68%);
  pointer-events: none;
}

.result > * { position: relative; }

.result__badge {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #1f3a20;
  background: var(--good-bg);
  border-radius: var(--pill);
  padding: 6px 16px;
  margin-bottom: 18px;
}

.result__kicker { font-size: 14px; color: rgba(255, 255, 255, .8); }

/* A megspórolt forint a panel főszereplője — ez az a szám,
   amiért az egész oldal létezik. A kWh alatta, magyarázatként. */
.result__hero { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 8px; }
.result__num {
  font-size: clamp(52px, 9vw, 72px); font-weight: 700; letter-spacing: -.035em; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--accent);
}
.result__unit { font-size: 30px; font-weight: 700; color: var(--accent); }

.result__money { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.result__money span { font-size: 18px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.result__money small { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.result__money small::before { content: "· "; }

/* Sávok */
.bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.bar__top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.bar__top span { color: rgba(255, 255, 255, .7); }
.bar__top b { font-variant-numeric: tabular-nums; }
.bar__track { height: 10px; background: rgba(255, 255, 255, .16); border-radius: var(--pill); overflow: hidden; }
.bar__fill { height: 100%; border-radius: var(--pill); width: 0; transition: width .6s var(--ease); }
.bar__fill--before { background: var(--accent); }
.bar__fill--after  { background: #7fd884; }

.result__split {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 18px 0; margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.result__split div { display: flex; flex-direction: column; gap: 2px; }
.result__split small { font-size: 12px; color: rgba(255, 255, 255, .7); }
.result__split b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Kiemelt ekvivalens */
.hero-eq {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.hero-eq__icon { font-size: 30px; line-height: 1; flex: none; }
.hero-eq__text { font-size: 14.5px; line-height: 1.5; color: #fff; }
.hero-eq__text b { color: var(--accent); }

.result .btn--primary {
  background: #fff; color: var(--brand);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.result .btn--primary:hover { background: var(--accent); color: #4a3200; }

.result__disclaimer { font-size: 12px; color: rgba(255, 255, 255, .65); text-align: center; margin-top: 12px; }

.warn {
  margin-top: 16px; padding: 14px 16px;
  background: rgba(255, 255, 255, .14);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13.5px; color: #fff; line-height: 1.5;
}

/* ============================================================
   EKVIVALENSEK
   ============================================================ */

.section { padding: clamp(48px, 7vw, 84px) 0; }
.section--narrow { max-width: 820px; }
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.section__lead { color: var(--text-2); font-size: 17px; margin-bottom: 34px; }
.section__lead b { color: var(--brand); }

.eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(222px, 1fr)); gap: 18px; }

.eq {
  padding: 26px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.eq:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.eq__icon {
  font-size: 26px; line-height: 1; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-soft);
  margin-bottom: 16px;
}
.eq__val { font-size: 27px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--brand); }
.eq__unit { font-size: 15px; font-weight: 600; color: var(--text-2); margin-left: 5px; }
.eq__desc { font-size: 13.5px; color: var(--text-3); margin-top: 6px; line-height: 1.5; }

/* ============================================================
   MÓDSZERTAN
   ============================================================ */

.section--narrow { }
#modszertan { background: var(--bg-soft); border-radius: var(--radius); }

.method { display: flex; flex-direction: column; gap: 12px; }

.method details {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
}
.method summary {
  padding: 18px 0; cursor: pointer;
  font-size: 16px; font-weight: 600;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.method summary::-webkit-details-marker { display: none; }
.method summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 600;
  transition: transform .22s var(--ease);
}
.method details[open] summary::after { transform: rotate(45deg); }
.method details > :not(summary) { padding-bottom: 20px; color: var(--text-2); font-size: 15px; }
.method p + p { margin-top: 12px; }
.method__list { margin: 0; padding-left: 20px; }
.method__list li { margin-bottom: 8px; }
.method b { color: var(--text); }

/* ============================================================
   LÁBLÉC + MOBIL SÁV + TOAST
   ============================================================ */

.footer { background: var(--bg-soft); padding: 36px 0; margin-top: 20px; }
.footer__in { color: var(--text-3); font-size: 13.5px; text-align: center; }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .1);
}
.mobile-bar small { display: block; font-size: 12px; color: var(--text-3); }
.mobile-bar b { font-size: 21px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }

@media (max-width: 1060px) {
  .mobile-bar:not([hidden]) { display: flex; }
  body { padding-bottom: 78px; }
}

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 24px);
  z-index: 200;
  padding: 14px 26px;
  background: var(--brand); color: #fff;
  border-radius: var(--pill); font-size: 14.5px; font-weight: 600;
  box-shadow: 12px 12px 28px rgba(0, 0, 0, .18);
  opacity: 0; pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Belépő animáció */
@media (prefers-reduced-motion: no-preference) {
  .card, .result, .eq { animation: rise .55s var(--ease) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ============================================================
   Térköz-finomítás — a szekcióhatárokon a paddingek duplázódtak
   ============================================================ */

.hero { padding: clamp(34px, 4.5vw, 58px) 0 clamp(36px, 5vw, 62px); }

/* 84px helyett kompaktabb, így két szekció között 104px marad 168 helyett */
.section { padding: clamp(34px, 4.5vw, 52px) 0; }

/* A módszertan doboz belső tere — alul ne maradjon nagy üres sáv */
#modszertan {
  padding: clamp(30px, 4vw, 46px) clamp(18px, 3vw, 34px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* A sávok fölött a forint a hangsúlyos, a kWh csak kísérő adat */
.bar__top b { display: flex; align-items: baseline; gap: 6px; }
.bar__top b small { font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, .6); }

/* ============================================================
   Hero — lefelé mutató nyilak a jobb oldali üres területen
   ============================================================ */

.hero__arrows {
  position: absolute;
  right: 20%;                 /* nagyjából az üres terület közepe */
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 12px;
  text-decoration: none;
}
.hero__arrows svg {
  display: block;
  animation: arrowFlow 2s ease-in-out infinite;
}
.hero__arrows svg:nth-child(2) { animation-delay: .22s; }
.hero__arrows svg:nth-child(3) { animation-delay: .44s; }

@keyframes arrowFlow {
  0%, 100% { opacity: .2; transform: translateY(0); }
  50%      { opacity: 1;  transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__arrows svg { animation: none; opacity: .7; }
}

/* Szűk képernyőn nincs üres hely, ahova kitehetnénk */
@media (max-width: 1080px) { .hero__arrows { display: none; } }
