/* Дизайн «Ветви» (макеты: https://claude.ai/artifact/C2ZKcr6NEnnC5emrco4xuH).
   Референс — 12storeez: много воздуха, крупные фото, логотип по центру, мелкое
   меню капсом, заголовки антиквой. Цвета — тёплый «каменный» беж и тёмный орех. */

:root {
  --ink: #1f1b18;          /* основной текст */
  --text: #4a423b;         /* абзацы */
  --muted: #6f665e;        /* подписи — контраст 5.6:1 на белом */
  --line: #e5dfd7;
  --line-strong: #d9cfc2;
  --stone: #f3efe9;        /* фон блоков, полоса, подвал */
  --bg: #ffffff;
  --accent: #3b2c24;       /* тёмный орех: главные кнопки, плашки */
  --accent-ink: #ffffff;
  --on-accent-muted: #e9e2d9;
  --ok: #2c6b45;
  --err: #a3302a;

  --display: "Prata", Georgia, "Times New Roman", serif;
  --body: "Golos Text", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1360px;
  --gutter: 40px;
  --section: 120px;
}
@media (max-width: 860px) { :root { --gutter: 16px; --section: 64px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4vw, 48px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── кнопки ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--accent); cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 500 15px/1.2 var(--body);
  text-decoration: none; text-align: center;
}
.btn:hover { color: var(--accent-ink); opacity: .92; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--stone); opacity: 1; }
.btn--light { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.btn--light:hover { color: var(--ink); }
.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 13px; }
.link-arrow { font-size: 14px; white-space: nowrap; }

/* ── полоса и шапка ──────────────────────────────────────────────────────── */
.announce { background: var(--stone); color: var(--text); text-align: center; font-size: 13px; padding: 10px var(--gutter); }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-row { height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.header-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.header-nav { display: flex; gap: 24px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.header-nav a { text-decoration: none; padding-block: 4px; border-bottom: 1px solid transparent; }
.header-nav a[aria-current="page"], .header-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.logo { font-family: var(--display); font-size: 28px; letter-spacing: .22em; text-decoration: none; padding-left: .22em; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 104px; height: auto; }
.logo:hover { color: var(--ink); }
.header-right { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: 14px; text-decoration: none; white-space: nowrap; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
}
.icon-btn svg { width: 22px; height: 22px; }
.only-mobile { display: none; }
@media (max-width: 1260px) { .header-nav { display: none; } }
@media (max-width: 860px) {
  .header-row { height: 60px; gap: 8px; }
  .logo { font-size: 22px; }
  .header-phone, .header-cta { display: none; }
  .only-mobile { display: inline-flex; }
}

/* меню-шторка (бургер) */
.drawer { position: fixed; inset: 0; z-index: 40; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 15, 12, .45); }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); background: var(--bg);
  padding: 20px 28px 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
}
.drawer__panel nav { display: grid; gap: 4px; }
.drawer__panel nav a { text-decoration: none; font-size: 17px; padding: 8px 0; }
.drawer__panel .eyebrow { margin-bottom: 6px; }
.drawer__contacts { margin-top: auto; display: grid; gap: 6px; font-size: 14px; color: var(--text); }

