/* ═══════════════════════════════════════════════════════════════
   ЛабраДОРС · AI Door Studio
   Design System v2.0
   Philosophy: Apple × Aesop × Poliform — первое впечатление о доме
═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FAFAF8;
  color: #151515;
  overflow-x: hidden;
  line-height: 1.6;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --bg:          #FAFAF8;
  --bg-section:  #F3F1EC;
  --text:        #151515;
  --text-muted:  #6B6860;
  --text-light:  #9B9890;
  --accent:      #C7A26A;
  --accent-dark: #A8864E;
  --accent-light:#F0E6D3;
  --border:      #E7E3DB;
  --border-dark: #D4CFC6;
  --white:       #FFFFFF;

  /* Nav */
  --nav-h:   72px;

  /* Radius */
  --r-sm:    8px;
  --r-md:    16px;
  --r-lg:    24px;
  --r-xl:    32px;
  --r-full:  9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 32px 80px rgba(0,0,0,.16);

  /* Transitions */
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(0,0,.2,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px;--sp-16: 64px;--sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap');

.font-serif  { font-family: 'Playfair Display', Georgia, serif; }
.font-sans   { font-family: 'Inter', sans-serif; }

.text-hero   { font-size: clamp(42px, 6vw, 88px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.text-display{ font-size: clamp(32px, 4.5vw, 64px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.text-h1     { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.text-h2     { font-size: clamp(22px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.015em; font-weight: 600; }
.text-h3     { font-size: clamp(18px, 2vw, 24px); line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.text-body   { font-size: 16px; line-height: 1.65; }
.text-sm     { font-size: 14px; line-height: 1.5; }
.text-xs     { font-size: 12px; line-height: 1.4; letter-spacing: .03em; }
.text-label  { font-size: 11px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

.text-muted  { color: var(--text-muted); }
.text-light  { color: var(--text-light); }
.text-accent { color: var(--accent); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
}
.container--narrow { max-width: 880px; }
.container--wide   { max-width: 1440px; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(250,250,248,.96), rgba(250,250,248,.55));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav--scrolled {
  background: rgba(250,250,248,.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 var(--border);
}
.nav > .container { height: 100%; }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}
.nav__logo-icon {
  width: 32px; height: 32px;
  background: var(--text);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav__logo-icon svg { width: 18px; height: 18px; fill: var(--accent); }
.nav__logo-img { height: 38px; width: auto; flex-shrink: 0; display: block; margin-right: var(--sp-3); }
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin: 0 auto;
}
.nav__link {
  padding: var(--sp-2) var(--sp-3);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: rgba(0,0,0,.04); }
.nav__link--active { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.nav__phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.nav__phone::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }

/* Иконки-действия в шапке (поиск/избранное/корзина) */
.nav__actions .icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__actions .icon-btn:hover { background: rgba(0,0,0,.05); color: var(--accent-dark); }
.nav__actions .icon-btn svg { width: 20px; height: 20px; }
.nav__actions .cart-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: none; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
  border-radius: var(--r-full);
}
.nav__actions .cart-badge.visible { display: inline-flex; }

/* На узких экранах прячем инлайн-CTA (он есть в бургер-меню), чтобы шапка не переполнялась */
@media (max-width: 560px) {
  .nav__actions .btn--accent { display: none; }
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: all .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
  border-radius: inherit;
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(.98); }

.btn--primary {
  background: var(--text);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.btn--primary:hover { background: #2a2a2a; box-shadow: 0 4px 16px rgba(0,0,0,.25); transform: translateY(-1px); }

.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(199,162,106,.3);
}
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 4px 16px rgba(199,162,106,.4); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-dark);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(0,0,0,.03); }

.btn--white {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-md);
}
.btn--white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--xl { padding: 18px 44px; font-size: 17px; }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-16)) var(--sp-16) var(--sp-16) max(var(--sp-16), calc((100vw - 1280px)/2 + 32px));
  position: relative;
  z-index: 2;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid rgba(199,162,106,.3);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--sp-8);
  width: fit-content;
}
.hero__label::before { content: '✦'; font-size: 8px; }

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 500;
  margin-bottom: var(--sp-6);
  color: var(--text);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
}

.hero__stats {
  display: flex;
  gap: var(--sp-8);
}
.hero__stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1;
}
.hero__stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: .02em;
}
.hero__stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.hero__right:hover .hero__img { transform: scale(1.02); }

