@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #392414;
  --muted: #725747;
  --paper: #fbf6ee;
  --cream: #f4e6d6;
  --warm: #ead1b8;
  --accent: #c36d2d;
  --accent-dark: #8f451c;
  --gold: #edae35;
  --white: #fffdf8;
  --line: #dfbea0;
  --shadow: 0 18px 50px rgb(61 41 20 / 14%);
  --shadow-strong: 0 22px 60px rgb(61 41 20 / 24%);
  --serif: "Palatino Linotype", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea { font: inherit; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(199 152 105 / 28%);
  background: rgb(255 249 240 / 94%);
  box-shadow: 0 10px 30px rgb(61 41 20 / 9%);
  backdrop-filter: blur(16px);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}

.logo__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #df9b4e, var(--accent) 58%, var(--accent-dark));
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 20%), 0 8px 18px rgb(95 44 16 / 22%);
  color: #fff;
}

.logo__mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo b {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
}

.logo small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: #fff6eb;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #5a3721;
  font-size: 13px;
  font-weight: 900;
  transition: .2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--ink);
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone {
  color: #4b2b17;
  font-size: 13px;
  font-weight: 900;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #d48238, var(--accent));
  box-shadow: 0 10px 24px rgb(167 92 38 / 30%);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(180deg, #a85825, var(--accent-dark));
  box-shadow: 0 14px 30px rgb(112 53 22 / 35%);
  transform: translateY(-2px);
}

.button--small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

.button--outline {
  border: 1px solid rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 10%);
  box-shadow: none;
}

.button--outline:hover,
.button--outline:focus-visible {
  background: #fff;
  color: var(--ink);
}

.button--card {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 18px;
  font-size: 13px;
}

.burger,
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgb(37 18 8 / 92%) 0%, rgb(61 36 18 / 72%) 52%, rgb(61 36 18 / 22%) 100%),
    linear-gradient(180deg, rgb(0 0 0 / 18%), rgb(0 0 0 / 10%));
}

.hero__content {
  position: relative;
  padding: 90px 0;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff3e4;
  color: #9a4d1d;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 7px 18px rgb(91 48 20 / 10%);
}

.eyebrow--light {
  background: rgb(255 246 232 / 16%);
  color: #ffe0b6;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 24%);
}

.hero h1,
.section h2 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(56px, 7vw, 88px);
}

.hero h1 em {
  color: #f3c98d;
  font-weight: 500;
}

.hero__lead {
  max-width: 560px;
  margin: 25px 0 0;
  color: #fff4e8;
  font-size: 18px;
  font-weight: 650;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.stats {
  display: flex;
  gap: 55px;
  margin: 60px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid rgb(255 255 255 / 28%);
}

.stats div { display: flex; flex-direction: column; }

.stats dt {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 800;
}

.stats dd {
  margin: 0;
  color: #eadcd0;
  font-size: 12px;
  font-weight: 800;
}

.section { padding: 100px 0; }
.section--cream { background: var(--cream); }
.section--warm { background: linear-gradient(180deg, var(--warm), var(--cream)); }

.section-head {
  max-width: 650px;
  margin-bottom: 45px;
}

.section-head--center {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 58px);
}

.section-head > p:last-child {
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3c3a6;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 30px rgb(61 41 20 / 7%);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.product:hover,
.product:focus-within {
  border-color: #c87535;
  background: #fffaf1;
  box-shadow: var(--shadow-strong);
  transform: translateY(-9px);
}

.product img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product__body > span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product h3,
.promo h3,
.info-card h3,
.contact-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.15;
}

.product p,
.promo p,
.info-card p {
  color: var(--muted);
  font-size: 13px;
}

.product strong {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-size: 19px;
}

.product strong small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.story__visual { position: relative; }

.story__visual img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.story__visual span {
  position: absolute;
  right: -20px;
  bottom: 28px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.story__text > p:not(.eyebrow) { color: var(--muted); }
.story ul { padding: 0; list-style: none; }
.story li { margin: 12px 0; }
.story li::before { content: "✓"; margin-right: 12px; color: var(--accent); font-weight: 900; }

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 900;
}

.promos,
.delivery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo,
.info-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 5px 24px rgb(61 41 20 / 7%);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.promo:hover,
.promo:focus-within,
.info-card:hover,
.info-card:focus-within {
  border-color: #c87535;
  background: #fffaf1;
  box-shadow: var(--shadow-strong);
  transform: translateY(-8px);
}

.promo b {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #2d1b0f;
  font-size: 12px;
  text-transform: uppercase;
}

.promo .button--card {
  align-self: flex-start;
  margin-top: auto;
}

