/* ===== Сброс и переменные ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c8a96e;
  --gold-light: #dbb978;
  --gold-dark: #a0845c;
  --wood: #8b6c42;
  --wood-dark: #6b5232;
  --bg: #0f0e0c;
  --bg-warm: #161310;
  --bg-card: #1c1915;
  --bg-card-hover: #242019;
  --text: #f0ece4;
  --text-muted: #a09888;
  --radius: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Типографика ===== */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

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

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 110, 0.3);
}

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

.btn--outline:hover {
  background: rgba(200, 169, 110, 0.1);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* ===== Шапка ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  padding: 0.6rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo__icon {
  color: var(--gold);
  font-size: 1.5rem;
}

.logo__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.nav { display: flex; gap: 2rem; }

.nav__link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
  display: inline-block;
}

.hero__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
}

.hero__shape--1 {
  width: 300px; height: 300px;
  background: var(--gold);
  top: -50px; right: -30px;
}

.hero__shape--2 {
  width: 200px; height: 200px;
  background: var(--wood);
  bottom: -30px; left: 10px;
}

.hero__shape--3 {
  width: 120px; height: 120px;
  background: var(--gold-light);
  top: 30%; left: -20px;
}

.hero__image-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid rgba(200, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(200, 169, 110, 0.08), transparent 70%);
}

.hero__placeholder {
  width: 60%;
  opacity: 0.7;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: fadeInUp 1.2s ease 1s both;
}

.hero__scroll-arrow {
  width: 1px; height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== О нас ===== */
.about {
  padding: 7rem 0;
  background: var(--bg-warm);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 169, 110, 0.15);
}

.stat { text-align: center; }

.stat__number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  height: 400px;
}

.about__card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(200, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: var(--transition);
  overflow: hidden;
}

.about__card:hover {
  border-color: rgba(200, 169, 110, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.about__card svg { width: 100%; height: auto; opacity: 0.85; }

.about__card--1 { grid-column: 1 / -1; }

/* ===== Каталог ===== */
.catalog {
  padding: 7rem 0;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(200, 169, 110, 0.08);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(200, 169, 110, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card__image {
  background: var(--bg-warm);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-bottom: 1px solid rgba(200, 169, 110, 0.08);
}

.card__image svg {
  width: 100%;
  max-width: 240px;
  height: auto;
  opacity: 0.85;
  transition: var(--transition);
}

.card:hover .card__image svg {
  opacity: 1;
  transform: scale(1.03);
}

.card__body { padding: 1.5rem; }

.card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.card__tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  background: rgba(200, 169, 110, 0.1);
  color: var(--gold);
  font-weight: 500;
}

/* ===== Преимущества ===== */
.features {
  padding: 7rem 0;
  background: var(--bg-warm);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(200, 169, 110, 0.06);
  transition: var(--transition);
}

.feature:hover {
  border-color: rgba(200, 169, 110, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature__icon {
  width: 48px; height: 48px;
  margin-bottom: 1.2rem;
}

.feature__icon svg { width: 100%; height: 100%; }

.feature__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== Контакты ===== */
.contacts {
  padding: 7rem 0;
}

.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacts__desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contacts__items { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(200, 169, 110, 0.06);
  transition: var(--transition);
  cursor: pointer;
}

.contact-item:hover {
  border-color: rgba(200, 169, 110, 0.2);
  background: var(--bg-card-hover);
}

.contact-item__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
}

.contact-item__icon svg { width: 100%; height: 100%; }

.contact-item__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-item__value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== Форма ===== */
.form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(200, 169, 110, 0.1);
}

.form__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.form__group { margin-bottom: 1.2rem; }

.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form__input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(200, 169, 110, 0.12);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form__input::placeholder { color: rgba(160, 152, 136, 0.5); }

.form__input:focus {
  border-color: var(--gold);
  background: rgba(200, 169, 110, 0.04);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.08);
}

.form__textarea { resize: vertical; min-height: 100px; }

.form__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  opacity: 0.6;
}

/* ===== Футер ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(200, 169, 110, 0.08);
  background: var(--bg-warm);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer__links a:hover { color: var(--gold); }

.footer__phone a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  transition: var(--transition);
}

.footer__phone a:hover { color: var(--gold-light); }

/* ===== Модальное окно ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background: var(--bg-card);
  border: 1px solid rgba(200, 169, 110, 0.15);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  max-width: 360px;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal.active .modal__content { transform: scale(1); }

.modal__icon {
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  background: rgba(200, 169, 110, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.modal__content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.modal__content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ===== Анимации появления ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Мобильная навигация ===== */
.nav.open {
  display: flex;
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .hero__inner,
  .about__inner,
  .contacts__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual { order: -1; }
  .hero__image-frame { max-width: 320px; margin: 0 auto; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 14, 12, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }

  .nav.open { display: flex; }

  .nav__link { font-size: 1.3rem; }

  .burger { display: flex; z-index: 101; }

  .burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .features__grid { grid-template-columns: 1fr; }

  .about__visual { height: 280px; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }

  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero__scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