.hero__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 15%),
              linear-gradient(to top, rgba(0,0,0,.15) 0%, transparent 40%);
}

/* Hero scroll cue */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  z-index: 3;
  opacity: .5;
  animation: scrollCue 2s ease-in-out infinite;
}
.hero__scroll span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-muted), transparent); }

@keyframes scrollCue { 0%,100%{ opacity:.4; transform:translateX(-50%) translateY(0); } 50%{ opacity:.7; transform:translateX(-50%) translateY(4px); } }

/* ── AI WIDGET ────────────────────────────────────────────── */
.ai-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}

.ai-toggle {
  width: 58px; height: 58px;
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
  flex-shrink: 0;
  font-size: 22px;
  position: relative;
}
.ai-toggle:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.ai-toggle.open { background: #333; }

.ai-toggle__pulse {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bg);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(34,197,94,.4); } 50%{ box-shadow: 0 0 0 6px rgba(34,197,94,0); } }

.ai-panel {
  width: 360px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.8);
  overflow: hidden;
  transform-origin: bottom right;
  transition: transform .3s var(--ease-spring), opacity .3s var(--ease);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.ai-panel.hidden {
  transform: scale(.92) translateY(8px);
  opacity: 0;
  pointer-events: none;
}

.ai-panel__header {
  padding: 16px 20px;
  background: var(--text);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.ai-panel__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(199,162,106,.2);
  border: 1.5px solid rgba(199,162,106,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ai-panel__info { flex: 1; }
.ai-panel__name { font-size: 14px; font-weight: 700; color: var(--white); line-height: 1; }
.ai-panel__status { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.ai-panel__status::before { content:''; width:6px; height:6px; border-radius:50%; background:#22c55e; }
.ai-panel__close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.ai-panel__close:hover { background: rgba(255,255,255,.2); color: var(--white); }

.ai-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.ai-panel__messages::-webkit-scrollbar { width: 4px; }
.ai-panel__messages::-webkit-scrollbar-track { background: transparent; }
.ai-panel__messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.ai-msg {
  display: flex;
  gap: 8px;
  animation: msgIn .25s var(--ease-out);
}
.ai-msg--user { flex-direction: row-reverse; }
@keyframes msgIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

.ai-msg__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-msg--user .ai-msg__avatar { background: var(--text); font-size: 11px; color: var(--white); }

.ai-msg__bubble {
  max-width: 240px;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.ai-msg--bot .ai-msg__bubble {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
}
.ai-msg--user .ai-msg__bubble {
  background: var(--text);
  color: var(--white);
  border-bottom-right-radius: 6px;
}

/* Карточки товаров в ответе Лабры */
.ai-msg__content { display: flex; flex-direction: column; gap: 8px; max-width: 280px; }
.ai-msg__cards { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.ai-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
}
.ai-card__img { display: block; width: 64px; height: 80px; border-radius: 6px; overflow: hidden; background: var(--bg-section); flex-shrink: 0; }
.ai-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ai-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ai-card__name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.ai-card__name a { color: var(--text); }
.ai-card__name a:hover { color: var(--accent-dark); }
.ai-card__meta { font-size: 11px; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-card__price { font-size: 13px; font-weight: 700; color: var(--text); }
.ai-card__cart {
  margin-top: 4px;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.ai-card__cart:hover { background: #2a2a2a; }
.ai-card__cart--ghost { background: transparent; color: var(--accent-dark); border: 1px solid var(--accent); }
.ai-card__cart--ghost:hover { background: var(--accent-light); }
.ai-card__cart--added { background: #1f7a44; }

/* Quick replies */
.ai-quick {
  padding: 0 16px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ai-quick__btn {
  padding: 7px 12px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-dark);
  background: var(--white);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  transition: border-color .15s, background .15s, transform .15s;
}
.ai-quick__btn:hover { border-color: var(--accent); background: var(--accent-light); transform: translateY(-1px); }

/* Score bar */
.ai-score {
  margin: 0 16px 12px;
  padding: 10px 12px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: none;
}
.ai-score.visible { display: block; }
.ai-score__label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; display: flex; justify-content: space-between; }
.ai-score__bar { height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; }
.ai-score__fill { height: 100%; border-radius: 4px; background: linear-gradient(to right, var(--accent), #e8b76a); transition: width .5s var(--ease); }

/* Input */
.ai-panel__input {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
  background: rgba(255,255,255,.8);
}
.ai-panel__input textarea {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  height: 38px;
  max-height: 120px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s, height .2s;
  overflow: hidden;
  line-height: 1.5;
}
.ai-panel__input textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.ai-panel__input textarea::placeholder { color: var(--text-light); }
.ai-panel__send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.ai-panel__send:hover { background: var(--accent); transform: scale(1.05); }

/* Typing indicator */
.ai-typing { display: flex; gap: 4px; align-items: center; padding: 10px 14px; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typing 1.2s ease-in-out infinite; }
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,80%,100%{ transform:scale(.8); opacity:.4; } 40%{ transform:scale(1); opacity:1; } }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: var(--sp-24) 0; }
.section--dark { background: var(--text); color: var(--white); }
.section--tinted { background: var(--bg-section); }
.section--accent { background: var(--accent-light); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.section__label::before { content: ''; width: 20px; height: 1px; background: var(--accent); }

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-4);
}
.section__sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ── AI SEARCH ────────────────────────────────────────────── */
.ai-search {
  padding: var(--sp-20) 0;
  background: var(--bg-section);
}
.ai-search__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--sp-8);
}
.ai-search__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  margin-bottom: var(--sp-4);
  letter-spacing: -.02em;
}
.ai-search__sub { font-size: 15px; color: var(--text-muted); margin-bottom: var(--sp-8); }

.ai-search__box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 6px 6px 6px 20px;
  gap: var(--sp-3);
  box-shadow: var(--shadow-md);
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: var(--sp-6);
}
.ai-search__box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(199,162,106,.12), var(--shadow-md); }
.ai-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  color: var(--text);
  padding: 10px 0;
}
.ai-search__input::placeholder { color: var(--text-light); }
.ai-search__icon { font-size: 18px; color: var(--text-muted); flex-shrink: 0; }

.ai-search__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}
.ai-search__tag {
  padding: 7px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}
