:root {
  --color-bg: #f5f3f0;
  --color-text: #2d495e;
  --color-accent: #9ea06e;
  --color-white: #ffffff;
  --radius-card: 24px;
  --section-padding-x: 5%;
  --section-head-padding-top: 51px;
  --section-head-label-title-gap: 30px;
  --section-head-title-content-gap: 51px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Noto Serif", "Times New Roman", serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
  pointer-events: none;
}

/* Горизонтальные отступы секций */
.section {
  width: 100%;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

.section__inner {
  width: 100%;
}

.section--spacer {
  min-height: 50vh;
  background: var(--color-bg);
}

/* Шапка секции */
.section--has-head {
  padding-top: var(--section-head-padding-top);
}

.section-header {
  margin-bottom: var(--section-head-title-content-gap);
}

.section-header__heading {
  display: flex;
  flex-direction: column;
  gap: var(--section-head-label-title-gap);
  min-width: 0;
}

.section-header__label {
  margin: 0;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #2D495E;
}

.section-header__title {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-header--with-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 24px;
  align-items: start;
}

.section-header--with-actions .section-header__heading {
  grid-column: 1;
}

.section-header--with-actions .section-header__actions {
  grid-column: 2;
  grid-row: 1;
  flex-shrink: 0;
}

@media (min-width: 901px) {
  :root {
    --section-head-padding-top: 92px;
    --section-head-label-title-gap: 40px;
    --section-head-title-content-gap: 55px;
  }
}
