:root {
  --ink:      #111214;
  --ink-soft: #6b6f76;
  --line:     #e3e4e7;
  --bg-alt:   #f5f5f4;
  --sale:     #c0392b;
  --wrap:     1240px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 3rem; letter-spacing: .04em; }
h2 { font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; }
h3 { font-size: .95rem; font-weight: 500; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover, a:focus-visible { color: var(--sale); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand { font-size: 1.3rem; font-weight: 700; letter-spacing: .16em; text-decoration: none; margin-right: auto; }
.brand span { font-size: .7em; vertical-align: super; }

.primary-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: 8px 12px; text-decoration: none;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--bg-alt); }

.header__phone { margin: 0; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.header__phone a { text-decoration: none; }

.nav-toggle {
  display: none; width: 44px; height: 40px; background: none;
  border: 1px solid var(--line); cursor: pointer;
}
.nav-toggle__box { display: block; position: relative; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); }
.nav-toggle__box::before, .nav-toggle__box::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.nav-toggle__box::before { top: -6px; }
.nav-toggle__box::after  { top:  6px; }

/* ---------- hero ---------- */

.hero { padding: 44px 0 52px; }
.hero__in { display: grid; grid-template-columns: 1fr .8fr; gap: 44px; align-items: center; }
.hero__tag { font-size: 1.05rem; color: var(--ink-soft); max-width: 46ch; }
.hero p { max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero__img { margin: 0; }
.hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.btn {
  display: inline-block; padding: 13px 30px; background: var(--ink); color: #fff;
  text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.btn:hover { background: #34383e; color: #fff; }
.btn--ghost { background: none; color: var(--ink); border: 1px solid var(--ink); padding: 12px 29px; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- sections ---------- */

.section { padding: 46px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { text-align: center; margin-bottom: 1.4em; }

.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cats a {
  display: block; padding: 10px 22px; border: 1px solid var(--line); background: #fff;
  text-decoration: none; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
.cats a:hover { border-color: var(--ink); color: var(--ink); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.products > * { min-width: 0; }
.product { margin: 0; background: #fff; }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product figcaption { padding: 12px 2px 0; }
.product h3 { margin: 0 0 6px; font-size: .9rem; }

.price { margin: 0; display: flex; gap: 10px; align-items: baseline; font-size: .9rem; }
.price__old { color: var(--ink-soft); text-decoration: line-through; font-size: .82rem; }
.price__new { color: var(--sale); font-weight: 700; }

.note { margin: 26px 0 0; text-align: center; font-size: .85rem; color: var(--ink-soft); }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.services li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.services svg { width: 34px; height: 34px; flex: none; color: var(--ink); }
.services h3 { margin: 0 0 4px; font-size: .95rem; font-weight: 700; }
.services p { margin: 0; font-size: .85rem; color: var(--ink-soft); }

.stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.store { background: #fff; border: 1px solid var(--line); padding: 22px 24px; min-width: 0; }
.store h3 { font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.store address { font-style: normal; color: var(--ink-soft); }

.section--contact { background: var(--ink); color: #d7d9dd; }
.section--contact .section__title { color: #fff; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact__box { border: 1px solid #2c3037; padding: 20px 22px; min-width: 0; }
.contact__box h3 { color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.contact a { color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.contact a:hover { color: #ff8b7d; }
.contact p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-top: 36px; font-size: .88rem; color: var(--ink-soft); }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-bottom: 24px; }
.footer__brand { font-size: 1.15rem; font-weight: 700; letter-spacing: .16em; color: var(--ink); }
.footer__brand span { font-size: .7em; vertical-align: super; }
.footer__head { color: var(--ink); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--line); padding: 14px 0; }
.footer__bottom p { margin: 0; font-size: .8rem; }

/* ---------- mobile ---------- */

@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  h1 { font-size: 2.2rem; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__img img { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
  .section { padding: 34px 0; }
  .nav-toggle { display: block; order: 3; }
  .header__phone { order: 2; }
  .primary-nav { display: none; order: 4; width: 100%; padding-bottom: 10px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 11px 4px; border-bottom: 1px solid var(--line); }
  .header__in { flex-wrap: wrap; }

  .products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services, .stores, .contact, .footer__in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
