/* Pasztell arculat: a négy szolgáltatás saját lágy színt kap.
   Víz = égkék, gáz = vaj, fűtés = barack, klíma = menta. */
:root {
  --ink: #26334a;
  --ink-soft: #5f6b80;
  --ink-faint: #8a94a6;
  --bg: #fbfbfd;
  --surface: #ffffff;
  --mist: #f1f3f8;
  --line: #e4e7ef;

  --viz: #dcebfb;   --viz-ink: #2f6db3;   --viz-mid: #a9cdf3;
  --gaz: #fdf0c8;   --gaz-ink: #9a7210;   --gaz-mid: #f5d97c;
  --futes: #ffe2dc; --futes-ink: #b8513f; --futes-mid: #f7b3a5;
  --klima: #d9f3ec; --klima-ink: #2b8c79; --klima-mid: #9fdccd;
  --hoszivattyu: #e6efe0; --hoszivattyu-ink: #3f7a2e; --hoszivattyu-mid: #b5d6a3;
  --szellozes: #e3eef8; --szellozes-ink: #2c6f98; --szellozes-mid: #a9cde6;
  --mennyezet: #e6e8fb; --mennyezet-ink: #4c55ad; --mennyezet-mid: #bcc1f0;

  --action: #26334a;
  --action-hover: #3a4a66;
  --ok: #2b8c79;
  --err: #c2412d;

  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--viz-mid); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--font); font-weight: 650; line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.section-lead { color: var(--ink-soft); max-width: 52ch; margin: 0 0 2.5rem; }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 52px; padding: 0 26px;
  font: 600 1rem/1 var(--font);
  text-decoration: none; border: 1.5px solid transparent; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-gas { background: var(--action); color: #fff; }
.btn-gas:hover { background: var(--action-hover); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink-faint); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Fejléc */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 251, 253, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(228, 231, 239, .7);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand::before {
  content: ""; width: 22px; height: 22px; border-radius: 7px; flex: none;
  background: conic-gradient(var(--viz-mid) 0 25%, var(--gaz-mid) 0 50%, var(--futes-mid) 0 75%, var(--klima-mid) 0);
}
.top-nav { display: flex; align-items: center; gap: 28px; }
.top-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-soft); }
.top-nav a:not(.btn):hover { color: var(--ink); }
.top-phone { font-variant-numeric: tabular-nums; }

