/* Круглосуточный Ангарск. Морозный светлый лист, один брусничный акцент для звонка. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/onest-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/onest-latext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/onest-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/mono-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/mono-latext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/mono-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f2f4f8;
  --card: #ffffff;
  --raised: #e9edf3;
  --text: #121826;
  --text-2: #4a5466;
  --muted: #677085;
  --line: rgba(18, 24, 38, 0.09);
  --line-strong: rgba(18, 24, 38, 0.14);
  --accent: #b3202f;
  --accent-press: #981a27;
  --accent-ink: #a11c2a;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 20px;
  --max: 1200px;
  --shadow-sm: 0 1px 2px rgba(18, 24, 38, 0.05);
  --shadow: 0 8px 24px rgba(18, 24, 38, 0.06), 0 1px 2px rgba(18, 24, 38, 0.04);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
a.num, .callbar__num, .header__call { white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 12px; border-radius: 8px; background: var(--text); color: #fff; font-size: 14px; }
.skip:focus { top: 12px; }

.link { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgba(161, 28, 42, 0.3); text-underline-offset: 3px; transition: text-decoration-color 150ms var(--ease); }
.link:hover { text-decoration-color: currentColor; }


/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-press); }
.btn--quiet { background: rgba(255, 255, 255, 0.72); border-color: var(--line-strong); color: var(--text); }
.btn--quiet:hover { background: #fff; }
.btn--small { height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; background: var(--card); border-color: var(--line-strong); }
.btn--small:hover { border-color: rgba(18, 24, 38, 0.24); }
.btn--small .icon { width: 16px; height: 16px; color: var(--muted); }
.btn--wide { width: 100%; }

/* Header */
.header { position: absolute; inset: 0 0 auto; z-index: 20; }
.header__row { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--text-2); transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.6); }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: min(100svh, 880px); padding-top: 72px; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.hero__body { flex: 1; display: flex; align-items: center; padding-block: 48px 64px; }
.hero__copy { max-width: 600px; animation: rise 500ms var(--ease) both; }
.hero h1 { font-size: 64px; line-height: 1.04; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--text-2); }
.lede { margin-top: 24px; max-width: 34rem; font-size: 19px; line-height: 30px; color: var(--text-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-bottom: -56px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.facts > div { padding: 24px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; line-height: 20px; color: var(--muted); }
.facts dd { margin-top: 8px; font-size: 28px; line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.facts p { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--text-2); }

/* Sections */
.section { padding-block: 112px; }
.band { background: var(--card); border-block: 1px solid var(--line); }
.section h2 { font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.section__head p { max-width: 30rem; justify-self: end; color: var(--text-2); }

/* About */
.about { padding-top: 168px; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
.about__copy p { margin-top: 20px; max-width: 32rem; font-size: 17px; line-height: 28px; color: var(--text-2); }
.about__copy h2 + p { margin-top: 24px; }
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.steps__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--card); border: 1px solid var(--line-strong); font: 500 13px/1 var(--mono); color: var(--text); }
.steps h3 { font-size: 18px; line-height: 28px; font-weight: 500; }
.steps p { margin-top: 4px; color: var(--text-2); }

/* Assortment */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.menu li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-content: start; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
.menu li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.menu span { grid-row: span 2; padding-top: 4px; font: 400 13px/20px var(--mono); color: var(--muted); }
.menu h3 { font-size: 18px; line-height: 28px; font-weight: 500; }
.menu p { margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--text-2); }

/* Shelf: products stand on one line like a fridge shelf */
.shelf__row { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; grid-template-rows: auto auto; column-gap: 0; }
.shelf__item { display: grid; grid-row: span 2; grid-template-rows: subgrid; padding-inline: 12px; }
.shelf__item:first-child { padding-left: 0; }
.shelf__item:last-child { padding-right: 0; }
.shelf__item img {
  align-self: end; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  /* края фото растворяются в фоне страницы, чтобы не было видно прямоугольника */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 94%, transparent);
  mask-composite: intersect;
}
.shelf__cap { margin-inline: -12px; padding: 20px 12px 0; border-top: 1px solid var(--line-strong); }
.shelf__item:first-child .shelf__cap { margin-left: 0; padding-left: 0; }
.shelf__item:last-child .shelf__cap { margin-right: 0; padding-right: 0; }
.shelf__cap h3 { font-size: 17px; line-height: 24px; font-weight: 500; }
.shelf__cap p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-2); }

