@charset "UTF-8";
/* ================================================
   CRAFT — "Warm Forge"

   Характер: тёплая, но серьёзная мастерская/цех.
   Графитовый ink + латунно-медный акцент на тёплом
   off-white. Заголовки — Fraunces (variable serif),
   body — Inter. Сильный контраст, белые карточки с
   тёплой тенью (есть глубина), сдержанные скругления.
   Тон — рабочий цех, не глянцевый журнал.
   ================================================ */

:root {
  /* --- Шрифты --- */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Fraunces', 'Georgia', serif;

  /* --- Базовая палитра — графит + латунь --- */
  --accent:        #B07A2E;
  --accent-dark:   #8A5A1E;
  --accent-glow:   rgba(176, 122, 46, 0.22);
  --bg:            #F4EFE8;
  --bg-2:          #EBE3D6;
  --bg-3:          #ffffff;
  --white:         #ffffff;
  --off-white:     #F4EFE8;
  --text:          #23201C;
  --text-muted:    #6B6258;
  --dark-text:     #23201C;
  --dark-muted:    #8A8073;
  --border:        #DED5C6;
  --border-dark:   rgba(35, 32, 28, 0.12);
  --radius:        6px;       /* база — для не-кнопочных элементов */
  --radius-lg:     12px;
  --shadow:        0 4px 20px rgba(35, 32, 28, 0.08);
  --shadow-lg:     0 14px 40px rgba(35, 32, 28, 0.14);
  --container:     1080px;    /* уже — book-like */

  /* --- Семантические токены --- */
  --heading-fg:    var(--text);
  --logo-fg:       var(--text);
  --logo-accent-fg: var(--accent);
  --step-num-bg:   var(--accent);
  --step-num-fg:   var(--white);

  /* --- RGB-фрагменты --- */
  --accent-rgb:        176, 122, 46;
  --on-dark-rgb:       35, 32, 28;
  --surface-dark-rgb:  244, 239, 232;

  /* --- Декоративные градиенты --- */
  --hero-bg:            var(--bg);
  --hero-decor-1:       none;
  --hero-decor-2:       none;
  --hero-image-bg:      var(--bg-2);
  --hero-image-overlay: none;
  --cta-form-bg:        var(--bg-2);
  --cta-form-decor:     none;

  /* --- Поверхности --- */
  --footer-bg:                 #23201C;
  --header-overlay-bg:         rgba(250, 246, 238, 0.95);
  --mobile-menu-bg:            rgba(250, 246, 238, 0.99);
  --float-card-bg:             var(--white);
  --modal-overlay-bg:          rgba(42, 31, 21, 0.50);

  /* --- Видео-плеер --- */
  --video-frame-bg:        var(--bg-2);
  --video-placeholder-bg:  var(--bg-2);

  /* --- Placeholder фото товара --- */
  --product-img-placeholder-bg:        linear-gradient(135deg, #EBE3D6 0%, #D6C9B0 100%);
  --product-img-placeholder-nophoto-bg: linear-gradient(135deg, #E2D6BF 0%, #CCBEA4 100%);
  --product-img-placeholder-fg:         #8A8073;

  /* --- Аватар отзыва --- */
  --avatar-accent-grad-end:    #C98A3E;

  /* --- Hover у cat-chip --- */
  --cat-chip-hover-bg:         rgba(176, 122, 46, 0.08);
}

/* ================================================
   ТИПОГРАФИКА — editorial magazine
   Variable serif с opsz tuning под размер,
   крупные display headings, body с большим leading
   ================================================ */

body { font-feature-settings: 'ss01', 'ss02'; line-height: 1.7; }

/* Все display/heading — Fraunces serif */
.hero__title,
.section__title,
.cta-form__title,
.page-hero__title,
.page-header__title,
.catalog-header__title,
.product-info__title,
.article__title,
.modal__title,
.contact-info__title,
.contacts-form-left__title,
.cta-review__title,
.reviews-summary__num {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.hero__title {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -2px;
  font-weight: 600;
  font-variation-settings: 'opsz' 100;
  margin-bottom: 28px;
}

.section__title {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 600;
  font-variation-settings: 'opsz' 60;
}

.cta-form__title { font-size: 48px; font-variation-settings: 'opsz' 60; }
.page-hero__title,
.catalog-header__title { font-size: 52px; font-variation-settings: 'opsz' 72; }
.article__title { font-size: 44px; font-variation-settings: 'opsz' 52; line-height: 1.15; }
.product-info__title { font-size: 32px; font-variation-settings: 'opsz' 36; }

/* Subtitle — Inter, воздушный */
.hero__subtitle,
.section__subtitle,
.cta-form__text,
.page-hero__subtitle,
.page-hero__desc {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
}

.hero__subtitle { max-width: 540px; }

/* Кнопки — серьёзные, semi-bold */
.btn-primary,
.btn-hero,
.btn-card,
.btn-checkout,
.btn-product-main,
.form__submit { font-weight: 600; }

/* Body для article / about — magazine leading */
.article__body,
.text-body,
.about-text__body { font-size: 17px; line-height: 1.85; }
.article__body p,
.text-body p { margin-bottom: 24px; }

/* H2 в статьях — Fraunces */
.article__body h2,
.text-body h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 28px;
  font-variation-settings: 'opsz' 36;
  letter-spacing: -0.3px;
  margin-top: 40px;
  margin-bottom: 18px;
}

/* Lead на about — крупнее */
.about-text__lead {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  font-variation-settings: 'opsz' 28;
}

/* ================================================
   ЛЕЙАУТ — magazine просторный
   ================================================ */

.section { padding: 100px 0; }
.section--compact { padding: 60px 0; }
.section__header { margin-bottom: 64px; }
.section__subtitle { max-width: 600px; }

.hero { min-height: auto; }
.hero__inner { padding: 88px 0 96px; gap: 80px; align-items: center; }

.page-hero { padding: 72px 0 44px; }

/* Карточки — белые, с тёплой тенью (есть глубина) */
.benefit-card {
  padding: 40px 34px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color .25s, transform .2s, box-shadow .25s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.benefit-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  font-variation-settings: 'opsz' 28;
  letter-spacing: -0.2px;
}

.product-card { border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(35, 32, 28, 0.04); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.product-card__body { padding: 22px; }
.product-card__title { font-size: 15px; line-height: 1.4; }

.review-card { padding: 32px; border: 1px solid var(--border); background: var(--white); }
.review-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.review-card__text { font-size: 16px; line-height: 1.7; }

.news-card { border: 1px solid var(--border); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.news-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  font-variation-settings: 'opsz' 24;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* Steps — большие, с тёплым glow латуни */
.steps__grid { gap: 32px; }
.step-item__num { width: 72px; height: 72px; font-size: 22px; box-shadow: 0 6px 18px rgba(176, 122, 46, 0.28); }
.step-item__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  font-variation-settings: 'opsz' 24;
}

/* CTA form — flat magazine block */
.cta-form::before { display: none; }
.cta-form__inner { gap: 96px; }

/* Topbar чуть воздушнее */
.topbar { padding: 12px 0; font-size: 13px; }

/* Footer — magazine grid */
.footer { padding: 80px 0 40px; }

/* Article max-width — book column */
.article { max-width: 680px; }
.article__title { font-size: 56px; font-variation-settings: 'opsz' 84; }

/* ================================================
   Light-theme overrides (header/nav/footer text colors)
   ================================================ */

.header__nav-list li a,
.header__nav-more-list li a,
.header__nav-more-btn {
  color: rgba(42, 31, 21, 0.60);
  font-weight: 500;
}
.header__nav-list li a:hover,
.header__nav-more-list li a:hover,
.header__nav-more:focus-within .header__nav-more-btn { color: var(--text); }
.header--open .header__nav-list li a { color: rgba(42, 31, 21, 0.85); }
.header__logo { color: var(--text); font-family: var(--font-serif); font-weight: 700; font-variation-settings: 'opsz' 36; }
.header__logo span { color: var(--accent); }
.header__cart { color: var(--text); }
.btn-all { color: var(--text); border-color: var(--border); border-width: 1px; }
.news-card { background: var(--white); }
.news-card__img { background: var(--bg-2); }

/* Сдержанные скругления — серьёзный цех, не «таблетка» */
.btn-primary,
.btn-hero,
.btn-hero-ghost,
.btn-card,
.btn-checkout,
.btn-product-main,
.btn-product-ghost,
.btn-all,
.form__submit { border-radius: 8px; }
.btn-card { padding: 12px 22px; }

/* Главные CTA — тёплая тень латуни */
.btn-hero,
.btn-checkout,
.btn-product-main,
.form__submit { box-shadow: 0 8px 20px -6px rgba(176, 122, 46, 0.35); }
.btn-hero:hover,
.btn-checkout:hover,
.btn-product-main:hover,
.form__submit:hover { box-shadow: 0 10px 26px -6px rgba(176, 122, 46, 0.45); }

/* Footer dark — белый текст */
.footer .footer__logo { color: var(--white); font-family: var(--font-serif); }
.footer .footer__logo span { color: var(--accent); }
.footer .footer__tagline { color: rgba(255, 255, 255, 0.55); font-size: 14px; line-height: 1.7; }
.footer .footer__col-title { color: rgba(255, 255, 255, 0.40); font-weight: 600; letter-spacing: 1.2px; }
.footer .footer__col ul li { color: rgba(255, 255, 255, 0.60); }
.footer .footer__col ul li a { color: rgba(255, 255, 255, 0.60); }
.footer .footer__col ul li a:hover { color: var(--accent); }
.footer .footer__copy,
.footer .footer__links a { color: rgba(255, 255, 255, 0.30); }
.footer .footer__links a:hover { color: rgba(255, 255, 255, 0.65); }
.footer .footer__made { color: rgba(255, 255, 255, 0.25); }
.footer .footer__social-link { color: rgba(255, 255, 255, 0.50); border-color: rgba(255, 255, 255, 0.15); }
.footer .footer__social-link:hover { color: var(--accent); border-color: var(--accent); }
/* Тёмный футер: бордеры-разделители должны быть светлыми (var(--border-dark)
   у этой темы тёмный, для светлых поверхностей — на тёмном футере не виден). */
.footer .footer__main { border-bottom-color: rgba(255, 255, 255, 0.10); }
.footer .footer__bottom { border-top-color: rgba(255, 255, 255, 0.10); }

/* ================================================
   АДАПТИВ — тема задаёт крупные serif-размеры без
   media-query и перебивает мобильный ритм base.css.
   Возвращаем сжатые размеры, иначе hero/section title
   переполняет вьюпорт телефона.
   ================================================ */
@media (max-width: 768px) {
  .hero__title { font-size: 46px; letter-spacing: -1px; }
  .section__title { font-size: 34px; }
  .cta-form__title { font-size: 34px; }
  .page-hero__title,
  .catalog-header__title { font-size: 36px; }
  .article__title { font-size: 32px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 34px; letter-spacing: -0.5px; }
  .section__title { font-size: 27px; }
  .cta-form__title { font-size: 27px; }
  .page-hero__title,
  .catalog-header__title { font-size: 28px; }
  .article__title { font-size: 26px; }
}
