/* BitBlox 2026 | közös stíluslap, 2. irány
   A logóból: kék, türkiz, zöld, és a „blokk” (kocka) mint egyetlen díszítőelem.
   Fehér és világoskék felületek, puha kártyák, táblafelirat-jellegű címbetű. */

:root {
  --paper: #ffffff;        /* oldal alapszín */
  --paper-2: #eef3f7;      /* halvány kitöltés */
  --alt: #f3f7fa;          /* váltakozó szakasz-háttér */
  --card: #ffffff;
  --ink: #1b2733;
  --ink-2: #485664;
  --ink-3: #6b7885;
  --line: #dfe7ee;
  --line-2: #c9d5df;
  --blue: #1e7fc4;
  --blue-d: #1769a8;
  --blue-dd: #12507f;
  --teal: #1769a8;         /* régi név: kiemelő szín (most kék) */
  --teal-2: #23a6a0;
  --green: #2a9d5c;
  --green-l: #34c26e;
  --tint: #e8f2fa;
  --warn: #d9652b;
  --amber: #e0a21b;

  --f-display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Source Sans 3", system-ui, sans-serif; /* nincs külön monospace */

  --wrap: 1160px;
  --gut: clamp(16px, 4vw, 36px);
  --r: 10px;
  --r-l: 16px;
  --sh: 0 1px 2px rgba(27, 39, 51, .06), 0 8px 24px rgba(27, 39, 51, .07);
  --sh-h: 0 2px 4px rgba(27, 39, 51, .08), 0 14px 36px rgba(27, 39, 51, .12);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dd); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.005em; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid rgba(30, 127, 196, .45); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue-d); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* apró elemek */
.mono { font-size: .9rem; color: var(--ink-3); }
.label { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--f-body); color: var(--blue-d); }
.label::before { content: ""; width: 10px; height: 10px; background: var(--green-l); box-shadow: 10px 0 0 var(--teal-2), 20px 0 0 var(--blue); margin-right: 22px; }
.label.plain::before { display: none; }
.bits { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1.02rem/1 var(--f-body); padding: 15px 22px; border-radius: var(--r);
  background: var(--blue-d); color: #fff; border: 1.5px solid var(--blue-d); text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-dd); border-color: var(--blue-dd); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--blue-d); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--blue-d); background: var(--tint); color: var(--blue-dd); }
.btn.light { background: #fff; color: var(--blue-dd); border-color: #fff; }
.btn.light:hover { background: var(--tint); color: var(--blue-dd); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--blue-d); }
.link-arrow::after { content: " ›"; font-weight: 700; }
.link-arrow:hover { text-decoration: underline; }

/* fejléc */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: block; flex: none; text-decoration: none; }
.brand img { height: 28px; width: auto; }
/* BitBlox logó (inc/logo.php): a saját logó SVG-ben */
.bb-logo { display: inline-flex; align-items: center; line-height: 1; text-decoration: none; }
.bb-logo > img { display: block; height: var(--bb-m, 30px); width: auto; max-width: 100%; filter: none; }
/* az Elementor (4.4+) .elementor img { height: auto } szabálya ne nyomja össze a logót a fejléc/lábléc sablonban */
.elementor .bb-logo > img, .bb-logo > img[width] { height: var(--bb-m, 30px); width: auto; max-width: none; }
.bb-jel { display: block; flex: none; }

.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--blue-d); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--blue-d); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.nav .nav-cta { color: #fff; background: var(--blue-d); margin-left: 8px; border-radius: 8px; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { color: #fff; background: var(--blue-dd); }
.nav-toggle { display: none; margin-left: auto; background: #fff; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 8px 14px; font: 600 .95rem var(--f-body); color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 18px; box-shadow: var(--sh); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .nav-cta { margin: 12px 0 0; text-align: center; border-radius: 8px; }
}

/* hős (főoldal) */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, #fff 0%, var(--alt) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--blue-d); }
.hero .lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.hero .lead strong { color: var(--ink); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-3); font-size: .98rem; }
.hero .meta span::before { content: "✓ "; color: var(--green); font-weight: 700; }
.scene { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; gap: 18px 22px; align-items: end; padding: 26px 26px 0; }
.scene img { image-rendering: pixelated; width: 100%; }
.scene .sc-monitor { grid-column: 1; grid-row: 1 / span 2; }
.scene .sc-printer { grid-column: 2; grid-row: 1; width: 92%; justify-self: end; }
.scene .sc-router { grid-column: 2; grid-row: 2; width: 72%; justify-self: start; }
.scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--line-2); border-radius: 4px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .scene { max-width: 520px; } }