/* ── первый экран ────────────────────────────────────────────────────────── */
.hero { position: relative; height: min(760px, 82vh); min-height: 520px; overflow: hidden; background: var(--ink); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 15, 12, .34); }
.hero__text {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 88px; padding-inline: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; color: #fff;
}
.hero__text .eyebrow { color: #fff; }
.hero__text h1 { font-size: clamp(36px, 5vw, 64px); max-width: 900px; }
.hero__rule { width: 48px; height: 1px; background: #fff; }
.hero .hero__logo { width: clamp(88px, 9vw, 132px); height: auto; margin-bottom: 6px; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .25)); }
.hero__link { color: #fff; text-decoration: none; border-bottom: 1px solid #fff; padding-bottom: 4px; font-size: 15px; }
.hero__link:hover { color: #fff; opacity: .85; }
@media (max-width: 860px) { .hero { height: 560px; min-height: 0; } .hero__text { bottom: 48px; gap: 14px; } }

/* ── секции ──────────────────────────────────────────────────────────────── */
.section { padding-top: var(--section); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section-head p { color: var(--text); margin-top: 12px; }

/* плитки категорий */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.tile__img { aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile__img img { transform: scale(1.03); }
.tile__label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.tile__label span:last-child { color: var(--muted); }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

/* сетка товаров */
.grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
@media (max-width: 1080px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; } }

/* карточка товара: фото по центру в кадре 5:4, второе — при наведении */
.product-card { --card-ratio: 5 / 4; display: flex; flex-direction: column; gap: 8px; text-decoration: none; min-width: 0; }
.product-card:hover { color: var(--ink); }
.card__media { position: relative; aspect-ratio: var(--card-ratio); overflow: hidden; background: var(--stone); margin-bottom: 4px; }
.card__media .card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card__img--alt { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .card__media.has-alt .card__img--alt { transition: opacity .35s ease; }
  .product-card:hover .card__media.has-alt .card__img--alt,
  .product-card:focus-visible .card__media.has-alt .card__img--alt { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .card__media.has-alt .card__img--alt, .tile__img img { transition: none; }
}
.card__title { font: 400 15px/1.4 var(--body); margin: 0; }
.card__meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__price { font-size: 15px; font-weight: 600; }

/* мастерская: фото + текст */
.split--section { margin-top: var(--section); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--stone); }
.split > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.split__text { padding: 80px 88px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.split__text p { color: var(--text); max-width: 520px; line-height: 1.65; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.stats b { display: block; font: 400 32px/1.2 var(--display); }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) { .split__text { padding: 48px; } }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split > img { min-height: 0; height: 260px; }
  .split__text { padding: 32px var(--gutter) 40px; gap: 16px; }
  .stats { gap: 8px; } .stats b { font-size: 22px; } .stats span { font-size: 12px; }
}

/* мозаика интерьеров */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 280px 280px; gap: 16px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic > img:first-child, .mosaic > a:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic > a { display: block; overflow: hidden; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 140px; gap: 8px; }
  .mosaic > img:first-child, .mosaic > a:first-child { grid-row: span 1; }
}

/* HORECA и дизайнерам */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo__card { background: var(--stone); padding: 48px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.duo__card p { color: var(--text); line-height: 1.6; }
.duo__card .link-arrow { margin-top: 8px; text-decoration: underline; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; gap: 12px; } .duo__card { padding: 32px 24px; } }

/* тёмная плашка-призыв */
.cta-band { background: var(--accent); color: var(--accent-ink); margin-top: var(--section); }
.cta-band__row { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 88px; }
.cta-band p { color: var(--on-accent-muted); margin-top: 14px; font-size: 17px; }
@media (max-width: 860px) {
  .cta-band__row { flex-direction: column; align-items: stretch; gap: 20px; padding-block: 40px; }
}

/* ── подвал ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--stone); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 72px 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.footer-col a { text-decoration: none; }
.footer-messengers { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-messengers a { text-decoration: underline; text-underline-offset: 3px; }
.messenger { display: inline-flex; align-items: center; gap: 8px; }
.messenger__icon { width: 18px; height: 18px; flex-shrink: 0; }
.drawer__contacts .footer-messengers a { color: var(--ink); }
.footer-col .eyebrow { letter-spacing: .12em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-strong); padding-block: 24px 32px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 40px 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── страницы каталога ───────────────────────────────────────────────────── */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding-block: 24px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-block: 24px 40px; }
.page-head__text { display: flex; flex-direction: column; gap: 14px; }
.page-head__text p, .page-head__text .prose { color: var(--text); max-width: 680px; }
.page-head__count { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) { .page-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 8px 28px; } }

