/* ============================================================
   СТУДИЯ МЕБЕЛИ ДОЛГОВА
   Cormorant Garamond (display/serif) · Jost (sans)
   Hero: тёмный тёплый · Все секции: светлые
   ============================================================ */

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #f4f3ef; }
::-webkit-scrollbar-thumb { background: #ccc; }
::-webkit-scrollbar-thumb:hover { background: #c8a96e; }

/* ===== CURSOR ===== */
* { cursor: none; }
.cursor {
  position: fixed; width: 6px; height: 6px;
  background: #c8a96e; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s ease, height .25s ease, opacity .25s ease;
}
.cursor-ring {
  position: fixed; width: 30px; height: 30px;
  border: 1px solid rgba(200,169,110,.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .4s cubic-bezier(.16,1,.3,1), height .4s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.cursor.hov { width: 0; height: 0; opacity: 0; }
.cursor-ring.hov { width: 52px; height: 52px; border-color: rgba(200,169,110,.7); }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Hero (dark warm) */
  --hero-bg:   #1c1916;
  --hero-bg2:  #231f1b;

  /* Light sections */
  --bg:        #fafaf8;
  --bg2:       #f3f2ee;
  --bg3:       #eceae5;

  /* Text */
  --dark:      #1a1916;
  --text:      #1e1c18;
  --grey:      #555350;
  --lt:        #8a8880;

  /* Accent */
  --gold:      #b89458;
  --gold-lt:   rgba(184,148,88,.12);

  /* Borders */
  --border:    rgba(26,25,22,.1);
  --border-lt: rgba(255,255,255,.1);

  --ease: cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 52px; }
.section { padding: 112px 0; }

/* ===== TYPOGRAPHY ===== */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.5px;
}
.hero-heading, .about-heading, .section-heading,
.why-heading, .contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.5px;
  text-wrap: balance;
  /* 27.08.2026: заглавные буквы были вбиты прямо в текст заголовков, из-за чего
     поисковик читал «ПОЧЕМУНАМДОВЕРЯЮТ» вместо нормальных слов. Регистр перенесён
     сюда: вид не изменился, а в разметке теперь обычный текст. */
  text-transform: uppercase;
}
.section-heading  { font-size: clamp(1.6rem, 2.7vw, 2.5rem); color: var(--dark); }
.about-heading    { font-size: clamp(1.3rem, 2.3vw, 2.3rem); color: var(--dark); }
.why-heading      { font-size: clamp(2.3rem, 4.7vw, 4.7rem); line-height: .92; color: var(--dark); }
.contact-heading  { font-size: clamp(1.6rem, 2.7vw, 2.5rem); color: #f4f4f0; }

.section-label {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: .68rem; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic;
  color: var(--grey); max-width: 520px;
  margin: 14px auto 0; text-align: center; line-height: 1.75;
}
.section-header { text-align: center; margin-bottom: 68px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border: 1px solid var(--dark);
  font-family: 'Jost', sans-serif;
  font-size: .72rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--dark); background: transparent;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn:active { transform: scale(0.97); }

/* Hero button (on dark) */
.btn-hero {
  display: inline-block; margin-top: 36px;
  padding: 13px 34px;
  border: 1px solid rgba(184,148,88,.55);
  font-family: 'Jost', sans-serif;
  font-size: .72rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); background: rgba(184,148,88,.08);
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.btn-hero:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-hero:active { transform: scale(0.97); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero.btn-tg {
  display: inline-flex; align-items: center; gap: 9px;
  border-color: rgba(34,158,217,.55); color: #fff;
  background: rgba(34,158,217,.12);
}
.btn-hero.btn-tg:hover { background: #229ED9; border-color: #229ED9; }

.btn-tg-direct {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 28px; border: 1px solid rgba(34,158,217,.55);
  font-family: 'Jost', sans-serif; font-size: .72rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: rgba(34,158,217,.12);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.btn-tg-direct:hover { background: #229ED9; border-color: #229ED9; }

.btn-submit {
  width: 100%; padding: 15px;
  background: var(--dark); border-color: var(--dark);
  color: #fff; font-size: .78rem; cursor: none;
}
.btn-submit:hover { background: var(--gold); border-color: var(--gold); }

/* ===== LEAD MAGNET (каталог + скидка) ===== */
.lead-magnet { position: relative; z-index: 5; background: transparent; padding: 0 0 64px; margin-top: -130px; }
.lead-magnet .container { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lead-card {
  width: 100%; max-width: 480px;
  background: var(--bg); border: 1px solid rgba(184,148,88,.5);
  border-radius: 4px; padding: 40px 36px;
  text-align: left;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
}
.lead-heading {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.2;
  color: var(--dark);
}
.lead-sub { font-size: .92rem; color: var(--grey); margin-top: 10px; }
.lead-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.lead-input {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 3px;
  font-family: 'Jost', sans-serif; font-size: .9rem;
  color: var(--dark); background: #fff;
  transition: border-color .3s ease;
}
.lead-input::placeholder { color: var(--lt); }
.lead-input:focus { outline: none; border-color: var(--dark); }
.btn-lead {
  width: 100%; padding: 14px; border: none; border-radius: 3px;
  background: var(--dark); color: #fff; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: .78rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: background .3s ease;
}
.btn-lead:hover { background: var(--gold); }
.btn-lead:disabled { opacity: .6; cursor: default; }
.lead-success, .lead-error {
  display: none; margin-top: 14px; font-size: .82rem;
  padding: 12px 14px; border-radius: 3px;
}
.lead-success { background: rgba(184,148,88,.12); color: var(--dark); }
.lead-error { background: rgba(200,60,60,.1); color: #a33; }
.lead-tg-wrap { display: flex; justify-content: center; }
.lead-tg-wrap .btn-tg-direct { background: #229ED9; border-color: #229ED9; }
.lead-tg-wrap .btn-tg-direct:hover { background: #1b87ba; border-color: #1b87ba; }

/* ===== REVEAL ===== */
.reveal {
  opacity: 1; transform: translateY(0);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js-ready .reveal {
  opacity: 0; transform: translateY(36px);
}
.js-ready .reveal.vis { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js-ready .reveal, .js-ready .reveal.vis {
    opacity: 1 !important; transform: none !important;
    transition: none !important;
  }
  .cursor, .cursor-ring { display: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 0 52px;
  transition: background .4s ease, backdrop-filter .4s ease;
}
/* scrolled → white nav */
.nav.scrolled {
  background: rgba(250,250,248,.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; height: 72px; gap: 36px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600;
  letter-spacing: .5px; color: #f4f4f0;
  margin-right: auto; white-space: nowrap;
  transition: color .3s ease;
}
.nav.scrolled .nav-logo { color: var(--dark); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: .7rem; font-weight: 400;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(244,244,240,.6);
  transition: color .3s ease; white-space: nowrap;
}
.nav.scrolled .nav-links a { color: var(--grey); }
.nav-links a:hover { color: var(--gold) !important; }
.nav-social {
  display: flex; align-items: center; gap: 10px;
}
.nav-social a {
  color: rgba(244,244,240,.55); transition: color .3s ease;
  display: flex; align-items: center;
}
.nav.scrolled .nav-social a { color: var(--grey); }
.nav-social a:hover { color: var(--gold) !important; }

.nav-phone {
  font-family: 'Jost', sans-serif; font-size: .78rem;
  color: rgba(244,244,240,.8); white-space: nowrap;
  transition: color .3s ease;
}
.nav.scrolled .nav-phone { color: var(--dark); }
.nav-phone:hover { color: var(--gold) !important; }

.burger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; padding: 4px; margin-left: auto;
}
.burger span {
  display: block; width: 24px; height: 1px;
  background: #f4f4f0;
  transition: transform .3s ease, opacity .3s ease;
}
.nav.scrolled .burger span { background: var(--dark); }
.burger.open span:first-child { transform: rotate(45deg) translate(4px,4px); }
.burger.open span:last-child  { transform: rotate(-45deg) translate(4px,-4px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; inset: 0; width: 100%; background: var(--bg);
  z-index: 999; display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform .55s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 18px; text-align: center; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 600;
  color: var(--dark); transition: color .3s ease;
}
.mobile-menu a:hover { color: var(--gold); }

/* ===== HERO (тёмный) ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--hero-bg);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; transform: scale(1.1);
}
.hero-bg img { opacity: .25; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, rgba(28,25,22,.96) 42%, rgba(28,25,22,.38) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: 100px 52px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-label {
  display: block; font-family: 'Jost', sans-serif;
  font-size: .66rem; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  opacity: 0; animation: fadeIn .8s ease .15s forwards;
}
.hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.3vw, 3.7rem);
  line-height: .92; font-weight: 600;
  letter-spacing: -1px; color: #f4f4f0;
  margin-bottom: 20px;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-inner {
  display: block; transform: translateY(106%);
  animation: slideUp .9s var(--ease) forwards;
}
.hero-line:nth-child(1) .hero-line-inner { animation-delay: .2s; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: .35s; }
.hero-line:nth-child(3) .hero-line-inner { animation-delay: .5s; }
.hero-line:nth-child(4) .hero-line-inner { animation-delay: .65s; }

.hero-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; letter-spacing: 1px;
  color: rgba(244,244,240,.45); line-height: 1.7;
  opacity: 0; animation: fadeIn .8s ease .85s forwards;
}
.hero-right { display: flex; justify-content: flex-end; align-items: center; }
.hero-img-wrap {
  width: 100%; max-width: 480px; height: 580px;
  overflow: hidden; background: var(--hero-bg2);
  opacity: 0; animation: fadeInRight 1.2s var(--ease) .4s forwards;
}
.hero-img-wrap.empty { background: linear-gradient(135deg, #221e1a, #2a2520); }
.hero-img-wrap img { transition: transform .7s var(--ease); }
.hero-img-wrap:hover img { transform: scale(1.04); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 52px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeIn .8s ease 1.2s forwards;
}
.hero-scroll span {
  font-family: 'Jost', sans-serif; font-size: .62rem;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(244,244,240,.35);
}
.hero-scroll-line {
  width: 44px; height: 1px; background: rgba(255,255,255,.12);
  overflow: hidden; position: relative;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--gold);
  animation: lineSlide 2.2s ease infinite;
}

/* ===== STATS ===== */
.stats {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.stats-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 52px;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat {
  padding: 20px 28px; border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem; line-height: 1; font-weight: 600;
  letter-spacing: -1px; color: var(--dark);
}
.stat-suf {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--gold);
}
.stat-label {
  font-family: 'Jost', sans-serif; font-size: .66rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey); margin-top: 8px;
}

/* ===== ABOUT ===== */
.about { background: var(--bg); }
.about-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 52px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.about-heading { margin-bottom: 28px; }
.about-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--grey);
  margin-bottom: 18px; line-height: 1.85;
}
.about-text .btn { margin-top: 20px; }

.about-img-wrap {
  width: 100%; height: 520px;
  overflow: hidden; background: var(--bg3);
  position: relative;
}
.about-img-init {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 600;
  color: rgba(26,25,22,.06); z-index: 0;
}
.about-img-wrap img { position: relative; z-index: 1; }

.about-quote {
  margin-top: 24px; padding: 22px 0 0;
  border-top: 1px solid var(--border);
}
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem; line-height: 1;
  color: var(--gold); display: block; margin-bottom: 6px;
}
.about-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic;
  color: var(--text); line-height: 1.75;
}
.about-quote cite {
  display: block; margin-top: 12px;
  font-family: 'Jost', sans-serif; font-size: .7rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); font-style: normal;
}

/* ===== SECTION CTA ===== */
.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding-bottom: 0.5rem;
}

/* ===== CATALOG ===== */
.catalog { background: var(--bg); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3rem;
}
.catalog-tile {
  position: relative;
  height: 380px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.catalog-tile-bg {
  position: absolute;
  inset: 0;
  background-image: var(--tile-img);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.catalog-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.1) 100%);
  transition: background 0.4s ease;
}
.catalog-tile:hover .catalog-tile-bg { transform: scale(1.06); }
.catalog-tile:hover::after { background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%); }
.catalog-tile-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 2.2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.catalog-tile-label {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
}
.catalog-tile-count {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.catalog-tile-arrow {
  position: absolute;
  top: 1.5rem; right: 1.8rem;
  z-index: 2;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.6);
  transition: transform 0.3s ease, color 0.3s ease;
}
.catalog-tile:hover .catalog-tile-arrow {
  transform: translateX(5px);
  color: #fff;
}
.catalog-tile--soon { cursor: default; }
.catalog-tile--soon:hover .catalog-tile-bg { transform: scale(1.02); }
.catalog-tile--soon::after { background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.25) 100%); }
.catalog-soon-badge {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.3em 0.8em;
  backdrop-filter: blur(4px);
}

/* ===== SERVICES ===== */
.services { background: var(--bg2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg2); padding: 40px 34px;
  transition: background .4s ease; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold); opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover { background: var(--bg); }
.service-card:hover::after { opacity: 1; }
.service-num {
  font-family: 'Jost', sans-serif; font-size: .78rem;
  letter-spacing: 2px; color: var(--gold);
  display: block; margin-bottom: 18px;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--dark); margin-bottom: 12px;
}
.service-card p {
  font-family: 'Jost', sans-serif; font-size: .88rem;
  color: var(--grey); line-height: 1.7;
}

/* ===== PROCESS ===== */
.process { background: var(--bg); }
.process-list {
  display: grid; grid-template-columns: repeat(4,1fr);
}
.process-item {
  padding: 32px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-item:nth-child(4n) { border-right: none; }
.process-item:nth-child(5),
.process-item:nth-child(6),
.process-item:nth-child(7),
.process-item:nth-child(8) { border-bottom: none; }
.process-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; line-height: 1; font-weight: 600;
  color: var(--gold); opacity: .3;
  display: block; margin-bottom: 14px;
}
.process-item h3 {
  font-family: 'Jost', sans-serif; font-size: .8rem;
  font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--dark); margin-bottom: 8px;
}
.process-item p {
  font-family: 'Cormorant Garamond', serif;
  font-size: .98rem; color: var(--grey); line-height: 1.65;
}