.info-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff4e4, #efd5b9);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgb(160 91 39 / 14%);
}

.info-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery {
  display: grid;
  grid-auto-rows: 230px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgb(61 41 20 / 9%);
}

.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }

.gallery__action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.contacts {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
}

.map-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: 26px;
  background: #e2d3bb;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: saturate(.95) contrast(.98);
}

.map-note {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  margin: 0;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgb(255 253 248 / 94%);
  box-shadow: 0 12px 28px rgb(61 41 20 / 16%);
  color: var(--ink);
}

.contact-card {
  padding: 38px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card h3 { font-size: 30px; }
.contact-card address { font-style: normal; }
.contact-card address p { color: var(--muted); }

.contact-card address b {
  display: block;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-card a { color: var(--accent); }

.order {
  background: var(--ink);
  color: #fff;
}

.order__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.order__grid > div > p:last-child { color: #d8c9bd; }

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.order-form label {
  font-size: 12px;
  color: #fff7ec;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgb(0 0 0 / 28%);
}

.order-form label:last-of-type,
.order-form button,
.form-status { grid-column: 1 / -1; }

.order-form input,
.order-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 15px;
  border: 1px solid rgb(255 232 205 / 52%);
  border-radius: 12px;
  background: rgb(255 244 230 / 12%);
  color: #fff;
  outline: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 5%);
}

.order-form input:focus,
.order-form textarea:focus {
  border-color: #f0b46f;
  background: rgb(255 244 230 / 17%);
  box-shadow: 0 0 0 3px rgb(232 166 94 / 18%), inset 0 0 0 1px rgb(255 255 255 / 8%);
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: #d9c3ad;
  opacity: 1;
}
.order-form .invalid { border-color: #ff8c78; }

.form-status {
  min-height: 24px;
  margin: 0;
  color: #f2d4af;
  font-size: 13px;
}

.footer {
  padding: 65px 0 0;
  background: #25170d;
  color: #d9cbc0;
}

.logo--light b { color: #fff; }
.logo--light small { color: #c9b8aa; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer h3 {
  color: #e8a65e;
  font-size: 12px;
  text-transform: uppercase;
}

.footer__grid > div > a:not(.logo) {
  display: block;
  margin: 7px 0;
}

.footer__bottom {
  margin-top: 45px;
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 9%);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  .nav { gap: 2px; }
  .nav a { padding: 9px 9px; }
}

@media (max-width: 980px) {
  .header {
    background: #fffaf2;
    backdrop-filter: none;
  }

  .nav,
  .phone { display: none; }

  .burger {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--cream);
    place-content: center;
    gap: 4px;
  }

  .burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: .25s;
  }

  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-nav {
    position: fixed;
    z-index: 49;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    padding: 28px max(22px, calc((100vw - 360px) / 2));
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    background: #fffaf2;
    box-shadow: 0 24px 45px rgb(61 41 20 / 18%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: opacity .2s ease, transform .2s ease;
  }

  .mobile-nav a:not(.button) {
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
    font-weight: 900;
  }

  .products { grid-template-columns: repeat(2, 1fr); }
  .story { gap: 45px; }
  .promos,
  .delivery { grid-template-columns: repeat(3, 1fr); }
  .contacts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .header__inner { min-height: 68px; }
  .logo b { font-size: 21px; }
  .logo__mark { width: 38px; height: 38px; flex-basis: 38px; }
  .logo__mark svg { width: 26px; height: 26px; }
  .header__actions > .button { display: none; }
  .mobile-nav { top: 68px; }
  .hero { min-height: 680px; }
  .hero__content { padding: 70px 0; }
  .hero h1 { font-size: 47px; }
  .hero__lead { font-size: 16px; }
  .hero__buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .stats {
    gap: 24px;
    justify-content: space-between;
  }

  .stats dt { font-size: 28px; }
  .section { padding: 72px 0; }
  .section h2 { font-size: 40px; }

  .products,
  .promos,
  .delivery,
  .story,
  .contacts,
  .order__grid { grid-template-columns: 1fr; }

  .products { gap: 16px; }

  .product {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .product img {
    height: 100%;
    aspect-ratio: auto;
  }

  .product__body { padding: 18px; }
  .product h3 { margin: 8px 0; font-size: 20px; }
  .product p { margin: 8px 0; }
  .story { gap: 42px; }
  .story__visual span { right: 12px; }
  .gallery {
    grid-auto-rows: 165px;
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery .tall { grid-row: span 1; }
  .map-card,
  .map-card iframe { min-height: 310px; }
  .order__grid { gap: 35px; }
  .order-form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 25px; }
  .reveal { transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