/* szolgáltatás-csempék */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; text-decoration: none; color: var(--ink); box-shadow: var(--sh); transition: box-shadow .15s ease, transform .15s ease; }
.tile:hover { box-shadow: var(--sh-h); transform: translateY(-2px); color: var(--ink); }
.tile img { width: 64px; image-rendering: pixelated; }
.tile h3 { font-size: 1.6rem; }
.tile p { color: var(--ink-2); font-size: 1rem; }
.tile ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .97rem; color: var(--ink-2); }
.tile li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--teal-2); margin-right: 9px; vertical-align: 2px; }
.tile .more { font-weight: 600; color: var(--blue-d); margin-top: 6px; }
.tile .more::after { content: " ›"; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

/* ellenőrző sáv */
.check-band { background: var(--blue-d); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.check-band::after { content: ""; position: absolute; right: -10px; top: 0; width: 220px; height: 100%; opacity: .14;
  background: linear-gradient(90deg, transparent 0 18px, #fff 18px 36px) 0 0 / 36px 36px, linear-gradient(transparent 0 18px, #fff 18px 36px) 0 0 / 36px 36px; mix-blend-mode: soft-light; pointer-events: none; }
.check-band .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 56px; align-items: center; position: relative; z-index: 1; }
.check-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; }
.check-band p { color: #d6e8f6; margin-top: 8px; }
.check-form { display: flex; gap: 10px; flex-wrap: wrap; }
.check-form .field { flex: 1 1 260px; position: relative; }
.check-form .field::before { content: "https://"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.check-form input { width: 100%; height: 56px; padding: 0 16px 0 78px; border-radius: var(--r); border: 0; background: #fff; color: var(--ink); font: 500 1.05rem var(--f-body); }
.check-form .btn { height: 56px; }
.check-form small { flex-basis: 100%; color: #c4ddf1; font-size: .92rem; }
@media (max-width: 860px) { .check-band .wrap { grid-template-columns: 1fr; } }

/* szakaszok */
.sec { padding: clamp(56px, 8vw, 100px) 0; }
.sec:nth-of-type(even) { background: var(--alt); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-top: 10px; }
.sec-head p { color: var(--ink-2); max-width: 36em; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

/* munkák: egyenrangú kártyák */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; }
.wcard .pic { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.wcard .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wcard .pic.contain img { object-fit: contain; background: #e6e0d4; }
.wcard .body { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.wcard .kind { font-size: .9rem; font-weight: 600; color: var(--teal-2); }
.wcard h3 { font-size: 1.45rem; }
.wcard p { color: var(--ink-2); font-size: .98rem; }
.wcard .foot { margin-top: auto; padding-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; font-size: .95rem; }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; max-width: 560px; } }

/* régi „work” elrendezés (aloldalakon) */
.work { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.work + .work { margin-top: clamp(48px, 7vw, 88px); }
.work:nth-of-type(even) .work-img { order: 2; }
.work-img { position: relative; }
.work-img .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-img .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--green); font: 700 .85rem var(--f-body); padding: 5px 10px; border-radius: 30px; box-shadow: var(--sh); }
.work-img .tag.demo { color: var(--warn); }
.work h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 8px 0 12px; }
.work .intro { color: var(--ink-2); }
.facts { margin: 20px 0 0; padding: 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink-3); font-size: .95rem; }
.facts dd { margin: 0; font-size: 1rem; }
.work .more { margin-top: 18px; display: inline-block; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } .work:nth-of-type(even) .work-img { order: 0; } .facts div { grid-template-columns: 1fr; gap: 0; } }

/* képernyőkép-keret */
.shot { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: var(--sh-h); }
.shot .bar { height: 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--paper-2); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.shot .bar span { margin-left: 8px; font-size: .8rem; color: var(--ink-3); }
.shot img { width: 100%; }

.minor { margin-top: clamp(40px, 6vw, 64px); }
.minor ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.minor li { padding: 18px 20px; display: grid; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.minor b { font-family: var(--f-display); font-size: 1.25rem; }
.minor span { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .minor ul { grid-template-columns: 1fr; } }

/* árak */
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 26px; box-shadow: var(--sh); }
.price-col h3 { font-size: 1.8rem; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--blue); }
.price-col h3 small { font: 600 .9rem var(--f-body); color: var(--ink-3); }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.plist li:last-child { border-bottom: 0; }
.plist .row { display: flex; align-items: baseline; gap: 10px; }
.plist .name { font-weight: 600; }
.plist .dots { flex: 1; }
.plist .price { font-weight: 700; color: var(--blue-d); white-space: nowrap; }
.plist .desc { color: var(--ink-3); font-size: .95rem; margin-top: 2px; max-width: 34em; }
.price-foot { margin-top: 22px; font-size: .97rem; color: var(--ink-3); }
@media (max-width: 860px) { .price-cols { grid-template-columns: 1fr; } }

/* kiknek */
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.who li { display: grid; gap: 8px; align-content: start; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); border-top: 4px solid var(--blue); }
.who li:nth-child(4n+2) { border-top-color: var(--teal-2); }
.who li:nth-child(4n+3) { border-top-color: var(--green-l); }
.who li:nth-child(4n) { border-top-color: var(--amber); }
.who .no { display: none; }
.who h3 { font-size: 1.5rem; }
.who p { color: var(--ink-2); font-size: 1rem; }
.who a.link-arrow { justify-self: start; margin-top: 4px; }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; } }

