/* =========================================================
   Tökéletes Burkolás – demóoldal (Kódműves referencia)
   Meleg törtfehér, mélyzöld, dőlt talpas címek, mérőszalag-feliratok.
   ========================================================= */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  --bg: #F3F1EC;
  --paper: #FBFAF7;
  --ink: #1B2321;
  --ink-2: #3A4542;
  --muted: #5C6865;
  --line: #D9D6CF;
  --grout: #D5D1C8;
  --accent: #24443F;
  --accent-2: #2F5A53;
  --laser: #2BD46A;
  --brass: #B08A4E;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::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: 2px 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(--serif); font-weight: 400; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(44px, 5vw, 72px); line-height: .95; }
em { font-style: italic; }
.kicker { margin: 0 0 12px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.intro { margin: 16px 0 0; max-width: 36em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 2px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, gap .3s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-cream { background: var(--bg); color: var(--ink); }
.btn-cream:hover { background: #fff; }

/* fejléc */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 236, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.mark { display: grid; grid-template-columns: repeat(2, 15px); gap: 3px; transition: transform .5s var(--ease); }
.mark i { height: 15px; background: #B9C2BE; }
.mark i:nth-child(1), .mark i:nth-child(4) { background: var(--accent); }
.brand:hover .mark { transform: rotate(90deg); }
.name { display: flex; flex-direction: column; font: 400 30px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.name small { margin-top: 4px; font: 400 11px/1 var(--mono); letter-spacing: 0; color: var(--muted); }
.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: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); 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: 1.5px solid var(--ink); border-radius: 2px; 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, 80px); align-items: center; padding-block: clamp(48px, 7vw, 100px); }
.hero h1 { font-size: clamp(64px, 8.4vw, 128px); line-height: .9; letter-spacing: -.025em; }
.hero h1 em { color: var(--accent); }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.ln + .ln > span { transition-delay: .12s; }
.ready .ln > span { transform: none; }
.lead { margin: 30px 0 0; max-width: 31em; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.promise { list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; font: 400 13px/1.4 var(--mono); color: var(--ink-2); }
.promise li::before { content: "— "; }
.fade { opacity: 0; transform: translateY(14px); transition: opacity .8s ease .4s, transform .9s var(--ease) .4s; }
.ready .fade { opacity: 1; transform: none; }

.truchet { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; padding: 5px; background: var(--grout); }
.tt { position: relative; aspect-ratio: 1 / 1; padding: 0; border: 0; cursor: pointer; background:
  radial-gradient(circle at 0 0, transparent 0 34%, var(--accent) 34% 52%, transparent 52%),
  radial-gradient(circle at 100% 100%, transparent 0 34%, var(--accent) 34% 52%, transparent 52%),
  #F1EDE4;
  transform: rotate(var(--r)) scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .5s ease; transition-delay: var(--d); }
.ready .tt { transform: rotate(var(--r)); opacity: 1; }
.ready .tt.spun { transition-delay: 0s; }
.tt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .35), transparent 45%); pointer-events: none; }
.tt:hover { filter: brightness(1.04); }
.tt:focus-visible { outline: 2px solid var(--laser); outline-offset: 0; z-index: 2; }
.no-js .tt { transform: rotate(var(--r)); opacity: 1; }
.laser { position: absolute; background: var(--laser); box-shadow: 0 0 10px 2px rgba(43, 212, 106, .55); pointer-events: none; z-index: 3; }
.lx { left: -24px; right: -24px; top: 50.4%; height: 2px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 1s; }
.ly { top: -24px; bottom: -24px; left: 66.8%; width: 2px; transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) 1.25s; }
.ready .lx, .ready .ly { transform: none; }
.laser::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 14px 4px rgba(43, 212, 106, .6); }
.lx::after { right: -4px; top: -4px; animation: blink 1.6s steps(2) infinite; }
.ly::after { bottom: -4px; left: -4px; animation: blink 1.6s steps(2) infinite .8s; }
@keyframes blink { 50% { opacity: .25; } }
.art-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.art-foot b { font-weight: 400; color: var(--accent); }
.mix { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 2px; background: transparent; font: 600 14px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.mix svg { width: 18px; height: 18px; }
.mix:hover { background: var(--ink); color: var(--bg); }

/* ================= SZEKCIÓK ================= */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.paper { background: var(--paper); border-block: 1px solid var(--line); }
.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); }

