/* ==========================================================
   NOMAD APPAREL FACTORY — дизайн-система
   Палитра из каталога: графит · карамель · крем
   ========================================================== */

:root {
  --ink: #24211f;
  --ink-2: #2e2a27;
  --ink-3: #3b3632;
  --camel: #b89a82;
  --camel-2: #cfb9a6;
  --camel-d: #8f7159;
  --sand: #f4efe8;
  --sand-2: #ebe3d9;
  --stone: #d9cbc2;
  --white: #ffffff;
  --muted: #766b62;
  --line: rgba(36, 33, 31, 0.12);
  --line-l: rgba(255, 255, 255, 0.14);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --r: 24px;
  --r-s: 14px;
  --gutter: 24px;
  --section: clamp(84px, 11vw, 168px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--sand);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--camel); color: var(--ink); }
:focus-visible { outline: 2px solid var(--camel); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--camel); border-radius: 10px; border: 2px solid var(--sand); }

body.locked { overflow: hidden; }
main, .footer { overflow-x: clip; }

.container { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section.tight { padding-block: clamp(56px, 7vw, 100px); }
.dark { background: var(--ink); color: #efe8df; }
.white { background: var(--white); }
.sand-2 { background: var(--sand-2); }
.camelbg { background: var(--camel); }

[id] { scroll-margin-top: 90px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
h1 { font-size: clamp(44px, 7.4vw, 118px); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 5vw, 76px); letter-spacing: -0.04em; }
h3 { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--camel); font-size: 1.08em; }
.dark em, .hero em { color: var(--camel); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 56ch; }
.dark .lead, .footer .lead { color: rgba(239, 232, 223, 0.66); }
.muted { color: var(--muted); }
.dark .muted { color: rgba(239, 232, 223, 0.6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--camel-d);
}
.dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--camel); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; transition: width 1s var(--ease); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 84px); }
.section-head.split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 48px; }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- reveal system ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.06em 0.16em; margin: -0.06em -0.06em -0.16em; }
.wi { display: inline-block; }
.js .split .wi { transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; }
.js .split.in .wi {
  transform: none;
  transition: transform 1s var(--ease) calc(var(--i, 0) * 38ms + var(--d, 0ms));
}
.js [data-r] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-r="left"] { transform: translateX(-48px); }
.js [data-r="right"] { transform: translateX(48px); }
.js [data-r="scale"] { transform: scale(0.92); }
.js [data-r="clip"] { transform: none; opacity: 1; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-r="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-r].in { opacity: 1; transform: none; }
.js [data-r="clip"].in { clip-path: inset(0 0 0 0); }
.js [data-r="clip"].in img { transform: scale(1); }
.eyebrow.in::before, .in .eyebrow::before { width: 56px; }

/* ---------- preloader / curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink); color: #fff;
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease-io);
}
.curtain.hidden { transform: translateY(-100%); pointer-events: none; }
.curtain.leaving { transform: translateY(0); transition-duration: 0.65s; }
.curtain.enter-from-bottom { transform: translateY(100%); }
.curtain-inner { text-align: center; overflow: hidden; }
.curtain-badge { position: relative; width: clamp(128px, 17vw, 176px); aspect-ratio: 1; margin: 0 auto clamp(26px, 4vw, 44px); color: #fff; }
.curtain-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.curtain-ring circle { fill: none; stroke: var(--camel); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.5s var(--ease-io) 0.1s forwards; }
.curtain-badge .logo-mark { position: absolute; left: 50%; top: 50%; width: 64%; transform: translate(-50%, -50%); animation-delay: 0.35s; }
.curtain-logo { display: flex; justify-content: center; gap: clamp(8px, 1.4vw, 18px); font-size: clamp(34px, 7vw, 92px); font-weight: 800; letter-spacing: 0; }
.curtain-logo span { display: inline-block; transform: translateY(110%); animation: letterUp 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
.curtain-sub { margin-top: 12px; font-size: 11px; letter-spacing: 0.7em; color: var(--camel); opacity: 0; animation: fadeIn 0.8s ease 0.7s forwards; padding-left: 0.7em; }
.curtain-bar { width: min(260px, 60vw); height: 1px; background: rgba(255, 255, 255, 0.15); margin: 32px auto 0; overflow: hidden; }
.curtain-bar i { display: block; height: 100%; width: 100%; background: var(--camel); transform: scaleX(0); transform-origin: left; animation: barFill 1.3s var(--ease-io) 0.2s forwards; }
.curtain.quick .curtain-inner { display: none; }
@keyframes letterUp { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes barFill { to { transform: scaleX(1); } }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--camel); transform-origin: left; transform: scaleX(0); z-index: 200; }

/* ---------- cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9000; opacity: 0; transition: opacity 0.3s; }
.cursor { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid var(--camel); border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s, opacity 0.3s; mix-blend-mode: normal; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--camel); border-radius: 50%; }
.cursor.active { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: rgba(184, 154, 130, 0.9); border-color: transparent; }
.cursor.show, .cursor-dot.show { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--camel); --fg: var(--ink); --hbg: var(--ink); --hfg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: 0.005em;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; background: var(--hbg); z-index: -1;
  transform: translateY(102%); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease);
}
.btn:hover::before { transform: none; border-radius: 0; }
.btn:hover { color: var(--hfg); }
.btn svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-dark { --bg: var(--ink); --fg: #fff; --hbg: var(--camel); --hfg: var(--ink); }
.btn-light { --bg: #fff; --fg: var(--ink); --hbg: var(--camel); --hfg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; --hbg: var(--ink); --hfg: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dark .btn-ghost, .hero .btn-ghost, .page-head .btn-ghost, .footer .btn-ghost { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); --hbg: #fff; --hfg: var(--ink); }
.dark .btn:not(.btn-ghost):not(.btn-dark):not(.btn-light), .hero .btn:not(.btn-ghost):not(.btn-dark):not(.btn-light), .footer .btn:not(.btn-ghost):not(.btn-dark):not(.btn-light) { --hbg: #fff; --hfg: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.busy { opacity: 0.65; pointer-events: none; cursor: progress; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.btn-icon { width: 46px; height: 46px; padding: 0; border-radius: 50%; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; position: relative; padding-bottom: 4px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); transform-origin: right; animation: underlineIn 0.6s var(--ease) 0.3s forwards; }
@keyframes underlineIn { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.link-arrow:hover svg { transform: translate(4px, -4px); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: transform 0.6s var(--ease), background 0.5s, color 0.5s, box-shadow 0.5s; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height 0.5s var(--ease); }
.header.scrolled { background: rgba(244, 239, 232, 0.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.scrolled .header-in { height: 68px; }
.header.hide { transform: translateY(-110%); }
.header.open { background: transparent; color: #fff; box-shadow: none; transform: none; }

.logo { display: inline-flex; align-items: center; gap: 14px; line-height: 1; }
.logo-text { display: inline-flex; flex-direction: column; gap: 7px; }
.logo-main { font-weight: 800; font-size: 17px; letter-spacing: 0.5em; margin-right: -0.5em; }
.logo-sub { font-size: 8.5px; letter-spacing: 0.42em; color: var(--camel); font-weight: 500; }

/* знак логотипа: маска из PNG, цвет наследуется от текста (белый на тёмном, чёрный на светлом) */
.logo-mark {
  --mark: url("../assets/img/logo-mark.png");
  display: block; flex: none; width: 56px; aspect-ratio: 1356 / 1050;
  background: linear-gradient(105deg, currentColor 0 42%, var(--camel) 50%, currentColor 58% 100%) no-repeat;
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat;
  animation: logoIn 1.6s var(--ease-io) 0.2s both;
}
.logo:hover .logo-mark { animation: logoSheen 1.3s var(--ease-io) both; }
@keyframes logoIn { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes logoSheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.footer-brand .logo-mark { width: 84px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 10px 16px; font-size: 14.5px; font-weight: 600; opacity: 0.82; transition: opacity 0.3s; }
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 1px; background: var(--camel); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover, .nav a.active { opacity: 1; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease); }
.header.scrolled .icon-btn { box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn:hover { background: var(--camel); color: var(--ink); box-shadow: none; transform: rotate(8deg) scale(1.06); }
.icon-btn svg { width: 19px; height: 19px; }
.header .auth-in { font-size: 14.5px; font-weight: 700; padding: 10px 14px; }
.header .btn { --bg: var(--camel); --fg: var(--ink); --hbg: #fff; --hfg: var(--ink); }
.header.scrolled .btn { --hbg: var(--ink); --hfg: #fff; }
.user-chip { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); font-weight: 700; font-size: 14px; cursor: pointer; }
.header.scrolled .user-chip { box-shadow: inset 0 0 0 1px var(--line); }
.user-chip b { width: 34px; height: 34px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; font-size: 13px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); position: relative; }
.header.scrolled .burger { box-shadow: inset 0 0 0 1px var(--line); }
.header.open .burger { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease), opacity 0.3s; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 22px; } .burger i:nth-child(3) { top: 27px; }
.header.open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.header.open .burger i:nth-child(2) { opacity: 0; }
.header.open .burger i:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path 0.9s var(--ease-io); visibility: hidden; overflow-y: auto; }
.mnav.open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mnav-links { display: grid; gap: 4px; }
.mnav-links a { font-size: clamp(34px, 9vw, 56px); font-weight: 800; letter-spacing: -0.04em; display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-l); transform: translateY(40px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), color 0.3s; }
.mnav-links a small { font-size: 12px; font-weight: 700; color: var(--camel); letter-spacing: 0.2em; }
.mnav-links a:hover { color: var(--camel); }
.mnav.open .mnav-links a { transform: none; opacity: 1; transition-delay: calc(var(--i) * 70ms + 350ms); }
.mnav-foot { display: grid; gap: 6px; color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-top: 40px; }
.mnav-foot a { font-weight: 800; color: #fff; font-size: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 78% 40%, rgba(184, 154, 130, 0.28), transparent 70%), radial-gradient(40% 50% at 8% 90%, rgba(184, 154, 130, 0.12), transparent 70%); }
.hero-bg-word { position: absolute; z-index: -1; left: -2vw; bottom: -4vw; font-size: clamp(120px, 26vw, 420px); font-weight: 800; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.04); line-height: 0.8; pointer-events: none; user-select: none; white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { margin: 26px 0 30px; }
.hero .lead { color: rgba(255, 255, 255, 0.7); margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 30px; border-top: 1px solid var(--line-l); }
.fact { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.fact svg { width: 22px; height: 22px; color: var(--camel); flex: none; }
.fact b { display: block; color: #fff; font-size: 15px; line-height: 1.2; }
.fact span { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, 0.55); line-height: 1.2; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 390px); }
.hero-frame { position: relative; aspect-ratio: 1 / 1.62; border-radius: 220px 220px var(--r) var(--r); overflow: hidden; background: var(--stone); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.6); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.hero-ring { position: absolute; inset: -18px; border: 1px solid rgba(184, 154, 130, 0.45); border-radius: 240px 240px 36px 36px; pointer-events: none; }
.hero-card { position: absolute; left: -48px; bottom: 42px; background: var(--camel); color: var(--ink); padding: 18px 24px; border-radius: 18px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.5); animation: float 6s ease-in-out infinite; }
.hero-card small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }
.hero-card b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 4px; }
.hero-badge { position: absolute; right: -36px; top: 56px; width: 124px; height: 124px; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line-l), 0 20px 40px -10px rgba(0, 0, 0, 0.5); display: grid; place-items: center; animation: float 7s ease-in-out -2s infinite; }
.hero-badge svg.spin { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero-badge text { font-size: 9.6px; font-weight: 700; letter-spacing: 3.2px; fill: var(--camel); font-family: var(--font); }
.hero-badge .core { width: 44px; height: 44px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; }
.hero-badge .core svg { width: 20px; height: 20px; }
.hero-scroll { position: absolute; right: 36px; bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.hero-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--camel), transparent); transform-origin: top; animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee { background: var(--camel); color: var(--ink); overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(36, 33, 31, 0.1); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(20px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; }
.marquee-item em { color: var(--ink); text-transform: none; font-size: 1.1em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about snippet ---------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; height: clamp(440px, 52vw, 640px); }
.about-media .m1, .about-media .m2 { position: absolute; border-radius: var(--r); overflow: hidden; background: var(--stone); box-shadow: 0 30px 70px -30px rgba(36, 33, 31, 0.45); }
.about-media .m1 { left: 0; top: 0; width: 62%; height: 82%; }
.about-media .m2 { right: 0; bottom: 0; width: 50%; height: 56%; border: 10px solid var(--sand); }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.about-media .stamp { position: absolute; left: 54%; top: 6%; width: 132px; height: 132px; border-radius: 50%; background: var(--ink); color: var(--camel); display: grid; place-items: center; text-align: center; font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; z-index: 2; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4); }
.about-media .stamp b { display: block; font-size: 28px; color: #fff; letter-spacing: -0.03em; }
.about-text h2 { margin: 22px 0 26px; }
.check-list { display: grid; gap: 14px; margin: 34px 0 40px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; font-weight: 600; }
.check-list li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--camel); color: var(--ink); flex: none; margin-top: 2px; }
.check-title { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 34px; }