/* ===== 3D → РЕЗУЛЬТАТ ===== */
.ba-section { background: var(--bg2); }
.ba-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ba-pair { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ba-side {
  flex: 1; height: 190px;
  position: relative; overflow: hidden; background: var(--bg3);
}
.ba-side img { transition: filter .5s ease; }
.ba-render img { filter: grayscale(100%) contrast(1.05); }
.ba-render:hover img { filter: grayscale(0%); }
.ba-side.empty { display: flex; align-items: center; justify-content: center; }
.ba-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .76rem; letter-spacing: 1px;
  color: var(--lt); text-transform: uppercase;
}
.ba-side:not(.empty) .ba-ph { display: none; }
.ba-tag {
  position: absolute; top: 10px; left: 10px;
  font-family: 'Jost', sans-serif; font-size: .58rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(250,250,248,.88); color: var(--gold);
  padding: 3px 8px;
}
.ba-arrow {
  flex-shrink: 0; font-size: 1rem;
  color: var(--gold); opacity: .6;
}
.ba-caption {
  font-family: 'Jost', sans-serif; font-size: .72rem;
  letter-spacing: 1px; text-transform: uppercase; color: var(--grey);
}

/* ===== PROJECTS CAROUSEL ===== */
.projects { background: var(--bg2); }

