/* Tóth Viktor épületgépész: landing oldal. Tokenek: tokens.css */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: var(--line-strong) var(--bg);
  accent-color: var(--heat);
  hyphens: manual;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cold); color: var(--on-cold); }
input, textarea, select { caret-color: var(--heat); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}

p { text-wrap: pretty; }

a { color: var(--cold); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
a, button, summary { outline-offset: 0; transition: outline-offset var(--dur-fast) var(--ease-out); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline-offset: 3px; }

.skip {
  position: absolute; left: var(--space-4); top: -100px; z-index: 20;
  background: var(--ink); color: var(--bg);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 650; font-size: var(--fs-body);
  letter-spacing: -0.005em; line-height: 1.1; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.btn--primary { background: var(--heat); color: var(--on-heat); }
.btn--primary:hover { background: var(--heat-hover); color: var(--on-heat); transform: translateY(-2px); text-decoration: none; }
.btn--primary:active { transform: translateY(0) scale(0.98); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--cold); color: var(--cold); text-decoration: none; }
.btn--sm { min-height: 44px; padding: 0 var(--space-5); }
.btn--lg { min-height: 60px; padding: 0 var(--space-6); font-size: 1.1875rem; }
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 68px; }
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; line-height: 1.15; color: var(--ink); text-decoration: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: var(--tracking-tight); }
.brand__role { font-size: var(--fs-small); color: var(--ink-muted); }
.nav { display: none; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--cold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav a:hover { color: var(--cold); }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--space-2) var(--gutter) var(--space-4); }
.menu__panel a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu__panel a:last-child { border-bottom: 0; }
.menu__panel a:hover { color: var(--cold); }
@media (min-width: 860px) {
  .nav { display: flex; gap: var(--space-6); }
  .menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-7) var(--space-section); }
.hero .wrap { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) {
  .hero { padding-block-start: var(--space-8); }
  .hero .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-7); }
}
.hero h1 {
  font-size: var(--fs-display); line-height: var(--lh-display);
  letter-spacing: var(--tracking-display); font-weight: 700;
}
.hero h1 span { display: block; }
.hero .pole-heat { color: var(--heat); }
.hero .pole-cold { color: var(--cold); }
.hero__lead { margin-top: var(--space-5); font-size: var(--fs-body-lg); line-height: 1.65; max-width: 34em; color: var(--ink); }
.hero__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.hero__actions a:not(.btn), .contact__direct a { display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; }
.hero__proof { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: var(--fs-body); color: var(--ink-muted); max-width: 40em; }
.hero__proof strong { color: var(--ink); font-weight: 600; }

/* Fűtési kör: egyetlen történet. Gyújtás, előremenő cső, radiátor felmelegszik, visszatérő cső.
   Lassú idővonal (ms): láng 400 · előremenő 800–2400 · bordák 2400–4600 · visszatérő 3600–5200 · utána folyamatos áramlás, lángmozgás és szivattyú */