/* ── карточка товара ─────────────────────────────────────────────────────── */
.product { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.product__gallery { display: flex; flex-direction: column; gap: 12px; }
.product__gallery img { width: 100%; background: var(--stone); }
.product__gallery .zoom-link { position: relative; }
.product__info { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.product__head { display: flex; flex-direction: column; gap: 12px; }
.product__price { font-size: 26px; font-weight: 600; }
.product__sku { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.product__sku b { color: var(--ink); font-weight: 600; }
.product__note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.product__actions { display: flex; flex-direction: column; gap: 10px; }
.product__choice { font-size: 13px; color: var(--muted); text-align: center; }

.opt { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.opt legend { padding: 0; font-size: 14px; margin-bottom: 12px; }
.opt legend b { font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  min-height: 44px; padding: 0 16px; font: 14px/1 var(--body); cursor: pointer;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong);
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-block: 20px; border-block: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.facts div { display: flex; flex-direction: column; gap: 8px; }
.facts svg { width: 22px; height: 22px; }

.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding-block: 18px; font-size: 15px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion .acc-body { padding-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--text); }
.specs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product__info { position: static; gap: 22px; }
  /* на телефоне фото листаются вбок */
  .product__gallery { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px;
                      margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .product__gallery > a { flex: 0 0 100%; scroll-snap-align: center; }
  .product__gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
}

/* закреплённая панель покупки на телефоне */
.buybar { display: none; }
@media (max-width: 860px) {
  .buybar {
    display: flex; position: sticky; bottom: 0; z-index: 15; align-items: center; gap: 16px;
    padding: 12px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .buybar__price { display: flex; flex-direction: column; }
  .buybar__price b { font-size: 18px; }
  .buybar__price span { font-size: 12px; color: var(--muted); }
  .buybar .btn { flex-grow: 1; }
}

/* ── текстовые страницы, галереи, контакты ───────────────────────────────── */
.prose { line-height: 1.7; color: var(--text); max-width: 760px; }
.prose p { margin: 0 0 14px; }
.prose h2 { font-size: 28px; color: var(--ink); margin: 40px 0 14px; }
.prose a { color: var(--ink); }
.prose .content-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 20px 0 28px; max-width: none; }
.prose figure { margin: 0; }
.prose figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-body { padding-bottom: var(--section); }
.page-cta { margin-top: 32px; }

/* галереи портфолио/HORECA: «кирпичи» в исходных пропорциях */
.masonry { columns: 4 260px; column-gap: 12px; }
.masonry__item { break-inside: avoid; margin: 0 0 12px; }
.masonry__item img { width: 100%; height: auto; background: var(--stone); transition: opacity .3s ease; }
.masonry__item a:hover img { opacity: .88; }
.masonry__item figcaption { font-size: 13px; padding-top: 6px; }
@media (max-width: 860px) { .masonry { columns: 2 140px; column-gap: 8px; } .masonry__item { margin-bottom: 8px; } }

/* просмотрщик фото (PhotoSwipe): в тон сайта */
.zoom-link { display: block; cursor: zoom-in; }
.pswp { --pswp-bg: #14100d; --pswp-icon-color: #fff; --pswp-icon-color-secondary: #14100d; }
.pswp__counter { font: 13px/1 var(--body); opacity: .8; margin-top: 18px; }
.pswp__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 64px 22px; text-align: center;
                 color: #e9e2d9; font: 14px/1.4 var(--body); pointer-events: none; }

.grid-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.grid-photos figure { margin: 0; }
.grid-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 860px) { .grid-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.contacts dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 24px; margin: 0; }
.contacts dt { color: var(--muted); }
.contacts dd { margin: 0; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; gap: 24px; } }

/* ── форма заявки ────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 15, 12, .5); }
.modal__box {
  position: relative; background: var(--bg); width: min(600px, 100%); max-height: calc(100vh - 32px);
  overflow-y: auto; padding: 48px; display: flex; flex-direction: column; gap: 22px;
}
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal__lead { color: var(--text); font-size: 15px; margin-top: 8px; }
.lead-product { display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--stone); }
.lead-product img { width: 88px; height: 70px; object-fit: cover; }
.lead-product div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.lead-product b { font-weight: 600; }
.lead-product span { color: var(--text); }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text); }
.lead-form input, .lead-form textarea, .lead-form select {
  padding: 14px; font: 15px/1.4 var(--body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 0; width: 100%;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: none; border-color: var(--ink); }
.lead-form textarea { resize: vertical; }
.lead-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-consent { font-size: 12px; line-height: 1.5; color: var(--muted); }
.form-consent a { color: var(--muted); }
.form-status { font-size: 14px; min-height: 1em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.modal__call { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) {
  .modal { padding: 0; align-items: stretch; }
  .modal__box { max-height: none; height: 100%; padding: 56px 20px 24px; }
  .lead-options { grid-template-columns: 1fr; }
}

/* ── журнал ──────────────────────────────────────────────────────────────── */
.grid-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
@media (max-width: 860px) { .grid-articles { grid-template-columns: 1fr; gap: 36px; } }
.article-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-width: 0; }
.article-card:hover { color: var(--ink); }
.article-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); margin-bottom: 6px; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover .article-card__img img { transform: scale(1.03); }
.article-card__title { font-size: clamp(20px, 1.8vw, 24px); }
.article-card__lead { color: var(--text); font-size: 15px; line-height: 1.55; }

