/* ═══════════════════════════════════════════════════
   base.css — общие стили для всех страниц сайта
   ai-melissa.space
   ═══════════════════════════════════════════════════ */

/* ─── ПЕРЕМЕННЫЕ ─── */
:root {
  --cream:       #F7F3EE;
  --warm-white:  #FDFAF6;
  --charcoal:    #1C1A18;
  --mid:         #5C5550;
  --light:       #9C9490;
  --gold:        #B8955A;
  --gold-light:  #D4AF7A;
  --blush:       #E8D5C4;
  --blush-deep:  #C9A98A;
  --line:        #E2D9D0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── STICKY NAV — общая база ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(28, 26, 24, 0.92);

  /* FIX: вендорный префикс для Safari / iOS WebKit */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(184, 149, 90, 0.15);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
  /* Предотвращаем сжатие логотипа при узкой вьюпорте */
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--gold);
}

/* ─── ТИПОГРАФИКА СЕКЦИЙ ─── */
.section-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 48px;
}

/* ─── АНИМАЦИЯ ПОЯВЛЕНИЯ ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ─── INLINE CTA (кнопка-ссылка с рамкой) ─── */
.inline-cta-wrap {
  margin-top: 48px;
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(184, 149, 90, 0.6);
  color: var(--gold);
  text-decoration: none;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s;
}

.inline-cta:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.inline-cta-wrap .cta-note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.22);
}

.inline-cta-wrap.on-light .cta-note {
  color: var(--light);
}