.ai-search__tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── COLLECTIONS ──────────────────────────────────────────── */
.collections { padding: var(--sp-24) 0; }
.collections__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: var(--sp-12);
}
.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-section);
  color: var(--white);
}
.collection-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.collection-card:hover .collection-card__img { transform: scale(1.04); }
.collection-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background .3s;
}
.collection-card:hover .collection-card__overlay { background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 50%, transparent 100%); }
.collection-card__label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.collection-card__name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.collection-card__meta { font-size: 12px; color: rgba(255,255,255,.5); }
.collection-card__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--white);
  margin-top: 12px;
  transition: background .2s, transform .2s;
}
.collection-card:hover .collection-card__arrow { background: var(--accent); border-color: var(--accent); transform: translateX(4px); }

/* ── PROCESS ──────────────────────────────────────────────── */
.process { padding: var(--sp-24) 0; }
.process__timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-12);
  position: relative;
}
.process__timeline::before {
  content: '';
  position: absolute;
  top: 40px; left: 40px; right: 40px;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
  padding: 0 var(--sp-2);
}
.process__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.process__step:hover .process__num { background: var(--accent); border-color: var(--accent); }
.process__num span { font-size: 10px; font-weight: 700; letter-spacing: .05em; color: var(--text-muted); }
.process__step:hover .process__num span { color: var(--white); }
.process__name { font-size: 13px; font-weight: 600; color: var(--text); }
.process__desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── SOCIAL PROOF ─────────────────────────────────────────── */
.proof { padding: var(--sp-24) 0; background: var(--bg-section); }
.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-16);
}
.proof__stat {
  background: var(--bg-section);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: background .2s;
}
.proof__stat:hover { background: var(--white); }
.proof__stat-value { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.proof__stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* Reviews */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: box-shadow .2s, transform .2s;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-card__stars { color: var(--accent); font-size: 14px; margin-bottom: var(--sp-3); letter-spacing: 2px; }
.review-card__text { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin-bottom: var(--sp-4); }
.review-card__author { display: flex; align-items: center; gap: var(--sp-3); }
.review-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.review-card__name { font-size: 13px; font-weight: 600; }
.review-card__meta { font-size: 11px; color: var(--text-light); }

/* ── PORTFOLIO / PROJECTS ─────────────────────────────────── */
.projects { padding: var(--sp-24) 0; }
.projects__masonry {
  columns: 3;
  column-gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.project-item {
  break-inside: avoid;
  margin-bottom: var(--sp-4);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--bg-section);
}
.project-item img {
  width: 100%;
  display: block;
  transition: transform .5s var(--ease);
}
.project-item:hover img { transform: scale(1.03); }
.project-item__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .3s, transform .3s;
}
.project-item:hover .project-item__info { opacity: 1; transform: none; }
.project-item__city { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.project-item__name { font-size: 14px; font-weight: 600; color: var(--white); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { padding: var(--sp-24) 0; }
.faq__list { margin-top: var(--sp-10); max-width: 760px; }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color .15s;
  color: var(--text);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: background .15s, transform .25s, border-color .15s;
  color: var(--text-muted);
}
.faq__item.open .faq__icon { background: var(--text); border-color: var(--text); color: var(--white); transform: rotate(45deg); }
.faq__a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s;
  padding-bottom: 0;
}
.faq__item.open .faq__a { max-height: 400px; padding-bottom: var(--sp-5); }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  padding: var(--sp-24) 0;
  background: var(--text);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,162,106,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-5);
}
.cta-section__title em { font-style: italic; color: var(--accent); }
.cta-section__sub { font-size: 16px; color: rgba(255,255,255,.5); margin-bottom: var(--sp-8); }
.cta-section__actions { display: flex; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #0F0F0E;
  color: rgba(255,255,255,.6);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer__brand { }
.footer__logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-4);
}
.footer__logo span { color: var(--accent); }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.5; max-width: 220px; }
.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,.6);
  transition: background .15s, color .15s;
}
.footer__social-link:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.footer__col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.3); margin-bottom: var(--sp-5); }
.footer__link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-3);
  transition: color .15s;
}
.footer__link:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,.25);
}
.footer__badge::before { content: '🤖'; font-size: 12px; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

.blur-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease);
}
.blur-reveal.visible { opacity: 1; filter: none; transform: none; }

