/* =========================================================
   Friss Fal Festés – demóoldal (Kódműves referencia)
   Világos alap, kobalt kiemelés, lekerekített formák, festőceruzás jegyzetek.
   ========================================================= */
@font-face { font-family: "Syne"; src: url("fonts/syne.woff") format("woff"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F7F6F2;
  --white: #FFFFFF;
  --sand: #EDEBE4;
  --ink: #17181C;
  --ink-2: #3B3D45;
  --muted: #55575F;
  --line: #E2DFD6;
  --accent: #2D4BD8;
  --accent-d: #2238A8;
  --display: "Syne", "Arial Black", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pop: cubic-bezier(.3, 1.5, .5, 1);
  --wall: #BFE0D2;
  --accw: #D9A441;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.04em; }
h2 { font-size: clamp(42px, 5vw, 70px); line-height: .95; }
.hand { margin: 0 0 8px; font: 600 28px/1.1 var(--hand); color: var(--accent); }
.acc { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .3s var(--pop), background-color .2s, color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* fejléc */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 242, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .3s; }
.scrolled .top { box-shadow: 0 1px 0 var(--line); }
.top .wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .4s var(--pop); }
.mark svg { width: 24px; height: 24px; }
.brand:hover .mark { transform: rotate(-12deg) scale(1.06); }
.name { font: 700 24px/1 var(--display); letter-spacing: -.02em; }
.name i, .fbrand i { font-style: normal; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 8px 28px; font-weight: 600; font-size: 15px; }
.nav a:not(.btn) { position: relative; text-decoration: none; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px; height: 8px; border-radius: 6px; background: var(--paint); opacity: .7; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.menu-btn { display: none; min-height: 46px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 700; cursor: pointer; }

/* ================= HERO ================= */
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.badge { margin: 0 0 20px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--paint); transition: background-color .4s; }
.hero h1 { font-size: clamp(52px, 6.4vw, 96px); line-height: .94; letter-spacing: -.05em; font-weight: 700; }
.stroke { position: relative; display: inline-block; padding: 0 .14em .04em; margin-left: -.1em; color: var(--paint-ink); z-index: 0; transition: color .4s; }
.stroke::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paint); border-radius: 42% 18% 36% 14% / 60% 28% 46% 34%; transform: rotate(-1.5deg) scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s, background-color .4s; }
.ready .stroke::before { transform: rotate(-1.5deg); }
.no-js .stroke::before { transform: rotate(-1.5deg); }
.lead { margin: 28px 0 0; max-width: 30em; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--sand); font-size: 14px; font-weight: 600; }
.fade { opacity: 0; transform: translateY(14px); transition: opacity .8s ease .35s, transform .9s var(--ease) .35s; }
.ready .fade { opacity: 1; transform: none; }

