/* main.css - общие стили для всех страниц */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #07070c;
  background-image: radial-gradient(circle at 25% 0%, rgba(30, 30, 45, 0.4) 0%, #07070c 95%);
  font-family: 'Inter', sans-serif;
  color: #eceef5;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f0f17; }
::-webkit-scrollbar-thumb { background: #c5a572; border-radius: 6px; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 165, 114, 0.25);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #f5e7d3, #c5a572);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo span { font-weight: 400; color: #c5a572; background: none; -webkit-background-clip: unset; }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: #cfd8e6;
  transition: 0.25s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active-link { color: #e4c087; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e4c087;
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.menu-icon { display: none; font-size: 1.8rem; color: #e4c087; cursor: pointer; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 40px;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: #c5a572;
  color: #07070c;
  box-shadow: 0 12px 24px -8px rgba(197, 165, 114, 0.3);
  border: none;
}
.btn-primary:hover {
  background: #d8b77d;
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -12px rgba(197, 165, 114, 0.4);
}
.btn-outline {
  border: 1px solid rgba(197, 165, 114, 0.7);
  color: #e4c087;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(197, 165, 114, 0.1);
  border-color: #e4c087;
  transform: translateY(-2px);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
  background: linear-gradient(120deg, #ffffff, #e4c087);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.appear {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #07070cdf;
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 24px;
    margin-top: 20px;
  }
  .nav-links.active { display: flex; }
  .menu-icon { display: block; }
  .section-title { font-size: 2.2rem; }
}