/* ── UTILITIES ────────────────────────────────────────────── */
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0 !important; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 20px) var(--sp-8) var(--sp-8);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu__link {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  display: block;
  letter-spacing: -.01em;
}
.mobile-menu__actions { margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-3); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .collections__grid { grid-template-columns: repeat(2, 1fr); }
  .collections__grid .collection-card:first-child { grid-row: span 1; aspect-ratio: 3/4; }
  .process__timeline { grid-template-columns: repeat(3, 1fr); }
  .process__timeline::before { display: none; }
  .proof__stats { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid .review-card:last-child { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .hero { grid-template-columns: 1fr; min-height: 100svh; }
  .hero__left {
    padding: calc(var(--nav-h) + 40px) var(--sp-5) var(--sp-8);
    order: 2;
  }
  .hero__right { height: 50svh; order: 1; }
  .hero__img-overlay { background: linear-gradient(to bottom, rgba(250,250,248,.5) 0%, transparent 30%), linear-gradient(to top, rgba(0,0,0,.1) 0%, transparent 30%); }
  .hero__title { font-size: clamp(36px, 8vw, 52px); }
  .hero__stats { gap: var(--sp-5); }

  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }

  .ai-widget { bottom: 20px; right: 16px; }
  .ai-panel { width: calc(100vw - 32px); }

  .collections__grid { grid-template-columns: repeat(2, 1fr); }
  .process__timeline { grid-template-columns: 1fr 1fr; }
  .proof__stats { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .projects__masonry { columns: 2; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col:nth-child(3), .footer__col:nth-child(4) { display: none; }
  .container { padding: 0 var(--sp-5); }
}

@media (max-width: 480px) {
  .process__timeline { grid-template-columns: 1fr; }
  .proof__stats { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .projects__masonry { columns: 1; }
  .cta-section__actions { flex-direction: column; align-items: center; }
}