.hero__art { position: relative; }
.circuit { width: 100%; height: auto; overflow: visible; }
.circuit .body { fill: var(--surface); stroke: var(--line-strong); stroke-width: 2; }
.circuit .window { fill: var(--bg); stroke: var(--line-strong); stroke-width: 2.5; }
.circuit .slot { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.5; }
.circuit .ring { fill: var(--surface-raised); stroke: var(--line-strong); stroke-width: 2; }
.circuit .needle { stroke: var(--heat); stroke-width: 3; stroke-linecap: round; }
.circuit .hub { fill: var(--ink); }
.circuit .part { fill: var(--surface); stroke: var(--line-strong); stroke-width: 2; }
.circuit .stem { stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.circuit .impeller { fill: none; stroke: var(--ink-muted); stroke-width: 2.5; stroke-linecap: round; }
.circuit .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: ignite 700ms var(--ease-out) 400ms backwards, flicker 3.4s ease-in-out 1100ms infinite alternate; }
.circuit .flame-out { fill: var(--heat); }
.circuit .flame-in { fill: var(--heat-hover); }
.circuit .fin { fill: var(--heat); stroke: none; animation: warm 900ms var(--ease-out) calc(2400ms + var(--n) * 360ms) backwards; }
.circuit .pipe { fill: none; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.circuit .pipe-heat { stroke: var(--heat); }
.circuit .pipe-cold { stroke: var(--cold); }
.circuit .pipe-draw { stroke-dasharray: 1; }
.circuit .pipe-draw--1 { animation: draw 1600ms var(--ease-out) 800ms backwards; }
.circuit .pipe-draw--2 { animation: draw 1600ms var(--ease-out) 3600ms backwards; }
.circuit .flow { fill: none; stroke: var(--bg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 16; opacity: 0.8; }
.circuit .flow--heat { animation: flow 5.1s linear 5.2s infinite, flow-in 800ms var(--ease-out) 5.2s backwards; }
.circuit .flow--cold { animation: flow 5.1s linear 5.2s infinite, flow-in 800ms var(--ease-out) 5.2s backwards; }
.circuit .impeller-spin { transform-origin: 0 0; animation: spin 7s linear 5.2s infinite; }
.circuit text { font-family: var(--font-sans); font-size: 22px; font-weight: 600; fill: var(--ink-muted); }
@keyframes ignite { from { transform: scaleY(0); opacity: 0; } }
@keyframes warm { from { fill: var(--surface-raised); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
.hero__art.is-paused .circuit *, .hero__art.is-paused .circuit { animation-play-state: paused; }
.art-toggle { display: block; margin: var(--space-3) auto 0; min-height: 44px; padding: 0 var(--space-4); background: transparent; color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font: inherit; font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.art-toggle:hover { color: var(--cold); border-color: var(--cold); }
@media (prefers-reduced-motion: reduce) { .art-toggle { display: none; } }
@keyframes flow { to { stroke-dashoffset: -68; } }
@keyframes flow-in { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { from { transform: scaleY(1) scaleX(1); } to { transform: scaleY(0.93) scaleX(1.04); } }
@keyframes to-heat { from { color: var(--ink); } }
@keyframes to-cold { from { color: var(--ink); } }

/* Belépő: a szöveg gyorsan megérkezik, a főcím két fele a rajz ritmusában színesedik */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero h1 span, .hero__lead, .hero__actions, .hero__proof, .hero__art {
  animation: rise var(--dur-slow) var(--ease-out) both;
}
.hero h1 .pole-heat { animation: rise var(--dur-slow) var(--ease-out) both, to-heat 900ms var(--ease-out) 2200ms backwards; }
.hero h1 .pole-cold { animation: rise var(--dur-slow) var(--ease-out) 90ms both, to-cold 900ms var(--ease-out) 4400ms backwards; }
.hero__lead { animation-delay: 180ms; }
.hero__actions { animation-delay: 270ms; }
.hero__proof { animation-delay: 360ms; }
.hero__art { animation-delay: 120ms; }

/* ---------- Szekciók ---------- */
.section { padding-block: var(--space-section); }
.section + .section { padding-top: 0; }
.section__head { max-width: var(--measure); margin-bottom: var(--space-7); }
.section__head h2 { font-size: var(--fs-display-lg); line-height: var(--lh-display-lg); letter-spacing: var(--tracking-display); font-weight: 700; }
.section__head p { margin-top: var(--space-4); font-size: var(--fs-body-lg); color: var(--ink-muted); }

/* Hőmérő-skála elválasztó: mérőeszköz-nyelv, nem dísz-gradiens */
.scale {
  height: 14px; margin-bottom: var(--space-section);
  background: var(--line-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='14'%3E%3Cpath d='M0 0h1v14H0zM12 7h1v7h-1zM24 7h1v7h-1zM36 7h1v7h-1zM48 7h1v7h-1zM0 13h60v1H0z' fill='%23000'/%3E%3C/svg%3E") repeat-x left bottom / 60px 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='14'%3E%3Cpath d='M0 0h1v14H0zM12 7h1v7h-1zM24 7h1v7h-1zM36 7h1v7h-1zM48 7h1v7h-1zM0 13h60v1H0z' fill='%23000'/%3E%3C/svg%3E") repeat-x left bottom / 60px 14px;
}

/* Fotók: ugyanaz a nyelv, mint a portrénál: lekerekített sarok, hajszálkeret, nincs átfedő réteg */
.photo { overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-raised); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--pipes { aspect-ratio: 16 / 9; }
.photo--pipes img { object-position: 50% 42%; }
.photo--hands { margin-top: var(--space-6); aspect-ratio: 16 / 10; }
.photo--hands img { object-position: 38% 50%; }
.services-layout { display: grid; gap: var(--space-6); }
.services-layout__main { min-width: 0; }
@media (min-width: 960px) {
  .services-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-7); align-items: start; }
  .photo--pipes { position: sticky; top: 100px; aspect-ratio: 3 / 4; }
  .photo--pipes img { object-position: 50% 50%; }
}

/* Szolgáltatások: vonallal elválasztott sorok, nem kártyák */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; gap: var(--space-2) var(--space-7);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.service h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: var(--tracking-tight); }
.service p { color: var(--ink-muted); max-width: 52ch; }
.service__scope { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.scope--heat { color: var(--heat); }
.scope--cold { color: var(--cold); }
.scope--both { color: var(--ink-muted); }
@media (min-width: 800px) {
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-block: var(--space-6); align-items: baseline; }
  .service__body { display: grid; gap: var(--space-2); }
}

/* Szekció végi felhívás */
.section__cta { margin-top: var(--space-7); }

/* Viktor */
.viktor { display: grid; gap: var(--space-6); align-items: center; }
.viktor__photo img { width: 100%; max-width: 364px; height: auto; aspect-ratio: 364 / 306; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--line); }
.viktor__text h2 { font-size: var(--fs-display-lg); line-height: var(--lh-display-lg); letter-spacing: var(--tracking-display); font-weight: 700; }
.viktor blockquote { margin: var(--space-5) 0 0; max-width: 34em; }
.viktor blockquote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); line-height: 1.25; letter-spacing: var(--tracking-tight); text-wrap: balance; }
.viktor blockquote footer { margin-top: var(--space-3); color: var(--ink-muted); }
.viktor__lead { margin-top: var(--space-5); max-width: 36em; font-size: var(--fs-body-lg); color: var(--ink-muted); }
@media (min-width: 800px) { .viktor { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); } }
.nowrap { white-space: nowrap; }

