/* =========================================================
   Mobis – stiluri
   Paletă: Bej închis U702 Egger + nuanțe de lemn, temă închisă
   ========================================================= */
:root {
  --bg: #1c1815;
  --bg-2: #241f1b;
  --surface: #2c2621;
  --surface-2: #362f29;
  --u702: #a69a8b;          /* Egger U702 – bej închis / cașmir */
  --u702-light: #c3b8a9;
  --u702-dark: #7d7264;
  --u702-deep: #4f463e;
  --oak: #b08a5e;
  --oak-light: #d0ae84;
  --walnut: #6e4e37;
  --cream: #f1e9de;
  --ink: #1c1815;
  --muted: #b2a696;
  --line: rgba(241, 233, 222, .12);
  --line-strong: rgba(241, 233, 222, .22);
  --white: #ffffff;
  --ok: #a9c4a0;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .65);
  --header-h: 76px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* textură de lemn desenată (fără imagini externe) */
  --grain-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0025 0.07' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.72  0 0 0 0 0.55  0 0 0 0 0.38  1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  --grain-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='900'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.06 0.003' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25  0 0 0 0 0.16  0 0 0 0 0.09  1.7 0 0 0 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* ===== Bază ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 500; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); letter-spacing: -.015em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.08; }
h1 em, h2 em { font-style: italic; color: var(--oak-light); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
::selection { background: var(--u702); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--u702-light); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head--left { text-align: left; margin: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.wood { position: relative; isolation: isolate; }
.wood::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grain-h) center / 900px 600px; opacity: .16; pointer-events: none; }

/* ===== Butoane ===== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid var(--u702);
  background: var(--u702); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; letter-spacing: .01em;
  transition: background .3s, transform .3s var(--ease), box-shadow .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--u702-light); border-color: var(--u702-light); transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(166, 154, 139, .7); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); border-color: var(--white); }
.btn--line { background: transparent; border-color: var(--line-strong); color: var(--cream); }
.btn--line:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--small { padding: 11px 22px; font-size: .9rem; }
.btn--full { width: 100%; }
.btn--wa { background: var(--u702); color: var(--ink); border-color: var(--u702); padding: 11px 20px; font-size: .9rem; white-space: nowrap; }
.btn--wa:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: var(--cream); background: rgba(28, 24, 21, .55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.is-scrolled .header, .page-cfg .header { background: rgba(28, 24, 21, .92); border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo__img { display: block; height: 46px; width: auto; }
.logo--footer .logo__img { height: 40px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; text-decoration: none; font-size: .93rem; opacity: .86; transition: opacity .2s; }
.nav a:not(.nav__pill)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--u702-light); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:not(.nav__pill):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__pill { border: 1.5px solid var(--u702); border-radius: 999px; padding: 9px 20px; opacity: 1 !important; transition: background .25s, color .25s; }
.nav__pill:hover { background: var(--u702); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: currentColor; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); --hp: 0; }
.hero__scene { position: absolute; inset: 0; background: var(--bg); pointer-events: none; }
.hero__photo {
  position: absolute; inset: -4%; background: url('hero-wardrobe.jpg') 62% 40% / cover no-repeat;
  transform: scale(calc(1.04 + var(--hp) * .16)) translateY(calc(var(--hp) * 60px));
  filter: brightness(calc(.92 - var(--hp) * .55)) blur(calc(var(--hp) * 7px)) saturate(calc(1 - var(--hp) * .4));
  animation: heroIn 2.2s var(--ease) both; will-change: transform, filter;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.18); } }
.hero__scene::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(28, 24, 21, .94) 0%, rgba(28, 24, 21, .78) 34%, rgba(28, 24, 21, .25) 64%, rgba(28, 24, 21, .1) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 28%); }
.hero__content { position: relative; z-index: 4; padding-block: 80px; transform: translateY(calc(var(--hp) * -70px)); opacity: calc(1 - var(--hp) * 1.3); }
.hero__content > * { max-width: 640px; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__content p { font-size: 1.15rem; color: #d6cbbd; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__badge { position: absolute; right: 4%; bottom: 9%; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 18px; background: rgba(28, 24, 21, .55); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: .88rem; color: #d6cbbd; animation: rise 1.4s .9s var(--ease) both; }
.hero__badge i { width: 42px; height: 42px; border-radius: 50%; background: var(--u702); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .12); flex: none; }
.hero__badge b { display: block; color: var(--cream); font-weight: 600; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 4; width: 24px; height: 40px; margin-left: -12px; border: 1.5px solid var(--line-strong); border-radius: 20px; opacity: calc(1 - var(--hp) * 4); }
.hero__scroll::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--u702-light); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.hero h1, .hero__eyebrow, .hero__content p, .hero__actions { animation: rise 1.2s var(--ease) both; }
.hero__eyebrow { animation-delay: .15s; }
.hero h1 { animation-delay: .3s; }
.hero__content p { animation-delay: .5s; }
.hero__actions { animation-delay: .7s; }

/* ===== Bandă materiale ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: 1.45rem; font-style: italic; color: var(--u702-light); white-space: nowrap; }
.marquee__track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: '✦'; font-style: normal; font-size: .8rem; color: var(--oak); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Avantaje ===== */
.perks { padding: 90px 0; }
.perks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.perk { display: flex; gap: 20px; padding: 30px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s; }
.perk:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.perk svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--oak-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.perk p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ===== Produse ===== */
.products { padding: 110px 0; }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s, border-color .4s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.product:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.product__art { position: relative; aspect-ratio: 4 / 4.4; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #4a4038, #2a241f); }
.product__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 24, 21, .65), transparent 45%); pointer-events: none; }
.product__art svg { width: 78%; height: auto; transition: transform .8s var(--ease); }
.product:hover .product__art svg { transform: scale(1.06) translateY(-6px); }
.product__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .9s var(--ease), filter .9s; filter: brightness(.92); }
.product:hover .product__art img { transform: scale(1.07); filter: brightness(1.02); }
.product__tag { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(28, 24, 21, .6); backdrop-filter: blur(6px); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--u702-light); }
.product__body { padding: 26px 28px 30px; }
.product__body h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; margin-bottom: .3em; }
.product__body p { color: var(--muted); font-size: .95rem; }
.product__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--u702-light); }
.product__cta::after { content: '→'; transition: transform .3s var(--ease); }
.product:hover .product__cta::after { transform: translateX(6px); }