.carousel-wrap { position: relative; user-select: none; }

.carousel-scene {
  width: 100%; height: 300px;
  perspective: 1100px;
  overflow: visible;
  position: relative;
}
.carousel-ring {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.16,1,.3,1);
}

.proj-card {
  position: absolute;
  width: 177px; height: 190px;
  left: 50%; top: 50%;
  margin-left: -89px; margin-top: -95px;
  cursor: none;
  transition: transform .85s cubic-bezier(.16,1,.3,1);
}
.proj-dim {
  position: absolute; inset: 0;
  background: rgba(26,25,22,.6);
  transition: opacity .5s ease;
  pointer-events: none;
  opacity: 1;
  z-index: 3;
}
.proj-card.active .proj-dim { opacity: 0; }

.proj-thumb {
  position: relative; overflow: hidden;
  width: 100%; height: 100%; background: var(--bg3);
}
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj-card.active .proj-thumb img { transform: scale(1.04); }

.proj-overlay {
  position: absolute; inset: 0;
  background: rgba(26,25,22,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.proj-card.active:hover .proj-overlay { opacity: 1; }
.proj-icon { font-size: 2.2rem; color: #fff; }

.proj-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 10px 10px;
  background: linear-gradient(to top, rgba(26,25,22,.85) 0%, transparent 100%);
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 1;
}
.proj-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: .9rem; font-weight: 600; color: #f4f4f0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 128px;
}
.proj-count {
  font-family: 'Jost', sans-serif; font-size: .55rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(244,244,240,.65); flex-shrink: 0; margin-left: 6px;
}

.carousel-hint {
  text-align: center; margin-top: 24px;
  font-family: 'Jost', sans-serif; font-size: .65rem;
  letter-spacing: 3px; text-transform: uppercase; color: var(--lt);
}


/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(14,13,12,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; padding: 20px 28px;
  gap: 16px; z-index: 2;
}
.lb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600; color: #f4f4f0;
  margin-right: auto;
}
.lb-counter {
  font-family: 'Jost', sans-serif; font-size: .7rem;
  letter-spacing: 2px; color: rgba(244,244,240,.4);
}
.lb-close {
  background: none; border: none; color: rgba(244,244,240,.5);
  font-size: 1.1rem; padding: 4px 8px; transition: color .2s;
}
.lb-close:hover { color: #f4f4f0; }
.lb-img-wrap {
  max-width: 90vw; max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  display: block;
  max-width: 90vw; max-height: 85vh;
  width: auto; height: auto; object-fit: contain;
  transition: opacity .25s ease;
}
.lb-img.fade { opacity: 0; }
.lb-video {
  display: none;
  width: 90vw; max-height: 80vh;
  outline: none; background: #000;
  border-radius: 2px;
}
.lb-video.lb-visible { display: block; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  font-size: 1.6rem; color: rgba(244,244,240,.4);
  padding: 16px 22px; transition: color .2s ease;
  z-index: 2;
}
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-prev:hover, .lb-next:hover { color: #f4f4f0; }

/* ===== GALLERY ===== */
.gallery { background: var(--bg); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  grid-auto-rows: 280px; gap: 10px;
}
.gal-item { position: relative; overflow: hidden; background: var(--bg3); }
.gal-large { grid-column: span 2; }
.gal-wide  { grid-column: span 2; }
.gal-item img { transition: transform .7s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,25,22,.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; opacity: 0; transition: opacity .4s ease;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-name {
  font-family: 'Jost', sans-serif; font-size: .8rem;
  font-weight: 500; letter-spacing: .8px; color: #f4f4f0;
}
.gal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem; font-style: italic; color: var(--gold); margin-top: 3px;
}
.gal-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Jost', sans-serif; font-size: .72rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--lt);
}
.gal-item:not(.empty) .gal-ph { display: none; }

/* ===== VIDEO ===== */
.video-sec { background: var(--bg2); }
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.video-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); }
.video-wrap iframe { width: 100%; height: 100%; border: none; }
.vk-grid { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
.vk-wrap { aspect-ratio: unset; height: 480px !important; overflow: hidden !important; background: transparent; position: relative; }
.vk-wrap > div { width: 100% !important; max-height: 480px !important; overflow: hidden !important; }
.vk-wrap iframe { width: 100% !important; max-height: 480px !important; }

/* ===== WHY ===== */
.why { background: var(--bg); }
.why-inner {
  max-width: 1200px; margin: 0 auto; padding: 112px 52px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start;
}
.why-left { position: sticky; top: 100px; }
.why-left .section-label { display: block; }
.why-left .btn { margin-top: 36px; }
.why-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-num {
  font-family: 'Jost', sans-serif; font-size: .8rem;
  letter-spacing: 2px; color: var(--gold);
  flex-shrink: 0; padding-top: 2px; width: 26px;
}
.why-item h3 {
  font-family: 'Jost', sans-serif; font-size: .82rem;
  font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--dark); margin-bottom: 7px;
}
.why-item p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--grey); line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.contact-photo {
  position: relative; overflow: hidden; background: var(--bg3);
}
.contact-photo img { transition: transform .7s var(--ease); }
.contact-photo:hover img { transform: scale(1.04); }
.contact-panel {
  padding: 80px 60px; background: var(--dark);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-heading { margin-bottom: 10px; }
.contact-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: rgba(244,244,240,.45); margin-bottom: 36px;
}
.cform { display: flex; flex-direction: column; }
.cform-field { border-bottom: 1px solid rgba(255,255,255,.1); transition: border-color .3s ease; }
.cform-field:focus-within { border-bottom-color: var(--gold); }
.cform-field input,
.cform-field select,
.cform-field textarea {
  width: 100%; background: transparent; border: none;
  outline: none; padding: 15px 0;
  font-family: 'Jost', sans-serif; font-size: .88rem;
  color: #f4f4f0; cursor: none;
}
.cform-field input::placeholder,
.cform-field textarea::placeholder { color: rgba(244,244,240,.3); }
.cform-field select { color: rgba(244,244,240,.3); }
.cform-field select option { background: var(--dark); color: #f4f4f0; }
.cform-field textarea { resize: none; }
.cform-field:last-of-type { border-bottom: none; padding-top: 24px; }
.form-success {
  display: none; font-family: 'Jost', sans-serif;
  font-size: .72rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-top: 14px;
}
.form-error {
  display: none; font-family: 'Jost', sans-serif;
  font-size: .72rem; letter-spacing: .5px;
  color: #e08a8a; margin-top: 14px; line-height: 1.6;
}
.contact-or {
  display: flex; align-items: center; gap: 14px; margin-top: 24px;
}
.contact-or span {
  font-family: 'Jost', sans-serif; font-size: .72rem;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(244,244,240,.35);
}
.contact-info {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-info a, .contact-info span {
  font-family: 'Jost', sans-serif; font-size: .78rem;
  color: rgba(244,244,240,.4); transition: color .3s ease;
}
.contact-info a:hover { color: var(--gold); }

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  color: rgba(244,244,240,.85);
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.social-link:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(184,148,88,.15);
}
.contact-social { margin-top: 20px; }
.contact-social .social-link {
  border-color: rgba(255,255,255,.3); color: rgba(244,244,240,.75);
}
.mm-social {
  margin-top: 28px; justify-content: center;
}
.mm-social .social-link {
  width: 44px; height: 44px;
  border-color: rgba(26,25,22,.25); color: var(--dark);
}
.mm-social .social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ===== FOOTER ===== */
.footer {
  background: var(--hero-bg);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 52px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: .5px; color: var(--gold);
}
.footer-copy {
  font-family: 'Jost', sans-serif;
  font-size: .7rem; color: rgba(244,244,240,.3);
}
.footer-nav { display: flex; gap: 22px; }
.footer-nav a {
  font-family: 'Jost', sans-serif; font-size: .68rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(244,244,240,.3); transition: color .3s ease;
}
.footer-nav a:hover { color: var(--gold); }

/* ===== HERO BADGES ===== */
.hero-badges {
  margin-top: 1.4rem;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
}
.review-card {
  background: var(--bg2);
  padding: 2.5rem 2rem;
}
.review-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  color: var(--gold);
  line-height: 0.7;
  margin-bottom: 1.2rem;
  opacity: 0.4;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.8rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-lt);
  border: 1px solid rgba(184,148,88,.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.review-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
}
.review-src {
  display: block;
  font-size: 0.72rem;
  color: var(--lt);
  margin-top: 0.2rem;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border: 1px solid var(--border); background: var(--bg2);
  color: var(--dark); display: flex; align-items: center;
  justify-content: center; font-size: .9rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, background .3s ease, border-color .3s ease;
  z-index: 100;
}
.scroll-top.vis { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ===== KEYFRAMES ===== */
@keyframes slideUp   { to { transform: translateY(0); } }
@keyframes fadeIn    { to { opacity: 1; } }
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lineSlide {
  0%  { left: -100%; }
  50% { left: 100%; }
  51% { left: -100%; }
  100%{ left: 100%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container, .stats-grid, .about-inner, .why-inner, .footer-inner { padding-left: 32px; padding-right: 32px; }
  .nav { padding: 0 32px; }
  .hero-content { padding: 100px 32px 80px; }
  .process-list { grid-template-columns: repeat(2,1fr); }
  .process-item:nth-child(2n) { border-right: none; }
  .process-item:nth-child(3),
  .process-item:nth-child(4) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .hero-content   { grid-template-columns: 1fr; }
  .hero-right     { justify-content: center; margin-top: 32px; }
  .hero-img-wrap  { max-width: 100%; height: 340px; }
  .lead-magnet    { margin-top: -60px; padding-bottom: 40px; }
  .lead-card      { padding: 30px 24px; }
  .about-inner    { grid-template-columns: 1fr; }
  .catalog-grid   { grid-template-columns: repeat(2,1fr); }
  .catalog-tile   { height: 280px; }
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .ba-grid        { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: repeat(2,1fr); }
  .gal-large, .gal-wide { grid-column: span 2; }
  .video-grid     { grid-template-columns: 1fr 1fr; }
  .video-grid .video-wrap:last-child { grid-column: span 2; }
  .vk-grid        { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid   { grid-template-columns: 1fr; }
  .why-inner      { grid-template-columns: 1fr; }
  .why-left       { position: static; }
  .contact        { grid-template-columns: 1fr; }
  .contact-photo  { display: none; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .nav-links, .nav-phone, .nav-social { display: none; }
  .burger { display: flex; }
  .section { padding: 60px 0; }
  .container, .stats-grid, .about-inner, .why-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 0 20px; }
  .hero-content { padding: 80px 20px 50px; gap: 32px; }
  .hero-scroll  { left: 20px; }
  .hero-heading { font-size: clamp(1.8rem, 9vw, 2.8rem); }
  .section-heading { font-size: clamp(1.3rem, 6vw, 2rem); }
  .why-heading { font-size: clamp(2rem, 9vw, 3.5rem); }
  .catalog-tile   { height: 220px; }
  .catalog-tile-label { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .vk-grid        { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-list  { grid-template-columns: 1fr 1fr; }
  .process-item  { border-right: 1px solid var(--border) !important; }
  .process-item:nth-child(even) { border-right: none !important; }
  .gallery-grid  { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gal-large, .gal-wide { grid-column: span 1; }
  .contact-panel { padding: 50px 20px; }
  .contact-heading { font-size: clamp(1.3rem, 6vw, 2rem); }
  .footer-inner  { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer-nav    { justify-content: center; flex-wrap: wrap; }
  .carousel-scene { height: 220px; }
  .carousel-hint { font-size: .6rem; letter-spacing: 2px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border); }
  .lb-prev { left: 2px; padding: 12px 14px; }
  .lb-next { right: 2px; padding: 12px 14px; }
  * { cursor: auto !important; }
  .cursor, .cursor-ring { display: none; }
}

/* ===== ФИЛЬТР ПО РАЗДЕЛАМ (кухни / ванные / детские …) =====
   13.08.2026: портфолио разложено по помещениям. Кнопки рисуются из
   CATEGORIES в script.js и стоят над каруселью и над галереей. */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 42px;
}

.cat-chip {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--grey);
  cursor: pointer;
  transition: color .28s ease, border-color .28s ease, background .28s ease;
}

.cat-chip:hover {
  color: var(--dark);
  border-color: rgba(184, 148, 88, .5);
}

.cat-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.gal-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Jost', sans-serif;
  color: var(--lt);
}

@media (max-width: 640px) {
  .cat-filter { gap: 7px; margin-bottom: 30px; }
  .cat-chip   { padding: 8px 15px; font-size: .68rem; letter-spacing: 1px; }
}

/* ===== ВИДЕООТЗЫВ =====
   13.08.2026: рубрика отзывов получила живое видео клиента.
   Вертикальный ролик с телефона — держим 9:16 и ограничиваем высоту,
   иначе на десктопе он растягивает секцию на два экрана. */
.review-video {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 40px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto 56px;
  padding: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.review-video-player {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 460px;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
}

.review-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-video-text .review-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: .6;
  color: var(--gold);
  opacity: .5;
  margin-bottom: 14px;
}

.review-video-quote {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

@media (max-width: 780px) {
  .review-video {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 22px;
  }
  .review-video-player { max-height: 60vh; margin: 0 auto; width: 100%; max-width: 300px; }
  .review-video-quote  { font-size: .94rem; }
}


/* 15.08.2026: чекбокс согласия на обработку ПД в формах + юр-ссылки в футере.
   Добавлено по SEO-аудиту: формы собирали имя и телефон без согласия — это
   нарушение 152-ФЗ. Чекбокс по умолчанию снят, required блокирует отправку. */
.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--lt);
  cursor: pointer;
  margin: 2px 0 6px;
}
/* блок «Контакт» тёмный — там текст согласия светлее */
.cform-consent { padding: 14px 0 4px; }
.cform-consent .consent { color: rgba(244, 244, 240, .55); margin: 0; }
.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--gold, #c9a227);
  cursor: pointer;
}
.consent a { color: var(--gold, #c9a227); text-decoration: underline; }
.consent a:hover { opacity: .8; }

.footer-legal a { opacity: .68; }
.footer-legal a:hover { opacity: 1; }


/* 15.08.2026: часы работы. Пункт 67 чек-листа — не были указаны нигде,
   при этом это первое, что спрашивают и человек, и голосовой помощник. */
.contact-hours { opacity: .75; }
.footer-hours { font-size: .78rem; opacity: .6; }


/* 16.08.2026: страница контактов — пункт 82 чек-листа. Не было ни карты проезда,
   ни реквизитов, ни режима работы отдельной страницей: только якорь на главной. */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 28px 0 36px;
}
.kontakt-card {
  border: 1px solid rgba(184, 148, 88, .35);
  border-radius: 6px;
  padding: 22px 24px;
}
.kontakt-card h2 {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 12px; opacity: .6;
}
.k-big { font-size: 1.05rem; line-height: 1.5; margin: 0 0 10px; }
.k-big a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gold); }
.k-note { font-size: .84rem; opacity: .62; margin: 0; }
.k-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 10px; }
.k-links a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; }
.k-links a:hover { border-bottom-color: var(--gold); }
.k-links-wide { margin: 14px 0 30px; font-size: .95rem; }
.kontakt-map {
  margin: 18px 0 36px; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(184, 148, 88, .35);
}
.kontakt-map iframe { display: block; border: 0; }
.k-req { width: 100%; border-collapse: collapse; margin: 14px 0 34px; font-size: .92rem; }
.k-req td { padding: 11px 0; border-bottom: 1px solid rgba(184, 148, 88, .2); vertical-align: top; }
.k-req td:first-child { width: 38%; opacity: .6; padding-right: 18px; }
@media (max-width: 560px) {
  .k-req td { display: block; }
  .k-req td:first-child { width: auto; padding-bottom: 2px; border: 0; }
}


