/* Метеор Фуд — стили сайта */

@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap; src: url(../fonts/rubik-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap; src: url(../fonts/rubik-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url(../fonts/rubik-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url(../fonts/rubik-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url(../fonts/rubik-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url(../fonts/rubik-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url(../fonts/rubik-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url(../fonts/rubik-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --paper: #ffffff;
  --sage: #f1f5ef;
  --green: #0b6b3a;
  --green-2: #0f8247;
  --green-hover: #08552e;
  --ink: #0f2a1d;
  --muted: #4c5f54;
  --line: #dde5da;
  --red: #d0102b;
  --red-2: #e6283f;
  --red-hover: #ad0c23;
  --font: "Rubik", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --sec: clamp(56px, 8vw, 100px);
  --shadow: 0 1px 2px rgba(15,42,29,.06), 0 10px 28px -14px rgba(15,42,29,.30);
  --shadow-up: 0 2px 6px rgba(15,42,29,.08), 0 24px 48px -20px rgba(15,42,29,.42);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.nowrap { white-space: nowrap; }

/* Типографика */
.h-display { font: 800 clamp(30px, 5.85vw, 74px)/1.04 var(--font); letter-spacing: -.02em; }
.h-sec { font: 700 clamp(28px, 3.4vw, 44px)/1.1 var(--font); letter-spacing: -.01em; }
.h-card { font: 700 21px/1.25 var(--font); }
.kicker { font-weight: 500; font-size: 16px; color: var(--red); margin: 0 0 12px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }

/* Карточка — общий объём и реакция на наведение */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.card:hover, .card.lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }

/* Кнопки с переливом */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 24px;
  border-radius: 999px; font: 500 16px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.15) 55%, transparent 70%);
  transform: translateX(-130%); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { animation: shine .9s var(--ease); }
.btn-red { color: #fff; background: linear-gradient(135deg, var(--red-2), var(--red) 55%, #b70b23); box-shadow: 0 10px 24px -12px rgba(208,16,43,.75); }
.btn-red:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(208,16,43,.85); }
.btn-green { color: #fff; background: linear-gradient(135deg, var(--green-2), var(--green) 60%, #08552e); box-shadow: 0 10px 24px -12px rgba(11,107,58,.75); }
.btn-green:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(11,107,58,.85); }
.btn-line { border-color: var(--green); color: var(--green); background: #fff; }
.btn-line::after { background: linear-gradient(110deg, transparent 25%, rgba(11,107,58,.14) 45%, transparent 70%); }
.btn-line:hover { color: var(--green-hover); box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--green); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.btn-white::after { background: linear-gradient(110deg, transparent 25%, rgba(11,107,58,.16) 45%, transparent 70%); }
.btn-white:hover { color: var(--green-hover); }
/* «Связаться с менеджером» переливается и без наведения — раз в несколько секунд */
.btn-cta::after { animation: shine-loop 5s var(--ease) infinite; }
.btn-cta:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes shine-loop { 0%, 72% { transform: translateX(-130%); } 90%, 100% { transform: translateX(130%); } }

/* Шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 8px 24px -20px rgba(15,42,29,.35); }
.top .wrap { max-width: 1360px; }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 56px; height: 56px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand b { font: 800 19px/1 var(--font); color: var(--red); display: block; margin-bottom: 3px; letter-spacing: .02em; }
.brand span { font: 800 16px/1 var(--font); color: var(--green); letter-spacing: .02em; }
.nav { display: flex; gap: 4px 22px; flex-wrap: nowrap; margin-left: auto; white-space: nowrap; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--red); }
.nav a:hover::after { transform: scaleX(1); }
.top-contact { display: flex; align-items: center; gap: 16px; flex: none; }
.top-phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.top .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: #fff; box-shadow: var(--shadow); cursor: pointer; padding: 0; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; transition: transform .2s; }
.menu-btn i::before { position: absolute; top: -6px; }
.menu-btn i::after { position: absolute; top: 6px; }
.top.open .menu-btn i { background: transparent; }
.top.open .menu-btn i::before { top: 0; transform: rotate(45deg); }
.top.open .menu-btn i::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1400px) { .top-phone { display: none; } }
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .drawer { display: none; }
  .top.open .drawer { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 20px 30px -20px rgba(15,42,29,.4); padding: 4px var(--gut) 20px; max-height: calc(100vh - 76px); overflow: auto; }
  .top.open .nav { flex-direction: column; gap: 0; margin: 0; }
  .top.open .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .top.open .nav a::after { display: none; }
  .top.open .top-contact { flex-wrap: wrap; margin-top: 16px; }
  .top.open .top-phone { display: inline; font-size: 18px; }
}
@media (min-width: 1181px) { .drawer { display: contents; } }

/* Рушник — орнамент */
.rushnik { height: 33px; background: url(../img/rushnik.svg) repeat-x center / auto 100%; }
.rushnik-thin { height: 21px; }

/* Первый экран */
.hero { padding: clamp(32px, 5vw, 60px) 0 0; overflow: hidden; }
.hero h1 { margin-bottom: clamp(20px, 3vw, 36px); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero .lead { margin: 0 0 4px; }
.shelf { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 3%; aspect-ratio: 2 / 1; padding: 0 3% 12px; }
.shelf img { width: auto; min-width: 0; flex: none; max-height: calc(100% - 4px); mix-blend-mode: multiply; transition: transform .35s var(--ease); transform-origin: bottom center; }
.shelf img:hover { transform: translateY(-8px) rotate(-2deg); }
.shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(180deg, var(--green-2), var(--green)); border-radius: 4px; box-shadow: 0 12px 20px -10px rgba(11,107,58,.6); }
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; margin-bottom: clamp(24px, 3vw, 40px); }
.aud a { display: block; padding: 20px 52px 22px 22px; border-radius: var(--radius); text-decoration: none; color: #fff; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.aud a:hover { transform: translateY(-5px); color: #fff; }
.aud .to-buy { background: linear-gradient(135deg, var(--green-2), var(--green) 60%, #08552e); box-shadow: 0 16px 30px -16px rgba(11,107,58,.8); }
.aud .to-make { background: linear-gradient(135deg, var(--red-2), var(--red) 60%, #b70b23); box-shadow: 0 16px 30px -16px rgba(208,16,43,.8); }
.aud .to-buy:hover { box-shadow: 0 24px 40px -16px rgba(11,107,58,.9); }
.aud .to-make:hover { box-shadow: 0 24px 40px -16px rgba(208,16,43,.9); }
.aud small { display: block; font-size: 14px; font-weight: 500; opacity: .9; margin-bottom: 6px; }
.aud strong { display: block; font: 700 23px/1.15 var(--font); margin-bottom: 8px; }
.aud span { display: block; font-size: 15px; line-height: 1.4; opacity: .92; }
.aud a::after { content: "→"; position: absolute; right: 20px; top: 18px; font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.aud a:hover::after { transform: translateX(5px); }
.theses { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 30px 0 26px; list-style: none; }
.theses li { padding: 2px 22px; border-left: 2px solid var(--line); font-weight: 500; }
.theses li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .shelf { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .aud { grid-template-columns: 1fr; }
  .theses { grid-template-columns: 1fr; gap: 10px; }
  .theses li, .theses li:first-child { border-left: 3px solid var(--red); padding: 2px 0 2px 14px; }
}

/* Секции */
.sec { padding: var(--sec) 0; }
.sec-sage { background: var(--sage); }
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head .lead { margin: 14px 0 0; }

/* Направления */
.dirs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dir { display: grid; grid-template-columns: 190px 1fr; gap: 22px; padding: 24px; }
.dir-pics { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 170px; align-self: center; }
.dir-pics img { width: auto; max-width: 34%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.dir:hover .dir-pics img:nth-child(1) { transform: translateY(-6px) rotate(-3deg); }
.dir:hover .dir-pics img:nth-child(2) { transform: translateY(-10px); }
.dir:hover .dir-pics img:nth-child(3) { transform: translateY(-6px) rotate(3deg); }
.dir h3 { margin-bottom: 8px; }
.dir h3 small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.dir p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 13px; border-radius: 10px; background: var(--sage); color: var(--ink); text-decoration: none; font-size: 14px; transition: background-color .2s, color .2s, transform .2s; }
.chips a:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.also { margin: 26px 0 0; color: var(--muted); }
.more-row { margin-top: 28px; }
@media (max-width: 1000px) { .dirs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .dir { grid-template-columns: 1fr; } .dir-pics { height: 140px; } }

/* Плитки производителей */
.mgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.mtile { grid-column: span 3; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); overflow: hidden; }
.mtile:nth-child(-n+3) { grid-column: span 4; }
.mtile:hover { color: var(--ink); }
.mtile-pic { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 18px 24px; }
.mtile:nth-child(-n+3) .mtile-pic { aspect-ratio: 2 / 1; }
.mtile-pic img { max-height: 100%; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.mtile:hover .mtile-pic img { transform: scale(1.06); }
.mtile-name { padding: 14px 18px 16px; border-top: 1px solid var(--line); font-weight: 500; font-size: 16px; line-height: 1.3; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; hyphens: auto; overflow-wrap: anywhere; }
.mtile-name small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.mtile-ask { grid-column: span 9; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 26px 30px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(135deg, var(--green-2), var(--green) 60%, #08552e); box-shadow: 0 16px 30px -16px rgba(11,107,58,.8); }
.mtile-ask p { margin: 0; font-size: 18px; }
.mtile-ask .btn { align-self: flex-start; }
@media (max-width: 1000px) { .mgrid { grid-template-columns: repeat(6, 1fr); } .mtile, .mtile:nth-child(-n+3) { grid-column: span 2; } .mtile:nth-child(-n+3) .mtile-pic { aspect-ratio: 3 / 2; } .mtile-ask { grid-column: span 4; } }
@media (max-width: 700px) {
  .mgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mtile, .mtile:nth-child(-n+3) { grid-column: span 1; }
  .mtile-ask { grid-column: span 2; padding: 20px; }
  .mtile-ask p { font-size: 16px; }
  .mtile-pic { padding: 12px; }
  .mtile-name { padding: 12px; font-size: 14px; flex-direction: column; gap: 2px; }
}
@media (max-width: 359px) { .mgrid { grid-template-columns: 1fr; } .mtile-ask { grid-column: span 1; } }

.manager-line { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: 30px; padding: 24px 28px; border-left: 5px solid var(--red); }
.manager-line p { margin: 0; color: var(--muted); flex: 1 1 420px; }
.manager-line strong { display: block; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }

/* Репутация */
.rep-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.rep-cards .card { grid-column: span 2; padding: 26px 24px 24px; }
.rep-cards .card:nth-child(n+4) { grid-column: span 3; }
.rep-cards .card::before { content: ""; display: block; width: 48px; height: 33px; margin-bottom: 14px; background: url(../img/rushnik.svg) no-repeat left center / auto 100%; transition: transform .35s var(--ease); }
.rep-cards .card:hover::before { transform: rotate(90deg); }
.rep-cards h3 { font: 700 19px/1.3 var(--font); margin-bottom: 8px; }
.rep-cards p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .rep-cards { grid-template-columns: 1fr 1fr; } .rep-cards .card, .rep-cards .card:nth-child(n+4) { grid-column: span 1; } .rep-cards .card:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .rep-cards { grid-template-columns: 1fr; } .rep-cards .card:last-child { grid-column: span 1; } }

/* Схема поставки — вышитая нить */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: st; }
.chain::before { content: ""; position: absolute; left: 10%; right: 10%; top: 39px; height: 9px; background: url(../img/stitch-h.svg) repeat-x left center / auto 9px; }
.chain li { position: relative; text-align: center; counter-increment: st; }
.chain .node { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 3px solid var(--green); display: grid; place-items: center; position: relative; z-index: 1;
  font: 800 26px/1 var(--font); color: var(--green); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.chain li:hover .node { transform: translateY(-5px) scale(1.05); box-shadow: var(--shadow-up); }
.chain .node::before { content: counter(st); }
.chain .is-us .node { width: 116px; height: 116px; margin-top: -16px; margin-bottom: 0; border-color: var(--red); }
.chain .is-us .node::before { content: none; }
.chain .is-us .node img { width: 100px; height: 100px; }
.chain h3 { font: 700 17px/1.3 var(--font); margin: 0 0 6px; }
.chain p { font-size: 15px; color: var(--muted); margin: 0; }
.chain .ends h3 { color: var(--red); }
@media (max-width: 860px) {
  .chain { grid-template-columns: 1fr; gap: 0; }
  .chain::before { left: 38px; right: auto; top: 50px; bottom: 50px; width: 9px; height: auto; background: url(../img/stitch-v.svg) repeat-y center top / 9px auto; }
  .chain li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; text-align: left; align-items: center; padding: 10px 0; }
  .chain .node, .chain .is-us .node { width: 84px; height: 84px; margin: 0; }
  .chain .is-us .node img { width: 72px; height: 72px; }
}
.chain-note { margin: 34px 0 0; font-size: 18px; font-weight: 500; color: var(--ink); }

/* География */
.geo { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.terms { display: grid; gap: 14px; }
.terms .card { padding: 18px 20px; border-left: 5px solid var(--green); }
.terms h3 { font: 700 17px/1.3 var(--font); margin-bottom: 4px; }
.terms p { margin: 0; font-size: 15px; color: var(--muted); }
.geo-map { margin: 0; padding: 20px; }
.geo-map svg { width: 100%; height: auto; display: block; }
.geo-map figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .geo { grid-template-columns: 1fr; } }

/* Две аудитории */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; scroll-margin-top: 96px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.panel:hover { transform: translateY(-5px); }
.panel-green { color: #fff; background: linear-gradient(140deg, var(--green-2), var(--green) 55%, #08552e); box-shadow: 0 20px 40px -22px rgba(11,107,58,.9); }
.panel-white { background: #fff; box-shadow: var(--shadow); border-top: 6px solid var(--red); }
.panel-white:hover { box-shadow: var(--shadow-up); }
.panel .kicker { color: #fff; opacity: .9; }
.panel-white .kicker { color: var(--red); opacity: 1; }
.panel h2 { font: 700 clamp(24px, 2.8vw, 34px)/1.12 var(--font); margin-bottom: 14px; }
.steps { list-style: none; margin: 8px 0 26px; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-weight: 500; }
.steps li::before { content: counter(s); font: 700 15px/30px var(--font); width: 34px; height: 34px; text-align: center; border-radius: 50%; border: 2px solid currentColor; }
.panel .fine { font-size: 14px; opacity: .88; margin: 18px 0 0; }
.panel-white .fine { color: var(--muted); opacity: 1; }
.aud-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.aud-list li { padding: 6px 13px; border-radius: 10px; background: rgba(255,255,255,.16); font-size: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* О компании */
.about-text p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; }
.about-text p:first-child { font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; color: var(--ink); line-height: 1.5; }
.retail { margin-top: 30px; padding: 26px 28px; border-left: 5px solid var(--red); }
.retail h3 { font: 700 21px/1.3 var(--font); margin-bottom: 6px; }
.retail > p { margin: 0; color: var(--muted); }

/* Заказ */
.order { color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr; gap: 28px;
  background: radial-gradient(120% 140% at 0% 0%, #1b4a32 0%, var(--ink) 60%); box-shadow: 0 30px 60px -30px rgba(15,42,29,.8); }
.order h2 { color: #fff; margin-bottom: 14px; }
.order .kicker { color: #ff9aa6; }
.order p { color: rgba(255,255,255,.85); margin: 0 0 10px; }
.order p.big { font-size: 21px; color: #fff; font-weight: 500; }
.order-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .order-ways { grid-template-columns: 1fr; } }
.order-ways a { display: block; padding: 16px 20px; border-radius: var(--radius); background: rgba(255,255,255,.08); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.2);
  transition: transform .3s var(--ease), background-color .2s; }
.order-ways a:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateX(6px); }
.order-ways small { display: block; font-size: 13px; opacity: .75; margin-bottom: 2px; }
.order-ways strong { font-size: 23px; font-weight: 700; overflow-wrap: anywhere; }

/* Адреса и карты */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.place { overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 96px; }
.place-info { padding: 24px 26px; }
.place-info h3 { font: 700 20px/1.3 var(--font); margin-bottom: 6px; }
.place-info address { font-style: normal; margin-bottom: 8px; }
.place-info p { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.place-info .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--sage) url(../img/map-bg.svg) center / 40px 40px; margin-top: auto; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: transparent; border: 0; width: 100%; cursor: pointer; font: inherit; color: var(--ink); }
.map-cover span { background: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.map-cover:hover span { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.map.is-loaded .map-cover { place-items: end center; padding-bottom: 16px; }
.map.is-loaded .map-cover span { font-size: 13px; padding: 8px 14px; background: rgba(255,255,255,.92); }
.map.is-live .map-cover { display: none; }
@media (max-width: 860px) { .places { grid-template-columns: 1fr; } }

/* Подвал */
.foot { background: var(--paper); padding: 0 0 28px; margin-top: var(--sec); font-size: 15px; }
.home .foot { margin-top: 0; }
.foot .rushnik { margin-bottom: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 28px; }
.foot h2 { font: 700 15px/1.4 var(--font); color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink); }
.foot a:hover { color: var(--red); }
.foot .brand { margin-bottom: 14px; }
.foot p { color: var(--muted); }
.foot-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Каталог */
.page-head { padding: clamp(24px, 4vw, 44px) 0 clamp(20px, 3vw, 32px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #a9b8ab; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); }
.page-head h1 { font: 800 clamp(26px, 3.8vw, 46px)/1.1 var(--font); letter-spacing: -.01em; overflow-wrap: anywhere; }
.page-head .lead { margin: 14px 0 0; }
.mhead { display: flex; gap: 24px; align-items: center; }
.mhead img { width: 160px; flex: none; border-radius: 14px; padding: 12px; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 560px) { .mhead { flex-direction: column; align-items: flex-start; } .mhead img { width: 130px; } }
.back { display: inline-flex; gap: 8px; margin-top: 30px; font-weight: 500; transition: transform .25s var(--ease); }
.back:hover { transform: translateX(-4px); }

.search { max-width: 640px; margin-top: 22px; }
.search label { display: block; font-weight: 500; margin-bottom: 8px; }
.search input { width: 100%; min-height: 54px; padding: 12px 22px; border: 2px solid transparent; border-radius: 999px; font: inherit; color: var(--ink); background: #fff; box-shadow: var(--shadow); transition: box-shadow .25s, border-color .2s; }
.search input:focus { outline: none; border-color: var(--green); box-shadow: var(--shadow-up); }
.search-out { margin-top: 24px; }
.search-out[hidden] { display: none; }
.search-count { font-size: 15px; color: var(--muted); margin: 0 0 14px; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cat { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; text-decoration: none; color: var(--ink); }
.cat:hover { color: var(--ink); }
.cat img { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.cat:hover img { transform: scale(1.1) rotate(-3deg); }
.cat b { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
.cat small { font-size: 13px; color: var(--muted); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.ptile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); overflow: hidden; }
.ptile:hover { color: var(--ink); }
.ptile-pic { aspect-ratio: 1; padding: 12px; display: grid; place-items: center; }
.ptile-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.ptile:hover .ptile-pic img { transform: scale(1.06); }
.ptile-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ptile-name { font-weight: 500; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; hyphens: auto; }
.ptile-pack { font-size: 13px; font-weight: 500; color: var(--green); }
.ptile-more { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--red); font-weight: 500; }
@media (max-width: 520px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ptile-body { padding: 0 10px 12px; } .ptile-name { font-size: 14px; } }
@media (max-width: 340px) { .pgrid { grid-template-columns: 1fr; } }
.nophoto { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; background: var(--sage); border-radius: 12px; color: var(--muted); font-size: 13px; padding: 10px; }
.nophoto img { width: 40%; opacity: .5; mix-blend-mode: multiply; }
.sub-h { font: 700 21px/1.3 var(--font); margin: 38px 0 16px; }

/* Товар */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.gallery-main { aspect-ratio: 1; display: grid; place-items: center; padding: 24px; }
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; padding: 6px; border: 2px solid transparent; border-radius: 12px; background: #fff; box-shadow: var(--shadow); cursor: pointer; transition: transform .2s; }
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button[aria-pressed="true"] { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product h1 { font: 700 clamp(24px, 3vw, 36px)/1.18 var(--font); overflow-wrap: anywhere; }
.spec { list-style: none; margin: 24px 0; padding: 0; border-top: 2px solid var(--ink); }
.spec li { display: grid; grid-template-columns: 160px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec b { font-weight: 500; color: var(--muted); }
.ask { padding: 24px 26px; border-left: 5px solid var(--red); }
.ask strong { display: block; font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.ask p { margin: 0 0 16px; color: var(--muted); }
.ask-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .gallery-main { max-width: 480px; } }
@media (max-width: 420px) { .spec li { grid-template-columns: 1fr; gap: 2px; } }

.nf { padding: 80px 0 20px; text-align: center; }
.nf .lead { margin: 16px auto 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn::after { display: none; }
}

/* Магазины на карте */
.stores-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.stores-map { height: 540px; border-radius: var(--radius); overflow: hidden; background: var(--sage) url(../img/map-bg.svg) center / 40px 40px; box-shadow: var(--shadow); z-index: 0; }
.stores-map .leaflet-tile-pane { filter: saturate(.55) contrast(1.02); }
.stores-list { height: 540px; overflow: auto; padding: 8px; }
.stores { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.stores li { counter-increment: st; }
.stores button { width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent;
  font: 400 15px/1.4 var(--font); color: var(--ink); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.stores button::before { content: counter(st); font-weight: 700; font-size: 13px; color: var(--red); }
.stores button:hover { background: var(--sage); transform: translateX(3px); }
.stores button[aria-current="true"] { background: var(--green); color: #fff; }
.stores button[aria-current="true"]::before { color: #fff; }
.store-pin { display: block; box-sizing: border-box; width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .2s; }
.store-pin.is-on { transform: scale(1.5); background: var(--green); }
.leaflet-popup-content { font: 400 14px/1.45 var(--font); margin: 12px 14px; }
.leaflet-popup-content b { display: block; margin-bottom: 6px; }
.leaflet-container a.store-route { color: var(--green); font-weight: 500; }
.stores-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .stores-wrap { grid-template-columns: 1fr; }
  .stores-map { height: 420px; }
  .stores-list { height: auto; max-height: 420px; }
}
