@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Nunito:wght@300;400;600;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Base ── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-dark);
  background: var(--c-cream);
  overflow-x: hidden;
}

/* ── Типографика ── */
h1 {
  font-family: var(--f-heading);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--f-heading);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
}

h3 {
  font-family: var(--f-heading);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.25;
}

h4 {
  font-family: var(--f-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

p { max-width: 68ch; }

strong { font-weight: 700; }

/* ── Утилиты ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section--cream { background: var(--c-cream); }
.section--white { background: var(--c-white); }
.section--dark  { background: var(--c-dark); color: var(--c-cream); }

.section__label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-saffron);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1.5rem;
  color: var(--c-dark);
}

.section--dark .section__title { color: var(--c-cream); }

.section__subtitle {
  font-size: 1.15rem;
  color: var(--c-dark-mid);
  margin-bottom: 3rem;
  max-width: 60ch;
}

.section--dark .section__subtitle { color: var(--c-gold); opacity: 0.85; }

/* ── Декоративная линия ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.2;
}
.ornament__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-saffron);
}
