:root {
  --olive: #2e3421;
  --olive-2: #3c4430;
  --olive-3: #4f5a3c;
  --cream: #f4efe5;
  --sand: #e9e0cf;
  --card: #fffdf8;
  --gold: #b8955a;
  --gold-2: #cfae74;
  --ink: #26281f;
  --muted: #6c6a5d;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); margin: 4px 0 0; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(32, 36, 23, .92); backdrop-filter: blur(8px); color: #f3ecdc; }
.header__row { display: flex; align-items: center; gap: 32px; height: 74px; }
.logo { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; line-height: 1.1; }
.logo__leaf { width: 22px; height: 22px; color: var(--gold-2); grid-row: span 2; }
.logo__name { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: .04em; }
.logo__sub { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.logo--light { display: flex; flex-direction: column; gap: 4px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav a { opacity: .85; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--gold-2); }
.header__phone { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; color: var(--gold-2); }
.header__phone svg { width: 18px; height: 18px; }
.burger { display: none; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: #f3ecdc; margin: 5px 0; }

/* ===== Hero ===== */
.hero { position: relative; color: #fbf6ea; min-height: 620px; display: flex; align-items: center; overflow: hidden; margin-top: -74px; padding-top: 74px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero__bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,24,14,.92) 0%, rgba(22,24,14,.7) 40%, rgba(22,24,14,.2) 75%), linear-gradient(0deg, rgba(22,24,14,.55), transparent 40%); }
.hero__inner { position: relative; padding: 80px 0 100px; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6vw, 78px); line-height: 1.02; margin: 0 0 22px; }
.hero__text { max-width: 460px; font-size: 17px; opacity: .9; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn { display: inline-block; padding: 15px 28px; border-radius: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: transform .15s, background .2s; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--olive { background: var(--olive-3); color: #fff; border-color: rgba(255,255,255,.15); }
.btn--olive:hover { background: #5d6a47; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a7854c; }

/* ===== Categories ===== */
.cats { padding: 70px 0 30px; text-align: center; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw, 44px); margin: 0; }
.section-title--left { text-align: left; }
.ornament { color: var(--gold); font-size: 20px; margin: 4px 0 30px; }
.cats__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 14px; }
.cat { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cat__img { width: 118px; height: 118px; border-radius: 50%; overflow: hidden; background: var(--sand); box-shadow: 0 0 0 6px var(--sand); transition: box-shadow .2s, transform .2s; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat:hover .cat__img, .cat.is-active .cat__img { transform: translateY(-3px); box-shadow: 0 0 0 4px var(--gold); }

/* ===== Catalog ===== */
.catalog { padding: 40px 0 70px; }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.catalog__tools { display: flex; gap: 10px; flex-wrap: wrap; }
.input { font: inherit; font-size: 14px; padding: 12px 16px; border: 1px solid #d7ccb6; border-radius: 10px; background: var(--card); color: var(--ink); }
.input:focus { outline: 2px solid var(--gold); border-color: transparent; }
#search { width: 300px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; position: sticky; top: 74px; z-index: 5; background: var(--cream); padding: 10px 0; }
.chip { border: 1px solid #d7ccb6; background: var(--card); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ink); transition: .2s; }
.chip i { font-style: normal; opacity: .5; margin-left: 4px; }
.chip:hover { border-color: var(--olive-3); }
.chip.is-active { background: var(--olive); color: #f3ecdc; border-color: var(--olive); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(60,55,30,.07); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(60,55,30,.14); }
.card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__tag { position: absolute; left: 10px; top: 10px; background: rgba(46,52,33,.85); color: #f3ecdc; font-size: 11px; font-weight: 600; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card__name { font-size: 15px; font-weight: 700; margin: 0 0 2px; line-height: 1.3; }
.card__cat { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__price { font-weight: 800; font-size: 17px; white-space: nowrap; }
.card__price span { font-weight: 500; font-size: 12px; color: var(--muted); }
.card__order { background: var(--olive-3); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; border-radius: 8px; transition: background .2s; white-space: nowrap; }
.card__order:hover { background: var(--olive); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ===== Delivery ===== */
.delivery { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; background: #2a2a1c; color: #f1e9d6; border-radius: 18px; overflow: hidden; min-height: 380px; }
.delivery__text { padding: 44px 48px; position: relative; z-index: 1; }
.delivery__icon { width: 46px; height: 46px; color: var(--gold-2); }
.delivery h2 { font-family: var(--serif); font-size: 34px; letter-spacing: .06em; margin: 8px 0 10px; font-weight: 600; }
.delivery p { opacity: .88; max-width: 480px; }
.steps { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.steps span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.delivery__img { background-size: cover; background-position: center; mask-image: linear-gradient(90deg, transparent, #000 25%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); }
.delivery__badge { position: absolute; right: 36px; top: 0; background: var(--olive-3); color: #f3ecdc; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; padding: 18px 16px 30px; line-height: 1.6; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%); border: 1px solid var(--gold); }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); padding: 50px 0; }
.feature { display: flex; gap: 14px; padding: 0 22px; border-right: 1px solid #d7ccb6; }
.feature:last-child { border-right: 0; }
.feature svg { width: 38px; height: 38px; color: var(--olive-3); flex: none; }
.feature h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 4px; }
.feature p { font-size: 13px; color: var(--muted); margin: 0; }

/* ===== Footer ===== */
.footer { background: #1f2317; color: #e6dfcc; padding: 40px 0 24px; }
.callbar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--olive-2); border-radius: 16px; padding: 26px 32px; margin-bottom: 40px; }
.callbar__text { flex: 1; min-width: 240px; }
.callbar h3 { font-family: var(--serif); font-size: 26px; margin: 0; }
.callbar p { margin: 4px 0 0; font-size: 14px; opacity: .75; }
.callbar__phone { font-size: 26px; font-weight: 800; color: var(--gold-2); white-space: nowrap; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; color: var(--gold-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; opacity: .85; }
.footer a:hover { color: var(--gold-2); }
.footer__muted { font-size: 14px; opacity: .6; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; font-size: 12px; opacity: .55; }

.fab { display: none; position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: #fff; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); z-index: 60; }
.fab svg { width: 26px; height: 26px; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .features { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .feature:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .delivery { grid-template-columns: 1fr; }
  .delivery__img { min-height: 220px; mask-image: linear-gradient(180deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; background: #20241a; padding: 8px 20px 18px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .burger { display: block; margin-left: auto; }
  .header__phone { display: none; }
  .fab { display: grid; }
  .cats__list { grid-template-columns: repeat(3, 1fr); }
  .cat__img { width: 92px; height: 92px; }
  #search { width: 100%; }
  .catalog__tools { width: 100%; }
  .catalog__tools .input { flex: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chip { white-space: nowrap; }
}
@media (max-width: 560px) {
  .hero { min-height: 560px; }
  .hero__inner { padding: 50px 0 70px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__body { padding: 10px 12px 12px; }
  .card__name { font-size: 14px; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__order { text-align: center; }
  .card__price { font-size: 15px; }
  .features, .footer__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; padding: 0; }
  .delivery__text { padding: 32px 24px; }
  .delivery__badge { display: none; }
  .cats__list { grid-template-columns: repeat(2, 1fr); }
  .logo__name { font-size: 19px; }
}

