/* Kuzmina Design — пакет для Tilda */
/* Подключение: Настройки сайта → Ещё → HTML-код для вставки внутрь HEAD */
/* или загрузите файл в «Файлы проекта» и укажите ссылку в блоке T123 */

.kd-wrap {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.kd-wrap img { max-width: 100%; height: auto; display: block; }
.kd-wrap a { color: inherit; text-decoration: none; }
.kd-wrap ul { list-style: none; margin: 0; padding: 0; }

/* Kuzmina Design — warm brown premium interior studio */
:root {
  --bg-dark: #1a1410;
  --bg-card: #2a211a;
  --bg-medium: #3d3028;
  --bg-light: #ebe4d9;
  --bg-light-alt: #f5efe6;
  --gold: #a67c52;
  --gold-light: #c9a07a;
  --gold-dark: #7d5a3c;
  --text: #f8f4ef;
  --text-muted: rgba(248, 244, 239, 0.68);
  --text-dark: #2c1f17;
  --text-dark-muted: #6b5a4a;
  --border: rgba(166, 124, 82, 0.35);
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(61, 48, 40, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(44, 31, 23, 0.3) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(26, 20, 16, 0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.logo span { color: var(--gold); }

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav a:hover { color: var(--gold); }

.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  font-size: 0.9rem;
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold); }

.messengers {
  display: flex;
  gap: 10px;
  align-items: center;
}

.messenger-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  background: transparent;
}
.messenger-btn:hover {
  border-color: var(--gold);
  background: rgba(166, 124, 82, 0.15);
}
.messenger-btn svg { width: 18px; height: 18px; fill: currentColor; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,20,16,0.88) 0%, rgba(44,31,23,0.55) 50%, rgba(26,20,16,0.92) 100%),
    url('https://static.tildacdn.com/tild3562-6364-4534-b065-646136333263/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
}

.hero__text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 400;
}
.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--light {
  background: var(--bg-light);
  color: var(--text-dark);
}
.section--light .section-subtitle { color: var(--text-dark-muted); }
.section--light .section-label { color: var(--gold-dark); }
.section--light .about__quote { color: var(--gold-dark); border-left-color: var(--gold-dark); }
.section--light .about__role { color: var(--text-dark-muted); }
.section--light .benefit-card,
.section--light .review-card { background: #fff; border-color: rgba(166, 124, 82, 0.2); }
.section--light .benefit-card p,
.section--light .review-card__text { color: var(--text-dark-muted); }
.section--light .benefit-card strong { color: var(--gold-dark); }

/* Pain points */
.pain-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.pain-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px 80px;
  align-items: start;
}

.pain-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 32px;
}
.pain-headline span { display: block; }
.pain-headline__gold { color: var(--gold-light); }
.pain-headline__white { color: var(--text); }

.pain-intro__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 480px;
}

.pain-intro__stat {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
}
.pain-intro__stat strong {
  color: var(--text);
  font-weight: 500;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pain-item__cross {
  flex-shrink: 0;
  margin-top: 4px;
  color: rgba(196, 110, 100, 0.55);
  line-height: 0;
}

.pain-item__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}
.pain-item__text strong {
  color: rgba(201, 160, 122, 0.85);
  font-weight: 500;
}

.pain-solution {
  margin-top: 56px;
  padding: 32px 36px;
  border: 1px solid rgba(166, 124, 82, 0.45);
  background: rgba(42, 33, 26, 0.6);
  max-width: 900px;
}

.pain-solution__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.pain-solution__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

@media (max-width: 900px) {
  .pain-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pain-intro__text,
  .pain-intro__stat {
    max-width: none;
  }
  .pain-solution {
    margin-top: 40px;
    padding: 24px;
  }
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__image::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.about__quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  margin: 24px 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}