/* havidíj sáv */
.sub-band { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(52px, 7vw, 88px) 0; }
.sub-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.sub-band h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin: 10px 0 16px; }
.sub-band p { color: var(--ink-2); }
.sub-math { background: #fff; border-radius: var(--r-l); padding: 24px 26px; box-shadow: var(--sh-h); }
.sub-math table { width: 100%; border-collapse: collapse; }
.sub-math th { text-align: left; font-weight: 600; color: var(--ink-3); padding: 0 0 10px; font-size: .95rem; }
.sub-math td { padding: 10px 0; border-top: 1px solid var(--line); }
.sub-math td:last-child, .sub-math th:last-child { text-align: right; }
.sub-math tr.sum td { border-top: 2px solid var(--blue); font-weight: 700; font-size: 1.1rem; color: var(--blue-dd); }
.sub-math .cap { margin-top: 12px; font-size: .92rem; color: var(--ink-3); }
@media (max-width: 860px) { .sub-band .wrap { grid-template-columns: 1fr; } }

/* lépések */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 24px 20px 24px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--blue-d); color: #fff; font: 700 1.1rem var(--f-display); margin-bottom: 14px; }
.step + .step::after { content: ""; position: absolute; left: -18px; top: 41px; width: 18px; height: 2px; background: var(--line-2); }
.step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 1rem; }
.step .when { margin-top: 12px; font-size: .92rem; font-weight: 600; color: var(--green); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step + .step::after { display: none; } }

/* rólam */
.about { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border: 2px dashed var(--line-2); border-radius: var(--r-l); background: var(--paper-2); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-3); font-size: .95rem; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.about h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin: 10px 0 18px; }
.about .text p + p { margin-top: 12px; }
.about .text p { color: var(--ink-2); }
.about .text p.first { color: var(--ink); font-size: 1.2rem; }
.about .sig { margin-top: 22px; display: flex; gap: 14px; align-items: baseline; }
.about .sig b { font-family: var(--f-display); font-size: 1.5rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 320px; } }

