/* ==========================================================================
   FORMA — 3D/AR portfolio · light, warm, catalogue-style design system
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-2: #f8f5f1;
  --bg-3: #f1ece6;
  --beige: #eee8e1;
  --beige-2: #e5dcd1;
  --beige-3: #d8ccbe;
  --surface: #ffffff;
  --surface-2: #f8f5f1;
  --line: #ebe5dd;
  --line-2: #dcd3c8;
  --text: #26231f;
  --text-2: #5c544c;
  --muted: #958b82;
  --dark: #26231f;
  --dark-2: #302a25;
  --maroon: #5b3530;
  --wine: #9a1f17;
  --coral: #ff8562;

  --accent: var(--wine);
  --accent-2: var(--coral);
  --accent-ink: #ffffff;
  --btn-bg: #26231f;
  --btn-ink: #ffffff;
  --stage-1: #ffffff;
  --stage-2: #f1ece6;
  --nav-hover: rgba(255, 255, 255, 0.6);
  --toast: #26231f;
  --ok: #2f9e6a;
  --err: #c8372d;

  --font: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 24px 60px -28px rgba(38, 35, 31, 0.35);
  --shadow-s: 0 6px 20px -8px rgba(38, 35, 31, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 72px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}


/* ------------------------------------------------------------- dark theme */
:root[data-theme="dark"] {
  --bg: #141210;
  --bg-2: #1b1816;
  --bg-3: #24201c;
  --beige: #201c19;
  --beige-2: #2d2722;
  --beige-3: #3e362f;
  --surface: #1e1a17;
  --surface-2: #26221e;
  --line: #2c2722;
  --line-2: #3c352f;
  --text: #f2ece5;
  --text-2: #c9beb2;
  --muted: #8d8378;
  --dark: #0c0a09;
  --maroon: #3a221e;
  --wine: #d2493f;
  --coral: #ff9677;
  --btn-bg: #f2ece5;
  --btn-ink: #171412;
  --stage-1: #2c2723;
  --stage-2: #141210;
  --nav-hover: rgba(255, 255, 255, 0.06);
  --toast: #2c2723;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
  --shadow-s: 0 6px 20px -8px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; color: var(--text); }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.cursor { display: none; }

/* ------------------------------------------------------------- preloader */
.preloader { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; background: var(--bg); transition: opacity 0.6s var(--ease), visibility 0.6s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; gap: 20px; justify-items: center; }
.preloader__logo { font-size: 26px; font-weight: 800; letter-spacing: 0.32em; padding-left: 0.32em; color: var(--text); }
.preloader__bar { width: 160px; height: 2px; background: var(--beige); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--wine); transition: width 0.4s var(--ease); }

/* ----------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: var(--beige); transition: box-shadow 0.3s, transform 0.45s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(38, 35, 31, 0.35); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.24em; font-size: 16px; color: var(--text); }
.logo__mark { width: 30px; height: 30px; flex: none; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--text-2); border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: var(--nav-hover); }
.nav a.is-active { color: var(--text); background: var(--surface); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header .header__cta { display: none; }
@media (min-width: 1100px) { .header .header__cta { display: inline-flex; } }

/* language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 13px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--text); transition: background 0.2s; }
.lang__btn:hover { background: var(--nav-hover); }
.lang__btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.lang.is-open .lang__btn svg:last-child { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; z-index: 5;
}
.lang.is-open .lang__menu { opacity: 1; transform: none; visibility: visible; }
.lang__menu button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; text-align: left; }
.lang__menu button:hover { background: var(--bg-2); }
.lang__menu button[aria-checked="true"] { color: var(--wine); font-weight: 700; }
.lang__menu button span { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }

/* burger + mobile menu */
.burger { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-s); font-size: 14px; font-weight: 600; color: var(--text-2); }
.burger__icon { position: relative; width: 18px; height: 12px; }
.burger__icon span { position: absolute; left: 0; right: 0; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.burger__icon span:nth-child(1) { top: 0; }
.burger__icon span:nth-child(2) { top: 5px; }
.burger__icon span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__icon span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99; padding: 24px var(--gutter) 32px; background: var(--surface);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-size: 22px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--wine); }
.mobile-menu__foot { margin-top: auto; color: var(--muted); font-size: 14px; padding-top: 20px; }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__actions { margin-left: auto; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn--primary:hover { filter: brightness(1.15); box-shadow: var(--shadow-s); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: #7f1810; }
.btn--soft { background: var(--beige); color: var(--text); border: 1px solid var(--beige-2); }
.btn--soft:hover { background: var(--beige-2); border-color: var(--beige-3); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--text-2); }
.btn--white { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--text-2); }
.icon-btn[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }

/* ------------------------------------------------------------- typography */
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); }
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section__head { display: grid; gap: 14px; margin: 0 auto clamp(30px, 4vw, 48px); max-width: 760px; text-align: center; justify-items: center; }
.section__title { font-size: clamp(28px, 3.8vw, 46px); overflow-wrap: break-word; }
.section__sub { color: var(--text-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 620px; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------------- hero */
.hero { padding: calc(var(--header-h) + clamp(24px, 4vw, 48px)) 0 clamp(30px, 4vw, 50px); text-align: center; overflow: hidden; }
.hero__title { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.08; max-width: 1000px; margin: 0 auto; overflow-wrap: break-word; }
.hero__title span { display: inline; }
.hero__title .accent { color: var(--wine); }
.hero__sub { color: var(--text-2); font-size: clamp(17px, 1.6vw, 22px); margin: 18px auto 0; max-width: 780px; }
.hero__switch { display: inline-flex; gap: 6px; margin-top: 26px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.hero__switch button { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.hero__switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }
.hero__stage { position: relative; height: clamp(340px, 52vh, 560px); margin: 4px auto 0; max-width: 1280px; }
.hero__canvas { position: absolute; inset: 0; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; }
.hero__canvas canvas:active { cursor: grabbing; }
.hero__hint { position: absolute; right: 12px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; pointer-events: none; }
.hero__hint svg { width: 17px; height: 17px; animation: sway 2.4s var(--ease-in-out) infinite; }
@keyframes sway { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.hero__model-card { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin-top: 6px; font-size: 15px; color: var(--text-2); border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.hero__model-card:hover { color: var(--wine); border-color: currentColor; }
.hero__model-card small { color: var(--muted); }
.hero__model-card strong { font-weight: 700; color: inherit; }
.hero__model-card svg { width: 16px; height: 16px; }
.hero__trust { display: flex; align-items: center; justify-content: center; text-align: center; gap: 10px; margin-top: 26px; font-size: clamp(17px, 1.7vw, 22px); color: var(--text-2); line-height: 1.35; }
.hero__trust svg { width: 22px; height: 22px; flex: none; color: var(--text); }
.hero__trust b { color: var(--text); font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
@media (max-width: 560px) { .hero__actions .btn { flex: 1 1 100%; } .hero__hint, .hero__model-card small { display: none; } .hero__trust svg { display: none; } }

/* ------------------------------------------------------------------ perks */
.perks { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk { display: grid; justify-items: center; align-content: start; gap: 12px; padding: 30px 14px 26px; text-align: center; position: relative; }
.perk + .perk::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.perk__icon { position: relative; width: 56px; height: 56px; display: grid; place-items: center; color: var(--text); }
.perk__icon svg { width: 46px; height: 46px; stroke-width: 1.4; }
.perk__icon b { position: absolute; right: -4px; bottom: -2px; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.perk strong { font-size: 15px; font-weight: 700; }
.perk small { color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 200px; }
.perk::after { content: ""; width: 26px; height: 2px; background: var(--beige-3); border-radius: 2px; }
@media (max-width: 900px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(odd)::before { display: none; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .perk:last-child { grid-column: 1 / -1; }
}

/* -------------------------------------------------------------- categories */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr; } }
.cat { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-l); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.4s, transform 0.4s var(--ease); }
.cat:hover { border-color: var(--beige-3); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat__media { position: relative; aspect-ratio: 16 / 10; background: var(--surface); overflow: hidden; }
.cat__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover .cat__img { transform: scale(1.05); }
.cat__count { position: absolute; top: 16px; right: 16px; padding: 6px 12px; border-radius: 999px; background: var(--beige); font-size: 13px; font-weight: 700; }
.cat__body { padding: 24px 26px 26px; display: grid; gap: 10px; align-content: start; }
.cat__num { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--coral); }
.cat__title { font-size: clamp(22px, 2.4vw, 30px); overflow-wrap: break-word; }
.cat__desc { color: var(--text-2); font-size: 15px; }
.cat__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--wine); }
.cat__link i { display: inline-grid; place-items: center; }
.cat__link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.cat:hover .cat__link svg { transform: translateX(4px); }

/* ----------------------------------------------------------------- catalog */
.catalog__bar { display: grid; justify-items: center; gap: 18px; margin-bottom: 34px; }
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; position: relative; }
.tabs__pill { display: none; }
.tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.tabs button:hover { color: var(--text); background: var(--bg-2); }
.tabs button[aria-selected="true"] { background: var(--beige); color: var(--text); font-weight: 700; }
.tabs button .count { font-size: 12px; color: var(--muted); font-weight: 600; }
.search { position: relative; width: min(100%, 380px); }
.search input { width: 100%; height: 46px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); outline: none; transition: border-color 0.2s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--text-2); }
.search svg { position: absolute; left: 17px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; } }
@media (max-width: 520px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; text-align: center; animation: cardIn 0.7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.4s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media img.is-loading { opacity: 0; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 25px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--beige); color: var(--text); }
.badge svg { width: 13px; height: 13px; }
.badge--accent { background: var(--wine); color: #fff; }
.card__ar { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: background 0.2s; }
.card__ar:hover { background: var(--beige); }
.card__ar svg { width: 21px; height: 21px; }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
@media (hover: none) { .card__quick { display: none; } }
.card__quick .btn { --h: 38px; font-size: 13.5px; padding: 0 16px; }
.card__body { padding: 16px 8px 0; display: grid; gap: 7px; justify-items: center; }
.card__cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.card__title { font-size: 13.5px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.35; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__text { color: var(--muted); font-size: 13.5px; line-height: 1.5; max-width: 320px; }
.card__dims { font-size: 14.5px; font-weight: 800; color: var(--text); }
.card__shine { display: none; }

.skeleton { display: grid; gap: 12px; justify-items: center; }
.skeleton__media { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); }
.skeleton__line { width: 70%; height: 12px; border-radius: 6px; }
.skeleton__line:last-child { width: 45%; }
.skeleton__media, .skeleton__line { background: linear-gradient(100deg, var(--bg-2) 30%, var(--beige) 50%, var(--bg-2) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty svg { width: 38px; height: 38px; margin: 0 auto 12px; opacity: 0.6; }
.catalog__more { display: flex; justify-content: center; margin-top: 44px; }

/* --------------------------------------------------------- dark about/AR */
.dark { background: var(--dark); color: #ece6df; }
.dark h2, .dark h3 { color: #fff; }
.ar { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .ar { grid-template-columns: 1fr; } }
.ar__lead { color: #cfc6bc; margin-top: 16px; max-width: 540px; }
.ar__lead mark, .dark mark { background: none; color: var(--coral); font-weight: 700; }
.ar__steps { display: grid; gap: 4px; margin-top: 30px; counter-reset: step; }
.ar__step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ar__step::before { counter-increment: step; content: "0" counter(step); font-weight: 800; color: var(--coral); font-size: 18px; }
.ar__step h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0; }
.ar__step p { color: #b9b0a6; font-size: 14.5px; }
.ar__devices { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: #b9b0a6; font-size: 14px; }
.ar__devices svg { width: 20px; height: 20px; flex: none; color: var(--coral); }
.ar .btn--white { margin-top: 26px; }

.phone { position: relative; width: min(320px, 78vw); aspect-ratio: 9 / 18.5; margin: 0 auto; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #3a332d, #181512); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), inset 0 0 0 1.5px rgba(255,255,255,0.08); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #ddd; }
.phone__notch { position: absolute; z-index: 3; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 25px; background: #000; border-radius: 20px; }
.phone__ui { position: absolute; z-index: 3; inset: auto 14px 18px; display: flex; justify-content: center; }
.phone__ui span { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,0.95); color: #111; font-size: 12px; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.phone__ui svg { width: 14px; height: 14px; }
.phone__reticle { position: absolute; z-index: 1; left: 50%; bottom: 23%; width: 64%; aspect-ratio: 2.3 / 1; transform: translateX(-50%); border: 2px dashed rgba(255,255,255,0.8); border-radius: 50%; animation: pulse 2.4s var(--ease-in-out) infinite; }
@keyframes pulse { 50% { transform: translateX(-50%) scale(1.08); opacity: 0.6; } }
.phone .phone__model { position: absolute; inset: 8% 0 12%; width: 100%; height: 80%; z-index: 2; background: transparent; --poster-color: transparent; }
.phone__room { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 30% at 70% 22%, rgba(255, 236, 205, 0.35), transparent 70%),
  linear-gradient(180deg, #e3dbd0 0%, #d4c9bb 56%, #a58c71 56.2%, #b49b80 100%); }
.phone__room::before { content: ""; position: absolute; left: 12%; top: 10%; width: 34%; height: 30%; border: 4px solid #f3eee7; background: linear-gradient(160deg, #eef4fb, #c3d4e6); }
.phone__room::after { content: ""; position: absolute; left: 0; right: 0; top: 56%; bottom: 0; background: repeating-linear-gradient(90deg, transparent 0 22%, rgba(0,0,0,0.06) 22% 22.6%); }

/* ------------------------------------------------------------------ contact */
.contact { max-width: 720px; margin: 0 auto; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; color: var(--text-2); font-weight: 500; order: -1; }
.field input, .field textarea, .field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { border-color: var(--text-2); box-shadow: 0 0 0 3px var(--bg-3); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn--primary { justify-self: center; min-width: 220px; margin-top: 6px; }
.form__note { text-align: center; font-size: 12.5px; color: var(--muted); }
.form__product { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.form__product img { width: 70px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.form__product small { display: block; color: var(--muted); font-size: 12px; }
.contact__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.contact__item { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 10px; border-radius: 999px; border: 1px solid var(--beige-3); background: var(--beige); font-size: 14px; transition: background 0.2s; }
a.contact__item:hover { background: var(--beige-2); }
.contact__item i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--wine); flex: none; }
.contact__item svg { width: 16px; height: 16px; }
.contact__item small { display: none; }
.contact__item strong { font-weight: 600; }

/* ------------------------------------------------------------------- footer */
.footer { background: var(--beige); padding: 56px 0 0; color: var(--text-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 46px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
.footer__brand p { max-width: 340px; margin-top: 14px; font-size: 15px; }
.footer h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { transition: color 0.2s; }
.footer ul a:hover { color: var(--wine); }
.footer__bottom { background: var(--maroon); color: #e8d9d4; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
.footer__bottom .btn { --h: 36px; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.footer__bottom .btn:hover { background: rgba(255,255,255,0.18); }
.footer__big { display: none; }

/* -------------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(38, 35, 31, 0.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.35s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__box { position: relative; width: min(100%, 540px); max-height: calc(100svh - 32px); overflow: auto; border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(0.98); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__box--wide { width: min(100%, 1080px); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-size: 18px; font-weight: 800; letter-spacing: 0; }
.modal__body { padding: 22px; }
.modal__close { flex: none; }
.quick { display: grid; grid-template-columns: 1.4fr 1fr; min-height: min(620px, 80svh); }
@media (max-width: 860px) { .quick { grid-template-columns: 1fr; } }
.quick__viewer { position: relative; min-height: 360px; background: radial-gradient(circle at 50% 42%, var(--stage-1), var(--stage-2) 75%); }
.quick__viewer model-viewer { width: 100%; height: 100%; min-height: 360px; }
.quick__info { padding: 30px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .quick__info { border-left: 0; border-top: 1px solid var(--line); } }
.quick__info h3 { font-size: clamp(22px, 2.2vw, 28px); }
.quick__info p { color: var(--text-2); }
.quick__info .actions { margin-top: auto; display: grid; gap: 10px; }
.quick .modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.qr { display: grid; justify-items: center; gap: 16px; text-align: center; }
.qr__code { padding: 14px; background: #ffffff; border-radius: 16px; border: 1px solid var(--line); }
.qr__code svg, .qr__code img { width: 220px; height: 220px; }
.qr p { color: var(--text-2); max-width: 340px; }

/* -------------------------------------------------------------------- toast */
.toasts { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(92vw, 440px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--toast); color: #fff; box-shadow: var(--shadow); font-size: 14.5px; font-weight: 600; animation: toastIn 0.45s var(--ease); pointer-events: auto; }
.toast.is-out { animation: toastOut 0.35s var(--ease) forwards; }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast--ok svg { color: #6fd6a4; }
.toast--err svg { color: #ff8a80; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ============================================================ product page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; padding-top: calc(var(--header-h) + 26px); margin-bottom: 22px; }
.crumbs a:hover { color: var(--wine); }
.crumbs svg { width: 14px; height: 14px; opacity: 0.5; }
.crumbs span[aria-current] { color: var(--text-2); }
.pd { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 1024px) { .pd { grid-template-columns: minmax(0, 1fr); } }
.pd__stage { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1024px) { .pd__stage { position: relative; top: 0; } }
.stage { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--radius-l); overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--stage-1), var(--stage-2) 78%); border: 1px solid var(--line); transition: background 0.4s; }
.stage.is-light { background: radial-gradient(circle at 50% 40%, #4a423b, #1f1b18 78%); }
:root[data-theme="dark"] .stage.is-light { background: radial-gradient(circle at 50% 40%, #ffffff, #e9e3dc 78%); }
@media (max-width: 640px) { .stage { aspect-ratio: 1 / 1.08; } }
.stage__pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.stage__pane.is-active { opacity: 1; visibility: visible; }
.stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: transparent; background: transparent; }
.stage__tabs { position: absolute; z-index: 4; top: 14px; left: 14px; }
.stage__tabs.tabs { padding: 4px; gap: 2px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-s); flex-wrap: nowrap; }
.stage__tabs.tabs button { padding: 8px 14px; font-size: 13.5px; }
.stage__tabs.tabs button svg { width: 16px; height: 16px; }
.stage__tools { position: absolute; z-index: 4; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 8px; }
.stage__bottom { position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.stage__bottom > * { pointer-events: auto; }
.stage__hint { color: var(--text-2); font-size: 12.5px; padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); transition: opacity 0.5s; }
.stage__hint.is-hidden { opacity: 0; }
.ar-btn svg { width: 19px; height: 19px; }
.stage__progress { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity 0.4s; }
.stage__progress.is-done { opacity: 0; }
.ring { width: 70px; height: 70px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .bg { stroke: var(--line-2); }
.ring .fg { stroke: var(--wine); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 0.3s; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.stage__progress p { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }
.no3d { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); }
.dim { pointer-events: none; padding: 4px 9px; border-radius: 7px; background: var(--wine); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: var(--shadow-s); opacity: 0; transition: opacity 0.3s; border: 0; }
.dims-on .dim { opacity: 1; }
.dim[data-visible="false"] { opacity: 0 !important; }
.dim-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.3s; z-index: 1; }
.dims-on .dim-svg { opacity: 1; }
.dim-svg line { stroke: var(--wine); stroke-width: 2; stroke-dasharray: 5 4; }
.gallery { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--surface); }
.gallery__main { position: relative; flex: 1; overflow: hidden; cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.45s var(--ease), transform 0.7s var(--ease); }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px; background: var(--bg-2); border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; width: 80px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--surface); opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--text); }
.gallery__thumbs button:hover { opacity: 1; }

.pd__info { display: grid; gap: 22px; }
.pd__title { font-size: clamp(26px, 2.8vw, 40px); overflow-wrap: break-word; hyphens: auto; }
.pd__short { color: var(--text-2); font-size: 18px; }
.pd__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd__actions .btn--primary { flex: 1 1 220px; }
.block { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.block h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; font-weight: 800; }
.block p { color: var(--text-2); }
.dims-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.dims-grid div { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.dims-grid small { display: block; color: var(--muted); font-size: 12.5px; }
.dims-grid strong { font-size: 20px; font-weight: 800; }
.dims-grid strong em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 3px; font-weight: 600; }
.specs { width: 100%; border-collapse: collapse; }
.specs tr + tr { border-top: 1px solid var(--line); }
.specs th, .specs td { padding: 11px 0; text-align: left; vertical-align: top; font-size: 15px; }
.specs th { color: var(--muted); font-weight: 500; width: 46%; padding-right: 16px; }
.specs td { font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 250; background: var(--bg); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; touch-action: pan-y; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 1500px); max-height: 84svh; object-fit: contain; transition: opacity 0.3s; user-select: none; -webkit-user-drag: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__prev { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--text-2); font-size: 14px; letter-spacing: 0.1em; }

.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.notfound__code { font-size: clamp(96px, 20vw, 220px); font-weight: 800; line-height: 0.9; color: var(--beige-2); }
.notfound h1 { font-size: clamp(26px, 3vw, 36px); margin: 18px 0 10px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ theme toggle */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--text); transition: background 0.2s; }
.theme-toggle:hover { background: var(--nav-hover); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color 0.35s, border-color 0.35s, color 0.35s !important; }

/* -------------------------------------------------- material / texture picker */
.picker { display: grid; gap: 16px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.picker__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.picker__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.picker__count { color: var(--muted); font-size: 14px; }
.picker__slots { justify-content: flex-start; }
.picker__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.picker__reset { margin-left: auto; font-size: 14px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.picker__reset:hover { color: var(--wine); }
.select-wrap { position: relative; flex: 1 1 240px; max-width: 360px; }
.select-wrap select {
  appearance: none; width: 100%; height: 48px; padding: 0 44px 0 18px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--bg-2); font-size: 16px; font-weight: 500; cursor: pointer; outline: none; transition: border-color 0.2s;
}
.select-wrap select:focus { border-color: var(--text-2); }
.select-wrap select option { background: var(--surface); color: var(--text); }
.select-wrap svg { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--text-2); }
.picker__colhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.picker__colhead strong { font-size: 18px; font-weight: 800; }
.picker__colhead span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 14px 12px; max-height: 330px; overflow-y: auto; padding: 4px; scrollbar-width: thin; }
.swatch { display: grid; gap: 6px; text-align: left; min-width: 0; }
.swatch__img { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.2s, transform 0.25s var(--ease); background: var(--bg-3); }
.swatch__img img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover .swatch__img { transform: scale(1.04); }
.swatch[aria-checked="true"] .swatch__img { outline-color: var(--text); }
.swatch__img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center no-repeat; opacity: 0; transition: opacity 0.2s; }
.swatch[aria-checked="true"] .swatch__img::after { opacity: 1; }
.swatch.is-loading .swatch__img::after { opacity: 1; background: rgba(0, 0, 0, 0.3); }
.swatch.is-loading .swatch__img::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.swatch small { font-size: 13px; color: var(--text-2); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__chosen { font-size: 15px; color: var(--text-2); }
.picker__chosen b { color: var(--text); font-weight: 700; }
.chip-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }

/* ------------------------------------------ normal map before/after slider */
.compare { --x: 50%; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.compare model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; --poster-color: transparent; --progress-bar-color: transparent; clip-path: inset(0 0 0 var(--x)); pointer-events: none; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #ffffff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 0 18px rgba(0, 0, 0, 0.25); pointer-events: auto; cursor: ew-resize; touch-action: none; outline: none; }
.compare__line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -18px; right: -18px; }
.compare__handle { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; background: #ffffff; color: #26231f; box-shadow: 0 6px 22px -6px rgba(0, 0, 0, 0.5); transition: transform 0.2s var(--ease); }
.compare__handle svg { width: 22px; height: 22px; }
.compare__line:hover .compare__handle, .compare__line.is-drag .compare__handle { transform: scale(1.08); }
.compare__line:focus-visible .compare__handle { outline: 2px solid var(--coral); outline-offset: 3px; }
.compare__label { position: absolute; top: 66px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--text); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-s); pointer-events: none; }
.compare__label--l { left: 14px; }
.compare__label--r { right: 70px; }
.stage.is-comparing .stage__hint { opacity: 0; }
.compare__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; pointer-events: auto; cursor: grab; touch-action: none; }
.compare__canvas:active { cursor: grabbing; }
.compare__line, .compare__label { z-index: 1; }

/* --------------------------------------- fullscreen: stage + texture panel */
.fs-panel, .fs-toggle { display: none; }
.pd__stage.is-fs { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--bg); }
.pd__stage.is-fs.has-picker:not(.fs-collapsed) { grid-template-columns: minmax(0, 1fr) 400px; }
.pd__stage.is-fs .stage { aspect-ratio: auto; height: 100%; min-height: 0; border-radius: 0; border: 0; }
.pd__stage.is-fs.has-picker:not(.fs-collapsed) .fs-panel {
  display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); background: var(--surface);
  animation: fsIn .35s var(--ease);
}
@keyframes fsIn { from { opacity: 0; transform: translateX(24px); } }
.fs-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.fs-panel__head b { font-size: 16px; font-weight: 800; }
.fs-panel__body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px; scrollbar-width: thin; }
.fs-panel .picker { padding: 0; border: 0; border-radius: 0; background: transparent; }
.fs-panel .picker__title { display: none; }
.fs-panel .swatches { max-height: none; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.pd__stage.is-fs.has-picker.fs-collapsed .fs-toggle { display: inline-flex; position: absolute; z-index: 5; top: 14px; left: 50%; transform: translateX(-50%); }
.fs-toggle svg { width: 17px; height: 17px; }
@media (max-width: 760px) {
  .pd__stage.is-fs.has-picker:not(.fs-collapsed) { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) min(46vh, 420px); }
  .pd__stage.is-fs.has-picker:not(.fs-collapsed) .fs-panel { border-left: 0; border-top: 1px solid var(--line); animation-name: fsUp; }
  @keyframes fsUp { from { opacity: 0; transform: translateY(24px); } }
  .fs-panel .swatches { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
}

/* picker: many parts -> dropdown */
.picker__part { max-width: none; flex: 1 1 auto; display: grid; gap: 6px; }
.picker__part .picker__label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.picker__part svg { top: auto; bottom: 15px; transform: none; }

/* =================================================================== services */
.svc-note { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 0 auto 34px; padding: 18px 22px; border-radius: var(--radius); background: var(--beige); border: 1px solid var(--beige-2); }
.svc-note__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--wine); }
.svc-note__icon svg { width: 19px; height: 19px; }
.svc-note p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.svc-note b { color: var(--text); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s, transform .4s var(--ease); }
.svc:hover { border-color: var(--line-2); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.svc__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-2); color: var(--wine); margin-bottom: 6px; }
.svc__icon svg { width: 24px; height: 24px; }
.svc h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.svc p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.svc-flow { margin-top: 28px; padding: 26px; border-radius: var(--radius-l); background: var(--bg-2); border: 1px solid var(--line); }
.svc-flow__title { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.svc-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: flow; }
@media (max-width: 900px) { .svc-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-flow ol { grid-template-columns: minmax(0, 1fr); } }
.svc-flow li { display: grid; gap: 4px; padding-left: 44px; position: relative; }
.svc-flow li::before { counter-increment: flow; content: counter(flow); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-ink); font-weight: 800; font-size: 14px; }
.svc-flow li b { font-size: 15px; }
.svc-flow li span { color: var(--text-2); font-size: 14px; line-height: 1.5; }

.profiles { margin-top: 40px; display: grid; gap: 18px; }
.profiles__head { text-align: center; display: grid; gap: 6px; }
.profiles__head h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; }
.profiles__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.prof { position: relative; display: flex; align-items: center; gap: 14px; min-width: min(100%, 290px); padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.prof:hover { border-color: var(--line-2); box-shadow: var(--shadow-s); transform: translateY(-2px); }
.prof__body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.prof__body b { font-size: 16px; }
.prof__body small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.prof__meta .star { color: #f2a40c; }
.prof__go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--text-2); transition: background .2s, color .2s; }
.prof:hover .prof__go { background: var(--btn-bg); color: var(--btn-ink); }
.prof__go svg { width: 16px; height: 16px; }

/* platform badges (neutral initials, no brand logos) */
.plat-badge { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: var(--plat, #6b6460); }
.plat-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 6px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.plat-tag i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--plat, #6b6460); }
.plat--upwork { --plat: #14a800; } .plat--kwork { --plat: #e8820c; } .plat--fiverr { --plat: #1dbf73; } .plat--freelancer { --plat: #29a6e0; }
.plat--behance { --plat: #1769ff; } .plat--artstation { --plat: #13aff0; } .plat--cgtrader { --plat: #2f3b4c; } .plat--turbosquid { --plat: #e5532d; }

/* ==================================================================== reviews */
.reviews { background: var(--bg-2); }
.rev-summary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 6px; font-size: 15px; color: var(--text-2); }
.rev-summary .big { font-size: 28px; font-weight: 800; color: var(--text); }
.rev-summary .stars { font-size: 18px; }
.stars { color: #f2a40c; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.stars .off { color: var(--line-2); }
.rev-grid { columns: 3 320px; column-gap: 18px; }
.rev { break-inside: avoid; display: grid; gap: 14px; margin-bottom: 18px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); animation: cardIn .6s var(--ease) both; }
.rev__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev__verify { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; transition: transform .2s; }
.rev__verify:hover { transform: translateY(-1px); }
.rev__verify:hover .plat-tag { border-color: var(--text-2); }
.rev__verify svg { width: 15px; height: 15px; color: var(--text-2); }
.rev__text { margin: 0; color: var(--text); font-size: 15px; line-height: 1.65; white-space: pre-line; }
.rev__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rev__more { justify-self: start; font-size: 13.5px; font-weight: 700; color: var(--wine); }
.rev__foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rev__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); font-weight: 800; color: var(--text-2); }
.rev__who { display: grid; gap: 1px; min-width: 0; }
.rev__who b { font-size: 15px; }
.rev__who small { color: var(--muted); font-size: 13px; }

/* contact links */
.contact__item svg { width: 16px; height: 16px; }
a.contact__item { cursor: pointer; }
.contact__list:empty { display: none; }
#footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
#footer-contact svg { width: 15px; height: 15px; }