.article-lead-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: var(--stone); text-decoration: none; }
.article-lead-card:hover { color: var(--ink); }
.article-lead-card__img { min-height: 460px; overflow: hidden; }
.article-lead-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-lead-card__text { padding: 64px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.article-lead-card__text p { color: var(--text); line-height: 1.65; }
.article-lead-card__text .link-arrow { text-decoration: underline; }
@media (max-width: 860px) {
  .article-lead-card { grid-template-columns: 1fr; }
  .article-lead-card__img { min-height: 0; aspect-ratio: 4 / 3; }
  .article-lead-card__text { padding: 28px var(--gutter) 32px; gap: 12px; }
}

/* статья: шапка — текст слева, обложка справа; текст — узкая колонка по центру */
.draft-note { background: #fff4d6; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.art-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 8px 72px; }
.art-hero__text { display: flex; flex-direction: column; gap: 20px; }
.art-hero__text h1 { font-size: clamp(34px, 4.2vw, 56px); }
.art-lead { font-size: 19px; line-height: 1.6; color: var(--text); }
.art-meta { font-size: 13px; color: var(--muted); }
.art-hero__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.art-hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .art-hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
  .art-hero__img { order: -1; aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); }
  .art-lead { font-size: 17px; }
}

.art-body { max-width: 720px; margin: 0 auto; }
.art-toc { border-block: 1px solid var(--line); padding-block: 20px; margin-bottom: 40px; }
.art-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.art-toc a { text-decoration: none; }
.art-toc a:hover { text-decoration: underline; }

.art-prose { font-size: 17px; line-height: 1.75; max-width: none; }
.art-prose p { margin: 0 0 18px; }
.art-prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 56px 0 18px; scroll-margin-top: 100px; }
.art-prose h3 { font-size: 22px; color: var(--ink); margin: 32px 0 12px; }
.art-prose ul, .art-prose ol { margin: 0 0 18px; padding-left: 22px; }
.art-prose li { margin-bottom: 6px; }
.art-prose strong, .art-prose b { color: var(--ink); font-weight: 600; }
.art-prose blockquote { margin: 40px 0; padding: 0; border: 0; font: 400 clamp(22px, 2.3vw, 28px)/1.4 var(--display); color: var(--ink); text-align: center; }
.art-prose blockquote p { margin: 0; }
.art-prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

/* фото внутри статьи; --wide и ряды выходят за колонку текста */
.art-fig { margin: 36px 0; }
.art-fig__pics { display: grid; gap: 12px; }
.art-fig img { width: 100%; height: auto; background: var(--stone); }
.art-fig figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.art-fig--row, .art-fig--wide, .art-products {
  width: min(1180px, 100vw - 2 * var(--gutter)); position: relative; left: 50%; transform: translateX(-50%);
}
.art-fig--row .art-fig__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-fig--3 .art-fig__pics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-fig--row img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.art-fig--row figcaption { max-width: 720px; margin-inline: auto; }
.art-fig--wide:not(.art-fig--row) img { aspect-ratio: 16 / 9; object-fit: cover; }
.art-fig--wide:not(.art-fig--row) figcaption { max-width: 720px; margin-inline: auto; }
@media (max-width: 860px) {
  .art-fig--row .art-fig__pics, .art-fig--3 .art-fig__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .art-fig--3 img:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
}

.art-products { margin: 40px 0 48px; }
.art-products__title { font-size: 22px; margin-bottom: 20px; max-width: 720px; margin-inline: auto; }
.art-products .card__title { font-size: 15px; }
.art-cta { background: var(--stone); padding: 28px 32px; margin: 36px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.art-cta p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.5; }
.art-cta .btn { flex-shrink: 0; }
@media (max-width: 860px) { .art-cta { flex-direction: column; align-items: stretch; padding: 24px 20px; } }

