/* ===== Шрифти (лише локальні файли) ===== */
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-bold-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-bold-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-bold-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-variable-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-variable-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ===== Змінні ===== */
:root {
  /* кольори */
  --color-background: #F6F1E9;
  --color-surface: #FFFDF8;
  --color-border: #EAE1D3;
  --color-border-strong: #DDD3C4;
  --color-text: #2A2521;
  --color-text-muted: #6B625A;
  --color-accent: #2F4A3A;
  --color-accent-soft: #E6EDE7;
  --color-price: #A8432A;
  --color-dark: #2A2521;
  --color-success: #3E7A52;
  --color-hero: #C9A27E;
  --color-hero-shape: #B98D67;
  --color-hero-light: #E9D7C2;
  --color-on-accent: #FFFDF8;

  /* шрифти */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;

  /* розміри шрифтів */
  --font-size-caption: 12px;
  --font-size-small: 13px;
  --font-size-body: 15px;
  --font-size-card-title: 16px;
  --font-size-logo: 28px;
  --font-size-section-title: 32px;
  --font-size-page-title: 40px;
  --font-size-hero-title: 64px;

  /* відступи */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-64: 64px;

  /* заокруглення */
  --radius-small: 12px;
  --radius-medium: 20px;
  --radius-large: 28px;
  --radius-pill: 100px;

  /* робоче поле */
  --container-width: 1280px;
  --container-padding: 32px;
}

/* ===== База ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 22px;
}

h1, h2, h3, p {
  margin: 0;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===== Логотип ===== */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-display);
  font-size: var(--font-size-logo);
  font-weight: 700;
  line-height: 30px;
}

.logo__caption {
  font-size: var(--font-size-caption);
  line-height: 16px;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

/* ===== Кнопки ===== */
.button {
  height: 52px;
  padding: 0 var(--space-24);
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: var(--font-size-body);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.button--outline {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.button--small {
  height: 40px;
  padding: 0 var(--space-16);
  font-size: var(--font-size-small);
}

/* ===== Поля форм ===== */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.field__label {
  font-size: var(--font-size-small);
  font-weight: 600;
}

.field__input {
  height: 52px;
  padding: 0 var(--space-16);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-small);
  background: var(--color-surface);
}

.field__input--textarea {
  height: 96px;
  padding: var(--space-12) var(--space-16);
  resize: vertical;
}

/* ===== Брейкпоінти ===== */
@media (max-width: 1199px) {
  :root {
    --font-size-hero-title: 56px;
  }
}

@media (max-width: 767px) {
  :root {
    --container-padding: 16px;
    --font-size-section-title: 28px;
    --font-size-page-title: 32px;
    --font-size-hero-title: 48px;
  }
}
