:root {
  --bg-main: #0F0F13;
  --bg-surface: #17171C;
  --bg-surface-elev: #1E1E24;
  --border-gold: rgba(204, 172, 112, 0.25);
  --border-dim: #2D2D35;
  --text-primary: #F2F2F4;
  --text-muted: #A4A3A9;
  --gold-accent: #CCAC70;
  --gold-light: #E3C68F;
  --gold-grad: linear-gradient(135deg, #B08A4A, #E7D3A5 45%, #B08A4A);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 3px;
  --container-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: hidden; scroll-behavior: smooth; background-color: var(--bg-main); color: var(--text-primary);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background-color: var(--bg-main); color: var(--text-primary); overflow-x: hidden;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.italic-accent { font-style: italic; color: var(--gold-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans);
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-accent); margin-bottom: 12px;
}
.eyebrow::after { content: "♦"; font-size: 8px; color: var(--gold-accent); opacity: 0.7; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-alt { background-color: var(--bg-surface); border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-desc { color: var(--text-muted); margin-top: 14px; font-size: 1.05rem; }
.gold-line { height: 1px; background: var(--border-gold); margin: 32px 0; }
.double-line { border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold); height: 4px; margin: 20px auto; max-width: 120px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(15, 15, 19, 0.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-gold);
  height: 76px; display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-link { display: flex; flex-direction: column; }
.logo-text {
  font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: 0.18em;
  background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1;
}
.logo-tag { font-size: 8px; letter-spacing: 0.32em; color: var(--text-muted); text-transform: uppercase; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--text-primary); letter-spacing: 0.04em;
  position: relative; padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--gold-grad); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: 13px; font-weight: 500; color: var(--gold-light); white-space: nowrap; }
.header-phone:hover { color: #fff; }
.lang-switch {
  display: flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-muted); border: 1px solid var(--border-dim); padding: 3px 8px; border-radius: var(--radius);
}
.lang-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 2px 4px; font-size: 11px; }
.lang-btn.active { color: var(--gold-accent); font-weight: 600; }
.burger-btn {
  display: none; background: none; border: 1px solid var(--border-gold);
  border-radius: var(--radius); color: var(--gold-accent); padding: 8px 12px; cursor: pointer; font-size: 18px;
}

/* Footer */
.site-footer {
  background: #0B0B0E; border-top: 1px solid var(--border-gold);
  padding-top: 64px; padding-bottom: 24px; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo-text { font-size: 24px; margin-bottom: 4px; }
.footer-tagline { color: var(--text-muted); font-size: 13px; margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border-dim); font-size: 12px; color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 20px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99; display: flex; align-items: center;
  gap: 10px; background: var(--bg-surface-elev); border: 1px solid var(--border-gold);
  padding: 10px 18px; border-radius: 999px; color: var(--text-primary); font-size: 13px;
  font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.5); transition: all 0.25s ease;
}
.wa-float:hover {
  border-color: var(--gold-accent); box-shadow: 0 10px 30px rgba(204,172,112,0.25);
  transform: translateY(-2px); color: var(--gold-light);
}
.wa-icon { width: 18px; height: 18px; fill: #25D366; }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .burger-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .site-header { height: 68px; }
  .header-actions { gap: 10px; }
  .header-actions .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-pad { padding: 50px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}
