:root {
  --cream: #f7f0e6; --paper: #fffaf3; --brown: #3d2b1f; --brown-2: #6b4a35; --muted: #7a6656;
  --terra: #b8653b; --terra-dark: #9a4f2b; --sage: #7f8f6e; --line: #e6d9c7; --radius: 14px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--brown); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--terra-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--terra); margin-bottom: .6em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--terra); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--terra); font: 600 1rem var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); border-color: var(--brown-2); }
.btn-small { padding: 8px 16px; font-size: .92rem; }
.btn-viber { background: #7360f2; border-color: #7360f2; }
.btn-viber:hover { background: #5b48d6; border-color: #5b48d6; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 240, 230, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brown); color: var(--cream); font: 700 1.25rem var(--serif); }
.logo-text { font-family: var(--serif); font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--brown); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--terra); }
.nav-links .btn { color: #fff; }
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--brown-2); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--sage); font-weight: 700; margin-right: 7px; }
.hero-visual { position: relative; }
.hv-panel { height: clamp(320px, 42vw, 480px); border-radius: 22px; box-shadow: 0 30px 60px -25px rgba(61, 43, 31, .45); position: relative; overflow: hidden; }
.hv-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(255, 225, 180, .35), transparent 60%), linear-gradient(to bottom, transparent 60%, rgba(30, 18, 10, .25)); }
.hv-mirror { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3f6f6, #b9c4c6 60%, #9aa7aa); border: 9px solid #c79a55; box-shadow: 0 14px 30px rgba(0, 0, 0, .3), inset 0 0 0 2px #e6c58a; }
.hv-card { position: absolute; left: -22px; bottom: 26px; background: var(--paper); padding: 16px 20px; border-radius: var(--radius); display: grid; gap: 2px; box-shadow: 0 18px 40px -18px rgba(61, 43, 31, .5); font-size: .95rem; }
.hv-card span:last-child { color: var(--muted); }
.hv-badge { justify-self: start; background: var(--terra); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(61, 43, 31, .5); }
.card-img { height: 190px; }
.card-body { padding: 18px 20px 20px; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.more-note { margin-top: 28px; color: var(--muted); }
.viz-section { background: var(--paper); border-block: 1px solid var(--line); }
.viz { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.room { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #e8dccb; box-shadow: 0 30px 60px -30px rgba(61, 43, 31, .55); user-select: none; -webkit-user-select: none; touch-action: none; }
.wall { position: absolute; left: 0; right: 0; top: 0; height: 74%; overflow: hidden; }
.wall-bare, .wall-panel, .wall-shade, .wall-glow { position: absolute; inset: 0; }
.wall-bare { background: #e8dccb; transition: background .3s; }
.room[data-room="spavaca"] .wall-bare { background: #e3dcd3; }
.wall-panel { background-repeat: repeat; clip-path: inset(0 0 0 50%); transition: opacity .25s; }
.wall-panel.fading { opacity: .25; }
.wall-shade { mix-blend-mode: multiply; pointer-events: none; background: linear-gradient(to bottom, rgba(60, 38, 22, .32), rgba(60, 38, 22, 0) 28%, rgba(60, 38, 22, 0) 78%, rgba(60, 38, 22, .22)), linear-gradient(to right, rgba(60, 38, 22, .22), rgba(60, 38, 22, 0) 22%, rgba(60, 38, 22, 0) 78%, rgba(60, 38, 22, .25)); }
.wall-glow { mix-blend-mode: screen; pointer-events: none; }
.room[data-room="dnevna"] .wall-glow { background: radial-gradient(ellipse 30% 55% at 16% 42%, rgba(255, 196, 120, .38), transparent 70%); }
.room[data-room="spavaca"] .wall-glow { background: radial-gradient(ellipse 18% 40% at 23% 72%, rgba(255, 196, 120, .4), transparent 70%), radial-gradient(ellipse 18% 40% at 77% 72%, rgba(255, 196, 120, .4), transparent 70%); }
.baseboard { position: absolute; left: 0; right: 0; top: 74%; height: 2.4%; background: linear-gradient(#fbf7f0, #e9e0d3); box-shadow: 0 2px 4px rgba(0, 0, 0, .18); z-index: 1; }
.floor { position: absolute; left: 0; right: 0; bottom: 0; top: 76.4%; background: linear-gradient(to bottom, rgba(40, 22, 10, .35), rgba(40, 22, 10, 0) 45%), repeating-linear-gradient(90deg, #b48659 0 9.6%, #9d7149 9.6% 9.8%, #bf9265 9.8% 19.6%, #9d7149 19.6% 19.8%, #ad7f53 19.8% 29.6%, #9d7149 29.6% 29.8%); }
.room[data-room="spavaca"] .floor { background: linear-gradient(to bottom, rgba(40, 22, 10, .3), rgba(40, 22, 10, 0) 45%), repeating-linear-gradient(90deg, #cfb08a 0 9.6%, #b8976f 9.6% 9.8%, #d8bb96 9.8% 19.6%, #b8976f 19.6% 19.8%, #c9a983 19.8% 29.6%, #b8976f 29.6% 29.8%); }
.deco-layer { position: absolute; inset: 0; z-index: 2; }
.furniture { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.furniture svg { width: 100%; height: 100%; }
.deco { position: absolute; transform: translate(-50%, -50%); cursor: grab; touch-action: none; }
.deco:active { cursor: grabbing; }
.deco svg { width: 100%; height: auto; overflow: visible; }
.deco.selected { outline: 2px dashed rgba(255, 255, 255, .85); outline-offset: 6px; border-radius: 6px; }
.deco-remove { position: absolute; top: -14px; right: -14px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--brown); color: #fff; font-size: 16px; line-height: 26px; cursor: pointer; display: none; padding: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.deco.selected .deco-remove, .deco:hover .deco-remove { display: block; }
.deco-led { height: 10px; border-radius: 6px; background: #fff3d6; box-shadow: 0 0 10px 3px rgba(255, 214, 140, .95), 0 0 40px 12px rgba(255, 190, 100, .55), 0 0 90px 30px rgba(255, 180, 90, .25); }
.deco-sconce svg { filter: drop-shadow(0 0 16px rgba(255, 200, 120, .8)); }
.deco-molding svg { filter: drop-shadow(1px 2px 1.5px rgba(0, 0, 0, .3)); }
.deco-mirror svg, .deco-art svg, .deco-shelf svg { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
.compare { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4; width: 0; }
.compare-line { position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .35); pointer-events: none; }
.compare-handle { position: absolute; top: 37%; left: 0; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--brown); display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); touch-action: none; }
.compare-handle:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.tag { position: absolute; top: 14px; z-index: 5; background: rgba(30, 20, 12, .62); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; pointer-events: none; }
.tag-before { left: 14px; }
.tag-after { right: 14px; }
.room-switch { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.room-switch button { font: 600 .92rem var(--sans); color: var(--brown); background: transparent; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.room-switch button.active { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.viz-panel { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.viz-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font: 700 .85rem var(--sans); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.swatch { border: 2px solid transparent; border-radius: 12px; padding: 3px; background: transparent; cursor: pointer; display: grid; gap: 4px; font: 500 .7rem/1.2 var(--sans); color: var(--brown-2); text-align: center; }
.swatch-thumb { aspect-ratio: 1; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatch.active { border-color: var(--terra); }
.swatch:hover .swatch-thumb { filter: brightness(1.05); }
.product-info { background: var(--paper); border-radius: 12px; padding: 14px 16px; margin: 16px 0 22px; border: 1px solid var(--line); }
.product-info strong { display: block; font-family: var(--serif); font-size: 1.08rem; }
.product-info .meta { color: var(--muted); font-size: .88rem; }
.product-info .price { font-weight: 700; color: var(--terra-dark); margin-top: 4px; }
.deco-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.deco-btn { font: 500 .8rem var(--sans); color: var(--brown); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px 8px; cursor: pointer; display: grid; justify-items: center; gap: 4px; }
.deco-btn:hover { border-color: var(--terra); }
.deco-btn svg { width: 30px; height: 30px; }
.hint { font-size: .82rem; color: var(--muted); margin: 10px 0 18px; }
.viz-actions { display: grid; gap: 8px; }
.viz-actions .btn { width: 100%; }
.demo-note { font-size: .76rem; color: var(--muted); margin: 14px 0 0; font-style: italic; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about p { color: var(--brown-2); }
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 2px; }
.why strong { font-family: var(--serif); font-size: 1.1rem; }
.why span { color: var(--muted); }
.contact-section { background: var(--brown); color: var(--cream); }
.contact-section .eyebrow { color: #e2a27b; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.c-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 16px 20px; display: grid; }
.c-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #cbb8a5; }
.contact-btns { display: flex; gap: 10px; margin-top: 6px; }
.map-placeholder { min-height: 300px; border-radius: 18px; border: 2px dashed rgba(255, 255, 255, .25); display: grid; place-items: center; text-align: center; padding: 20px; color: #cbb8a5; }
.site-footer { background: #2c1f16; color: #b9a592; font-size: .88rem; padding: 22px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1000px) { .viz { grid-template-columns: 1fr; } .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .hero-grid, .about, .contact-grid { grid-template-columns: 1fr; } .hero-grid { gap: 36px; } .hv-card { left: 12px; } .nav-links a:not(.btn) { display: none; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } .room { aspect-ratio: 4 / 3; } .compare-handle { width: 40px; height: 40px; } .logo-text { font-size: 1rem; } }