.about__name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.about__role {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.benefit-card__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(166, 124, 82, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.benefit-card strong { color: var(--gold-light); }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: portfolio;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover img { transform: scale(1.05); }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  color: var(--text);
  background: linear-gradient(to top, rgba(26, 20, 16, 0.92) 0%, rgba(26, 20, 16, 0.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background var(--transition);
}
.portfolio-card:hover .portfolio-card__overlay {
  background: linear-gradient(to top, rgba(26, 20, 16, 0.98) 0%, rgba(26, 20, 16, 0.5) 100%);
}

.portfolio-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #f8f4ef;
  margin-bottom: 8px;
}
.portfolio-card__meta {
  font-size: 0.85rem;
  color: rgba(248, 244, 239, 0.78);
  margin-bottom: 16px;
}
.portfolio-card__link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}
.portfolio-card:hover .portfolio-card__link {
  opacity: 1;
  transform: translateY(0);
}

/* Портфолио: светлый текст поверх фото (перебивает Tilda и .section--light) */
.kd-wrap #portfolio .portfolio-card__overlay,
.kd-wrap #portfolio .portfolio-card__overlay h3.portfolio-card__title {
  color: #f8f4ef !important;
}
.kd-wrap #portfolio .portfolio-card__meta {
  color: rgba(248, 244, 239, 0.85) !important;
}
.kd-wrap #portfolio .portfolio-card__link {
  color: #c9a46c !important;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  position: relative;
}
.step-card__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.step-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FAQ — нативный аккордеон, JS не нужен */
.faq-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.faq-list {
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(248, 244, 239, 0.14);
}
.faq-item:first-child {
  border-top: 1px solid rgba(248, 244, 239, 0.14);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; font-size: 0; }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0.85;
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding-bottom: 24px;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Quiz */
.quiz-section {
  background: linear-gradient(180deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quiz-wrapper {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
}

.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.quiz-progress__bar {
  flex: 1;
  height: 3px;
  background: rgba(166, 124, 82, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.quiz-progress__bar.active,
.quiz-progress__bar.done {
  background: var(--gold);
}

.quiz-manager {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.quiz-manager__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.quiz-manager__info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.quiz-manager__info span {
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.quiz-manager__bubble {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.quiz-manager__bubble strong { color: var(--text); }

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-question {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: rgba(166, 124, 82, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}
.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(166, 124, 82, 0.15);
}
.quiz-option.selected {
  border-color: var(--gold);
  background: rgba(166, 124, 82, 0.22);
  color: var(--gold-light);
}

.quiz-options--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.quiz-step-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quiz-result {
  text-align: center;
  padding: 24px 0;
}
.quiz-result__icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.quiz-form .form-messengers { margin-bottom: 0; }

/* Callback form */
.callback-section {
  background: linear-gradient(135deg, #2c2118 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.callback-form {
  max-width: 560px;
  margin: 48px auto 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group select option { background: var(--bg-dark); }

.form-messengers {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.form-messenger {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.form-messenger.active,
.form-messenger:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.form-checkbox input { margin-top: 4px; accent-color: var(--gold); }
.form-checkbox a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.review-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.review-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.review-card__author {
  font-weight: 600;
  font-size: 0.9rem;
}
.review-card__project {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 4px;
}

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(rgba(26,20,16,0.82), rgba(44,31,23,0.88)),
    url('https://static.tildacdn.com/tild6532-3333-4362-b533-333937303636/cta-banner.jpg') center/cover;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer ul a:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal {
  text-align: right;
  line-height: 1.8;
}

/* Project page */
.project-hero {
  padding: 140px 0 60px;
  position: relative;
}
.project-hero__image {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  margin-top: 40px;
}

.project-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.project-meta__item span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.project-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.project-content h2 {
  font-size: 1.8rem;
  margin: 48px 0 16px;
}
.project-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.project-content ul {
  margin: 16px 0 24px 20px;
  list-style: disc;
}
.project-content li {
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0;
}
.project-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.project-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* Renovation timeline — один ракурс, этапы */
.renovation-section {
  padding: 80px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}
.renovation-section .section-title {
  color: var(--text-dark);
}
.renovation-section .section-subtitle {
  color: var(--text-dark-muted);
  margin-bottom: 48px;
}

.renovation-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.renovation-step__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ddd;
}
.renovation-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.renovation-step:hover .renovation-step__image img {
  transform: scale(1.03);
}
.renovation-step__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: var(--gold);
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.renovation-step__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 16px 0 6px;
  color: var(--text-dark);
}
.renovation-step__desc {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
}

/* Before / After slider */
.ba-section {
  padding: 80px 0 100px;
}
.ba-section .section-title {
  margin-bottom: 12px;
}
.ba-section .section-subtitle {
  margin-bottom: 40px;
}
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  background: #1a1410;
}
.ba-slider__after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid #fff;
  will-change: width;
}
.ba-slider__before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 3;
  pointer-events: none;
}
.ba-slider__arrow {
  font-size: 1.1rem;
  color: var(--bg-dark);
  line-height: 1;
  font-weight: 600;
}
.ba-slider__label {
  position: absolute;
  bottom: 20px;
  padding: 8px 16px;
  background: rgba(26, 20, 16, 0.75);
  color: #f8f4ef;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}
.ba-slider__label--before { left: 20px; }
.ba-slider__label--after { right: 20px; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--gold); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.back-link:hover { opacity: 0.8; }

/* Floating callback button */
.floating-callback {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  padding: 16px 24px;
  background: var(--gold);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(166, 124, 82, 0.35);
  transition: all var(--transition);
}
.floating-callback:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(166, 124, 82, 0.45);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
}
.mobile-menu .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .project-gallery { grid-template-columns: 1fr; }
  .renovation-timeline { grid-template-columns: repeat(2, 1fr); }
  .footer__legal { text-align: left; }
  .quiz-wrapper { padding: 24px 20px; }
  .quiz-options--grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .renovation-timeline { grid-template-columns: 1fr; }
}

/* Скрытая форма BF204 (заявки с HTML-формы на главной) */
#rec2929256901 {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  z-index: -1 !important;
  clip: rect(0, 0, 0, 0) !important;
}