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

:root {
  --bg-dark: #0d0907;
  --bg-card: #1a1210;
  --bg-card-hover: #231a16;
  --text-primary: #f5ece6;
  --text-secondary: #c4b5ab;
  --accent: #e8772e;
  --accent-glow: #ff9a44;
  --accent-dark: #c45a10;
  --gold: #d4a054;
  --border: rgba(232, 119, 46, 0.15);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SKIP LINK (accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 8px 8px;
  z-index: 999;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== FOCUS STYLES (accessibility) ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.section-title .fire { color: var(--accent); }

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 25px rgba(232, 119, 46, 0.3);
}

.btn-primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 8px 40px rgba(232, 119, 46, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ===== DECORATIVE SEPARATOR ===== */
.section-sep {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 2rem;
  border: none;
}

/* ===== FIRE GLOW DECORATION ===== */
.glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 119, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.glow-1 { top: -100px; right: -100px; }
.glow-2 { bottom: 30%; left: -150px; }

/* ===== RESPONSIVE (общее) ===== */
@media (max-width: 768px) {
  section { padding: 3.5rem 1.25rem; }
}
