/* ============================================
   СК «Аристократ» — общие стили сайта
   Палитра: тёмно-синий + золото + кремовый
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #0E1E3A;
  --ink-soft: #2A3A5C;
  --gold: #B58A3C;
  --gold-soft: #D4B574;
  --paper: #F5F1E8;
  --paper-warm: #EAE3D2;
  --muted: #6B7280;
  --white: #FFFFFF;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1240px;
  --gutter: 40px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.serif-italic { font-style: italic; color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 30, 58, 0.0);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(14, 30, 58, 0.97);
  padding: 8px 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
/* On light pages, header starts solid */
.site-header.solid {
  background: rgba(14, 30, 58, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

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

.logo img { height: 112px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 232, 0.82);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-soft);
  transition: width 0.3s ease;
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--gold-soft); }
.nav a.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.btn:hover {
  background: var(--gold);
  color: var(--ink);
}
.btn-solid {
  background: var(--gold);
  color: var(--ink);
}
.btn-solid:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}
.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--paper);
  transition: all 0.3s ease;
}

/* ---------- Section primitives ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 18px; display: block; }
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  color: var(--ink);
}
.section-head p {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}
.section.dark h2 { color: var(--paper); }
.section.dark .section-head p { color: rgba(245,241,232,0.75); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(245,241,232,0.14);
}
.footer-brand img { height: 100px; margin-bottom: 22px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(245,241,232,0.6);
  max-width: 320px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 15px;
  color: rgba(245,241,232,0.78);
  margin-bottom: 12px;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 13px;
  color: rgba(245,241,232,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip .deco-circle {
  position: absolute;
  border: 1px solid rgba(181,138,60,0.25);
  border-radius: 50%;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.cta-inner h3 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--paper);
  max-width: 640px;
}
.cta-inner h3 em { font-style: italic; color: var(--gold-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(14,30,58,0.99);
    padding: 30px var(--gutter);
    gap: 22px;
    align-items: flex-start;
  }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 22px; }
  .section { padding: 64px 0; }
}
