/* ===== БАЗОВЫЕ СТИЛИ ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Страницы без hero — отступ под fixed-хедер */
body:not(.has-hero) {
  padding-top: var(--header-height);
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-main);
}

input, textarea, select {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
}

/* Контейнер */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-graphite);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-xl); }
h3 { font-size: var(--font-size-lg); }
h4 { font-size: var(--font-size-md); }

/* Секции */
.section {
  padding: var(--spacing-section) 0;
}

.section-title {
  font-size: var(--font-size-xl);
  color: var(--color-graphite);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
}

/* Текст */
.text-accent  { color: var(--color-accent); }
.text-muted   { color: var(--color-text-secondary); }
.text-center  { text-align: center; }
.text-bold    { font-weight: 700; }

/* Утилиты */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
