/* Crescom Electra – közös stíluslap */
:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #6CC04A;
  --green-pale: #9FD68A;
  --ink: #17281D;
  --ink-2: #22382A;
  --muted: #3F5245;
  --muted-on-dark: #C9D8CC;
  --line: #E3EBE4;
  --line-strong: #B9CDB8;
  --tint: #F3F8F1;
  --tint-2: #E8F1E5;
  --tint-3: #D6E6D2;
  --white: #FFFFFF;
  --radius: 18px;
  --gutter: 80px;
  --font-display: 'Lexend', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.5; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
h1 { font-size: 52px; font-weight: 700; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* A logó háromszöge halvány vízjelként a fehér blokkok hátterében, felváltva jobbra és balra */
main > .section:not(#ajanlat) { position: relative; overflow: hidden; }
main > .section:not(#ajanlat)::before { content: ''; position: absolute; z-index: 0; width: 640px; height: 566px; right: -150px; top: -60px; background: url(/assets/img/haromszog-vizjel.svg) no-repeat center / contain; opacity: 0.09; transform: rotate(8deg); pointer-events: none; }
main > .section:not(#ajanlat):nth-of-type(even)::before { right: auto; left: -190px; top: auto; bottom: -80px; transform: rotate(-10deg); }
main > .section > .wrap { position: relative; z-index: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); }
.btn-lg { font-size: 18px; padding: 18px 28px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--green); color: var(--ink); }
.btn-accent { background: var(--green-light); color: var(--ink); }
.btn-accent:hover { background: var(--green-pale); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.pill { display: inline-block; background: var(--white); border: 1px solid #CFE3CB; color: var(--green); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }

/* Placeholder image */
.ph { background: var(--tint-3); border-radius: 24px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--muted); font-size: 15px; min-height: 200px; }
.ph-sm { background: var(--tint-2); border-radius: 0; min-height: 180px; font-size: 14px; }
/* Kitöltött képhely: a fotó kitölti a keretet (has-img), a termékfotó teljes egészében látszik fehér alapon (contain) */
.ph.has-img { position: relative; padding: 0; overflow: hidden; }
.ph.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img.contain { background: var(--white); }
.ph.has-img.contain > img { object-fit: contain; padding: 18px; box-sizing: border-box; }
.ph.has-img .tag { z-index: 1; }
.card .ph.has-img.contain { border-bottom: 1px solid var(--line); }

/* Top bar + header */
.topbar { background: var(--ink); color: #DDE9DF; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 16px; }
.topbar a { color: #DDE9DF; }
.topbar-group { display: flex; gap: 28px; white-space: nowrap; }
.header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.logo img { display: block; height: 44px; width: auto; }
.nav { display: flex; gap: 26px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); font-weight: 700; border-bottom-color: var(--green); }
.nav { align-items: center; }
.nav-group { position: relative; }
.nav-top { background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; padding: 0 0 4px; display: flex; align-items: center; gap: 8px; border-bottom: 2px solid transparent; }
.nav-top::after { content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-top:hover, .nav-group.open > .nav-top { color: var(--green); }
.nav-group:has([aria-current="page"]) > .nav-top { color: var(--green); font-weight: 700; border-bottom-color: var(--green); }
/* Kiemelt menüpont (Wekerle+ kampány) */
.nav a.nav-kiemelt { white-space: nowrap; background: var(--tint-2); color: var(--green-dark); font-weight: 700; padding: 8px 14px; border: 1px solid var(--green-pale); border-radius: 999px; }
.nav a.nav-kiemelt:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.nav a.nav-kiemelt[aria-current="page"] { background: var(--green); color: var(--white); border-color: var(--green); }
/* Mobilmenü: ajánlatkérés gomb a menü végén (asztali nézetben a fejléc gombja látszik) */
.nav a.nav-cta { display: none; }
.nav-sub { display: none; position: absolute; top: 100%; left: -14px; margin-top: 12px; min-width: 290px; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(23, 40, 29, 0.12); padding: 8px; z-index: 20; }
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group:hover > .nav-sub, .nav-group.open > .nav-sub { display: flex; }
.nav-sub a { padding: 8px 12px; border-radius: 8px; border-bottom: 0; display: flex; align-items: center; gap: 12px; }
.nav-sub a:hover { background: var(--tint); }
.nav-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: var(--tint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s, color .15s; }
.nav-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-sub a:hover .nav-ico, .nav-sub a[aria-current="page"] .nav-ico { background: var(--green); color: var(--white); }
/* Sötét sáv csempéje ikonnal */
.band-tile.has-ico { display: flex; gap: 14px; align-items: flex-start; }
.band-tile.has-ico .nav-ico { background: rgba(108, 192, 74, 0.16); color: var(--green-light); width: 40px; height: 40px; }
.band-tile.has-ico .nav-ico svg { width: 20px; height: 20px; }
.band-tile.has-ico span:not(.nav-ico) { display: block; padding-top: 2px; }
.band-tile.has-ico > div { min-width: 0; overflow-wrap: break-word; }
/* Fehér kártya ikonnal (pl. finanszírozás nyitókép) */
.tile.tile-card { background: var(--white); border: 1px solid var(--line); }
.tile.has-ico { flex-direction: row; align-items: flex-start; gap: 16px; }
.tile.has-ico .nav-ico { width: 44px; height: 44px; }
.tile.has-ico .nav-ico svg { width: 22px; height: 22px; }
.tile.has-ico p { padding-top: 4px; }
/* Csempe ikonnal a tetején (pl. Kinek ajánljuk / Kiknek szól) */
.tile-ico .nav-ico { background: var(--white); width: 40px; height: 40px; margin-bottom: 4px; }
.tile-ico .nav-ico svg { width: 20px; height: 20px; }
/* Kattintható csempe ikonnal (pl. Rólunk – Amiben segítünk) */
.tile-link { text-decoration: none; color: inherit; transition: background-color .15s; }
.tile-link:hover { background: var(--tint-2); color: inherit; }
.tile-link .nav-ico { background: var(--white); width: 40px; height: 40px; margin-bottom: 4px; }
.tile-link .nav-ico svg { width: 20px; height: 20px; }
.tile-link:hover .nav-ico { background: var(--green); color: var(--white); }
.nav-sub a[aria-current="page"] { background: var(--tint); border-bottom: 0; }
.nav-sub .nav-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; font-weight: 700; color: var(--green); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 48px; height: 48px; cursor: pointer; }

/* Hero */
.hero { background: var(--tint); padding: 72px 0; }
.hero-sub { padding-top: 32px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 { font-size: 56px; }
.hero-copy .lead { font-size: 20px; }
.hero .ph { min-height: 480px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--muted); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--muted); }
.from-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.from-price strong { font-family: var(--font-display); font-size: 36px; color: var(--green); }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--line-strong); color: var(--ink); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card-body p { font-size: 15px; color: var(--muted); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--green); }
.price-lg { font-size: 26px; }
.price-old { font-size: 15px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.more { font-weight: 700; font-size: 15px; padding-top: 6px; }

/* Product cards */
.product .ph-sm { position: relative; min-height: 220px; }
.tag { position: absolute; top: 14px; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.tag-type { left: 14px; background: var(--ink); color: var(--white); }
.tag-thm { right: 14px; background: var(--white); color: var(--green); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 14px; }
.specs div { background: var(--tint); border-radius: 8px; padding: 8px 10px; }
.specs small { display: block; color: var(--muted); font-size: 12px; }
.specs .wide { grid-column: span 2; }
.product .buy { margin-top: auto; padding-top: 8px; }
.product .buy small { font-size: 13px; color: var(--muted); }
.product .btn { width: 100%; margin-top: 12px; }
.product .link { text-align: center; font-weight: 700; font-size: 15px; padding-top: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.helper { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 16px; background: var(--tint); margin-top: 24px; }
.helper .btn { flex-shrink: 0; }

/* Tinted boxes */
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.box p { color: var(--muted); }
.tile { background: var(--tint); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.tile p { font-size: 15px; color: var(--muted); }

/* Lists with check icon */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.checklist li::before { content: ''; width: 26px; height: 26px; flex-shrink: 0; background: url(/assets/img/check.svg) no-repeat center / contain; }
.checklist small { display: block; font-size: 15px; color: var(--muted); }
.checklist-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; }

/* Steps */
.step { background: var(--tint); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.num { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--green); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step p { font-size: 15px; color: var(--muted); }
.service { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.service p { font-size: 15px; color: var(--muted); padding-top: 4px; }

/* Dark band */
.band { background: var(--ink); color: var(--white); border-radius: 28px; padding: 56px 64px; }
.band .eyebrow { color: var(--green-pale); font-weight: 700; font-size: 15px; letter-spacing: 1px; }
.band .lead { color: var(--muted-on-dark); }
.band-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.band-tile { background: var(--ink-2); border-radius: 16px; padding: 22px; }
.band-tile strong { font-family: var(--font-display); font-size: 18px; display: block; }
.band-tile span { color: var(--muted-on-dark); font-size: 15px; }

/* Reviews */
.review { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.stars { color: #B07D00; letter-spacing: 2px; }
.review small { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding-top: 10px; font-size: 15px; color: var(--muted); }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); background: var(--tint); }
.compare td:last-child { color: var(--green); font-weight: 700; }

/* Blog */
.blog-grid .card img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; }
.blog-grid time { font-size: 14px; }
.post-wrap { max-width: 820px; }
.post h1 { font-size: 44px; margin-bottom: 12px; }
.post-cover { width: 100%; border-radius: var(--radius); margin: 28px 0 8px; }
.prose { font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose h3 { font-size: 21px; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 14px; margin: 24px 0; width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 16px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.post-cta { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--tint); display: flex; flex-direction: column; gap: 16px; font-size: 18px; }

/* Referenciák */
.ref .ph-sm { min-height: 240px; }
.ref-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.ref-meta span { background: var(--tint); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 40px; color: var(--green); }
@media (max-width: 720px) {
  .post h1 { font-size: 32px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Kapcsolat */
.contact-tile { text-decoration: none; color: var(--ink); }
.contact-tile strong { font-size: 18px; overflow-wrap: break-word; }
.contact-tile .nav-ico { width: 44px; height: 44px; margin-bottom: 6px; }
.contact-tile .nav-ico svg { width: 22px; height: 22px; }
a.contact-tile:hover .nav-ico { background: var(--green); color: var(--white); }
a.contact-tile:hover { border-color: var(--line-strong); color: var(--ink); }
.company { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.company dt { color: var(--muted); }
.company dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }

/* Finanszírozás */
.calc-field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14px; }
.calc-field input { height: 56px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 16px; font-size: 22px; font-family: var(--font-display); color: var(--ink); max-width: 320px; }
.calc-field select { height: 56px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 12px; font: 500 16px var(--font-body); color: var(--ink); background: var(--white); max-width: 320px; }
.band-tile span + strong { padding-top: 4px; font-size: 22px; }
.legal { gap: 12px; }
.legal p { font-size: 14px; }

/* Quote form */
.quote { background: var(--tint); border-radius: 28px; padding: 56px 64px; align-items: start; }
.quote-copy { display: flex; flex-direction: column; gap: 18px; }
.quote-copy ul { list-style: none; padding: 8px 0 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.form { background: var(--white); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form .full { grid-column: span 2; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select { height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 14px; font-size: 16px; font-family: var(--font-body); background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form .check { flex-direction: row; align-items: center; gap: 10px; }
.form .check input { width: 20px; height: 20px; accent-color: var(--green); }
.form .btn { height: 56px; font-size: 18px; }
.hp { position: absolute; left: -9999px; }
.form-error { background: #FDECEA; color: #8A1C12; border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 500; }

/* Footer */
.footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 32px; font-size: 15px; margin-top: 88px; }
.footer a { color: var(--muted-on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols strong, .footer-cols strong a { color: var(--white); }
.footer-logo img { display: block; height: 44px; width: auto; margin-bottom: 6px; }
.footer-cols .social { flex-direction: row; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2E4636; display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s; }
.social a:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid #2E4636; margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 24px; }

/* Süti-banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { width: 100%; max-width: 1120px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 48px rgba(23, 40, 29, 0.18); padding: 22px 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; }
.cookie-text strong { font-family: var(--font-display); font-size: 18px; display: block; margin-bottom: 4px; }
.cookie-text p { font-size: 15px; color: var(--muted); }
.cookie-settings { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cookie-settings[hidden] { display: none; }
.cookie-opt { display: flex; gap: 10px; align-items: flex-start; background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 14px; cursor: pointer; }
.cookie-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.cookie-opt small { display: block; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions [hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted-on-dark); cursor: pointer; }
.link-btn:hover { color: var(--white); }
@media (max-width: 900px) {
  .cookie-inner { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .cookie-settings { grid-template-columns: minmax(0, 1fr); }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* Responsive */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .nav { gap: 18px; font-size: 15px; }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.header .btn { white-space: nowrap; }
@media (max-width: 1100px) {
  .topbar span.hours { display: none; }
  .topbar-group { gap: 20px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; font-size: 16px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.nav-kiemelt { justify-content: space-between; margin: 8px 0; padding: 12px 14px; border: 1px solid var(--green-pale); border-radius: 12px; }
  .nav-top { width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-group:has([aria-current="page"]) > .nav-top { border-bottom-color: var(--line); }
  .nav-sub, .nav-group:hover > .nav-sub { display: none; position: static; margin: 0; min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 8px 16px; }
  .nav-group.open > .nav-sub { display: flex; }
  .nav-sub a { padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-sub .nav-all { border-radius: 0; margin-top: 0; }
}
@media (max-width: 720px) {
  .header .btn:not(.nav-cta) { display: none; }
  .nav a.nav-cta { display: flex; justify-content: center; margin-top: 14px; padding: 14px 24px; border-bottom: 0; color: var(--white); }
  .nav a.nav-cta:hover { color: var(--white); }
}
@media (max-width: 1024px) {
  .g2 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .band, .quote { padding: 40px 32px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  h1, .hero-copy h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .section { padding: 56px 0; }
  main > .section:not(#ajanlat)::before { width: 260px; height: 230px; right: -70px; }
  main > .section:not(#ajanlat):nth-of-type(even)::before { left: -90px; }
  .hero { padding: 40px 0; }
  .hero .ph { min-height: 260px; }
  .topbar .topbar-group:last-child, .topbar span.hours { display: none; }
  .g3, .g4, .g5, .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .section-head, .helper { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .form .full { grid-column: auto; }
  .band, .quote { padding: 32px 20px; border-radius: 20px; }
  .footer-bottom { flex-direction: column; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 10px 8px; }
}

/* Élő ház – animált hős a főoldalon (assets/js/elo-haz.js) */
.eh { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(23, 40, 29, .35); display: flex; flex-direction: column; }
.eh-scene { display: block; width: 100%; height: auto; }
.eh-scene * { transition: opacity .35s linear; }
.eh-flow { stroke: #6cc04a; stroke-dasharray: 2 13; opacity: 0; filter: drop-shadow(0 0 4px rgba(108, 192, 74, .9)); animation: eh-dash .9s linear infinite; }
.eh-flow.eh-out { stroke: #ffd35a; filter: drop-shadow(0 0 4px rgba(255, 211, 90, .9)); }
.eh-flow.eh-in { stroke: #9fb3c8; filter: none; }
.eh-flow.eh-hp { stroke: #4fb3ff; filter: drop-shadow(0 0 4px rgba(79, 179, 255, .9)); }
.eh-flow.on { opacity: 1; }
@keyframes eh-dash { to { stroke-dashoffset: -15; } }
#eh-fan { animation: eh-spin 1.2s linear infinite; animation-play-state: paused; }
#eh-fan.on { animation-play-state: running; }
@keyframes eh-spin { to { transform: rotate(360deg); } }
.eh-hud { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.eh-clock { display: flex; flex-direction: column; min-width: 92px; }
.eh-clock strong { font: 700 30px/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.eh-clock span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.eh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.eh-stats div { background: var(--tint); border-radius: 12px; padding: 8px 10px; }
.eh-stats span { display: block; font-size: 12px; color: var(--muted); }
.eh-stats strong { display: block; font: 700 15px/1.25 var(--font-display); color: var(--green-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.eh-controls { display: flex; align-items: center; gap: 12px; padding: 0 20px 14px; }
.eh-play { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--green); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.eh-play svg { width: 18px; height: 18px; fill: currentColor; }
.eh-play .i-play { display: none; }
.eh-play.paused .i-play { display: block; }
.eh-play.paused .i-pause { display: none; }
.eh-range { flex: 1; display: flex; }
.eh-range input { width: 100%; accent-color: var(--green); height: 28px; cursor: pointer; }
.eh-season { display: flex; background: var(--tint-2); border-radius: 999px; padding: 3px; flex: none; }
.eh-season button { border: 0; background: none; font: 600 13px var(--font-body); color: var(--muted); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.eh-season button[aria-pressed="true"] { background: var(--white); color: var(--green-dark); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.eh-total { padding: 10px 20px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: var(--tint); }
.eh-total strong { color: var(--green-dark); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 720px) {
  .eh-hud { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px; }
  .eh-clock { flex-direction: row; align-items: baseline; gap: 10px; }
  .eh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eh-controls { flex-wrap: wrap; padding: 0 14px 12px; }
  .eh-range { flex-basis: calc(100% - 52px); }
  .eh-season { width: 100%; justify-content: center; }
  .eh-season button { flex: 1; }
  .eh-total { padding: 10px 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .eh-flow, #eh-fan { animation: none; }
  .eh-scene * { transition: none; }
}

/* Gázszámla vs. Crescom csúszka a főoldalon (assets/js/megtakaritas.js) */
.vs { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.vs-stage { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #dfeef6; user-select: none; touch-action: pan-y; aspect-ratio: 600 / 380; }
.vs-layer { position: absolute; inset: 0; }
.vs-layer svg { display: block; width: 100%; height: 100%; }
.vs-after { clip-path: inset(0 0 0 var(--p, 50%)); }
.vs-tag { position: absolute; top: 14px; font: 700 13px var(--font-display); padding: 6px 12px; border-radius: 999px; }
.vs-tag.l { left: 14px; background: #fff1ee; color: #b3261e; }
.vs-tag.r { right: 14px; background: var(--tint-2); color: var(--green-dark); }
.vs-bill { position: absolute; bottom: 14px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 6px 20px -10px rgba(0,0,0,.35); }
.vs-bill.l { left: 14px; } .vs-bill.r { right: 14px; }
.vs-bill span { display: block; font-size: 12px; color: var(--muted); }
.vs-bill strong { font: 700 18px var(--font-display); font-variant-numeric: tabular-nums; }
.vs-bill.l strong { color: #b3261e; } .vs-bill.r strong { color: var(--green-dark); }
.vs-divider { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 4px; margin-left: -2px; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.vs-handle { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0,0,0,.45); }
.vs-handle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vs-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.vs-hint { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); background: var(--ink); color: var(--white); font-size: 13px; padding: 6px 12px; border-radius: 999px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.vs-hint.hide { opacity: 0; }
.smoke { animation: smoke 3.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.smoke.s2 { animation-delay: 1.1s; } .smoke.s3 { animation-delay: 2.2s; }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 25% { opacity: .75; } 100% { opacity: 0; transform: translate(14px, -60px) scale(1.6); } }
.vs-fan { animation: vs-spin 1.4s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes vs-spin { to { transform: rotate(360deg); } }

.vs-panel { display: flex; flex-direction: column; gap: 18px; }
.vs-result { background: var(--ink); color: var(--white); border-radius: 22px; padding: 22px 24px; }
.vs-result small { color: var(--muted-on-dark); font-size: 14px; }
.vs-result .big { font: 700 clamp(34px, 4vw, 46px)/1.05 var(--font-display); color: var(--green-light); font-variant-numeric: tabular-nums; margin: 4px 0 10px; }
.vs-result .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vs-result .row div { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; }
.vs-result .row span { display: block; font-size: 12px; color: var(--muted-on-dark); }
.vs-result .row strong { font: 700 18px var(--font-display); font-variant-numeric: tabular-nums; }
.vs-ctrl { display: grid; gap: 14px; }
.vs-ctrl label, .vs-ctrl .lbl { font-weight: 600; font-size: 14px; color: var(--ink); }
.vs-ctrl output { float: right; font-weight: 700; color: var(--green-dark); }
.vs-ctrl input[type=range] { width: 100%; accent-color: var(--green); margin-top: 6px; }
.seg { display: flex; background: var(--tint-2); border-radius: 12px; padding: 3px; margin-top: 6px; }
.seg button { flex: 1; border: 0; background: none; font: 600 14px var(--font-body); color: var(--muted); padding: 9px 6px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--green-dark); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.vs-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.vs-checks label { display: flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.vs-checks input { width: 18px; height: 18px; accent-color: var(--green); }
.vs-note { font-size: 13px; color: var(--muted); }
.vs-assume { font-size: 13px; color: var(--muted); }
.vs-assume summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.vs-assume ul { margin: 8px 0 0; padding-left: 18px; }
@media (max-width: 900px) { .vs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .vs-long { display: none; } .vs-bill strong { font-size: 15px; } .vs-tag { font-size: 12px; } .vs-hint { bottom: 64px; } }
@media (prefers-reduced-motion: reduce) { .smoke, .vs-fan { animation: none; } }

/* Reszponzív javítások: keskeny kijelzőn egy oszlopos csempék, görgethető táblázatok, nagyobb érintési felületek */
@media (max-width: 560px) {
  .band .grid[style*="repeat(2"] { grid-template-columns: minmax(0, 1fr) !important; }
  main table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .section-head > a { padding: 10px 0; }
}
@media (max-width: 380px) {
  h1, .hero-copy h1 { font-size: 30px; }
  h1, h2 { overflow-wrap: break-word; }
}
/* Elrejtett (még adat nélküli) részek után ne maradjon üres doboz */
.specs:empty, .checklist:empty { display: none; }

/* A GTM-ből még betöltődő régi CookieYes banner elrejtése: az oldal saját süti-bannert használ.
   Végleges megoldás: a CookieYes címke törlése a GTM-tárolóból, utána ez a blokk törölhető. */
.cky-consent-container, .cky-modal, .cky-overlay, .cky-btn-revisit-wrapper, .cky-preference-center { display: none !important; }