/* Képesítések */
.quals { display: grid; gap: 0; border-top: 1px solid var(--line); }
.quals li { padding-block: var(--space-4); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.35; letter-spacing: var(--tracking-tight); overflow-wrap: anywhere; hyphens: auto; }
.quals li span { display: block; margin-top: 2px; font-family: var(--font-sans); font-weight: 400; font-size: var(--fs-body); letter-spacing: 0; color: var(--ink-muted); }
@media (min-width: 800px) {
  .quals { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); }
}
.note { margin-top: var(--space-5); color: var(--ink-muted); max-width: var(--measure); }

/* Munkamenet: négy lépés, egy csővezeték. Lejátszáskor sorban kigyullad, felugrik és háttérrel kiemelődik.
   Alapállapot (JS nélkül, csökkentett mozgásnál): minden lépés kész. */
.steps { counter-reset: step; display: grid; }
.steps li {
  --k: 0;
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-2) var(--space-4); align-items: start;
  padding-left: 44px; padding-bottom: var(--space-6);
  background-image: linear-gradient(var(--line-strong), var(--line-strong)), linear-gradient(var(--cold), var(--cold));
  background-repeat: no-repeat;
  background-position: 8px 36px;
  background-size: 3px calc(100% - 28px), 3px calc(100% - 28px);
  transition: background-size 560ms var(--ease-out) calc(var(--k) * 800ms + 200ms);
}
.steps li:nth-child(2) { --k: 1; }
.steps li:nth-child(3) { --k: 2; }
.steps li:nth-child(4) { --k: 3; background-image: none; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--cold);
  font-variant-numeric: tabular-nums; padding-top: var(--space-4);
  transition: color var(--dur-base) var(--ease-out) calc(var(--k) * 800ms);
}
.steps li::after {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cold); border: 3px solid var(--cold);
  transition: background-color var(--dur-base) var(--ease-out) calc(var(--k) * 800ms), border-color var(--dur-base) var(--ease-out) calc(var(--k) * 800ms);
}
.steps li:last-child::after { background: var(--heat); border-color: var(--heat); }
.step__body {
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-md);
  background: var(--surface-raised);
  transition: background-color var(--dur-base) var(--ease-out) calc(var(--k) * 800ms);
}
.steps h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: var(--tracking-tight); }
.steps p { margin-top: var(--space-2); color: var(--ink-muted); max-width: 46ch; }

/* Kiindulóállapot lejátszás előtt (csak ha fut a JS és a mozgás nem tiltott) */
.reveal-ready .steps:not(.is-playing) li { background-size: 3px calc(100% - 28px), 3px 0; }
.reveal-ready .steps:not(.is-playing) li::before { color: var(--line-strong); }
.reveal-ready .steps:not(.is-playing) li::after { background: var(--bg); border-color: var(--line-strong); }
.reveal-ready .steps:not(.is-playing) .step__body { background: transparent; }