/* tervező */
.preview { position: relative; height: clamp(300px, 34vw, 420px); overflow: hidden; border-radius: 2px; background: var(--grout-c, #FAFAF7); transition: background-color .4s; }
.tiles { position: absolute; inset: 0; }
.tiles i { position: absolute; background: var(--c); filter: brightness(var(--s)); transition: background-color .4s, left .4s var(--ease), top .4s var(--ease), width .4s var(--ease), height .4s var(--ease); }
.tiles.lay i { animation: lay .45s var(--ease) both; animation-delay: var(--d); }
@keyframes lay { from { opacity: 0; transform: translateY(-10px) scale(.92); } }
.tiles i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255, 255, 255, .22), transparent 50%, rgba(0, 0, 0, .04)); }
.spec { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 8px 14px; border-radius: 2px; background: rgba(27, 35, 33, .86); color: var(--bg); font: 400 12px/1.3 var(--mono); }
.controls { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.ctl, .ctl fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl legend, fieldset.ctl legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.ctl legend span { font-weight: 500; color: var(--ink-2); }
.pats { display: flex; flex-wrap: wrap; gap: 8px; }
.pats label, .sw label, .gw label { position: relative; cursor: pointer; }
.pats input, .sw input, .gw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pats span { display: block; min-height: 56px; min-width: 120px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 2px; background: #fff; transition: background-color .2s, color .2s; }
.pats b { display: block; }
.pats small { display: block; font: 400 11px/1.3 var(--mono); opacity: .8; }
.pats input:checked + span { background: var(--ink); color: var(--bg); }
.pats label:hover input:not(:checked) + span { background: var(--bg); }
.sw { display: flex; flex-wrap: wrap; gap: 10px; }
.sw label > span { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 1px solid rgba(27, 35, 33, .3); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.sw label:hover > span { transform: scale(1.08); }
.sw input:checked + span { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.pats input:focus-visible + span, .sw input:focus-visible + span, .gw input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; }
.gw { display: flex; gap: 6px; margin-top: 12px; }
.gw span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 2px; background: #fff; font: 400 13px/1 var(--mono); transition: background-color .2s, color .2s; }
.gw input:checked + span { background: var(--ink); color: var(--bg); }
.calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 3fr); gap: 24px; margin-top: 28px; }
.area { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); background: var(--bg); }
.area b, .area small { display: block; }
.area small { font: 400 12px/1.3 var(--mono); color: var(--muted); }
.stp { display: flex; align-items: center; gap: 6px; flex: none; }
.stp button { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 2px; background: #fff; font-size: 20px; cursor: pointer; transition: background-color .2s, color .2s; }
.stp button:hover { background: var(--ink); color: var(--bg); }
.stp button:disabled { opacity: .35; cursor: not-allowed; background: #fff; color: var(--ink); }
.stp output { min-width: 72px; text-align: center; font: 400 20px/1 var(--mono); }
.res { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.res div { background: var(--paper); padding: 14px 18px; }
.res dt { font: 400 12px/1.3 var(--mono); color: var(--muted); }
.res dd { margin: 2px 0 0; font: 400 36px/1.05 var(--serif); }
.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--accent); } }
.price { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: 2px; background: var(--accent); color: #fff; }
.price small { display: block; font: 400 12px/1.3 var(--mono); }
.price b { display: block; font: 400 48px/1 var(--serif); }

/* helyiségek */
#helyisegek h2 { margin-bottom: 32px; }
.rtabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ink); margin-bottom: 32px; }
.rtabs button { min-height: 52px; padding: 0 22px; border: 0; background: transparent; font-weight: 700; font-size: 16px; cursor: pointer; position: relative; transition: background-color .25s, color .25s; }
.rtabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.rtabs button:hover:not([aria-selected="true"]) { background: var(--line); }
.room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.scene { position: relative; margin: 0; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; background: var(--line); }
.scene img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.scene:hover img { transform: scale(1.04); }
.scene figcaption { position: absolute; right: 14px; top: 14px; padding: 6px 12px; border-radius: 2px; background: var(--paper); font: 400 12px/1.3 var(--mono); }
.room.swap .scene img, .room.swap .room-txt > * { animation: swapin .5s var(--ease) both; }
.room.swap .room-txt > *:nth-child(2) { animation-delay: .05s; } .room.swap .room-txt > *:nth-child(3) { animation-delay: .1s; } .room.swap .room-txt > *:nth-child(4) { animation-delay: .15s; }
@keyframes swapin { from { opacity: 0; transform: translateY(12px); } }
.room-txt h3 { font-size: 46px; line-height: 1; margin-bottom: 12px; }
.room-txt > p { margin: 0 0 22px; color: var(--ink-2); }
.room-txt ol { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); counter-reset: r; }
.room-txt li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); counter-increment: r; }
.room-txt li::before { content: "0" counter(r); min-width: 26px; font: 400 13px/1.9 var(--mono); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chips span { padding: 6px 12px; border: 1px solid var(--ink); border-radius: 99px; font: 400 12px/1.3 var(--mono); }

/* részletek */
.dark { background: var(--ink); color: var(--bg); }
.dark .kicker { color: #A9B4B0; }
.dark .intro { color: #C9D0CD; margin-bottom: 44px; }
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #3A4542; border: 1px solid #3A4542; }
.det { background: var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: background-color .3s; }
.det:hover { background: #222C2A; }
.det .no { font: 400 12px/1 var(--mono); color: #A9B4B0; }
.det h3 { font-size: 30px; line-height: 1; }
.det p { margin: 0; font-size: 15px; color: #C9D0CD; }
.dg { position: relative; height: 130px; margin-bottom: 6px; }
.dg span { font: 400 12px/1 var(--mono); color: var(--laser); }
.dg-layers { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
.dg-layers i { display: block; transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease); }
.dg-layers i:nth-child(1) { height: 18px; background: #E9E5DC; transition-delay: .45s; }
.dg-layers i:nth-child(2) { height: 8px; background: #8C9693; transition-delay: .3s; }
.dg-layers i:nth-child(3) { height: 10px; background: #4C8FD6; transition-delay: .15s; }
.dg-layers i:nth-child(4) { height: 40px; background: #59615E; }
.in .dg-layers i { transform: none; }
.dg-slope .plane { position: absolute; left: 0; right: 0; bottom: 30px; height: 3px; background: #E9E5DC; transform: rotate(4deg); transform-origin: right center; }
.dg-slope .drain { position: absolute; right: 0; bottom: 18px; width: 34px; height: 14px; border: 2px solid #E9E5DC; border-radius: 2px; }
.dg-slope .drop { position: absolute; left: 6px; bottom: 50px; width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #4C8FD6; }
.in .dg-slope .drop { animation: roll 3s cubic-bezier(.5, 0, .7, 1) infinite 1s; }
@keyframes roll { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 85% { transform: translate(calc(100% + 190px), 14px); opacity: 1; } 100% { transform: translate(calc(100% + 200px), 22px); opacity: 0; } }
.dg-slope span { position: absolute; left: 0; top: 18px; }
.dg-level { display: flex; align-items: flex-end; gap: 4px; }
.dg-level i { display: block; }
.dg-level .t1, .dg-level .t2 { flex: 1; height: 30px; background: #E9E5DC; }
.dg-level .t2 { transform: translateY(-9px); transition: transform .6s var(--ease) .6s; }
.dg-level .clip { width: 10px; height: 46px; background: var(--laser); border-radius: 2px; transform: translateY(-40px); opacity: 0; transition: transform .5s var(--ease) .2s, opacity .3s .2s; }
.in .dg-level .t2 { transform: none; }
.in .dg-level .clip { transform: none; opacity: 1; }
.dg-miter .a { position: absolute; left: 30px; bottom: 10px; width: 110px; height: 22px; background: #E9E5DC; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); transform: translateX(-16px); transition: transform .6s var(--ease) .3s; }
.dg-miter .b { position: absolute; left: 118px; bottom: 10px; width: 22px; height: 110px; background: #C9C3B7; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 22px)); transform: translateY(-16px); transition: transform .6s var(--ease) .3s; }
.in .dg-miter .a, .in .dg-miter .b { transform: none; }
.dg-miter span { position: absolute; left: 152px; bottom: 40px; }

/* lépések */
#menete h2 { margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 4px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--grout); }
.steps li { background: var(--paper); padding: 26px; min-height: 230px; display: flex; flex-direction: column; gap: 10px; transition: background-color .3s; }
.steps li:hover { background: #fff; }
.steps .n { font: italic 400 56px/1 var(--serif); color: var(--accent); }
.steps h3 { font: 700 20px/1.2 var(--sans); letter-spacing: 0; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); }
.steps small { margin-top: auto; font: 400 12px/1.3 var(--mono); color: var(--muted); }

/* galéria + nagyító */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery figure { margin: 0; }
.sw-box { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; cursor: zoom-in; }
.sw-box::before { content: ""; position: absolute; inset: 0; background: var(--pat); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform .5s var(--ease); }
.sw-box:hover::before { transform: scale(2.4); }
.sw-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255, 255, 255, .18), transparent 55%); pointer-events: none; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ink); }
.gallery figcaption span { font: 400 12px/1.6 var(--mono); color: var(--muted); text-align: right; }
.g1 { --pat: linear-gradient(90deg, #E3DFD6 2px, transparent 2px) 0 0 / 120px 60px, linear-gradient(#E3DFD6 2px, transparent 2px) 0 0 / 120px 60px, #F4F1EA; }
.g2 { --pat: linear-gradient(90deg, #FAFAF7 2px, transparent 2px) 0 0 / 16px 16px, linear-gradient(#FAFAF7 2px, transparent 2px) 0 0 / 16px 16px, #8FA197; }
.g3 { --pat: repeating-conic-gradient(#2E3331 0 25%, #F2EFE8 0 50%) 0 0 / 64px 64px; }
.g4 { --pat: url("img/minta-metro.svg") 0 0 / 60px 30px repeat; }
.g5 { --pat: repeating-linear-gradient(45deg, #EADFD3 0 2px, transparent 2px 34px), repeating-linear-gradient(-45deg, #EADFD3 0 2px, transparent 2px 34px), #B9663F; }
.g6 { --pat: radial-gradient(#4A5250 2px, transparent 3px) 0 0 / 22px 22px, radial-gradient(#C9B795 2px, transparent 3px) 11px 11px / 22px 22px, linear-gradient(90deg, #F4F1EA 3px, transparent 3px) 0 0 / 120px 120px, linear-gradient(#F4F1EA 3px, transparent 3px) 0 0 / 120px 120px, #D8D6D0; }

/* ajánlatkérés */
.req-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.req-copy h2 { font-size: clamp(48px, 5.6vw, 84px); line-height: .92; margin-bottom: 18px; }
.req-copy h2 em { color: var(--accent); }
.req-copy > p { margin: 0 0 24px; max-width: 26em; color: var(--ink-2); }
.chosen { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px dashed var(--ink); background: var(--paper); }
.chosen small { display: block; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.chosen b { display: block; font-weight: 700; }
.mini { flex: none; width: 64px; height: 64px; border-radius: 2px; position: relative; overflow: hidden; background: var(--grout-c, #FAFAF7); }
.mini.big { width: 110px; height: 110px; border: 1.5px solid var(--ink); }
.mini i { position: absolute; background: var(--c); }
.contact { margin: 26px 0 0 !important; display: flex; flex-wrap: wrap; gap: 10px 24px; font: 400 15px/1.4 var(--mono); }
.contact a { display: inline-flex; align-items: center; gap: 8px; text-underline-offset: 4px; }
.contact svg { width: 18px; height: 18px; }
.req { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; 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: 50px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 2px; background: #fff; font-size: 16px; transition: box-shadow .2s, border-color .2s; }
.f textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36, 68, 63, .18); }
.f.bad input { border-color: #A3261A; background: #FFF5F3; }
.err { display: none; color: #A3261A; 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: var(--paper); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; overflow: auto; }
.done.show { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.d-no { font: 400 12px/1 var(--mono); color: var(--muted); }
.done h3 { font-size: clamp(42px, 4.6vw, 56px); line-height: .95; }
.done h3 em { color: var(--accent); }
.d-row { display: flex; gap: 20px; align-items: flex-start; }
.done dl { margin: 0; flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; font-size: 15px; }
.done dt { font: 400 12px/1.7 var(--mono); color: var(--muted); }
.done dd { margin: 0; overflow-wrap: anywhere; }
.done .demo { margin: 0; font: 400 13px/1.4 var(--mono); color: var(--ink-2); }
.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: 400 36px/1 var(--serif); }
.fmeta { margin: 8px 0 0; font: 400 13px/1.4 var(--mono); color: #A9B4B0; }
.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(--laser); }
.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(251, 250, 247, .97); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); border: 1px solid var(--line); 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 .ln > span { transform: none; }
.no-js .laser { transform: 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, 80px); z-index: 45; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--ink); 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; }
  .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, .room, .req-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 600px; }
  .controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .controls .pats { grid-column: 1 / -1; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 58px; }
  .top .wrap { min-height: 68px; }
  .name { font-size: 25px; }
  .hero h1 { font-size: clamp(56px, 16vw, 84px); }
  .cta .btn { flex: 1 1 100%; }
  .truchet { gap: 3px; padding: 3px; }
  .controls { grid-template-columns: minmax(0, 1fr); }
  .pats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pats span { min-width: 0; }
  .res dd { font-size: 30px; }
  .price b { font-size: 40px; }
  .price .btn { flex: 1 1 100%; }
  .room-txt h3 { font-size: 38px; }
  .details, .steps, .gallery { grid-template-columns: minmax(0, 1fr); }
  .steps li { min-height: 0; }
  .req { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .d-row { flex-direction: column; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-top: 1px solid var(--ink); }
  .callbar a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; background: var(--paper); }
  .callbar a:first-child { background: var(--ink); color: var(--laser); }
  .callbar a:last-child { background: var(--accent); color: #fff; }
  .callbar svg { width: 20px; height: 20px; }
  .km-badge { left: 10px; bottom: 74px; }
}
@media (hover: none) { .sw-box:hover::before { transform: none; } .sw-box { cursor: default; } }
@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, .tt { opacity: 1; transform: rotate(var(--r, 0deg)); }
  .rv, .fade { transform: none; }
}