/* ===== Imagine care se descompune la scroll ===== */
.split { position: relative; height: 240vh; --sp: 0; }
.split__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.split__img { position: absolute; inset: 0; display: flex; gap: calc(var(--sp) * 22px); padding: calc(var(--sp) * 6vh) calc(var(--sp) * 6vw); filter: brightness(calc(1 - var(--sp) * .62)) saturate(calc(1 - var(--sp) * .3)); }
.split__img span {
  position: relative; flex: 1; overflow: hidden; border-radius: calc(var(--sp) * 18px);
  transform: translateY(calc(var(--sp) * var(--dy) * 1px)) scale(calc(1 - var(--sp) * .06));
  will-change: transform;
}
.split__img img { position: absolute; top: 0; left: calc(var(--i) * -100vw / 6); width: 100vw; height: 100vh; max-width: none; object-fit: cover; object-position: 60% 40%; }
.split__img span:nth-child(1) { --dy: -90; --i: 0; }
.split__img span:nth-child(2) { --dy: 60; --i: 1; }
.split__img span:nth-child(3) { --dy: -40; --i: 2; }
.split__img span:nth-child(4) { --dy: 110; --i: 3; }
.split__img span:nth-child(5) { --dy: -70; --i: 4; }
.split__img span:nth-child(6) { --dy: 40; --i: 5; }
.split__text { position: relative; z-index: 2; text-align: center; max-width: 760px; padding: 0 20px;
  opacity: clamp(0, calc(var(--sp) * 2.2 - .45), 1); transform: scale(calc(.82 + var(--sp) * .18)) translateY(calc((1 - var(--sp)) * 50px)); filter: blur(calc(max(0, .55 - var(--sp)) * 14px)); }
.split__text h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); text-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.split__text p { color: #ddd2c4; font-size: 1.12rem; }

/* ===== Statistici ===== */
.stats { padding: 80px 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; line-height: 1; color: var(--oak-light); }
.stats span { color: var(--muted); font-size: .92rem; }

/* ===== Materiale / culori ===== */
.materials { padding: 110px 0; overflow: hidden; }
.materials__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.materials__inner > div > p { color: var(--muted); font-size: 1.05rem; }
.materials__inner .btn { margin-top: 18px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chip { position: relative; aspect-ratio: 1 / 1.25; border-radius: 18px; overflow: hidden; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow); transition: transform .7s var(--ease); }
.chip:hover { transform: translateY(-8px) rotate(-1deg); }
.chip--wood::before { content: ''; position: absolute; inset: 0; background: var(--grain-v) center / 600px 900px; opacity: .55; mix-blend-mode: multiply; }
.chip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .8rem; font-weight: 600; color: var(--cream); background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); }
.chip--big { grid-row: span 2; aspect-ratio: auto; }
.chip--big span { font-size: .95rem; }
.chip--big span small { display: block; font-weight: 400; opacity: .8; }

