/* ===== Импорт шрифта ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');
/* ===== CSS-переменные (дизайн-токены) ===== */
:root {
  --bg: #fcf6f0;
  --bg-card: rgba(255, 255, 255, 0.65);
  --accent: #ff5722;
  --accent-light: #ff7a45;
  --accent-dark: #d84315;
  --text: #1e1e1e;
  --text-muted: #5a5a5a;
  --border: #e8e0d8;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  --radius: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Сброс ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Базовые стили ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ===== Контейнер ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
/* ===== Кастомный скроллбар ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
  transition: background var(--transition);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

/* ===== Лёгкая текстура фона ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 87, 34, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255, 122, 69, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff5722' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