/* Delivery */
.delivery { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
.delivery__copy p { margin-top: 24px; max-width: 30rem; font-size: 17px; line-height: 28px; color: var(--text-2); }
.delivery__copy .btn { margin-top: 32px; }
.terms { border-top: 1px solid var(--line); }
.terms > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; min-height: 60px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.terms dt { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }
.terms dt .icon { color: var(--muted); }
.terms dd { font-size: 16px; font-weight: 500; }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
.faq__head { position: sticky; top: 32px; }
.faq__head p { margin-top: 20px; max-width: 24rem; color: var(--text-2); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 20px; font-size: 17px; line-height: 26px; font-weight: 500; cursor: pointer; list-style: none;
  transition: color 150ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary .icon { color: var(--muted); transition: transform 280ms var(--ease); }
.faq details.is-open summary .icon { transform: rotate(180deg); }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 38rem; padding-bottom: 24px; color: var(--text-2); }

/* Contacts */
.contacts__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
.contacts__sub { margin-top: 20px; max-width: 26rem; font-size: 17px; line-height: 28px; color: var(--text-2); }
.contacts__card { padding: 32px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.contacts__phone { display: inline-flex; align-items: center; min-height: 48px; font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; transition: color 150ms var(--ease); }
.contacts__phone:hover { color: var(--accent-ink); }
.contacts__meta { display: grid; gap: 8px; margin-block: 24px 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-2); }
.contacts__meta li { display: flex; align-items: center; gap: 10px; }
.contacts__meta .icon { color: var(--muted); }

/* Footer */
.footer { padding-block: 40px; font-size: 13px; line-height: 20px; color: var(--muted); }
.footnote { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 22px; color: var(--text-2); }
sup { font-size: 0.85em; line-height: 0; vertical-align: 0.3em; margin-left: 1px; color: var(--accent-ink); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer__legal p:first-child { color: var(--text-2); }
.footer__side { display: flex; align-items: center; gap: 16px; }
.age { display: inline-grid; place-items: center; height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-strong); font: 500 12px/1 var(--mono); color: var(--text-2); }

/* Mobile call bar */
.callbar { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero h1 { font-size: 56px; }
  .about__grid, .delivery, .faq, .contacts__grid { gap: 48px; }
  .terms > div { grid-template-columns: 180px 1fr; }
}

@media (max-width: 959px) {
  :root { --gutter: 16px; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

  .header { position: absolute; }
  .header__row { height: 56px; gap: 12px; }
  .header__call { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: auto;
    border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.8); color: var(--text); cursor: pointer;
  }
  .menu-btn .icon--close { display: none; }
  .menu-btn[aria-expanded="true"] .icon--open { display: none; }
  .menu-btn[aria-expanded="true"] .icon--close { display: block; }
  .nav {
    position: absolute; top: 56px; left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 2px; padding: 8px; margin: 0;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
  .nav a { padding: 12px; font-size: 16px; color: var(--text); }

  .hero { min-height: 0; padding-top: 56px; }
  .hero__media { position: relative; inset: auto; order: 2; z-index: 0; margin-top: -8px; aspect-ratio: 4 / 3; }
  .hero__media img {
    object-position: 84% 50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 70%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 70%, transparent);
  }
  .faq__head { position: static; }
  .hero__body { order: 1; padding-block: 32px 8px; }
  .hero > .wrap:last-child { order: 3; }
  .hero h1 { font-size: 40px; line-height: 1.06; letter-spacing: -0.025em; }
  .lede { margin-top: 20px; font-size: 17px; line-height: 26px; }
  .actions { margin-top: 28px; }
  .actions .btn { flex: 1 1 auto; }

  .facts { grid-template-columns: 1fr 1fr; margin-top: -32px; margin-bottom: 0; }
  .facts > div { padding: 16px; }
  .facts > div + div { border-left: 0; }
  .facts > div:nth-child(even) { border-left: 1px solid var(--line); }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts dd { font-size: 22px; }

  .section { padding-block: 72px; }
  .about { padding-top: 72px; }
  .section h2 { font-size: 30px; line-height: 1.15; }
  .section__head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .section__head p { justify-self: start; }
  .about__grid, .delivery, .faq, .contacts__grid { grid-template-columns: 1fr; gap: 32px; }

  .menu { grid-template-columns: 1fr; }
  .menu li, .menu li:not(:nth-child(3n + 1)) { padding: 20px 0; border-left: 0; }

  .shelf__scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shelf__scroller::-webkit-scrollbar { display: none; }
  .shelf__row { display: flex; gap: 16px; width: max-content; max-width: none; padding-inline: var(--gutter); }
  .shelf__item, .shelf__item:first-child, .shelf__item:last-child { display: block; width: 72vw; max-width: 320px; padding: 0; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .shelf__cap, .shelf__item:first-child .shelf__cap, .shelf__item:last-child .shelf__cap { margin: 0; padding: 16px 0 0; }

  .terms > div { grid-template-columns: 1fr; gap: 4px; min-height: 0; }
  .terms dd { padding-left: 28px; }

  .contacts__card { padding: 24px; }
  .contacts__phone { font-size: 32px; }

  .footer { padding-block: 32px; }
  .footer__row { flex-direction: column; align-items: flex-start; gap: 16px; }

  .callbar {
    position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; border-radius: 14px;
    background: var(--accent); color: #fff; font-weight: 500; font-size: 16px;
    box-shadow: 0 8px 24px rgba(18, 24, 38, 0.18);
    transition: background-color 150ms var(--ease), transform 120ms var(--ease);
  }
  .callbar:active { transform: scale(0.98); background: var(--accent-press); }
  .callbar__num { margin-left: auto; font-weight: 400; opacity: 0.9; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .contacts__phone { font-size: 28px; }
}

/* Самые узкие телефоны: в нижней кнопке иконка и номер, без слова */
@media (max-width: 359px) {
  .callbar { justify-content: center; }
  .callbar > span:not(.callbar__num) { display: none; }
  .callbar__num { margin-left: 0; font-weight: 500; opacity: 1; }
}

/* Телефон боком: нижняя кнопка — компактная плашка справа, не закрывает первый экран */
@media (max-width: 959px) and (max-height: 520px) and (orientation: landscape) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .callbar { left: auto; right: calc(12px + env(safe-area-inset-right)); height: 48px; padding: 0 16px; }
  .callbar > span:not(.callbar__num) { display: none; }
  .callbar__num { margin-left: 0; font-weight: 500; opacity: 1; }
  .hero__media { aspect-ratio: 16 / 7; }
  .actions .btn { flex: 0 0 auto; }
}

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

/* 404 */
.notfound { max-width: 688px; }
.notfound__text { margin-top: 16px; color: var(--text-2); }