/* ===== Pași ===== */
.steps { padding: 100px 0; background: var(--bg-2); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps__list li { position: relative; padding: 28px 22px; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s; }
.steps__list li:hover { transform: translateY(-6px); border-color: var(--u702-dark); }
.steps__list b { display: block; font-family: var(--serif); font-variant-numeric: lining-nums; color: var(--oak-light); font-weight: 500; font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.steps__list h3 { font-size: 1rem; }
.steps__list p { color: var(--muted); font-size: .9rem; margin: 0; }
.steps--compact { padding: 70px 0; }

/* ===== Întrebări ===== */
.faq { padding: 110px 0; }
.faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 500; font-size: 1.05rem; transition: color .2s; }
.faq__list summary:hover { color: var(--u702-light); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--oak-light); transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--muted); padding-right: 40px; animation: rise .5s var(--ease); }
.faq a { color: var(--u702-light); }

/* ===== Despre ===== */
.about { padding: 120px 0; background: linear-gradient(135deg, #3b322b, #2a231e); overflow: hidden; }
.about::before { opacity: .28; }
.about__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.about p { color: #d6cbbd; font-size: 1.06rem; }
.about__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 118%; object-fit: cover; transform: translateY(calc(var(--py, 0) * -14%)); filter: brightness(calc(.95 - var(--py, 0) * .25)); will-change: transform; }

/* ===== Contact ===== */
.contact { padding: 120px 0; background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact__info p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.contact__list li { display: grid; grid-template-columns: 100px 1fr; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--u702-light); font-size: .85rem; letter-spacing: .04em; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--oak-light); }
.contact__form { background: var(--surface); padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--u702-light); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.form-row ::placeholder { color: #8a7f72; }
.form-row select option { background: var(--surface); }
.form-row textarea { resize: vertical; }
.form-row :focus { outline: none; border-color: var(--u702); box-shadow: 0 0 0 4px rgba(166, 154, 139, .2); }
.form-status { margin: 12px 0 0; min-height: 1.4em; font-size: .9rem; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: #e2957f; }

/* ===== Footer ===== */
.footer { background: #141110; color: var(--cream); padding-top: 64px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--u702-light); }
.footer nav a, .footer__inner > div a:not(.logo) { display: block; text-decoration: none; padding: 4px 0; color: var(--muted); transition: color .2s; }
.footer a:hover { color: var(--cream); }
.footer p { color: var(--muted); margin-top: 12px; }
.footer__bottom { margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ===== Apariție la scroll ===== */
.js [data-reveal] { opacity: 0; transform: translateY(46px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .product[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 1s var(--ease), transform .6s var(--ease), filter 1s var(--ease), box-shadow .6s, border-color .4s; }

/* =========================================================
   CONFIGURATOR
   ========================================================= */
.page-cfg { background: var(--bg); }
.cfg { position: relative; height: calc(100vh - var(--header-h)); min-height: 620px; max-height: 1000px; }
.cfg-stage { position: absolute; inset: 0; background: #d9cfc3; overflow: hidden; }
.cfg-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.cfg-canvas:active { cursor: grabbing; }
.crumbs { position: absolute; top: 20px; left: 24px; z-index: 2; font-size: .84rem; color: var(--muted); padding: 6px 14px; border-radius: 999px; background: rgba(28, 24, 21, .72); backdrop-filter: blur(6px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.crumbs span { color: var(--cream); font-weight: 600; }
.cfg-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #5b5047; font-size: .95rem; }
.cfg-hint { position: absolute; left: 24px; top: 60px; z-index: 2; margin: 0; padding: 4px 14px; border-radius: 999px; font-size: .78rem; color: var(--muted); background: rgba(28, 24, 21, .55); backdrop-filter: blur(6px); }
.cfg-tools {
  position: absolute; z-index: 2; bottom: 24px; left: calc((100% - 448px) / 2); transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 6px; background: rgba(28, 24, 21, .9); backdrop-filter: blur(8px); color: var(--cream); border-radius: 999px; box-shadow: var(--shadow);
}
.cfg-tools button { display: inline-flex; align-items: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: .88rem; white-space: nowrap; }
.cfg-tools button:hover { background: var(--surface-2); }
.cfg-tools svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cfg-tools button.is-active, .cfg-tools button.is-active:hover { background: var(--u702); color: var(--ink); }

.cfg-panel {
  position: absolute; z-index: 3; top: 20px; right: 24px; bottom: 20px; width: 400px;
  overflow-y: auto; overscroll-behavior: contain; padding: 24px 24px 28px;
  background: var(--bg-2); color: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
  scrollbar-width: thin; scrollbar-color: var(--u702-deep) transparent;
}
.cp-head { position: sticky; top: -24px; z-index: 2; margin: -24px -24px 6px; padding: 20px 24px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cp-switch { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: var(--surface); border-radius: 999px; }
.cp-switch a { flex: 1; text-align: center; padding: 7px 8px; border-radius: 999px; font-size: .82rem; text-decoration: none; color: var(--muted); transition: background .2s, color .2s; }
.cp-switch a:hover { color: var(--cream); }
.cp-switch a.is-active { background: var(--u702); color: var(--ink); font-weight: 600; }
.cp-title { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 2rem; font-weight: 500; margin-bottom: 8px; }
.cp-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cp-price { font-size: 1.6rem; font-weight: 600; color: var(--oak-light); display: flex; align-items: center; gap: 6px; }
.cp-help { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--muted); background: none; color: var(--muted); font-size: .75rem; font-weight: 700; line-height: 1; padding: 0; }
.cp-helpbox { margin: 12px 0 0; padding: 10px 12px; background: var(--surface); border-radius: var(--radius-sm); font-size: .85rem; color: var(--muted); }
.cp-sec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cp-sec:last-child { border-bottom: 0; }
.cp-sec h3 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cp-sub { font-size: .85rem; font-weight: 400; color: var(--muted); }
.cp-link { display: inline-block; margin-top: 10px; font-size: .86rem; color: var(--u702-light); text-underline-offset: 3px; }

.cp-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s; }
.svc:hover { border-color: var(--u702-dark); }
.svc input { width: 18px; height: 18px; accent-color: var(--u702); margin: 0; }
.svc b { margin-left: auto; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.svc:has(input:checked) { border-color: var(--u702); background: rgba(166, 154, 139, .14); }

.cp-dim { display: grid; grid-template-columns: 76px 86px 1fr; align-items: center; gap: 12px; margin-bottom: 10px; }
.cp-dim label { font-size: .92rem; }
.cp-num { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 10px; height: 40px; background: var(--surface); }
.cp-num:focus-within { border-color: var(--u702); box-shadow: 0 0 0 3px rgba(166, 154, 139, .2); }
.cp-num input { width: 100%; border: 0; outline: none; background: none; font-weight: 600; padding: 0; -moz-appearance: textfield; }
.cp-num input::-webkit-outer-spin-button, .cp-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cp-num span { color: var(--muted); font-size: .85rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--surface-2); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--u702); border: 3px solid var(--bg-2); box-shadow: 0 0 0 1px var(--u702); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--u702); border: 3px solid var(--bg-2); cursor: pointer; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(166, 154, 139, .35); }

.cp-swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.sw { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .15s; padding: 0; }
.sw--wood::before { content: ''; position: absolute; inset: 0; background: var(--grain-v) center / 300px 450px; opacity: .6; mix-blend-mode: multiply; }
.sw:hover { transform: scale(1.1); }
.sw.is-active { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--u702-light); }

.cp-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cp-opt > span { font-size: .92rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; }
.seg button { border: 0; background: transparent; padding: 7px 13px; border-radius: 999px; font-size: .84rem; color: var(--muted); }
.seg button:hover { color: var(--cream); }
.seg button.is-active { background: var(--u702); color: var(--ink); font-weight: 600; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 1.15rem; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper b { min-width: 30px; text-align: center; }

.cp-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.cp-tabs button { flex: none; border: 0; padding: 7px 14px; border-radius: 999px; background: var(--surface); font-size: .84rem; color: var(--muted); }
.cp-tabs button.is-active { background: var(--cream); color: var(--ink); font-weight: 600; }
.cp-fills { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.fill { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 8px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: .76rem; line-height: 1.2; text-align: center; transition: border-color .2s, transform .2s; }
.fill:hover { border-color: var(--u702-dark); transform: translateY(-2px); }
.fill.is-active { border-color: var(--u702-light); background: var(--surface-2); }
.fill svg { width: 40px; height: 52px; }
.cp-note { margin: 0 0 14px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.cp-structure-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.cp-structure-choice svg { width: 64px; height: 48px; }
.cp-opt--stack { align-items: flex-start; flex-direction: column; }
.cp-dim[hidden] { display: none; }
.fill:focus-visible, .seg button:focus-visible, .cp-rooms button:focus-visible { outline: 2px solid var(--u702-light); outline-offset: 3px; }
.i-frame { fill: #403731; stroke: #cdbfae; stroke-width: 1.4; }
.i-line { stroke: #cdbfae; stroke-width: 1.4; fill: none; }
.i-rod { stroke: #e6dccf; stroke-width: 2; stroke-linecap: round; }
.i-cloth { fill: #8fa5b2; }
.i-box { fill: #6b5d50; stroke: #cdbfae; stroke-width: 1; }
.i-glass { fill: rgba(143, 165, 178, .35); stroke: #cdbfae; stroke-width: 1; }

/* Camera amenajată */
.cp-room { margin: 6px -10px 0; padding: 18px 10px; border-radius: var(--radius-sm); background: linear-gradient(160deg, rgba(176, 138, 94, .16), transparent); }
.cp-rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.cp-rooms button { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1 / 1.05; padding: 6px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: .74rem; font-weight: 600; color: var(--ink);
  background: linear-gradient(180deg, var(--wall, #e6ddd1) 0 66%, var(--floor, #c9b9a4) 66% 100%); transition: border-color .2s, transform .2s; }
.cp-rooms button[data-room="off"] { color: var(--ink); }
.cp-rooms button[data-room="dark"] { color: var(--cream); }
.cp-rooms button:hover { transform: translateY(-2px); }
.cp-rooms button.is-active { border-color: var(--u702-light); box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--u702-light); }
.cp-shot { margin-top: 2px; }

.cfg-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 100; background: var(--cream); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.info { padding: 90px 0; }
.info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.info__grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.info__grid p { color: var(--muted); margin: 0; }
.info__about { max-width: 780px; }
.info__about p { color: var(--muted); font-size: 1.05rem; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); }
  .products__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 980px) {
  .cfg { height: auto; max-height: none; min-height: 0; }
  .cfg-stage { position: relative; height: 58vh; min-height: 360px; }
  .cfg-tools { left: 50%; bottom: 14px; }
  .cfg-panel { position: static; width: auto; margin: -24px 12px 0; border-radius: var(--radius); }
  .cp-head { position: static; }
  .cfg-bar {
    display: flex; position: sticky; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; background: var(--bg-2); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .6);
  }
  .cfg-bar strong { font-size: 1.3rem; color: var(--oak-light); }
  .materials__inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6);
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .logo__img { height: 38px; }
  .nav__pill { order: 9; margin-top: 16px; text-align: center; border-bottom: 1.5px solid var(--u702) !important; }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero { align-items: flex-end; }
  .hero__content { padding-bottom: 110px; }
  .hero__photo { background-position: 75% center; }
  .hero__scene::after { background: linear-gradient(0deg, rgba(28, 24, 21, .98) 0%, rgba(28, 24, 21, .82) 45%, rgba(28, 24, 21, .2) 80%, rgba(28, 24, 21, .1) 100%); }
  .hero__badge { display: none; }
  .perks__grid, .products__grid, .info__grid { grid-template-columns: 1fr; }
  .faq__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .split { height: 200vh; }
  .split__img { gap: calc(var(--sp) * 10px); }
  .product__art { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 560px) {
  .steps__list { grid-template-columns: 1fr 1fr; }
  .cp-dim { grid-template-columns: 70px 80px 1fr; gap: 8px; }
  .cp-swatches { grid-template-columns: repeat(6, 1fr); }
  .cfg-tools__wide span { display: none; }
  .cfg-hint { display: none; }
  .contact__form { padding: 22px; }
  .cfg-bar .btn--wa { padding: 10px 14px; font-size: .85rem; }
  .chips { grid-template-columns: 1fr 1fr; }
  .chip--big { grid-row: auto; grid-column: span 2; aspect-ratio: 2 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero { --hp: 0 !important; }
  .split { height: auto; --sp: .6 !important; }
  .split__sticky { position: relative; height: 80vh; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