.art-table { overflow-x: auto; margin: 24px 0 28px; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.art-table th, .art-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-table th { font-weight: 600; color: var(--ink); border-bottom-color: var(--line-strong); }

.art-faq { margin-top: 64px; }
.art-faq h2 { margin-bottom: 12px; }
.faq-list { max-width: 820px; }
.faq-list summary { font-size: 17px; }
.faq-list .acc-body { font-size: 15px; }

/* ── информационные страницы: О нас, Доставка, Дизайнерам, Контакты, FAQ ─── */
.info { padding-bottom: 8px; }
.info-section { padding-top: var(--section); }
.info-section > .section-head { margin-bottom: 40px; }
.section-head h2 + p, .section-lead { color: var(--text); max-width: 640px; margin-top: 12px; line-height: 1.65; }

.stat-band { background: var(--stone); margin-top: 24px; }
.stat-band__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 56px; }
.stat-band b { display: block; font: 400 clamp(30px, 3.4vw, 44px)/1.1 var(--display); }
.stat-band span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .stat-band__row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 32px; gap: 24px 12px; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { text-decoration: none; background: var(--bg); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.feature__num { font: 400 15px/1 var(--display); color: var(--muted); }
.feature h3 { font-size: 22px; }
.feature p { color: var(--text); line-height: 1.6; font-size: 15px; }
a.feature:hover { background: var(--stone); color: var(--ink); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } .feature { padding: 24px 20px; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font: 400 40px/1 var(--display); color: var(--line-strong); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--text); font-size: 15px; line-height: 1.6; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

.split-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-info__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.split-info__img img { width: 100%; height: 100%; object-fit: cover; }
.split-info__text { display: flex; flex-direction: column; gap: 18px; }
.split-info__text p, .split-info__text li { color: var(--text); line-height: 1.7; }
.split-info__text ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.split-info--rev .split-info__img { order: 2; }
@media (max-width: 860px) { .split-info { grid-template-columns: 1fr; gap: 24px; } .split-info--rev .split-info__img { order: 0; } .split-info__img { aspect-ratio: 4 / 3; } }

.woods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.wood { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.wood img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--stone); }
.wood b { font: 400 20px/1.2 var(--display); }
.wood span { font-size: 13px; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) { .woods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .woods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer { background: var(--stone); padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.offer--dark { background: var(--accent); color: var(--accent-ink); }
.offer.offer--dark p, .offer.offer--dark .eyebrow { color: var(--on-accent-muted); }
.offer__big { font: 400 clamp(56px, 7vw, 88px)/1 var(--display); }
.offer p { line-height: 1.65; color: var(--text); }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr; gap: 12px; } .offer { padding: 32px 24px; } }

.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pay { border: 1px solid var(--line-strong); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.pay svg { width: 30px; height: 30px; margin-bottom: 8px; }
.pay h3 { font-size: 22px; }
.pay p { color: var(--text); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; gap: 12px; } .pay { padding: 24px 20px; } }

.note { background: var(--stone); padding: 28px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.note p { color: var(--text); line-height: 1.6; max-width: 760px; }
.note b { color: var(--ink); }
@media (max-width: 860px) { .note { flex-direction: column; align-items: stretch; padding: 24px 20px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > a, .chips > span { border: 1px solid var(--line-strong); padding: 10px 16px; font-size: 14px; text-decoration: none; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }

/* контакты */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: stretch; }
.contact-list { display: flex; flex-direction: column; }
.contact-item { border-top: 1px solid var(--line); padding-block: 20px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
.contact-item:last-of-type { border-bottom: 1px solid var(--line); }
.contact-item dt { color: var(--muted); font-size: 14px; padding-top: 3px; }
.contact-item dd { margin: 0; font-size: 17px; line-height: 1.5; }
.contact-item dd a { text-decoration: none; }
.contact-item .muted { font-size: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map { min-height: 460px; background: var(--stone); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-item { grid-template-columns: 1fr; gap: 4px; }
  .map { min-height: 340px; margin-inline: calc(-1 * var(--gutter)); }
}

/* вопросы и ответы */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.faq-aside p { color: var(--text); line-height: 1.65; }
.faq-contact { background: var(--stone); padding: 24px; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-contact a.phone { font: 400 24px/1.2 var(--display); text-decoration: none; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 26px; margin-bottom: 8px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } .faq-aside { position: static; } }

/* 404 */
.not-found { padding-block: 96px var(--section); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