/* Nyitó rész */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9; }
.hero-bg i:nth-child(1) { width: 420px; height: 420px; background: var(--viz); right: 6%; top: -80px; }
.hero-bg i:nth-child(2) { width: 340px; height: 340px; background: var(--gaz); right: 26%; top: 120px; }
.hero-bg i:nth-child(3) { width: 360px; height: 360px; background: var(--futes); right: -60px; top: 220px; }
.hero-bg i:nth-child(4) { width: 300px; height: 300px; background: var(--klima); right: 14%; top: 380px; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-grid:has(.hero-img:not([hidden])) { grid-template-columns: 1.15fr 1fr; }
.hero-grid:has(.hero-img:not([hidden])) .hero-scene { display: none; }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 5.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; max-width: 12ch; }
.hero-area { font-weight: 600; font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.hero-text { max-width: 50ch; color: var(--ink-soft); margin: 0 0 2rem; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { margin: 0; }
.hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }

/* Mozgó gépészeti jelenet a nyitó részben */
.hero-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-scene .floor { stroke: var(--line); stroke-width: 2; }
.hero-scene .unit { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.hero-scene [class^="pipe-"] { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.pipe-gas { stroke: var(--gaz-mid); }
.pipe-hot { stroke: var(--futes-mid); }
.pipe-ret { stroke: #f9cfc6; }
.pipe-cold { stroke: var(--viz-mid); }
.hero-scene .flow { stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-dasharray: 4 18; }
.tap-handle { fill: var(--viz-ink); }
.display { fill: var(--mist); }
.temp { font: 700 18px var(--font); fill: var(--futes-ink); }
.knob { fill: var(--mist); stroke: var(--ink-faint); stroke-width: 2; }
.window { fill: var(--ink); }
.flame-out { fill: #ffb36b; }
.flame-in { fill: #ffe7a3; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; }
.rad-bar { fill: var(--futes-mid); }
.fin { fill: var(--futes); stroke: var(--futes-ink); stroke-width: 2; }
.heat path { fill: none; stroke: var(--futes-mid); stroke-width: 3; stroke-linecap: round; }
.grill { stroke: var(--line); stroke-width: 2; }
.flap { fill: var(--mist); stroke: var(--ink-faint); stroke-width: 1.5; }
.led { fill: var(--klima-ink); }
.air path { fill: none; stroke: var(--klima-mid); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 12; }
.snow path { fill: none; stroke: var(--viz-ink); stroke-width: 1.8; stroke-linecap: round; opacity: .7; }
.bowl { fill: var(--viz); stroke: var(--viz-ink); stroke-width: 2.5; stroke-linejoin: round; }
.ripple { fill: none; stroke: var(--viz-ink); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.drop { fill: var(--viz-mid); stroke: var(--viz-ink); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: 50% 0; }

/* Hőszivattyú, hőtároló, padlófűtés, hővisszanyerős szellőztető */
.hero-scene .floorloop { fill: none; stroke: var(--futes-mid); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene .floorloop.flow { stroke: rgba(255,255,255,.85); stroke-width: 2.5; stroke-dasharray: 4 16; }
.grille { fill: var(--mist); stroke: var(--ink-faint); stroke-width: 2; }
.fan-spin { transform-box: fill-box; transform-origin: center; }
.fan-spin path { fill: var(--hoszivattyu-mid); stroke: var(--hoszivattyu-ink); stroke-width: 1.5; }
.fan-spin circle { fill: var(--ink); }
.fan-spin .fan-box { fill: none; stroke: none; } /* láthatatlan kör: a forgás középpontja így pontosan a tengely */
.fins { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.badge { font: 700 15px var(--font); fill: var(--hoszivattyu-ink); letter-spacing: .04em; }
.levels rect { fill: var(--futes); stroke: var(--futes-mid); stroke-width: 1.5; }
.duct { fill: none; stroke: var(--line); stroke-width: 12; stroke-linecap: round; }
.hx { fill: var(--gaz); stroke: var(--gaz-ink); stroke-width: 2; stroke-linejoin: round; }
.hx-line { stroke: var(--gaz-ink); stroke-width: 1.2; opacity: .5; }
.hrv-fan { fill: var(--mist); stroke: var(--ink-faint); stroke-width: 2; }
.air-in, .air-out { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 10 12; }
.air-in { stroke: var(--szellozes-ink); }
.air-out { stroke: var(--futes-ink); opacity: .75; }

@media (prefers-reduced-motion: no-preference) {
  .fan-spin { animation: spin 1.1s linear infinite; }
  .air-in, .air-out { animation: blow 1.4s linear infinite; }
  .levels rect { animation: charge 2.8s ease-in-out infinite; }
  .levels rect:nth-child(4) { animation-delay: .25s; }
  .levels rect:nth-child(3) { animation-delay: .5s; }
  .levels rect:nth-child(2) { animation-delay: .75s; }
  .levels rect:nth-child(1) { animation-delay: 1s; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes charge { 0%, 100% { fill: var(--futes); } 50% { fill: var(--futes-mid); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-scene .flow { animation: flow 1.2s linear infinite; }
  .flame { animation: flicker .5s ease-in-out infinite alternate; }
  .flame-in { animation: flicker .35s ease-in-out infinite alternate-reverse; transform-box: fill-box; transform-origin: 50% 100%; }
  .heat path { animation: rise 2.6s ease-in infinite; }
  .heat path:nth-child(2) { animation-delay: .9s; }
  .heat path:nth-child(3) { animation-delay: 1.7s; }
  .air path { animation: blow 1.6s linear infinite; }
  .air path:nth-child(2) { animation-duration: 1.9s; }
  .snow path { animation: snow 3.2s ease-in infinite; }
  .snow g:nth-child(2) path { animation-delay: 1.1s; }
  .snow g:nth-child(3) path { animation-delay: 2.1s; }
  .led { animation: blink 2.4s ease-in-out infinite; }
  .drop { animation: drip 2.4s cubic-bezier(.55,0,.9,.4) infinite; }
  .ripple { animation: ripple 2.4s ease-out infinite; }
  .temp { animation: blink 3s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .drop { opacity: 1; }
}
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes flicker { from { transform: scale(.92, .86) skewX(-3deg); } to { transform: scale(1.04, 1.08) skewX(3deg); } }
@keyframes rise { 0% { opacity: 0; transform: translateY(14px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px); } }
@keyframes blow { to { stroke-dashoffset: -52; } }
@keyframes snow { 0% { opacity: 0; transform: translate(0, 0) rotate(0deg); } 20% { opacity: .8; } 100% { opacity: 0; transform: translate(-50px, 120px) rotate(160deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes drip { 0% { opacity: 1; transform: scale(.2); } 30% { opacity: 1; transform: scale(1); } 38% { transform: translateY(0) scaleY(1.08); } 62% { opacity: 1; transform: translateY(96px) scaleY(1.15); } 64%, 100% { opacity: 0; transform: translateY(96px); } }
@keyframes ripple { 0%, 62% { opacity: 0; transform: scale(.2); } 66% { opacity: .9; } 100% { opacity: 0; transform: scale(2.2); } }
.snow path { transform-box: fill-box; transform-origin: center; }

/* Megjelenés görgetéskor */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.7,.2,1), transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
  .js [data-reveal].in { opacity: 1; translate: 0 0; }
}
.svc { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(38, 51, 74, .35); }
.svc .ico { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.svc:hover .ico { transform: rotate(-10deg) scale(1.08); }

/* Szolgáltatás-pirulák a nyitó rész alján */
.pipe {
  max-width: var(--wrap); margin: clamp(40px, 6vw, 64px) auto 0; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; gap: 10px;
}
.seg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .98rem;
  background: var(--tint); color: var(--tone);
  transition: background-color .15s;
}
.seg:hover { background: var(--mid); }
.seg .ico { width: 28px; height: 28px; }
.seg-viz { --tint: var(--viz); --mid: var(--viz-mid); --tone: var(--viz-ink); }
.seg-gaz { --tint: var(--gaz); --mid: var(--gaz-mid); --tone: var(--gaz-ink); }
.seg-futes { --tint: var(--futes); --mid: var(--futes-mid); --tone: var(--futes-ink); }
.seg-klima { --tint: var(--klima); --mid: var(--klima-mid); --tone: var(--klima-ink); }
.seg-hoszivattyu { --tint: var(--hoszivattyu); --mid: var(--hoszivattyu-mid); --tone: var(--hoszivattyu-ink); }
.seg-szellozes { --tint: var(--szellozes); --mid: var(--szellozes-mid); --tone: var(--szellozes-ink); }
.seg-mennyezet { --tint: var(--mennyezet); --mid: var(--mennyezet-mid); --tone: var(--mennyezet-ink); }

/* Ikonok */
.ico { display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.7); color: var(--tone); flex: none; }
.ico svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Szolgáltatások */
.services { padding: clamp(64px, 9vw, 120px) 0; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc {
  background: var(--tint); border-radius: var(--r-md); padding: 28px 28px 30px;
  scroll-margin-top: 96px; display: grid; gap: 10px; align-content: start;
}
.svc .ico { width: 48px; height: 48px; margin-bottom: 8px; }
.svc h3 { color: var(--ink); }
.svc p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.svc-viz { --tint: var(--viz); --tone: var(--viz-ink); }
.svc-gaz { --tint: var(--gaz); --tone: var(--gaz-ink); }
.svc-futes { --tint: var(--futes); --tone: var(--futes-ink); }
.svc-klima { --tint: var(--klima); --tone: var(--klima-ink); }
.svc-hoszivattyu { --tint: var(--hoszivattyu); --tone: var(--hoszivattyu-ink); }
.svc-szellozes { --tint: var(--szellozes); --tone: var(--szellozes-ink); }
.svc-mennyezet { --tint: var(--mennyezet); --tone: var(--mennyezet-ink); }
.svc-viz { grid-column: 1 / -1; }
.svc-main { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; column-gap: 40px; padding: clamp(28px, 4vw, 44px); background: linear-gradient(135deg, var(--hoszivattyu) 0%, #f1f6ea 60%, var(--futes) 140%); }
.svc-main > :not(.svc-list) { grid-column: 1; }
.svc-main .svc-list { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.svc-main h3 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.svc-main p { font-size: 1.06rem; }
.svc-kicker { justify-self: start; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hoszivattyu-ink); background: rgba(255,255,255,.75); padding: 4px 10px; border-radius: 999px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc-list li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.75); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.svc-list li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--hoszivattyu-mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7a2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 760px) {
  .svc-main { grid-template-columns: 1fr; }
  .svc-main .svc-list { grid-column: 1; grid-row: auto; }
}

/* Szerelési anyagok */
.mat-search { max-width: 520px; margin-bottom: 16px; }
.materials .brand-filter { margin-top: 0; }
.mat-cat { margin-top: 32px; }
.mat-cat > p { margin: 4px 0 14px; color: var(--ink-soft); max-width: 64ch; }
.mat-group { background: var(--surface); border-radius: var(--r-sm); margin-top: 8px; box-shadow: 0 1px 2px rgba(38, 51, 74, .06); }
.mat-group summary { display: flex; align-items: center; gap: 16px; padding: 14px 18px; min-height: 52px; cursor: pointer; list-style: none; }
.mat-group summary::-webkit-details-marker { display: none; }
.mat-group summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 3px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s; }
.mat-group[open] summary::after { transform: rotate(-135deg); }
.mg-title { flex: 1; font-weight: 600; }
.mg-meta { color: var(--ink-soft); font-size: .92rem; white-space: nowrap; }
.mg-desc { margin: -4px 0 8px; padding: 0 18px; color: var(--ink-soft); }
.mat-rows { list-style: none; margin: 0; padding: 0 18px 4px; }
.mat { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mat-name { font-weight: 600; }
.mat-name small { display: block; font-weight: 400; color: var(--ink-soft); }
.mat-price { font-weight: 700; white-space: nowrap; }
.mat-price small { font-weight: 400; color: var(--ink-soft); }
.mat-buy { display: flex; gap: 8px; align-items: center; }
.mat-buy input { width: 72px; min-height: 44px; padding: 0 8px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }
.mat-buy .btn { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.mat-makers { margin-top: 32px; }
.mat-makers ul { margin: 0; padding: 0 18px 14px 36px; color: var(--ink-soft); font-size: .95rem; display: grid; gap: 6px; }
.cart-min { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--gaz); color: var(--gaz-ink); font-weight: 600; }
@media (max-width: 700px) {
  .mat-group summary { flex-wrap: wrap; gap: 2px 12px; padding-right: 36px; position: relative; }
  .mat-group summary::after { position: absolute; right: 16px; top: 22px; }
  .mg-title { flex: 1 1 100%; }
  .mat { grid-template-columns: 1fr auto; }
  .mat-buy { grid-column: 1 / -1; justify-content: flex-end; }
}

/* Webshop */
.shop { padding: 0 0 clamp(64px, 9vw, 120px); scroll-margin-top: 80px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod { background: var(--surface); border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 1px 2px rgba(38, 51, 74, .05), 0 12px 32px -18px rgba(38, 51, 74, .22); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.prod:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(38, 51, 74, .05), 0 22px 44px -20px rgba(38, 51, 74, .32); }
.prod-img { aspect-ratio: 4 / 3; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.prod-img.art { aspect-ratio: 2.2 / 1; }
.shop .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shop .ac-art { width: 70%; }
.prod:hover .prod-img img { transform: scale(1.04); }
.prod-noimg { color: var(--ink-faint); font-size: .9rem; }
.prod-body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; grid-template-rows: auto 1fr auto; }
.prod-body h3 { font-size: 1.12rem; }
.prod-body p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.price { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.prod-foot .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }

.section-note { margin: -1.5rem 0 2rem; max-width: 60ch; padding: 12px 16px; border-radius: var(--r-sm); background: var(--klima); color: var(--klima-ink); font-weight: 600; font-size: .97rem; }
.section-note a { color: var(--ink); }

/* Klíma kártyák */
.brand-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -1rem 0 24px; }
.bf { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: 600 .95rem var(--font); color: var(--ink-soft); cursor: pointer; }
.bf:hover { border-color: var(--ink-faint); color: var(--ink); }
.bf.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.prod-img { position: relative; }
.prod-img.art { background: linear-gradient(160deg, var(--klima) 0%, var(--viz) 100%); }
.prod-img.art.st-black { background: linear-gradient(160deg, #e7e9ee 0%, #d5dae3 100%); }
.prod-img.art.st-pearl { background: linear-gradient(160deg, var(--gaz) 0%, var(--klima) 100%); }
.ac-art { width: 86%; }
.ac-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ac-air path { stroke-dasharray: 14 12; opacity: 0; transition: opacity .3s; }
.prod:hover .ac-air path { opacity: 1; animation: blow 1.4s linear infinite; }
.shop .prod-img:not(.art) { aspect-ratio: 2.2 / 1; }
.img-credit { position: absolute; right: 8px; bottom: 6px; max-width: 80%; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.45); color: #fff; font-size: .68rem; line-height: 1.4; }
.brand-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.88); font-weight: 700; font-size: .82rem; letter-spacing: .01em; }
.prod-body { grid-template-rows: none; gap: 10px; }
.prod-body h3 { font-size: 1.3rem; }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feats li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--ink-soft); }
.pick { display: grid; gap: 8px; margin-top: 4px; }
.pick-label { font-weight: 600; font-size: .95rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.pick-label small { font-weight: 400; color: var(--ink-faint); font-size: .85rem; }
.kw { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.kw button { display: grid; gap: 1px; padding: 8px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; text-align: center; transition: border-color .15s, background-color .15s; }
.kw button strong { font-size: .98rem; }
.kw button small { font-size: .74rem; color: var(--ink-faint); }
.kw button:hover { border-color: var(--klima-mid); }
.kw button[aria-checked="true"] { background: var(--klima); border-color: var(--klima-ink); }
.kw button[aria-checked="true"] small { color: var(--klima-ink); }
.kw button:focus-visible { outline: 3px solid var(--viz-mid); outline-offset: 2px; }
.model { margin: 0 !important; font-size: .82rem !important; color: var(--ink-faint) !important; }
.kw-color button { font-size: .86rem; font-weight: 600; }
.kw-color { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.inst[hidden] { display: none; }
.inst { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--gaz); cursor: pointer; }
.inst input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.inst span { display: grid; gap: 2px; font-weight: 600; font-size: .95rem; }
.inst small { font-weight: 400; color: var(--gaz-ink); font-size: .84rem; }
.price-box { display: grid; }
.price-sub { font-size: .8rem; color: var(--ink-faint); }
.opts-note { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--klima); color: var(--klima-ink); font-weight: 600; font-size: .93rem; }
.cl-name span + span { font-size: .85rem; }

.cart-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 1rem var(--font); cursor: pointer; box-shadow: 0 14px 34px -12px rgba(38, 51, 74, .55); }
.cart-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--gaz-mid); color: var(--ink); display: inline-grid; place-items: center; font-size: .85rem; }
.cart-fab.bump { animation: bump .45s cubic-bezier(.2,.9,.3,1.4); }
@keyframes bump { 40% { transform: scale(1.12); } }

.cart { width: min(560px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--surface); color: var(--ink); }
.cart::backdrop { background: rgba(38, 51, 74, .35); backdrop-filter: blur(3px); }
.cart[open] { animation: slide-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.cart-inner { padding: 22px clamp(18px, 4vw, 32px) 40px; }
.cart-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cart-top h2 { margin: 0; font-size: 1.6rem; }
.cart-close { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cl-name { display: grid; }
.cl-name span { color: var(--ink-soft); font-size: .9rem; }
.cl-sum { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 90px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--mist); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface); font: 600 1.1rem var(--font); cursor: pointer; color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.cart-empty { color: var(--ink-soft); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; font-size: 1.05rem; }
.cart-total strong { font-size: 1.4rem; }
.oform { display: grid; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.oform h3 { font-size: 1.15rem; }
.field-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.opts { display: grid; gap: 8px; }
.opts label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--mist); cursor: pointer; font-weight: 500; }
.opts input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.opts label:has(input:checked) { background: var(--viz); }
.hint { margin: 0; font-size: .88rem; color: var(--ink-soft); }

@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .shop .prod-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .prod-grid { grid-template-columns: 1fr; }
  .cart-fab { bottom: 84px; right: 16px; }
  .cart-line { grid-template-columns: 1fr auto; }
  .cl-sum { grid-column: 2; }
}

/* Rólunk */
.about { padding: 0 0 clamp(64px, 9vw, 120px); }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
  background: var(--mist); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px);
}
.about-grid:has(.about-img:not([hidden])) { grid-template-columns: 1fr 1fr; }
.about-copy p { max-width: 60ch; margin: 0; color: var(--ink-soft); }
.about-img { margin: 0; }
.about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.creds { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border-radius: 999px; padding: 8px 14px 8px 10px; font-weight: 600; font-size: .95rem;
}
.creds li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--klima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b8c79' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Lépések */
.steps { padding: 0 0 clamp(64px, 9vw, 120px); }
.step-list { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step-list li { position: relative; }
.step-list li:not(:last-child)::after { content: ""; position: absolute; left: 60px; right: -20px; top: 21px; height: 2px; background: var(--line); }
.step-list li { counter-increment: s; display: grid; gap: 4px; align-content: start; }
.step-list li::before {
  content: counter(s);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  font-weight: 700; color: var(--ink); background: var(--c); box-shadow: 0 0 0 6px var(--bg);
}
.step-list li:nth-child(1) { --c: var(--viz); }
.step-list li:nth-child(2) { --c: var(--gaz); }
.step-list li:nth-child(3) { --c: var(--futes); }
.step-list li:nth-child(4) { --c: var(--klima); }
.step-list strong { font-size: 1.06rem; font-weight: 650; }
.step-list span { color: var(--ink-soft); font-size: .98rem; }
.steps { position: relative; isolation: isolate; }
.work-img { margin: 48px 0 0; }
.work-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); }

/* Ajánlatkérés */
.quote { padding: clamp(64px, 9vw, 112px) 0; background: linear-gradient(180deg, var(--bg) 0, var(--mist) 100%); scroll-margin-top: 40px; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-intro { position: sticky; top: 100px; }
.quote-intro p { color: var(--ink-soft); max-width: 38ch; }
.quote-alt { margin-top: 2rem; padding: 18px 20px; background: var(--futes); border-radius: var(--r-md); color: var(--futes-ink) !important; font-weight: 600; font-size: .95rem; }
.quote-alt a { color: var(--ink); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; text-decoration: none; }
.quote-alt a:hover { text-decoration: underline; }

.qform {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px;
  background: var(--surface); color: var(--ink); padding: clamp(22px, 4vw, 44px);
  border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(38, 51, 74, .04), 0 12px 40px -12px rgba(38, 51, 74, .12);
}
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field legend { margin-bottom: 10px; }
.opt { font-weight: 400; color: var(--ink-faint); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--mist);
  border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 12px 14px; width: 100%;
  transition: border-color .15s, background-color .15s;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
textarea { resize: vertical; min-height: 140px; }
input:hover, select:hover, textarea:hover { background: #ebeef5; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--surface); border-color: var(--viz-mid); box-shadow: 0 0 0 4px var(--viz); }
.invalid input, .invalid select, .invalid textarea { border-color: var(--futes-mid); background: #fff7f5; }
.err { color: var(--err); font-size: .9rem; font-weight: 500; margin: 0; }
.counter { font-size: .82rem; color: var(--ink-faint); text-align: right; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; color: var(--ink-soft);
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mid); }
.chip:hover span { border-color: var(--mid); }
.chip input:checked + span { background: var(--tint); border-color: var(--mid); color: var(--tone); }
.chip input:checked + span::before { background: var(--tone); }
.chip input:focus-visible + span { outline: 3px solid var(--viz-mid); outline-offset: 2px; }
.chip-viz { --tint: var(--viz); --mid: var(--viz-mid); --tone: var(--viz-ink); }
.chip-gaz { --tint: var(--gaz); --mid: var(--gaz-mid); --tone: var(--gaz-ink); }
.chip-futes { --tint: var(--futes); --mid: var(--futes-mid); --tone: var(--futes-ink); }
.chip-klima { --tint: var(--klima); --mid: var(--klima-mid); --tone: var(--klima-ink); }
.chip-hoszivattyu { --tint: var(--hoszivattyu); --mid: var(--hoszivattyu-mid); --tone: var(--hoszivattyu-ink); }
.chip-szellozes { --tint: var(--szellozes); --mid: var(--szellozes-mid); --tone: var(--szellozes-ink); }
.chip-mennyezet { --tint: var(--mennyezet); --mid: var(--mennyezet-mid); --tone: var(--mennyezet-ink); }

.seg-radio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--mist); border-radius: 16px; }
.seg-radio label { position: relative; cursor: pointer; }
.seg-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-radio span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 6px 10px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .93rem; line-height: 1.25; color: var(--ink-soft);
  transition: background-color .15s, color .15s;
}
.seg-radio label:hover span { color: var(--ink); }
.seg-radio input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(38, 51, 74, .12); }
.seg-radio input[value="surgos"]:checked + span { background: var(--futes); color: var(--futes-ink); }
.seg-radio input:focus-visible + span { outline: 3px solid var(--viz-mid); outline-offset: -3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); cursor: pointer; }
.consent span { flex: 1; min-width: 0; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 3px; padding: 0; accent-color: var(--ink); }
.consent .err { flex-basis: 100%; padding-left: 32px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-msg { margin: 0; font-weight: 600; font-size: .95rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--err); }
.sent { grid-column: 1 / -1; padding: 32px 0; text-align: center; }
.sent::before {
  content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--klima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b8c79' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 30px no-repeat;
}
.sent h3 { margin-bottom: .4rem; font-size: 1.4rem; }
.sent p { color: var(--ink-soft); margin: 0; }

/* Lábléc */
.foot { padding: 56px 0 120px; font-size: .94rem; color: var(--ink-soft); background: var(--mist); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }

/* Mobil menü */
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: rgba(251, 251, 253, .97); box-shadow: 0 18px 40px -20px rgba(38, 51, 74, .35); max-height: calc(100dvh - 68px); overflow-y: auto; }
.mnav .wrap { display: grid; padding-top: 8px; padding-bottom: 16px; }
.mnav a:not(.btn) { display: block; padding: 14px 4px; font-weight: 600; font-size: 1.05rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav a:not(.btn):active { color: var(--hoszivattyu-ink); }
.mnav .btn { margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .mnav:not([hidden]) { animation: menu-in .25s cubic-bezier(.2,.7,.2,1); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
}
@media (min-width: 901px) {
  .mnav { display: none !important; }
}

/* Mobil gyorssáv */
.mbar { display: none; }

@media (max-width: 900px) {
  .top-nav a:not(.btn):not(.top-phone) { display: none; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
  .hero-grid:has(.hero-img:not([hidden])), .about-grid:has(.about-img:not([hidden])) { grid-template-columns: 1fr; }
  .hero-img img { aspect-ratio: 16 / 10; }
  .step-list { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .step-list li::after { display: none; }
  .hero-bg i { filter: blur(50px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-scene { max-width: 460px; width: 100%; justify-self: center; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top-nav { gap: 12px; }
  .top-nav .btn, .top-phone { display: none; }
  .hero-bg i:nth-child(1) { width: 260px; height: 260px; right: -60px; top: -60px; }
  .hero-bg i:nth-child(2) { width: 220px; height: 220px; right: 40%; top: 60px; }
  .hero-bg i:nth-child(3) { width: 240px; height: 240px; right: -80px; top: 260px; }
  .hero-bg i:nth-child(4) { width: 200px; height: 200px; left: -60px; top: 420px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { padding: 24px; }
  .step-list { grid-template-columns: 1fr; gap: 20px; }
  .step-list li { grid-template-columns: 44px 1fr; column-gap: 16px; }
  .step-list li::before { grid-row: span 2; margin: 0; }
  .qform { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .seg-radio { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 251, 253, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
}