/* ---------- audience ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aud-card { position: relative; padding: 34px 28px 30px; border-radius: var(--r); background: var(--sand); overflow: hidden; display: flex; flex-direction: column; gap: 18px; min-height: 340px; isolation: isolate; transition: transform 0.7s var(--ease), color 0.5s; }
.aud-card::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: translateY(100%); transition: transform 0.7s var(--ease); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.aud-card:hover::before { transform: none; border-radius: 0; }
.aud-card:hover { color: #efe8df; transform: translateY(-8px); }
.aud-card .num { position: absolute; right: 26px; top: 24px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--camel-d); }
.aud-ico { width: 62px; height: 62px; border-radius: 18px; background: #fff; display: grid; place-items: center; color: var(--camel-d); transition: background 0.5s, color 0.5s, transform 0.7s var(--ease); }
.aud-card:hover .aud-ico { background: var(--camel); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.aud-ico svg { width: 28px; height: 28px; stroke-width: 1.6; }
.aud-card h3 { margin-top: 22px; min-height: 2.4em; display: flex; align-items: flex-end; }
.aud-card .tags { margin-top: auto; }
.aud-card p { font-size: 15px; color: var(--muted); transition: color 0.5s; }
.aud-card:hover p { color: rgba(239, 232, 223, 0.7); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(36, 33, 31, 0.06); transition: background 0.5s; }
.aud-card:hover .tag { background: rgba(255, 255, 255, 0.1); }

/* ---------- stats ---------- */
.stats-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-l); }
.stat { padding: 36px 0 36px 0; border-bottom: 1px solid var(--line-l); }
.stat:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line-l); }
.stat:nth-child(even) { padding-left: 40px; }
.stat-num { font-size: clamp(56px, 7.4vw, 112px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; display: flex; align-items: flex-start; }
.stat-num sup { font-size: 0.42em; color: var(--camel); font-family: var(--serif); font-style: italic; font-weight: 500; margin: 0.16em 0 0 4px; letter-spacing: 0; }
.stat p { margin-top: 14px; font-size: 14.5px; color: rgba(239, 232, 223, 0.6); max-width: 24ch; }
.moq-card { margin-top: 44px; display: inline-flex; flex-direction: column; background: var(--camel); color: var(--ink); padding: 22px 30px; border-radius: 18px; }
.moq-card small { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.moq-card b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- collection ---------- */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.col-card { position: relative; background: #fff; border-radius: var(--r); padding: 14px 14px 26px; display: block; transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.col-card:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -34px rgba(36, 33, 31, 0.4); }
.col-img { position: relative; aspect-ratio: 1 / 1.55; border-radius: 16px; overflow: hidden; background: var(--stone); margin-bottom: 22px; }
.col-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.col-card:hover .col-img img { transform: scale(1.07); }
.col-go { position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform 0.6s var(--ease); }
.col-card:hover .col-go { transform: none; }
.col-go svg { width: 22px; height: 22px; }
.col-no { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }
.col-card h3 { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0 12px; }
.col-card p { padding: 4px 12px 0; font-size: 14px; color: var(--muted); }

/* ---------- process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps-line { position: absolute; left: 36px; right: calc(20% - 8px); top: 36px; height: 1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--camel); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-io) 0.3s; }
.steps.in .steps-line i { transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.step-dot { position: relative; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 0 0 10px #fff; display: grid; place-items: center; color: var(--ink); transition: background 0.5s, color 0.5s, transform 0.7s var(--ease); }
.step:hover .step-dot { background: var(--camel); transform: scale(1.1) rotate(-6deg); }
.step-dot svg { width: 26px; height: 26px; stroke-width: 1.6; }
.step-dot b { position: absolute; top: -6px; right: -8px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.step h3 { margin-top: 12px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- order configurator ---------- */
.order-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 24px; align-items: start; }
.order-form { background: #fff; border-radius: 32px; padding: clamp(24px, 4vw, 52px); display: grid; gap: 38px; box-shadow: 0 40px 80px -50px rgba(36, 33, 31, 0.4); }
.fgroup { display: grid; gap: 14px; }
.flabel { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.flabel span { color: var(--camel-d); }
.flabel .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; margin-right: 10px; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 700; background: var(--sand); box-shadow: inset 0 0 0 1px transparent; transition: background 0.4s, color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s; }
.chip span svg { width: 17px; height: 17px; }
.chip:hover span { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--camel); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--camel); outline-offset: 2px; }
.chips.sizes .chip span { width: 58px; justify-content: center; padding: 12px 0; border-radius: 14px; }

.range-box { display: grid; gap: 16px; }
.range-top { display: flex; align-items: baseline; gap: 10px; }
.range-val { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.range-top small { color: var(--muted); font-weight: 600; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--camel) var(--p, 0%), var(--sand-2) var(--p, 0%)); outline: none; cursor: pointer; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 6px solid var(--camel); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.4); transition: transform 0.3s var(--ease); }
input[type='range']::-webkit-slider-thumb:hover { transform: scale(1.18); }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 6px solid var(--camel); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg div { padding: 16px 18px; border-radius: 16px; background: var(--sand); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); height: 100%; }
.seg b { display: block; font-size: 15px; }
.seg small { font-size: 12.5px; opacity: 0.65; font-weight: 500; }
.seg label:hover div { transform: translateY(-2px); }
.seg input:checked + div { background: var(--ink); color: #fff; }

.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 26px 20px 10px; border-radius: 16px; border: 1px solid transparent; background: var(--sand); outline: none; font-weight: 600; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field label { position: absolute; left: 20px; top: 18px; font-size: 15px; font-weight: 600; color: var(--muted); pointer-events: none; transition: transform 0.35s var(--ease), color 0.3s, font-size 0.35s var(--ease); transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has + label { transform: translateY(-11px); font-size: 11.5px; color: var(--camel-d); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--camel); background: #fff; box-shadow: 0 0 0 4px rgba(184, 154, 130, 0.18); }
.field.error input, .field.error textarea, .field.error select { border-color: #c4564b; background: #fff6f4; }
.field .err { display: none; font-size: 12.5px; color: #c4564b; font-weight: 600; margin: 6px 0 0 6px; }
.field.error .err { display: block; animation: shake 0.4s; }
.field .sel-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--muted); }
.field .eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color 0.3s; }
.field .eye:hover { color: var(--ink); }
.field .eye svg { width: 19px; height: 19px; }
.field .ico-l { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@keyframes shake { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

.upload { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 18px; border: 1.5px dashed var(--camel); background: rgba(184, 154, 130, 0.06); cursor: pointer; transition: background 0.4s, transform 0.4s var(--ease); }
.upload:hover, .upload.drag { background: rgba(184, 154, 130, 0.16); transform: scale(1.01); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload .u-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; flex: none; }
.upload b { display: block; font-size: 15px; }
.upload small { color: var(--muted); font-size: 13px; }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.file { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 600; animation: pop 0.5s var(--ease); }
.file svg { width: 15px; height: 15px; color: var(--camel-d); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

.summary { position: sticky; top: 100px; background: var(--ink); color: #efe8df; border-radius: 32px; padding: 38px 34px; display: grid; gap: 22px; overflow: hidden; isolation: isolate; }
.summary::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 154, 130, 0.35), transparent 70%); z-index: -1; }
.summary h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--camel); font-weight: 800; }
.sum-list { display: grid; }
.sum-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-l); font-size: 14.5px; }
.sum-row span { color: rgba(239, 232, 223, 0.55); }
.sum-row b { text-align: right; font-weight: 700; transition: color 0.3s; }
.sum-row b.flash { color: var(--camel); animation: flash 0.6s; }
@keyframes flash { 0% { transform: translateY(8px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.sum-eta { background: rgba(255, 255, 255, 0.06); border-radius: 18px; padding: 20px; }
.sum-eta small { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--camel); }
.sum-eta b { display: block; font-size: 32px; letter-spacing: -0.03em; font-weight: 800; line-height: 1.15; margin-top: 4px; }
.sum-note { font-size: 13px; color: rgba(239, 232, 223, 0.5); display: flex; gap: 10px; }
.sum-note svg { width: 18px; height: 18px; flex: none; color: var(--camel); }

.success { position: fixed; inset: 0; z-index: 500; background: rgba(36, 33, 31, 0.9); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.success.show { opacity: 1; visibility: visible; }
.success-card { background: var(--sand); border-radius: 32px; padding: 48px 40px; max-width: 480px; text-align: center; transform: translateY(40px) scale(0.94); transition: transform 0.8s var(--ease); }
.success.show .success-card { transform: none; }
.success-card .big-check { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: var(--camel); display: grid; place-items: center; color: var(--ink); }
.success-card .big-check svg { width: 42px; height: 42px; stroke-dasharray: 60; stroke-dashoffset: 60; }
.success.show .big-check svg { animation: draw 0.9s var(--ease) 0.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-card h3 { font-size: 30px; margin-bottom: 10px; }
.success-card .code { display: inline-block; margin: 18px 0 28px; padding: 8px 18px; border-radius: 999px; background: #fff; font-weight: 800; letter-spacing: 0.1em; }

/* ---------- services ---------- */
.srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.srv { position: relative; padding: 38px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; min-height: 290px; overflow: hidden; isolation: isolate; transition: color 0.5s; }
.srv::before { content: ""; position: absolute; inset: 0; background: var(--sand); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s var(--ease); }
.srv:hover::before { transform: scaleY(1); }
.srv-ico { width: 54px; height: 54px; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--camel-d); transition: background 0.5s, color 0.5s, transform 0.7s var(--ease), border-color 0.5s; }
.srv:hover .srv-ico { background: var(--ink); color: var(--camel); border-color: var(--ink); transform: rotate(-8deg); }
.srv-ico svg { width: 25px; height: 25px; stroke-width: 1.6; }
.srv h3 { font-size: 19px; margin-top: 20px; min-height: 2.45em; }
.srv p { font-size: 14.5px; color: var(--muted); }
.srv .n { position: absolute; right: 24px; top: 24px; font-size: 12px; font-weight: 800; color: rgba(36, 33, 31, 0.28); letter-spacing: 0.12em; }

/* ---------- testimonials ---------- */
.rev-wrap { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(32px, 6vw, 90px); align-items: stretch; }
.rev-main { position: relative; padding-top: 12px; min-height: 380px; }
.rev-quote-ico { width: 64px; height: 64px; color: var(--camel); margin-bottom: 26px; }
.rev-quote-ico svg { width: 100%; height: 100%; stroke-width: 1.2; }
.rev-body { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rev-body.out { opacity: 0; transform: translateY(24px); }
.rev-text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 3.3vw, 46px); line-height: 1.18; letter-spacing: -0.01em; color: #fff; }
.rev-author { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.rev-author b { display: block; font-size: 17px; }
.rev-author span { font-size: 14px; color: rgba(239, 232, 223, 0.6); }
.stars { display: flex; gap: 3px; color: var(--camel); margin-left: auto; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.rev-tabs { display: grid; align-content: center; border-top: 1px solid var(--line-l); }
.rev-tab { position: relative; text-align: left; padding: 22px 0; border-bottom: 1px solid var(--line-l); display: flex; align-items: center; gap: 16px; opacity: 0.5; transition: opacity 0.4s; overflow: hidden; }
.rev-tab:hover, .rev-tab.on { opacity: 1; }
.rev-tab .avatar { width: 44px; height: 44px; font-size: 14px; background: var(--ink-3); color: var(--camel); transition: background 0.4s, color 0.4s; }
.rev-tab.on .avatar { background: var(--camel); color: var(--ink); }
.rev-tab b { display: block; font-size: 15px; line-height: 1.3; }
.rev-tab .meta span { font-size: 12.5px; color: rgba(239, 232, 223, 0.55); line-height: 1.3; display: block; }
.rev-tab i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--camel); transform: scaleX(0); transform-origin: left; }
.rev-tab.on i { animation: revBar var(--dur, 7s) linear forwards; }
@keyframes revBar { to { transform: scaleX(1); } }

/* ---------- FAQ roulette ---------- */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.faq-wheel-wrap { position: relative; }
.faq-wheel { position: relative; height: 480px; perspective: 900px; overflow: hidden; cursor: grab; touch-action: pan-x; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); user-select: none; }
.faq-wheel.dragging { cursor: grabbing; }
.faq-marker { position: absolute; left: -10px; right: -10px; top: 50%; height: 72px; margin-top: -36px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px -26px rgba(36, 33, 31, 0.35); z-index: 0; }
.faq-wheel-wrap::before { content: ""; position: absolute; left: -26px; top: 50%; width: 0; height: 0; margin-top: -9px; border: 9px solid transparent; border-left: 12px solid var(--camel); z-index: 2; }
.faq-item { position: absolute; left: 0; right: 0; top: 50%; height: 72px; margin-top: -36px; display: flex; align-items: center; gap: 16px; padding: 0 18px; font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; will-change: transform, opacity; transform-style: preserve-3d; backface-visibility: hidden; z-index: 1; }
.faq-item { color: var(--muted); transition: color 0.4s; }
.faq-item.on { color: var(--ink); }
.rev-wrap:hover .rev-tab.on i { animation-play-state: paused; }
.faq-item small { font-size: 12px; font-weight: 800; color: var(--camel-d); letter-spacing: 0.12em; flex: none; }
.faq-panel { position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: center; }
.faq-count { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--camel-d); display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.faq-count i { flex: 1; max-width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.faq-count i b { position: absolute; inset: 0; background: var(--camel); transform-origin: left; transition: transform 0.7s var(--ease); }
.faq-body { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.faq-body.out { opacity: 0; transform: translateY(20px); }
.faq-body h3 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 22px; }
.faq-body p { font-size: 18px; color: var(--muted); max-width: 52ch; }
.faq-actions { display: flex; align-items: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.faq-actions .icon-btn { box-shadow: inset 0 0 0 1px var(--line); }
.faq-actions .btn svg { transition: transform 0.8s var(--ease); }
.faq-actions .btn:hover svg { transform: rotate(180deg); }
.faq-actions .btn.spinning svg { animation: spin 1s linear infinite; }

/* ---------- contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: stretch; }
.map-card { position: relative; border-radius: 32px; overflow: hidden; min-height: 600px; background: var(--stone); isolation: isolate; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(0.35); }
.map-pin { position: absolute; z-index: 2; left: 50%; top: 50%; pointer-events: none; transform: translate(-50%, -100%); }
.map-pin span { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); color: var(--camel); box-shadow: 0 16px 30px -8px rgba(0, 0, 0, 0.5); animation: pinDrop 2.4s var(--ease) infinite; }
.map-pin svg { transform: rotate(45deg); width: 22px; height: 22px; }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 28px; height: 10px; margin-left: -14px; border-radius: 50%; background: rgba(36, 33, 31, 0.35); filter: blur(3px); }
@keyframes pinDrop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.map-info { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 20px; background: rgba(36, 33, 31, 0.96); color: #efe8df; border-radius: 22px; padding: 26px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.map-info .ci { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.map-info .ci svg { width: 20px; height: 20px; color: var(--camel); flex: none; margin-top: 3px; }
.map-info .ci b { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--camel); margin-bottom: 3px; }
.map-info .ci a { display: block; font-weight: 700; transition: color 0.3s; }
.map-info .ci a:hover { color: var(--camel); }
.contact-form { background: var(--sand); border-radius: 32px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 14px; align-content: start; }
.contact-form h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; margin-bottom: 4px; }
.contact-form > p { color: var(--muted); margin-bottom: 14px; }
.contact-form .field input, .contact-form .field textarea, .contact-form .field select { background: #fff; }
.contact-form .field input:focus, .contact-form .field textarea:focus, .contact-form .field select:focus { background: #fff; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent i { width: 22px; height: 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; display: grid; place-items: center; transition: background 0.3s; }
.consent i svg { width: 14px; height: 14px; color: var(--ink); transform: scale(0); transition: transform 0.4s var(--ease); stroke-width: 3; }
.consent input:checked + i { background: var(--camel); }
.consent input:checked + i svg { transform: scale(1); }
.consent.error i { box-shadow: inset 0 0 0 2px #c4564b; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #efe8df; position: relative; overflow: hidden; }
.footer-cta { padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 7vw, 90px); border-bottom: 1px solid var(--line-l); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end; }
.footer-cta h2 { font-size: clamp(40px, 6.6vw, 104px); }
.footer-phones { display: grid; gap: 10px; }
.footer-phones small { font-size: 12px; letter-spacing: 0.2em; color: var(--camel); font-weight: 800; text-transform: uppercase; }
.footer-phones a { font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; transition: color 0.3s, transform 0.5s var(--ease); display: inline-block; }
.footer-phones a:hover { color: var(--camel); transform: translateX(10px); }
.footer-main { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr; gap: 40px; padding: 70px 0 60px; }
.footer-main h4 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--camel); font-weight: 800; margin-bottom: 22px; }
.footer-main li { margin-bottom: 11px; }
.footer-main li a { color: rgba(239, 232, 223, 0.72); font-size: 15px; transition: color 0.3s, padding 0.5s var(--ease); }
.footer-main li a:hover { color: #fff; padding-left: 8px; }
.footer-brand p { color: rgba(239, 232, 223, 0.55); margin: 22px 0 28px; max-width: 34ch; font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-l); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.socials a:hover { background: var(--camel); color: var(--ink); transform: translateY(-5px); }
.socials svg { width: 19px; height: 19px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: rgba(239, 232, 223, 0.72); font-size: 15px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--camel); margin-top: 4px; flex: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-l); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(239, 232, 223, 0.5); }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: 0.12em; }
.to-top span { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-l); display: grid; place-items: center; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.to-top:hover span { background: var(--camel); color: var(--ink); transform: translateY(-6px); }
.to-top svg { width: 17px; height: 17px; }
.footer-word { font-size: clamp(70px, 19vw, 310px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.76; text-align: center; color: rgba(255, 255, 255, 0.045); white-space: nowrap; user-select: none; padding-bottom: 0.06em; overflow: hidden; margin-bottom: -0.02em; }

/* ---------- inner page head ---------- */
.page-head { position: relative; background: var(--ink); color: #fff; padding: 190px 0 clamp(70px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 20%, rgba(184, 154, 130, 0.26), transparent 70%); z-index: -1; }
.page-head h1 { font-size: clamp(48px, 8vw, 128px); margin: 26px 0 26px; }
.page-head .lead { color: rgba(255, 255, 255, 0.68); }
.page-head .crumbs { display: flex; gap: 10px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; }
.page-head .crumbs a:hover { color: var(--camel); }
.page-head .bg-word { position: absolute; right: -2vw; bottom: -3vw; z-index: -1; font-size: clamp(100px, 22vw, 340px); font-weight: 800; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.04); line-height: 0.8; pointer-events: none; }

/* about page */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.story-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.story-img img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 10%; }
.story-text p + p { margin-top: 18px; }
.story-text h2 { margin: 22px 0 28px; font-size: clamp(32px, 4.2vw, 62px); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 34px 28px; border-radius: var(--r); background: var(--sand); display: grid; gap: 14px; align-content: start; transition: transform 0.7s var(--ease), background 0.5s; }
.value:hover { transform: translateY(-8px); background: var(--camel); }
.value svg { width: 34px; height: 34px; stroke-width: 1.5; color: var(--camel-d); transition: color 0.5s; }
.value:hover svg { color: var(--ink); }
.value p { font-size: 14.5px; color: var(--muted); transition: color 0.5s; }
.value:hover p { color: var(--ink); }
.timeline { position: relative; display: grid; gap: 0; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 130px; top: 0; bottom: 0; width: 1px; background: var(--line-l); }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 0; padding: 0 0 56px; position: relative; }
.tl-item .y { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--camel); padding-right: 40px; text-align: right; }
.tl-item .c { padding-left: 44px; position: relative; }
.tl-item .c::before { content: ""; position: absolute; left: -6px; top: 12px; width: 11px; height: 11px; border-radius: 50%; background: var(--camel); box-shadow: 0 0 0 6px rgba(184, 154, 130, 0.22); }
.tl-item h3 { margin-bottom: 8px; color: #fff; }
.tl-item p { color: rgba(239, 232, 223, 0.62); font-size: 15.5px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap { background: #fff; padding: 34px 30px; border-radius: var(--r); display: grid; gap: 12px; transition: transform 0.7s var(--ease), box-shadow 0.7s; }
.cap:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -34px rgba(36, 33, 31, 0.35); }
.cap b { font-size: 46px; letter-spacing: -0.04em; line-height: 1; font-weight: 800; }
.cap b sup { font-family: var(--serif); font-style: italic; color: var(--camel); font-size: 0.5em; font-weight: 500; }
.cap p { color: var(--muted); font-size: 15px; }
.cta-band { background: var(--camel); color: var(--ink); border-radius: 36px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 64px); }
.cta-band em { color: var(--ink); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(36, 33, 31, 0.2); box-shadow: 0 0 0 40px rgba(36, 33, 31, 0.04), 0 0 0 100px rgba(36, 33, 31, 0.03); pointer-events: none; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; justify-content: space-between; align-items: center; }
.filters .chips { gap: 10px; }
.filters .chip span { background: #fff; }
.filters .chip input:checked + span { background: var(--ink); }
.filters .chip span em { font-family: var(--font); font-style: normal; font-size: 11px; font-weight: 800; background: rgba(36, 33, 31, 0.08); padding: 2px 8px; border-radius: 999px; color: inherit; }
.filters .chip input:checked + span em { background: rgba(255, 255, 255, 0.18); }
.count { font-size: 13px; font-weight: 700; color: var(--muted); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-item { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4.3; background: var(--stone); cursor: pointer; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); width: 100%; text-align: left; }
.g-item:nth-child(5n+2), .g-item:nth-child(5n+4) { aspect-ratio: 3 / 4.9; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform 1.4s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(36, 33, 31, 0.85), rgba(36, 33, 31, 0) 55%); opacity: 0; transition: opacity 0.6s; }
.g-item:hover::after { opacity: 1; }
.g-cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #fff; transform: translateY(16px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.6s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }
.g-cap small { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--camel); }
.g-cap b { display: block; font-size: 18px; line-height: 1.2; margin-top: 4px; }
.g-zoom { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform 0.6s var(--ease); }
.g-item:hover .g-zoom { transform: none; }
.g-zoom svg { width: 19px; height: 19px; }
.g-item.hide { opacity: 0; transform: scale(0.9); pointer-events: none; }
.g-item.gone { display: none; }
.g-grid.masonry { display: block; columns: 4; column-gap: 18px; }

.lb { position: fixed; inset: 0; z-index: 600; background: rgba(28, 25, 23, 0.97); display: grid; grid-template-columns: 1fr; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; padding: 24px; }
.lb.show { opacity: 1; visibility: visible; }
.lb-stage { display: grid; grid-template-columns: auto minmax(240px, 340px); gap: clamp(24px, 5vw, 70px); align-items: center; max-height: 100%; width: min(1000px, 100%); justify-content: center; }
.lb-img { height: min(82vh, 760px); aspect-ratio: 3 / 4.4; border-radius: 22px; overflow: hidden; background: var(--stone); position: relative; }
.lb-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: opacity 0.4s, transform 0.7s var(--ease); }
.lb-img img.swap { opacity: 0; transform: scale(1.05); }
.lb-info small { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--camel); }
.lb-info h3 { font-size: clamp(28px, 3vw, 40px); color: #fff; margin: 12px 0 14px; }
.lb-info p { color: rgba(255, 255, 255, 0.65); margin-bottom: 30px; }
.lb-count { margin-top: 40px; font-size: 13px; font-weight: 800; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.45); }
.lb-btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; color: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.lb-btn:hover { background: var(--camel); color: var(--ink); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; margin-top: -28px; }
.lb-next { right: 24px; top: 50%; margin-top: -28px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev:hover { transform: translateX(-5px); }
.lb-next:hover { transform: translateX(5px); }

/* ---------- search page ---------- */
.search-box { position: relative; margin-top: 44px; max-width: 880px; }
.search-box input { width: 100%; padding: 30px 150px 30px 76px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: clamp(18px, 2.2vw, 28px); font-weight: 600; outline: none; letter-spacing: -0.02em; transition: border-color 0.4s, background 0.4s, box-shadow 0.4s; }
.search-box input::placeholder { color: rgba(255, 255, 255, 0.4); }
.search-box input:focus { border-color: var(--camel); background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 8px rgba(184, 154, 130, 0.14); }
.search-box .s-ico { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; color: var(--camel); pointer-events: none; }
.search-box .s-clear { position: absolute; right: 18px; top: 50%; margin-top: -26px; width: 52px; height: 52px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: scale(0.6); pointer-events: none; transition: opacity 0.3s, transform 0.5s var(--ease); }
.search-box.has .s-clear { opacity: 1; transform: none; pointer-events: auto; }
.search-box .s-kbd { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.5); transition: opacity 0.3s; }
.search-box.has .s-kbd { opacity: 0; }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.suggest span { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.5); margin-right: 6px; }
.suggest button { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); color: #fff; }
.suggest button:hover { background: var(--camel); color: var(--ink); transform: translateY(-3px); box-shadow: none; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.results-head h2 { font-size: clamp(26px, 3vw, 40px); }
.res-list { display: grid; gap: 14px; }
.res { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; padding: 18px 28px 18px 18px; border-radius: 22px; background: #fff; transition: transform 0.6s var(--ease), box-shadow 0.6s, background 0.4s; animation: resIn 0.7s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.res:hover { transform: translateX(10px); box-shadow: 0 30px 50px -30px rgba(36, 33, 31, 0.4); }
.res-thumb { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; background: var(--stone); display: grid; place-items: center; color: var(--camel-d); }
.res-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.res-thumb svg { width: 30px; height: 30px; stroke-width: 1.5; }
.res small { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--camel-d); }
.res h3 { font-size: 20px; margin: 4px 0; }
.res p { font-size: 14.5px; color: var(--muted); max-width: 70ch; }
.res mark { background: rgba(184, 154, 130, 0.38); color: inherit; border-radius: 4px; padding: 0 2px; }
.res-go { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background 0.4s, transform 0.5s var(--ease); }
.res:hover .res-go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.res-go svg { width: 19px; height: 19px; }
.empty { text-align: center; padding: 80px 20px; display: grid; gap: 14px; justify-items: center; }
.empty svg { width: 60px; height: 60px; color: var(--camel); stroke-width: 1.2; }
@keyframes resIn { from { opacity: 0; transform: translateY(26px); } }

/* ---------- auth ---------- */
.auth { min-height: 100svh; display: grid; grid-template-columns: 0.95fr 1.05fr; }
.auth-side { position: relative; background: var(--ink); color: #fff; padding: 40px clamp(32px, 5vw, 80px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 30%, rgba(184, 154, 130, 0.3), transparent 70%); z-index: -1; }
.auth-side .photo { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: -1; overflow: hidden; }
.auth-side .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(36, 33, 31, 0.55) 45%, rgba(36, 33, 31, 0.1) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
.auth-side .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
#sTypes .chip span { background: #fff; }
#sTypes .chip input:checked + span { background: var(--ink); color: #fff; }
.auth-side h2 { font-size: clamp(34px, 4vw, 60px); max-width: 11ch; }
.auth-side .quote { max-width: 30ch; color: rgba(255, 255, 255, 0.7); margin-top: 22px; }
.auth-side ul { display: grid; gap: 12px; margin-top: 28px; }
.auth-side li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; }
.auth-side li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--camel); color: var(--ink); }
.auth-main { background: var(--sand); padding: 40px clamp(24px, 5vw, 90px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.auth-top { position: absolute; top: 40px; right: clamp(24px, 5vw, 90px); left: clamp(24px, 5vw, 90px); display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.auth-top a.back { display: inline-flex; gap: 8px; align-items: center; transition: color 0.3s; }
.auth-top a.back:hover { color: var(--camel-d); }
.auth-top a.back svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.auth-top a.back:hover svg { transform: translateX(-5px); }
.auth-top .alt a { font-weight: 800; color: var(--camel-d); }
.auth-form { width: min(100%, 480px); margin-inline: auto; display: grid; gap: 14px; padding-top: 70px; }
.auth-form h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.045em; margin: 14px 0 8px; }
.auth-form .lead { margin-bottom: 14px; font-size: 16px; }
.auth-form .field input, .auth-form .field select { background: #fff; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.row-between a { font-weight: 700; color: var(--camel-d); }
.row-between a:hover { text-decoration: underline; }
.role-chips .chip span { background: #fff; }
.role-chips .chip input:checked + span { background: var(--ink); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -4px; }
.strength i { height: 4px; border-radius: 4px; background: var(--sand-2); transition: background 0.4s; }
.strength.s1 i:nth-child(-n+1) { background: #c4564b; }
.strength.s2 i:nth-child(-n+2) { background: #d9954a; }
.strength.s3 i:nth-child(-n+3) { background: #b7b34a; }
.strength.s4 i:nth-child(-n+4) { background: #5c9b6a; }
.strength-label { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: -6px; }
/* ---------- toast ---------- */
.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 700; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 16px 22px 16px 16px; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); font-size: 14.5px; font-weight: 600; max-width: 380px; animation: toastIn 0.7s var(--ease) both; }
.toast.out { animation: toastOut 0.5s var(--ease) forwards; }
.toast i { width: 38px; height: 38px; border-radius: 50%; background: var(--camel); color: var(--ink); display: grid; place-items: center; flex: none; }
.toast i svg { width: 19px; height: 19px; }
.toast.err i { background: #c4564b; color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(30px) scale(0.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps-line { display: none; }
  .order-grid { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
}
@media (max-width: 980px) {
  .nav, .header .auth-in, .header-actions .btn { display: none; }
  .burger { display: block; }
  .hero-grid, .about-grid, .stats-wrap, .rev-wrap, .faq-grid, .contact-grid, .story-grid, .footer-cta, .cta-band { grid-template-columns: 1fr; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding-top: 120px; }
  .hero-visual { width: min(100%, 380px); margin-top: 24px; }
  .hero-card { left: -12px; }
  .hero-badge { right: -12px; }
  .hero-scroll { display: none; }
  .about-media { height: 520px; }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wheel { height: 400px; }
  .faq-wheel-wrap::before { display: none; }
  .map-card { min-height: 560px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .lb-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .lb-img { height: min(60vh, 560px); }
  .lb-info p { margin-bottom: 14px; }
  .lb-count { margin-top: 14px; }
  .lb-prev { left: 10px; top: auto; bottom: 18px; margin: 0; } .lb-next { right: 10px; top: auto; bottom: 18px; margin: 0; }
  .timeline::before { left: 60px; }
  .tl-item { grid-template-columns: 60px 1fr; }
  .tl-item .y { font-size: 18px; padding-right: 20px; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .user-chip .nm { display: none; }
  .user-chip { padding-right: 10px; }
  .aud-grid, .srv-grid, .values { grid-template-columns: 1fr; }
  .aud-card { min-height: 280px; }
  .g-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .seg { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { padding-left: 20px; }
  .stat:nth-child(odd) { padding-right: 16px; }
  .col-grid { gap: 12px; }
  .col-card { padding: 8px 8px 18px; }
  .col-card h3 { font-size: 12px; padding: 0 6px; }
  .col-card p { padding: 2px 6px 0; font-size: 12.5px; }
  .map-info { grid-template-columns: 1fr; left: 10px; right: 10px; bottom: 10px; padding: 18px; gap: 14px; }
  .map-card { min-height: 640px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .res { grid-template-columns: 64px 1fr; padding: 14px; }
  .res-thumb { width: 64px; height: 64px; }
  .res-go { display: none; }
  .search-box input { padding: 22px 70px 22px 62px; }
  .search-box .s-ico { left: 22px; }
  .search-box .s-kbd { display: none; }
  .hero-card b { font-size: 24px; }
  .hero-facts { gap: 18px 24px; }
  .stars { display: none; }
  .toasts { left: 18px; right: 18px; }
  .rev-main { min-height: 420px; }
  .faq-item { font-size: 15px; height: 64px; margin-top: -32px; }
  .faq-marker { height: 64px; margin-top: -32px; }
}

@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; }
  .js .split .wi, .js [data-r] { transform: none !important; opacity: 1 !important; filter: none !important; clip-path: none !important; }
}

/* ---------- производительность ---------- */
/* бесконечные анимации стоят, пока блок вне экрана */
.off-screen, .off-screen *, .off-screen *::before, .off-screen *::after { animation-play-state: paused !important; }
.marquee { contain: paint; }
.marquee-track, .hero-card, .hero-badge, .map-pin span { will-change: transform; }
.off-screen .marquee-track, .hero-card.off-screen, .hero-badge.off-screen { will-change: auto; }
/* второй тон иконок */
.ic .d { fill: var(--camel); fill-opacity: 0.4; }

/* галерея из базы: загрузка и поздняя отрисовка */
.g-item.sk { pointer-events: none; background: linear-gradient(100deg, var(--sand-2) 30%, #efe6db 50%, var(--sand-2) 70%) 0 0 / 220% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -120% 0; } }
.g-item.late { animation: resIn 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.socials:empty { display: none; }
.socials.late a { animation: resIn 0.5s var(--ease) both; }
@media (hover: none) { .g-cap { opacity: 1; transform: none; } .g-item:has(.g-cap)::after { opacity: 1; } }

/* телефоны задаёт админ: обёртка не влияет на вёрстку */
[data-phones] { display: contents; }