/* Ugrás: egyetlen felpattanás és leérkezés, nincs rugózás */
@keyframes hop {
  0% { transform: translateY(0); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  38% { transform: translateY(-22px); animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.5); }
  100% { transform: translateY(0); }
}
@keyframes dot-pop {
  0%, 100% { transform: scale(1); }
  38% { transform: scale(1.6); }
}
.steps.is-playing li { animation: hop 760ms backwards calc(var(--k) * 800ms); }
.steps.is-playing li::after { animation: dot-pop 760ms ease-out backwards calc(var(--k) * 800ms); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li {
    grid-template-columns: 1fr; padding-left: 0; padding-bottom: 0; padding-right: var(--space-5); padding-top: var(--space-7);
    background-position: 26px 8px;
    background-size: calc(100% - 32px) 3px, calc(100% - 32px) 3px;
  }
  .steps li { grid-template-rows: auto 1fr; align-items: stretch; }
  .steps li::before { padding-top: 0; margin-bottom: var(--space-3); }
  .step__body { height: 100%; }
  .steps li::after { top: 0; }
  .reveal-ready .steps:not(.is-playing) li { background-size: calc(100% - 32px) 3px, 0 3px; }
}

/* Kapcsolat */
.contact { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); align-items: start; } }
.contact__direct { margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.contact__direct dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ink-muted); }
.contact__direct dd { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: var(--tracking-tight); overflow-wrap: anywhere; }
.contact__direct a { color: var(--ink); }
.contact__direct a:hover { color: var(--cold); }
.placeholder { color: var(--warning); font-weight: 600; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-card); display: grid; gap: var(--space-5); }
@media (min-width: 600px) { .form { padding: var(--space-6); } }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 600; font-size: var(--fs-small); }
.field .req { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-md);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--cold); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 2px; border-color: var(--focus); border-radius: var(--radius-md); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field__hint { font-size: var(--fs-small); color: var(--ink-muted); }
.field__error { font-size: var(--fs-small); font-weight: 500; color: var(--danger); }
.field__error::before { content: "Hiba: "; font-weight: 700; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form__status { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); border: 1px solid var(--line-strong); font-weight: 500; }
.form__status[data-state="success"] { color: var(--success); border-color: var(--success); }
.form__status[data-state="success"]::before { content: "Elküldve. "; font-weight: 700; }
.form__status[data-state="error"] { color: var(--danger); border-color: var(--danger); }
.form__status[data-state="error"]::before { content: "Hiba: "; font-weight: 700; }
.form button:disabled { opacity: 0.7; cursor: progress; }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form .btn { justify-self: start; }
.form__legal { font-size: var(--fs-small); color: var(--ink-muted); }

/* Lábléc */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-7); color: var(--ink-muted); font-size: var(--fs-small); }
.site-footer .wrap { display: grid; gap: var(--space-3); }
.site-footer .credits { font-size: var(--fs-small); }
.site-footer .credits a { color: var(--ink-muted); }
.site-footer .credits a:hover { color: var(--cold); }
.site-footer strong { color: var(--ink); font-family: var(--font-display); font-weight: 650; font-size: 1.0625rem; }

/* ---------- Lebegő CTA: Weboldal ajánlatom ---------- */
.float-cta {
  position: fixed; z-index: 30;
  right: max(var(--space-4), env(safe-area-inset-right));
  bottom: max(var(--space-4), env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 var(--space-5);
  background: var(--cold); color: var(--on-cold);
  border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 650; font-size: var(--fs-body); line-height: 1.1; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  animation: pulse 3.2s var(--ease-out) 2s infinite;
  transition: background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.float-cta:hover { background: var(--ink); color: var(--bg); animation-play-state: paused; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32); text-decoration: none; }
.float-cta:focus-visible { animation-play-state: paused; }
.motion-paused .float-cta { animation-play-state: paused; }
@keyframes pulse {
  0%, 62%, 100% { transform: scale(1); }
  30% { transform: scale(1.045); }
}
.site-footer { padding-bottom: calc(var(--space-7) + 56px); }

/* ---------- Mozgás ---------- */
/* Oldalbetöltés: a fejléc finoman beúszik */
.site-header { animation: fade var(--dur-slow) var(--ease-out) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Görgetésre belépés: csak ha a JS fut és a mozgás nem tiltott; alapból minden látható */
.reveal-ready .reveal { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
@media print { .reveal-ready .reveal { opacity: 1; transform: none; } }

/* ---------- Csökkentett mozgás ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .btn--primary:hover { transform: none; }
}
