/* ===== Цвета и базовые настройки ===== */
:root {
  --ivory: #F8F3EB;
  --ivory-deep: #EFE7DA;
  --paper: #FFFDF9;
  --ink: #2B1E17;
  --ink-soft: #6A564A;
  --dark: #241812;
  --dark-2: #33241C;
  --gold: #9A7440;
  --gold-light: #D4B483;
  --wine: #7A2F39;
  --line: #DED2C1;
  --line-dark: rgba(212, 180, 131, .28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 500; }
h1, h2 { font-family: var(--serif); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
h3 { font-family: var(--serif); font-size: 1.5rem; }
p { margin: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 40px); }

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ===== Кнопки и ссылки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 600 .76rem var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--wine); border-color: var(--wine); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.btn--small { padding: 12px 22px; font-size: .7rem; }
.btn--gold { background: var(--gold-light); border-color: var(--gold-light); color: var(--dark); }
.btn--gold:hover { background: #fff; border-color: #fff; color: var(--dark); }
.btn--line { background: transparent; border-color: var(--gold-light); color: var(--gold-light); }
.btn--line:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--dark); }

.link-more {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: inherit;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  white-space: nowrap;
  transition: color .2s;
}
.link-more:hover { color: var(--gold); }
.section--dark .link-more:hover { color: var(--gold-light); }