.paintwall { position: relative; height: clamp(360px, 36vw, 470px); border-radius: 24px; overflow: hidden; background: #E3DCCB; touch-action: none; }
.paintwall canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; z-index: 1; }
.stain { position: absolute; border-radius: 50%; background: radial-gradient(rgba(140, 115, 70, .2), transparent 70%); }
.s1 { left: 10%; top: 16%; width: 140px; height: 90px; } .s2 { right: 6%; bottom: 18%; width: 180px; height: 110px; } .s3 { left: 40%; top: 64%; width: 120px; height: 70px; }
.note { position: absolute; margin: 0; font: 600 28px/1.05 var(--hand); pointer-events: none; z-index: 2; }
.n-old { right: 6%; top: 10%; color: #6B5A3A; transform: rotate(3deg); text-align: right; z-index: 0; }
.n-new { left: 6%; top: 8%; color: var(--paint-ink); transform: rotate(-4deg); opacity: 0; transition: opacity .5s, color .4s; }
.n-new.show { opacity: 1; }
.roller { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; transform: translate(var(--rx, -80px), var(--ry, 120px)); transition: transform .12s linear; }
.roller.idle { transition: transform .6s var(--ease); }
.roller .head { position: absolute; left: -32px; top: -76px; width: 64px; height: 152px; border-radius: 14px; background: var(--paint); box-shadow: inset -10px 0 0 rgba(0, 0, 0, .12), 0 10px 24px rgba(0, 0, 0, .18); transition: background-color .3s; }
.roller .arm { position: absolute; left: 32px; top: -5px; width: 46px; height: 10px; background: #2B2D33; border-radius: 3px; }
.roller .stick { position: absolute; left: 70px; top: -5px; width: 10px; height: 170px; background: #2B2D33; border-radius: 4px; }
.roller .grip { position: absolute; left: 62px; top: 140px; width: 26px; height: 90px; border-radius: 10px; background: var(--accent); }
.wall-tag { position: absolute; left: 16px; bottom: 16px; z-index: 3; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 700; pointer-events: none; }
.wipe { position: absolute; right: 16px; bottom: 16px; z-index: 3; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.wipe:hover { background: var(--accent); }
.fan { display: flex; justify-content: center; margin-top: -34px; position: relative; z-index: 4; padding: 0 8px; }
.fan button { --i: 0; width: 52px; height: 96px; margin: 0 -6px; padding: 0; border-radius: 10px; cursor: pointer; background: var(--c); border: 3px solid #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .16); transform-origin: 50% 160%; transform: rotate(calc(var(--i) * 7deg)); transition: transform .35s var(--pop); position: relative; }
.fan button:hover { transform: rotate(calc(var(--i) * 7deg)) translateY(-8px); }
.fan button[aria-checked="true"] { transform: rotate(calc(var(--i) * 7deg)) translateY(-20px); z-index: 2; }
.fan button:focus-visible { outline-offset: 2px; }

/* ================= SZEKCIÓK ================= */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.white { background: var(--white); }
.round { border-radius: 40px 40px 0 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 36px; }
.sec-head > p { margin: 0; max-width: 26em; color: var(--ink-2); }

/* színpróba */
.tryout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.room { position: relative; min-height: 470px; border-radius: 24px; overflow: hidden; background: #FBFBF8; }
.room i { position: absolute; display: block; }
.room .ceil { inset: 0; background: #FBFBF8; clip-path: polygon(0 0, 100% 0, 86% 10%, 14% 10%); }
.room .back { left: 14%; top: 10%; width: 72%; height: 64%; background: var(--wall); transition: background-color .6s; }
.room .sheen { left: 14%; top: 10%; width: 72%; height: 64%; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, .3) 44%, rgba(255, 255, 255, 0) 62%); opacity: 0; transition: opacity .5s; }
.room.selyem .sheen { opacity: 1; }
.room .lw { inset: 0; background: var(--accw); filter: brightness(.88); clip-path: polygon(0 0, 14% 10%, 14% 74%, 0 100%); transition: background-color .6s; }
.room .rw { inset: 0; background: var(--wall); filter: brightness(.94); clip-path: polygon(100% 0, 86% 10%, 86% 74%, 100% 100%); transition: background-color .6s; }
.room .floor { inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 70px), #C9A27A; clip-path: polygon(14% 74%, 86% 74%, 100% 100%, 0 100%); }
.room .skirt { left: 14%; top: 72.5%; width: 72%; height: 1.5%; background: #FBFBF8; }
.room .win { left: 63%; top: 20%; width: 15%; height: 32%; background: linear-gradient(180deg, #CFE3EC, #E5F0F4); border: 7px solid #FBFBF8; }
.room .win b { position: absolute; left: 50%; top: 0; bottom: 0; width: 5px; margin-left: -2.5px; background: #FBFBF8; }
.room .frame { left: 27%; top: 23%; width: 12%; height: 19%; background: #F7F3EA; border: 5px solid #2B2D33; overflow: hidden; }
.room .frame b { position: absolute; left: 18%; bottom: -10%; width: 64%; height: 64%; border-radius: 50%; background: var(--accent); }
.room .sofa { left: 22%; top: 55%; width: 34%; height: 17%; border-radius: 14px 14px 6px 6px; background: #3D4250; }
.room .cush { top: 51%; width: 13%; height: 10%; border-radius: 10px; }
.room .c1 { left: 24%; background: #D9C9AE; } .room .c2 { left: 41%; background: #E7A57B; }
.room .lamp { left: 59%; top: 40%; width: 6%; height: 7%; border-radius: 50% 50% 8px 8px; background: #2B2D33; }
.room .pole { left: 61.8%; top: 46%; width: 4px; height: 27%; background: #2B2D33; }
.room .glow { left: 50%; top: 40%; width: 24%; height: 40%; border-radius: 50%; background: radial-gradient(rgba(255, 210, 140, .9), transparent 65%); opacity: 0; transition: opacity .6s; mix-blend-mode: screen; }
.room .pot { left: 76%; top: 70%; width: 6%; height: 12%; border-radius: 4px 4px 12px 12px; background: #C8674A; }
.room .plant { left: 74.5%; top: 52%; width: 9%; height: 20%; border-radius: 50% 50% 40% 40%; background: #4E7A5A; }
.room .tint { inset: 0; background: rgba(255, 168, 88, .34); mix-blend-mode: multiply; opacity: 0; transition: opacity .6s; pointer-events: none; }
.room.este .tint, .room.este .glow { opacity: 1; }
.room.este .win { background: linear-gradient(180deg, #24304A, #3D4A66); }
.room-tag { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 700; z-index: 2; }
.room.pulse .back, .room.pulse .rw, .room.pulse .lw { animation: wet 1s ease; }
@keyframes wet { 30% { filter: brightness(1.12) saturate(1.15); } }
.panel { display: flex; flex-direction: column; gap: 22px; padding: 24px; border-radius: 24px; background: var(--bg); }
.swatches, .seg, .coats { border: 0; margin: 0; padding: 0; min-width: 0; }
.swatches legend, .seg legend, .coats legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.swatches legend span { font-weight: 500; }
.grid8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.grid8 button, .grid5 button { height: 48px; border-radius: 12px; cursor: pointer; background: var(--c); border: 2px solid rgba(23, 24, 28, .12); font-weight: 700; color: #6B6E78; transition: transform .25s var(--pop), border-color .2s, box-shadow .2s; }
.grid8 button:hover, .grid5 button:hover { transform: translateY(-3px); }
.grid8 button[aria-pressed="true"], .grid5 button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--bg); }
.toggles { display: flex; flex-wrap: wrap; gap: 16px; }
.seg label { position: relative; display: inline-block; margin: 0 4px 4px 0; }
.seg input, .coats input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span, .coats input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.tip { margin: auto 0 0; padding-top: 16px; border-top: 1px dashed #CFCBC0; font-size: 24px; line-height: 1.2; color: var(--ink-2); }

/* kalkulátor */
#kalkulator { padding-bottom: clamp(72px, 9vw, 120px); }
.calc { border-radius: 32px; background: var(--ink); color: var(--bg); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); }
.paint-c { color: var(--paint); transition: color .4s; }
.calc h2 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 24px; }
.dim { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #33353C; font-weight: 600; }
.stp { display: flex; align-items: center; gap: 6px; flex: none; }
.stp button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--bg); background: transparent; color: var(--bg); font-size: 20px; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--pop); }
.stp button:hover { background: var(--paint); color: var(--ink); border-color: var(--paint); }
.stp button:active { transform: scale(.9); }
.stp button:disabled { opacity: .3; cursor: not-allowed; background: transparent; color: var(--bg); border-color: var(--bg); }
.stp output { min-width: 80px; text-align: center; font: 700 20px/1 var(--display); }
.coats { padding: 14px 0 0; border-top: 1px solid #33353C; }
.coats legend { float: left; margin: 12px 18px 0 0; font-weight: 600; }
.coats label { position: relative; display: inline-block; margin: 0 6px 6px 0; }
.coats span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--bg); font-weight: 700; font-size: 14px; transition: background-color .2s, color .2s; }
.coats input:checked + span { background: var(--bg); color: var(--ink); }
.ceil-chk { display: flex; align-items: center; gap: 12px; margin-top: 16px; cursor: pointer; font-weight: 600; }
.ceil-chk input { width: 22px; height: 22px; margin: 0; accent-color: var(--paint); }
.calc-out { display: flex; flex-direction: column; gap: 14px; }
.res { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.res div { padding: 18px 20px; border-radius: 20px; background: #24262C; }
.res dt { font-size: 13px; color: #B9BBC2; }
.res dd { margin: 4px 0 0; font: 700 34px/1.05 var(--display); letter-spacing: -.02em; }
.bump { animation: bump .4s var(--pop); display: inline-block; }
@keyframes bump { 40% { transform: translateY(-4px) scale(1.04); } }
.buckets { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; min-height: 74px; padding: 12px 4px; }
.buckets i { display: block; width: 46px; height: 52px; border-radius: 6px 6px 10px 10px; background: var(--paint); border-top: 8px solid var(--bg); box-shadow: inset -6px 0 0 rgba(0, 0, 0, .12); animation: drop .5s var(--pop) both; animation-delay: var(--d); position: relative; transition: background-color .4s; }
.buckets i.s { width: 34px; height: 38px; }
.buckets i::before { content: ""; position: absolute; left: 6px; right: 6px; top: -18px; height: 14px; border: 2px solid #7A7C84; border-bottom: 0; border-radius: 12px 12px 0 0; }
@keyframes drop { from { opacity: 0; transform: translateY(-30px); } }
.price { margin-top: 6px; padding: 22px 24px; border-radius: 24px; background: var(--paint); color: var(--paint-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; transition: background-color .4s, color .4s; }
.price small { display: block; font-size: 13px; font-weight: 600; }
.price b { display: block; font: 700 46px/1 var(--display); letter-spacing: -.03em; }

/* előtte–utána */
.ba { position: relative; height: clamp(320px, 38vw, 500px); border-radius: 28px; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba .after, .ba .before { position: absolute; inset: 0; }
.ba .after { background: var(--wall); transition: background-color .6s; }
.ba .before { background: #D9CDA8; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ba i { position: absolute; display: block; }
.ba .pic { left: 34%; top: 14%; width: 20%; height: 36%; background: #F7F3EA; border: 6px solid #2B2D33; }
.ba .fl { left: 0; right: 0; bottom: 0; height: 14%; background: #C9A27A; }
.ba .sk { left: 0; right: 0; bottom: 14%; height: 2%; background: #FBFBF8; }
.ba .before .fl { background: #A98C68; } .ba .before .sk { background: #CFC6B2; }
.ba .st { border-radius: 50%; background: radial-gradient(rgba(120, 95, 50, .26), transparent 70%); }
.ba .st1 { left: 6%; top: 10%; width: 30%; height: 50%; } .ba .st2 { right: 12%; top: 30%; width: 24%; height: 40%; }
.ba .ghost { left: 34%; top: 14%; width: 20%; height: 36%; border: 3px dashed rgba(90, 70, 40, .45); }
.ba .sofa { left: 22%; bottom: 14%; width: 44%; height: 20%; border-radius: 18px 18px 6px 6px; background: #3D4250; }
.ba .sofa::before, .ba .sofa::after { content: ""; position: absolute; top: -26%; width: 34%; height: 50%; border-radius: 12px; background: #E7A57B; }
.ba .sofa::before { left: 8%; background: #D9C9AE; } .ba .sofa::after { right: 8%; }
.ba .sofa.foil { background: rgba(255, 255, 255, .55); border: 2px dashed rgba(90, 70, 40, .35); }
.ba .sofa.foil::before, .ba .sofa.foil::after { background: rgba(255, 255, 255, .5); }
.ba .lampx { right: 14%; bottom: 14%; width: 4px; height: 46%; background: #2B2D33; }
.ba .lampx::before { content: ""; position: absolute; left: -26px; top: -30px; width: 56px; height: 34px; border-radius: 50% 50% 6px 6px; background: #2B2D33; }
.ba .before svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba .note { left: 40%; top: 14%; color: #5A4A30; font-size: 26px; transform: rotate(-3deg); }
.ba .tag { position: absolute; top: 18px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; z-index: 2; }
.t-before { left: 18px; background: #fff; }
.t-after { right: 18px; background: var(--ink); color: #fff; }
.ba .before::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--split); width: 4px; margin-left: -2px; background: #fff; }
.handle { position: absolute; top: 50%; left: var(--split); z-index: 3; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); pointer-events: none; transition: transform .25s var(--pop); }
.handle svg { width: 24px; height: 24px; }
.ba:hover .handle { transform: scale(1.1); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba:focus-within .handle { outline: 3px solid var(--accent); outline-offset: 3px; }

/* előkészítés */
.sand { background: var(--sand); }
#menete h2 { margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.steps li { border-radius: 20px; background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--pop), box-shadow .3s; }
.steps li:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 16px 30px rgba(0, 0, 0, .08); }
.chip { display: block; height: 70px; background: var(--c); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.chip::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: bottom; transition: transform .9s var(--ease) .2s; }
.in .chip::after { transform: scaleY(0); }
.paint-chip { background: var(--paint); transition: background-color .4s; }
.steps li > div { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.steps span { font: 700 14px/1 var(--display); color: #6B6E78; }
.steps h3 { font-size: 21px; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); }
.foot-note { margin: 28px 0 0; font-size: 14px; color: var(--muted); }

/* tiszta munka */
#tiszta h2 { margin-bottom: 36px; }
.clean { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.clean article { padding: 28px; border-radius: 24px; border: 2px solid var(--ink); transition: background-color .3s; }
.clean article:hover { background: #fff; }
.clean .hand { font-size: 26px; margin: 0 0 10px; }
.clean h3 { font-size: 26px; line-height: 1.05; margin-bottom: 8px; font-weight: 700; letter-spacing: -.03em; }
.clean p { margin: 0; color: var(--ink-2); }

/* ajánlatkérés */
.accent { background: var(--accent); color: #fff; }
.req-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.req-copy h2 { font-size: clamp(46px, 5.6vw, 82px); line-height: .92; letter-spacing: -.045em; margin-bottom: 18px; }
.req-copy > p { margin: 0 0 26px; max-width: 26em; }
.mytry { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .12); }
.mytry small { display: block; font-size: 13px; opacity: .85; }
.mytry b { display: block; }
.duo { display: flex; flex: none; }
.duo i { display: block; height: 54px; transition: background-color .4s; }
.duo .w { width: 34px; border-radius: 8px 0 0 8px; background: var(--wall); }
.duo .a { width: 18px; border-radius: 0 8px 8px 0; background: var(--accw); }
.duo.big { width: 100%; }
.duo.big i { height: 90px; }
.duo.big .w { flex: 3; border-radius: 18px 0 0 18px; } .duo.big .a { flex: 1; border-radius: 0 18px 18px 0; }
.contact { margin: 26px 0 0 !important; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; }
.contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-underline-offset: 4px; }
.contact svg { width: 18px; height: 18px; }
.req { position: relative; border-radius: 28px; background: #fff; color: var(--ink); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; overflow: hidden; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wide { grid-column: 1 / -1; }
.f label { font-weight: 600; font-size: 15px; }
.f label i, .chk i { color: var(--accent); font-style: normal; }
.f input, .f select, .f textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid #CFCBC0; border-radius: 14px; background: var(--bg); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.f textarea { padding: 14px 16px; resize: vertical; min-height: 100px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(45, 75, 216, .16); }
.f.bad input { border-color: #B3261E; background: #FFF4F2; }
.err { display: none; color: #B3261E; font-size: 13px; font-weight: 600; }
.f.bad .err, .err.show { display: block; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.chk input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); }
.done { position: absolute; inset: 0; z-index: 5; background: #fff; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; overflow: auto; opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .35s, transform .5s var(--pop), visibility .35s; }
.done.show { opacity: 1; visibility: visible; transform: none; }
.acc-t { margin: 8px 0 0; font-size: 32px; }
.done h3 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1; letter-spacing: -.03em; }
.done dl { margin: 4px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; font-size: 15px; }
.done dt { font-weight: 700; }
.done dd { margin: 0; overflow-wrap: anywhere; }
.done .demo { margin: 0; color: var(--ink-2); font-size: 15px; }
.done .btn { align-self: flex-start; margin-top: auto; }

/* lábléc, mobil sáv, jelvény */
.foot { background: var(--ink); color: var(--bg); padding: 56px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.fbrand { margin: 0; font: 700 32px/1 var(--display); letter-spacing: -.03em; }
.fbrand i { color: var(--paint); }
.fmeta { margin: 8px 0 0; font-size: 14px; color: #B9BBC2; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: 15px; }
.foot nav a { color: var(--bg); text-underline-offset: 4px; }
.foot nav a:hover { color: var(--paint); }
.callbar { display: none; }
.km-badge { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .97); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); transform: translateY(calc(100% + 120px)); transition: transform .6s var(--ease); }
.past-hero .km-badge { transform: none; }
.km-badge img { width: 30px; height: 30px; border-radius: 8px; }
.km-badge small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }

/* előtűnés */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d2 { transition-delay: .1s; } .rv.d3 { transition-delay: .2s; }
.no-js .rv, .no-js .fade { opacity: 1; transform: none; }
.no-js .chip::after { display: none; }

/* reszponzív */
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: fixed; left: 0; right: 0; top: var(--top-h, 84px); z-index: 45; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 22px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 54px; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .hero-in, .tryout, .calc, .req-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 620px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clean { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 58px; }
  .top .wrap { min-height: 70px; }
  .name { font-size: 21px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .cta .btn { flex: 1 1 100%; }
  .fan button { width: 40px; height: 78px; margin: 0 -5px; }
  .note { font-size: 23px; }
  .room { min-height: 300px; }
  .room-tag { font-size: 12px; right: 16px; }
  .res dd { font-size: 28px; }
  .price b { font-size: 38px; }
  .price .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
  .callbar a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; }
  .callbar a:first-child { background: var(--ink); color: #fff; }
  .callbar a:last-child { background: var(--accent); color: #fff; }
  .callbar svg { width: 20px; height: 20px; }
  .km-badge { left: 10px; bottom: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv, .fade { opacity: 1; transform: none; }
}