/* 16.08.2026: светлые страницы (всё, кроме главной) — шапка на белом фоне.
   .nav-phone задан под тёмный герой главной и на белом почти не читается. */
body.doc .nav-phone,
body.doc .nav-logo,
body.doc .nav-links a { color: var(--dark); }
body.doc .nav-phone { opacity: .85; }
body.doc .nav-phone:hover,
body.doc .nav-links a:hover { color: var(--gold) !important; opacity: 1; }


/* 06.09.2026: телефон убран с сайта — вместо него кнопки прямо в чат.
   Звонки не принимаем, вся связь идёт через WhatsApp и Telegram. */
.nav-chat { display: flex; align-items: center; gap: 8px; }
/* на внутренних страницах в шапке только логотип и кнопки — прижимаем их вправо */
.doc .nav-chat { margin-left: auto; }
.nav-chat-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Jost', sans-serif; font-size: .72rem; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  color: #fff !important;
  transition: background .25s ease, transform .2s ease;
}
.nav-chat-btn:hover { transform: translateY(-1px); color: #fff !important; }
.nav-chat-btn:active { transform: scale(.97); }
.nav-chat-wa { background: #25D366; }
.nav-chat-wa:hover { background: #1da851; }
.nav-chat-tg { background: #229ED9; }
.nav-chat-tg:hover { background: #1b87ba; }

@media (max-width: 900px) {
  .nav-chat-btn span { display: none; }
  .nav-chat-btn { padding: 9px; }
}
/* на узких экранах кнопки в чат остаются: это главный способ связи */
@media (max-width: 640px) {
  .nav-chat { margin-left: auto; margin-right: 14px; }
}


/* ===== КВИЗ РАСЧЁТА КУХНИ (13.09.2026) =====
   Сделан по образцу второго сайта владельца: шаги со счётчиком и репликами
   дизайнера. Ширина ограничена — длинная строка в вопросе читается хуже. */
.quiz-section { background: var(--bg2); }
.quiz-wrap { max-width: 720px; margin: 0 auto; }
.quiz-lead { text-align: center; margin-bottom: 28px; }
.quiz-lead .section-heading { margin-bottom: 10px; }
.quiz-box {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 28px 26px 26px; min-height: 380px;
}

.quiz-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.quiz-count {
  font-family: 'Jost', sans-serif; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--lt); white-space: nowrap;
}
.quiz-bar { flex: 1; height: 2px; background: var(--bg3); border-radius: 2px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--gold); transition: width .4s var(--ease); }

/* Реплика дизайнера */
.quiz-guide { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.quiz-guide__ava {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
}
.quiz-guide__body { flex: 1; }
.quiz-guide__name {
  display: block; font-family: 'Jost', sans-serif; font-size: .76rem;
  color: var(--dark); font-weight: 500;
}
.quiz-guide__name i { font-style: normal; color: var(--lt); font-weight: 400; }
.quiz-guide__msg {
  margin: 5px 0 0; font-size: .9rem; line-height: 1.5; color: var(--grey);
  background: var(--bg2); border-radius: 3px 12px 12px 12px; padding: 10px 13px;
}

.quiz-q {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 600; color: var(--dark); line-height: 1.25; margin: 0 0 18px;
}
.quiz-sub { font-size: .92rem; color: var(--grey); line-height: 1.6; margin: -8px 0 20px; }
.quiz-sub_hint { margin-top: 18px; margin-bottom: 12px; }

.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  text-align: left; font-family: 'Jost', sans-serif; font-size: .95rem;
  padding: 15px 18px; border: 1px solid var(--border); border-radius: 3px;
  background: #fff; color: var(--text); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.quiz-opt:hover { border-color: var(--gold); background: var(--gold-lt); }
.quiz-opt:active { transform: scale(.995); }
.quiz-opt.is-on { border-color: var(--gold); background: var(--gold-lt); }

.quiz-form { display: flex; flex-direction: column; gap: 12px; }
.quiz-input {
  font-family: 'Jost', sans-serif; font-size: .95rem; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 3px; background: #fff; color: var(--text);
}
.quiz-input:focus { outline: none; border-color: var(--gold); }
.quiz-send { margin-top: 4px; }
.quiz-err {
  display: none; font-size: .85rem; color: #a4402f; line-height: 1.5;
}

.quiz-nav { margin-top: 18px; }
.quiz-back {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: .82rem; color: var(--lt);
}
.quiz-back:hover { color: var(--gold); }

.quiz-jump { display: inline-block; }
.quiz-jump_wa { background: #25D366; border-color: #25D366; color: #fff; }
.quiz-jump_wa:hover { background: #1da851; border-color: #1da851; color: #fff; }

@media (max-width: 640px) {
  .quiz-box { padding: 20px 16px; }
  .quiz-opt { padding: 14px 15px; }
}

/* ===== ОКНО ПРИ УХОДЕ СО СТРАНИЦЫ =====
   Показывается один раз, дальше молчит неделю (метка в localStorage). */
.exit-popup {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(26,25,22,.72); backdrop-filter: blur(3px);
}
.exit-popup.is-open { display: flex; }
.exit-card {
  position: relative; background: #fff; border-radius: 5px;
  max-width: 440px; width: 100%; padding: 34px 30px 28px;
  animation: exitIn .35s var(--ease);
}
@keyframes exitIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.exit-close {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  font-size: 1.6rem; line-height: 1; color: var(--lt); cursor: pointer; padding: 4px 8px;
}
.exit-close:hover { color: var(--dark); }
.exit-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 600;
  color: var(--dark); margin: 0 0 10px; line-height: 1.2;
}
.exit-sub { font-size: .93rem; color: var(--grey); line-height: 1.6; margin: 0 0 20px; }
.exit-form { display: flex; flex-direction: column; gap: 11px; }
.exit-note { font-size: .78rem; color: var(--lt); line-height: 1.5; margin: 12px 0 0; }
.exit-note a { color: var(--lt); text-decoration: underline; }
.exit-err { display: none; font-size: .85rem; color: #a4402f; }

@media (max-width: 480px) {
  .exit-card { padding: 28px 20px 22px; }
}