/* ===== Верхняя полоса и шапка ===== */
.topbar { background: var(--dark); color: #CDBBA8; font-size: .74rem; letter-spacing: .04em; }
.topbar__inner { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }

.header { position: sticky; top: -89px; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header__main { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo__mark { width: 56px; height: 56px; flex-shrink: 0; }
.logo__text { font: 500 1.55rem/1.1 var(--serif); display: flex; flex-direction: column; }
.logo__text small { font: 500 .62rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: var(--gold-light); }

.nav { border-top: 1px solid var(--line); }
.nav__inner { display: flex; justify-content: space-between; gap: 12px; }
.nav a {
  position: relative; padding: 15px 0;
  white-space: nowrap; text-decoration: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); transition: color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); transition: transform .25s;
}
.burger span { top: 21px; }
.burger span::before { content: ""; left: 0; top: -7px; }
.burger span::after { content: ""; left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== Заголовок внутренней страницы ===== */
.pagehead { padding: 56px 0 52px; background: var(--ivory-deep); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: clamp(2.1rem, 5vw, 4rem); overflow-wrap: break-word; }
.pagehead__lead { margin-top: 16px; max-width: 720px; color: var(--ink-soft); font-size: 1.05rem; }
.crumbs { display: flex; gap: 10px; margin-bottom: 22px; font-size: .74rem; letter-spacing: .06em; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs a::after { content: "/"; margin-left: 10px; color: var(--line); }

/* ===== Главная: первый экран ===== */
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 640px; background: var(--dark); color: #fff; }
.home-hero__text { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(24px, 6vw, 96px); }
.home-hero .eyebrow { color: var(--gold-light); }
.home-hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.1; }
.home-hero__lead { margin-top: 24px; max-width: 500px; color: #D5C7B8; font-size: 1.05rem; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Главная: блоки ===== */
.manifesto { text-align: center; }
.manifesto img { margin: 0 auto 28px; }
.manifesto p { font: 500 clamp(1.4rem, 2.4vw, 1.85rem)/1.45 var(--serif); }
.manifesto .manifesto__sign { margin-top: 22px; font: 600 .72rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.dir { text-decoration: none; display: block; }
.dir img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dir h3 { margin-top: 16px; transition: color .2s; }
.dir:hover h3 { color: var(--gold); }
.dir span { font-size: .86rem; color: var(--ink-soft); }

.sigtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sigtile { text-decoration: none; display: block; }
.sigtile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sigtile h3 { margin-top: 16px; color: #fff; font-size: 1.7rem; }
.sigtile span { font-size: .8rem; letter-spacing: .08em; color: var(--gold-light); }

.split { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 72px; align-items: center; }
.split__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; max-width: 560px; }
.split .eyebrow { color: var(--gold); margin-bottom: 16px; }
.split .link-more { margin-top: 12px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillars > div { padding-top: 22px; border-top: 1px solid var(--ink); }
.pillars p { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
.pillars .link-more { grid-column: 1 / -1; justify-self: start; }

.quote { text-align: center; }
.quote blockquote { margin: 0; font: italic 500 clamp(1.6rem, 3vw, 2.3rem)/1.35 var(--serif); }
.quote__author { margin: 20px 0 24px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.cta { background: var(--dark); color: #fff; padding: 72px 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta .eyebrow { color: var(--gold-light); }
.cta p:not(.eyebrow) { margin-top: 12px; max-width: 560px; color: #D5C7B8; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ===== Секции ===== */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0 0; }
.section--cream { background: var(--ivory-deep); }
.section--dark { background: var(--dark); color: var(--ivory); }
.section--dark .eyebrow { color: var(--gold-light); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__lead { margin-top: 14px; color: var(--ink-soft); }

/* ===== Принципы ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { padding-top: 22px; border-top: 1px solid var(--ink); }
.feature__icon { margin-bottom: 14px; }
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin-top: 8px; font-size: .92rem; color: var(--ink-soft); }

/* ===== В наличии ===== */
.stock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stock__item { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stock__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.stock__img img { width: 100%; height: 100%; object-fit: cover; }
.stock__badge {
  position: absolute; left: 0; bottom: 0; padding: 6px 12px;
  background: var(--dark); color: var(--gold-light);
  font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.stock__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.stock__body h3 { font-size: 1.35rem; }
.stock__price { font-weight: 600; color: var(--wine); }
.stock__meta { margin: 4px 0 8px; font-size: .8rem; }
.stock__meta div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.stock__meta dt { color: var(--ink-soft); }
.stock__meta dd { margin: 0; font-weight: 600; text-align: right; }
.stock__btn { margin-top: auto; }
.stock__empty { padding: 28px; border: 1px solid var(--line); text-align: center; color: var(--ink-soft); }
.stock__empty a { color: var(--wine); font-weight: 600; }

/* ===== Фирменные десерты ===== */
.signature__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sig { background: var(--dark-2); border: 1px solid var(--line-dark); display: grid; grid-template-columns: 38% 1fr; }
.sig__img { position: relative; overflow: hidden; min-height: 100%; }
.sig__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sig__time {
  position: absolute; left: 0; top: 0; z-index: 1; padding: 10px 14px;
  background: var(--dark); color: var(--gold-light); text-align: center;
  font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.sig__time b { display: block; font: 500 1.7rem/1 var(--serif); letter-spacing: 0; color: #fff; }
.sig__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.sig__label { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.sig h3 { font-size: 2.1rem; color: #fff; }
.sig__taste { font-size: .94rem; color: #EDE3D5; }
.sig__story { font: italic 500 1.08rem/1.45 var(--serif); color: #D5C7B8; }
.sig__steps { list-style: none; padding: 12px 0 0; margin: 4px 0 0; display: grid; gap: 7px; border-top: 1px solid var(--line-dark); }
.sig__steps li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; font-size: .84rem; color: #D5C7B8; }
.sig__steps b { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.sig__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-dark); font-weight: 600; color: var(--gold-light); }
.sig__price small { display: block; margin-top: 2px; font-weight: 400; font-size: .82rem; color: #CDBBA8; }
.signature__cta { margin-top: 36px; padding: 28px 32px; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.signature__cta p { font: italic 500 1.4rem/1.3 var(--serif); color: #EDE3D5; max-width: 720px; }

/* ===== Отзывы ===== */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.review { margin: 0; padding: 36px 40px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review--wide { grid-column: 1 / -1; }
.review__pull { font: italic 500 clamp(1.5rem, 2.4vw, 1.95rem)/1.3 var(--serif); }
.review blockquote { margin: 16px 0 20px; color: var(--ink-soft); font-size: .95rem; }
.review blockquote p + p { margin-top: 10px; }
.review figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.review figcaption b { font: 600 1.2rem var(--serif); }
.review figcaption span { font-size: .8rem; color: var(--ink-soft); }

/* ===== Обо мне ===== */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.about__intro h2 { margin-bottom: 18px; }
.about__lead { color: var(--ink-soft); margin-bottom: 14px; }
.about__photo { margin: 0 0 32px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__photo figcaption { margin-top: 10px; font: italic 500 1.1rem var(--serif); color: var(--ink-soft); }
.about__stats { display: flex; gap: 40px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.about__stats div { font-size: .84rem; color: var(--ink-soft); max-width: 140px; line-height: 1.35; }
.about__stats b { display: block; font: 500 3rem/1 var(--serif); color: var(--gold); margin-bottom: 6px; }
.about__title { font-size: 2rem; margin-bottom: 20px; }
.courses { list-style: none; padding: 0; margin: 0; counter-reset: c; }
.courses li {
  position: relative; padding: 16px 0 16px 56px; border-top: 1px solid var(--line);
  counter-increment: c;
}
.courses li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 14px; font: italic 500 1.4rem var(--serif); color: var(--gold); }
.courses h4 { font: 500 1.3rem var(--serif); margin-bottom: 2px; }
.courses p { font-size: .88rem; color: var(--ink-soft); }
.about__masters { padding: 16px 0 0; border-top: 1px solid var(--ink); font-size: .92rem; color: var(--ink-soft); }
.about__masters b { color: var(--ink); }

/* ===== Гигиена и качество ===== */
.quality { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.quality__img { margin-top: 32px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quality__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.quality__list li { padding-top: 16px; border-top: 1px solid var(--ink); }
.quality__list h3 { margin: 10px 0 6px; font-size: 1.35rem; }
.quality__list p { font-size: .9rem; color: var(--ink-soft); }
.quality__icon { display: block; }
.quality__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Каталог ===== */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card { display: flex; flex-direction: column; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 1.75rem; }
.card__body p { font-size: .93rem; color: var(--ink-soft); }
.card__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card__tags li { font-size: .74rem; letter-spacing: .04em; color: var(--gold); }
.card .card__price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; color: var(--wine); }
.card__price small { display: block; margin-top: 2px; font-weight: 400; font-size: .82rem; color: var(--ink-soft); }

/* ===== Меню ===== */
.menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.menu__group h3 { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--ink); }
.menu__group ul { list-style: none; padding: 0; margin: 0; }
.menu__group li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.menu__group li:last-child { border-bottom: 0; }
.menu__group li.is-signature { font-weight: 600; }
.menu__group li.is-signature::after { content: "фирменное"; margin-left: 8px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* ===== Портфолио ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.filter {
  padding: 10px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none;
  color: var(--ink-soft); font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item { display: block; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; background: var(--ivory-deep); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item.is-hidden { display: none; }

/* ===== Шаги ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.step__num { font: italic 500 3rem/1 var(--serif); color: var(--gold-light); display: block; margin-bottom: 12px; }
.step h3 { color: #fff; }
.step p { margin-top: 8px; color: #D5C7B8; font-size: .92rem; }

/* ===== Условия ===== */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.term { padding-top: 20px; border-top: 1px solid var(--ink); }
.term h3 { font-size: 1.7rem; margin-bottom: 10px; }
.term p { color: var(--ink-soft); font-size: .94rem; }

/* ===== Вопросы ===== */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 1.3rem var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--serif); color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 680px; }

/* ===== Контакты ===== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.contact-grid > div { padding-top: 16px; border-top: 1px solid var(--ink); }
.contact-grid h3 { font: 600 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-grid a { font: 500 1.3rem var(--serif); text-decoration: none; overflow-wrap: anywhere; }
.contact-grid a:hover { color: var(--gold); }
.contact-grid__wide { grid-column: 1 / -1; }
.contact-grid__wide p { color: var(--ink-soft); }

/* ===== Форма ===== */
.order { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.order__text h2 { margin-bottom: 16px; }
.order__text p:not(.eyebrow) { color: var(--ink-soft); }
.order__img { margin-top: 32px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.form { background: var(--paper); border: 1px solid var(--line); padding: 36px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--ivory);
  font: 400 1rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink);
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form input.is-invalid { border-color: var(--wine); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__error { color: var(--wine); font-size: .9rem; font-weight: 600; }
.form__note { font-size: .76rem; color: var(--ink-soft); }

/* ===== Текстовая страница ===== */
.prose h2 { font-size: 1.8rem; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }

/* ===== Подвал ===== */
.footer { background: var(--dark); color: #CDBBA8; padding: 68px 0 28px; border-top: 1px solid var(--line-dark); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand p { margin-top: 18px; max-width: 340px; font-size: .9rem; }
.footer h3 { font: 600 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.footer__list a { text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.footer__list a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .78rem; color: #A08C7B; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ===== Плавающая кнопка и подсказка ===== */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 52px; height: 52px; background: var(--dark); border: 1px solid var(--gold-light);
  display: grid; place-items: center; transition: background .2s;
}
.float-cta:hover { background: var(--wine); }
.float-cta svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.float-cta svg path + path { stroke-width: 2.2; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%);
  width: min(460px, calc(100% - 32px)); padding: 14px 18px;
  background: var(--dark); color: var(--ivory); border: 1px solid var(--gold-light);
  font-size: .9rem; text-align: center;
}
.toast[hidden] { display: none; }

/* ===== Просмотр фото ===== */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(24, 16, 12, .95); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 0 72px; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; object-fit: contain; }
.lightbox figcaption { font-size: .9rem; color: #D5C7B8; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff;
  width: 48px; height: 48px; font: 300 1.7rem/1 var(--sans); cursor: pointer; display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .12); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ===== Появление при прокрутке ===== */
.reveal { opacity: 0; transition: opacity .8s ease; }
.reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transition: none; }
  * { transition: none !important; }
}

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .features, .stock { grid-template-columns: repeat(2, 1fr); }
  .catalog, .dirs { grid-template-columns: repeat(2, 1fr); }
  .menu, .steps, .sigtiles { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .signature__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }

  .header { top: 0; }
  .burger { display: block; }
  .header__main { height: 76px; }
  .header__cta { margin-left: auto; }
  .logo__mark { width: 46px; height: 46px; }
  .nav { display: none; }
  .nav.is-open { display: block; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav__inner { flex-direction: column; gap: 0; padding: 6px 0 12px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--gold); }
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 40px 0 0; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-hero__media { order: -1; }
  .home-hero__media img { aspect-ratio: 4 / 3; height: auto; }
  .home-hero__text { padding: 44px 20px 52px; }
  .split, .about, .quality, .order { grid-template-columns: 1fr; gap: 36px; }
  .split__img, .about__photo { max-width: 420px; }
  .quality__img, .order__img { display: none; }
  .terms, .pillars { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cta__inner, .signature__cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .topbar__inner > span:first-child { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; }
  .header__cta { display: none; }
  .logo__text { font-size: 1.12rem; }
  .logo__text small { font-size: .54rem; letter-spacing: .14em; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .features, .catalog, .menu, .steps, .stock, .quality__list, .contact-grid, .dirs { grid-template-columns: 1fr; }
  .sigtiles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sigtile h3 { font-size: 1.4rem; }
  .sig { grid-template-columns: 1fr; }
  .sig__img { aspect-ratio: 4 / 3; min-height: 0; }
  .sig__body { padding: 20px; }
  .review { padding: 24px 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn, .home-hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .lightbox figure { padding: 0 8px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
}
