:root {
  --bg: #f7f1e8;
  --bg-2: #efe5d7;
  --surface: #fffdfa;
  --ink: #241d18;
  --muted: #756658;
  --line: #e5d9c8;
  --gold: #a9762f;
  --gold-deep: #8c5f22;
  --gold-soft: rgba(169, 118, 47, .12);
  --teal: #2f6d68;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 16px 38px rgba(76, 50, 20, .10);
  --shadow-lg: 0 26px 60px rgba(76, 50, 20, .16);
  --serif: Georgia, "PT Serif", "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--gold-deep); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0; }

h1 { font-size: clamp(31px, 4.6vw, 52px); letter-spacing: -.01em; }
h2 { font-size: clamp(25px, 3.2vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 14px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.muted { color: var(--muted); }

.link { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

section { padding: clamp(48px, 7vw, 88px) 0; }

.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head h2 { margin-bottom: 10px; }
.section-note { color: var(--muted); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; text-decoration: none; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff; box-shadow: 0 10px 24px rgba(140, 95, 34, .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(140, 95, 34, .34); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 17px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 241, 232, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; flex: none; border-radius: 50% 50% 50% 6%;
  transform: rotate(-45deg);
  background: radial-gradient(circle at 32% 28%, #fff 4%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 4px 12px rgba(140, 95, 34, .3);
}
.brand__text { display: flex; flex-direction: column; font-family: var(--serif); font-size: 19px; letter-spacing: .01em; }
.brand__text em {
  font-family: var(--sans); font-style: normal; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; opacity: .85; }
.nav a:hover { color: var(--gold-deep); opacity: 1; }
.burger {
  display: none; width: 42px; height: 38px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 0 auto; position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.hero { padding-top: clamp(34px, 5vw, 64px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 16px;
}
.lead { font-size: 19px; color: #40352c; max-width: 560px; }
.hero__facts { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 8px; }
.hero__facts li { padding-left: 26px; position: relative; color: var(--muted); }
.hero__facts li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px;
  border-radius: 50% 50% 50% 8%; transform: rotate(-45deg); background: var(--gold);
}
.hero__facts b { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; }
.hero__photo {
  margin: 0; border-radius: 26px; overflow: hidden; background: var(--bg-2);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .7);
}
.hero__photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.hero__caption {
  margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: right;
}
.hero__caption a { white-space: nowrap; }

.why { padding-top: 0; }
.why__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow);
}
.why__item h3 { margin-bottom: 8px; font-size: 19px; }
.why__item p { margin: 0; font-size: 15px; color: var(--muted); }

.catalog { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

.filters {
  display: flex; flex-wrap: wrap; align-items: end; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 26px;
}
.field {
  display: flex; flex-direction: column; gap: 5px; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select {
  font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 12px; min-width: 160px;
}
.field input:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 1px;
}
.filters #f-reset { margin-left: 4px; }
.filters__count { margin: 0 0 6px auto; font-size: 14px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcc9ae; }
.card[hidden] { display: none; }
.card:target { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.card__photo { position: relative; display: block; background: var(--bg-2); }
.card__photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.card__num {
  position: absolute; left: 12px; top: 12px;
  background: rgba(36, 29, 24, .72); color: #fff7ea; font-size: 12px; letter-spacing: .06em;
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.card__body { padding: 15px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card__title { font-size: 18px; line-height: 1.3; }
.card__meta { margin: 0; font-size: 13.5px; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5c4f43;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 7px;
}
.chip::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sw, #cbb99b);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.price { font-family: var(--serif); font-size: 21px; color: var(--gold-deep); white-space: nowrap; }
.catalog__empty { text-align: center; color: var(--muted); padding: 30px 0; }

.steps__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.steps__list li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.steps__n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-deep); font-family: var(--serif);
  font-size: 19px; margin-bottom: 14px;
}
.steps__list h3 { margin-bottom: 8px; }
.steps__list p { margin: 0; font-size: 15px; color: var(--muted); }

.delivery { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.delivery__inner {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 48px); align-items: start;
}
.ticks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: -1px; color: var(--teal); font-size: 16px; }
.care { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.care h3 { margin-bottom: 10px; }
.care ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.care li { margin-bottom: 6px; }

.about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.about__media { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about__media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.faq { background: var(--bg-2); }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 12px 30px 12px 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 8px; font-size: 22px;
  color: var(--gold-deep); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 14px; color: var(--muted); }

.cta { text-align: center; }
.cta__inner { max-width: 640px; }
.cta p { color: var(--muted); margin-bottom: 26px; }
.cta__channel { margin-top: 16px; font-size: 15px; }

.site-footer { background: #211a14; color: #e9dfd1; padding: 46px 0 26px; }
.site-footer a { color: #e8c489; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer__brand { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.site-footer .muted { color: #b3a491; max-width: 430px; }
.site-footer__legal {
  border-top: 1px solid rgba(233, 223, 209, .16); margin-top: 26px; padding-top: 18px; font-size: 13.5px;
}

.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(20, 15, 10, .92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(90vw, 760px); text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 12px; width: auto; }
.lightbox figcaption { color: #f0e6d6; margin-top: 14px; font-size: 15px; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: transparent; border: 0; color: #f0e6d6;
  cursor: pointer; font-size: 34px; line-height: 1; padding: 8px 14px;
}
.lightbox__close { top: 14px; right: 18px; font-size: 40px; }
.lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 70;
  background: var(--ink); color: #fdf7ee; font-size: 15px; padding: 12px 20px;
  border-radius: 999px; box-shadow: var(--shadow-lg); max-width: 90vw; text-align: center;
}
.toast[hidden] { display: none; }

@media (max-width: 1000px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__list { grid-template-columns: 1fr; }
  .delivery__inner, .about__inner, .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__caption { text-align: left; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 6px 20px 12px;
    box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .burger { display: block; margin-left: auto; }
  .site-header__inner > .btn { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .field, .field input, .field select { width: 100%; }
  .field { flex: 1 1 140px; }
  .filters__count { width: 100%; margin: 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
  .card__body { padding: 12px 13px 14px; }
  .card__title { font-size: 16px; }
  .price { font-size: 18px; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 9px; }
  .card__foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