/* GYIK */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; }
.faq details[open] { box-shadow: var(--sh); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 36px 17px 0; position: relative; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 7px; background: var(--tint); color: var(--blue-d); display: grid; place-items: center; font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 44em; }

/* kapcsolat */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
.contact h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin: 10px 0 18px; }
.contact .big-mail { font: 700 clamp(1.3rem, 2.4vw, 1.7rem) var(--f-display); text-decoration: none; color: var(--blue-d); }
.contact .direct p { color: var(--ink-2); margin-top: 14px; }
.contact .direct ul { list-style: none; padding: 0; margin: 22px 0 0; font-size: 1rem; }
.contact .direct li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.contact .direct li span:first-child { font-weight: 600; color: var(--ink-3); width: 100px; flex: none; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; box-shadow: var(--sh-h); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.form input, .form textarea, .form select { font: 400 1.02rem var(--f-body); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 11px 13px; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(30, 127, 196, .15); }
.form textarea { min-height: 130px; resize: vertical; }
.form fieldset legend { font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chips label { display: inline-flex; font-weight: 500; color: var(--ink); }
.form .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .chips span { border: 1.5px solid var(--line-2); border-radius: 8px; padding: 7px 13px; cursor: pointer; background: #fff; }
.form .chips input:checked + span { background: var(--blue-d); color: #fff; border-color: var(--blue-d); }
.form .chips input:focus-visible + span { outline: 3px solid rgba(30, 127, 196, .4); outline-offset: 2px; }
.form .hp { display: none; }
.form .fine { font-size: .9rem; color: var(--ink-3); }
.form .status { font-weight: 600; font-size: .95rem; }
.form .status.ok { color: var(--green); }
.form .status.err { color: var(--warn); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .two { grid-template-columns: 1fr; } }

/* lábléc */
.site-foot { background: #142230; color: #a9b8c6; padding: 52px 0 28px; font-size: .97rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-foot h4 { font: 700 1.05rem var(--f-display); color: #fff; margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-foot a { color: #d7e2ec; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .bb-logo { margin-bottom: 16px; }
.site-foot .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #263646; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: #7f91a2; }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* aloldal fej */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(30px, 4vw, 44px); background: linear-gradient(180deg, #fff 0%, var(--alt) 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 12px 0 16px; max-width: 18ch; }
.page-head .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 38em; }
.crumbs { font-size: .92rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- lenyíló „Szolgáltatások” menü ---------- */
.nav-dd { position: relative; }
.dd-gomb { font: 600 1rem var(--f-body); color: var(--ink-2); background: none; border: 0; padding: 8px 12px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dd-gomb::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.dd-gomb:hover, .nav-dd.nyitva .dd-gomb { color: var(--blue-d); background: var(--tint); }
.dd-gomb.aktiv { color: var(--blue-d); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.nav-dd.nyitva .dd-gomb::after { transform: translateY(2px) rotate(-135deg); }
.dd-panel { position: absolute; left: -8px; top: calc(100% + 10px); width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-h); z-index: 50; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd.nyitva .dd-panel { display: grid; }
@media (hover: hover) and (min-width: 961px) { .nav-dd:hover .dd-panel { display: grid; } }
.dd-panel a { display: grid; gap: 1px; padding: 10px 12px !important; border-radius: 10px !important; text-decoration: none; border-bottom: 0 !important; }
.dd-panel a b { color: var(--ink); font-weight: 700; }
.dd-panel a span { color: var(--ink-3); font-size: .9rem; font-weight: 500; }
.dd-panel a:hover { background: var(--tint); }
.dd-panel a:hover b { color: var(--blue-d); }
.dd-panel a[aria-current="page"] { background: var(--tint); box-shadow: inset 3px 0 0 var(--blue) !important; }
@media (max-width: 960px) {
  .nav-dd { border-bottom: 1px solid var(--line); }
  .dd-gomb { width: 100%; justify-content: space-between; padding: 13px 4px; border-radius: 0; }
  .dd-gomb.aktiv { box-shadow: none; }
  .dd-panel { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 10px; }
}

/* ---------- főoldali kapcsolat-csík ---------- */
.kapcs-csik { background: #0f2233; color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.kapcs-csik .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.kapcs-csik h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.kapcs-csik p { color: #b9cddd; margin-top: 6px; }
.kc-gombok { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn.ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* szabad kapacitás jelző */
.kapacitas { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; line-height: 1.35;
  background: #ecf9f1; color: #14653a; border: 1px solid #bfe8cf; max-width: 100%; }
.kapacitas i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #34c26e; box-shadow: 0 0 0 0 rgba(52, 194, 110, .5); animation: kap-pulz 2s infinite; }
.kapacitas.kap-hamar { background: #eaf4fb; color: #14456e; border-color: #c4dff2; } .kapacitas.kap-hamar i { background: #1e7fc4; animation: none; }
.kapacitas.kap-kesobb { background: #fff6e5; color: #6b4a00; border-color: #f0d9a8; } .kapacitas.kap-kesobb i { background: #e0a100; animation: none; }
.direct .kapacitas { margin: 4px 0 14px; }
@keyframes kap-pulz { 70% { box-shadow: 0 0 0 9px rgba(52, 194, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 194, 110, 0); } }
@media (prefers-reduced-motion: reduce) { .kapacitas i { animation: none; } }

/* szabadság mód sávja (az ügyfélkapuból állítható) */
.szab-sav { background: #fff6e5; color: #6b4a00; border-bottom: 1px solid #f0d9a8; font-weight: 600; font-size: .95rem; }
.szab-sav.most { background: #fdeccc; }
.szab-sav .wrap { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.szab-sav span { flex: 1; } .szab-sav button { flex: none; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: inherit; cursor: pointer; padding: 2px 6px; }

/* visszalinkek a kategóriaoldalakról a lépésenkénti árútvonalakra (/arak/…) */
.ar-jel { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--tint); color: var(--blue-dd); font-weight: 700; font-size: .92rem; text-decoration: none; border: 1.5px solid transparent; }
.ar-jel::before { content: ""; width: 14px; height: 14px; flex: none; background:
  linear-gradient(#34c26e 0 0) 0 0 / 6px 6px no-repeat, linear-gradient(#23a6a0 0 0) 8px 0 / 6px 6px no-repeat, linear-gradient(#1e7fc4 0 0) 0 8px / 6px 6px no-repeat; }
.ar-jel::after { content: "→"; }
.ar-jel:hover { border-color: var(--blue); background: #fff; }
.ar-jel-sor { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.ar-jel-sor .ar-jel { margin-top: 0; }
a.f-ar { text-decoration: none; border-bottom: 1px dashed currentColor; }
a.f-ar:hover { color: var(--blue-d); }

/* ugrósáv: hosszú oldalakon a szakaszokhoz (site.js) */
.ugro { position: sticky; z-index: 35; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px -12px rgba(27, 39, 51, .35); }
.ugro .wrap { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.ugro-cim { flex: none; font: 700 .85rem var(--f-body); color: var(--ink-3); }
.ugro ol { flex: 1; min-width: 0; display: flex; gap: 6px; margin: 0; padding: 7px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.ugro ol::-webkit-scrollbar { display: none; }
.ugro ol { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); padding-left: 6px; padding-right: 6px; }
.ugro li { flex: none; }
.ugro a { display: block; padding: 5px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; }
.ugro a:hover { color: var(--blue-d); border-color: var(--line-2); }
.ugro a[aria-current] { color: #fff; background: var(--blue); }
.ugro-fel { flex: none; width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2); font-size: 1.1rem; cursor: pointer; }
.ugro-fel:hover { border-color: var(--blue); color: var(--blue-d); }
@media (max-width: 700px) { .ugro-cim { display: none; } .ugro .wrap { min-height: 44px; } .ugro a { font-size: .85rem; padding: 4px 10px; } }
