@font-face {
  font-family: 'Dela Gothic One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/DelaGothicOne-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Dela Gothic One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/DelaGothicOne-400-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/Manrope-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/Manrope-400-latin.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:#f6f7ef;          /* основной фон, оливково-белый */
  --surface:#eceee1;     /* плашки, кнопки, подложки фото */
  --surface-2:#e2e5d4;   /* плашки при наведении */
  --ink:#1f2119;         /* основной текст, тёмные кнопки */
  --muted:#696c5c;       /* состав блюд, подписи */
  --line:#dcdfcd;        /* разделители */
  --strip:#2a2d1f;       /* тёмная полоса с часами работы */
  --strip-ink:#ffffff;
  --accent:#e8463a;      /* акцент: томатный */

  /* Цвета логотипа — для акций, меток и точек категорий */
  --c-yellow:#f6c12c;
  --c-blue:#2f8fe0;
  --c-green:#22a865;
  --c-red:#e8463a;
  --c-pink:#ee5d9e;
  --c-orange:#ff8a1f;

  /* Шрифты */
  --f-display:"Dela Gothic One","Arial Black",Impact,sans-serif;  /* заголовки */
  --f-body:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;  /* весь остальной текст */

  /* Форма */
  --r:22px;              /* скругление карточек и фото */
  --shadow:0 1px 2px rgba(29,27,36,.06),0 8px 24px rgba(29,27,36,.06);
}

/* ---------- Тёмная тема ----------
   Значения повторены дважды: первый блок — когда у посетителя тёмная тема в системе,
   второй — когда тёмную тему включили кнопкой на сайте. Меняйте оба одинаково. */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#16170f; --surface:#212318; --surface-2:#2b2d21; --ink:#f1f2e8; --muted:#a3a693;
    --line:#33362a; --strip:#2b2d21; --strip-ink:#f1f2e8;
    --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.25);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#16170f; --surface:#212318; --surface-2:#2b2d21; --ink:#f1f2e8; --muted:#a3a693;
  --line:#33362a; --strip:#2b2d21; --strip-ink:#f1f2e8;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.25);
  color-scheme:dark;
}


/* Layout: clean white storefront, centered 1200px column; the logo's letter colours become the colour system for promos and categories. */
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3{text-wrap:balance;margin:0}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--c-blue);outline-offset:2px;border-radius:8px}
.wrap{max-width:1200px;margin:0 auto;padding-inline:clamp(16px,3vw,32px)}

/* ---------- header ---------- */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}
.top .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:76px;gap:16px}
.top-left{display:flex;align-items:center;gap:20px;min-width:0}
.icon-btn{width:44px;height:44px;border:0;background:transparent;border-radius:12px;display:grid;place-items:center}
.icon-btn:hover{background:var(--surface)}
.top-link{font-weight:600;font-size:15px;color:var(--ink);text-decoration:none;white-space:nowrap}
.top-link:hover{color:var(--accent)}
.top-right{display:flex;justify-content:flex-end;align-items:center;gap:12px}
.phone-pill{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}
.phone-pill b{font-size:17px;font-variant-numeric:tabular-nums;user-select:all}
.phone-pill span{font-size:12px;color:var(--muted)}
.logo img{display:block;height:50px;width:auto}

.strip{background:var(--strip);color:var(--strip-ink)}
.strip .wrap{display:flex;justify-content:center;align-items:center;gap:12px;padding-block:14px;font-size:15px;text-align:center;flex-wrap:wrap}
.strip b{color:var(--c-yellow)}
.strip svg{flex:none;color:var(--c-yellow)}

/* ---------- hero / location ---------- */
/* первый экран (вариант B): фото во весь блок, текст поверх на затемнении */
.hero{position:relative;margin-top:24px;border-radius:32px;overflow:hidden;min-height:600px;display:flex;flex-direction:column;justify-content:center;color:#fff;isolation:isolate}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:100% 50%;z-index:-2}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(22,23,15,.92) 0%,rgba(22,23,15,.72) 38%,rgba(22,23,15,.12) 72%,rgba(22,23,15,0) 100%),linear-gradient(0deg,rgba(22,23,15,.55) 0%,transparent 38%)}
.hero-text{padding:clamp(28px,5vw,64px);padding-bottom:calc(clamp(28px,5vw,64px) + 44px);display:grid;gap:22px;max-width:660px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--c-yellow);display:flex;align-items:center;gap:12px}
.eyebrow::before{content:"";width:28px;height:2px;background:currentColor}
.hero h1{font-family:var(--f-display);font-weight:400;font-size:clamp(34px,5.4vw,72px);line-height:1.02}
.hero h1 em{font-style:normal;color:var(--c-yellow)}
.hero-text>p{margin:0;opacity:.85;max-width:42ch;font-size:18px}
.cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.btn{border:0;border-radius:999px;padding:15px 24px;font-weight:800;font-size:16px;display:inline-flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap}
.btn-main{background:var(--c-yellow);color:#1d1b24}
.btn-main:hover{background:#ffd24d}
.btn-ghost{background:rgba(255,255,255,.06);color:inherit;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35);font-variant-numeric:tabular-nums;backdrop-filter:blur(6px)}
.glass{display:flex;gap:10px;flex-wrap:wrap}
.glass span{background:rgba(255,255,255,.14);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:700}
.pic-label{position:absolute;right:28px;bottom:72px;background:rgba(255,255,255,.94);color:#1d1b24;border-radius:16px;padding:10px 16px;font-size:14px;line-height:1.3;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.pic-label b{display:block;font-size:15px}
.pic-label span{font-variant-numeric:tabular-nums;color:#55584a}

/* плашка выбора пиццерии, наезжает на низ первого экрана */
.locbar{position:relative;z-index:3;margin:-44px clamp(16px,3vw,40px) 0;background:var(--bg);border-radius:24px;box-shadow:var(--shadow);padding:12px;display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr) auto;gap:18px;align-items:center}
.locbar .place{background:transparent;padding:0}
.open{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;white-space:nowrap;padding-right:10px}
.open i{width:8px;height:8px;border-radius:50%;background:var(--c-green);box-shadow:0 0 0 4px color-mix(in srgb,var(--c-green) 25%,transparent)}
.open.closed i{background:var(--muted);box-shadow:none}
.open span{color:var(--muted);font-weight:600}
.seg{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border-radius:18px;padding:5px;gap:5px}
.seg button{border:0;background:transparent;border-radius:14px;padding:12px 10px;font-weight:700;font-size:15px}
.seg button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.place{display:flex;align-items:center;gap:14px;background:var(--surface);border-radius:18px;padding:14px 18px}
.metro{flex:none;width:40px;height:40px;border-radius:12px;background:var(--c-red);color:#fff;font-weight:800;display:grid;place-items:center;font-size:18px}
.place small{display:block;color:var(--muted);font-size:13px}
.place strong{font-size:17px}
.place .ph{margin-left:auto;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;user-select:all}

/* ---------- promos ---------- */
.promos{position:relative;padding-block:28px 8px}
.promo-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3*18px)/4);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.promo-row::-webkit-scrollbar{display:none}
.promo{scroll-snap-align:start;position:relative;aspect-ratio:3/4;max-width:100%;border-radius:var(--r);overflow:hidden;padding:20px;display:flex;flex-direction:column;color:#1d1b24;isolation:isolate}
.promo h3{font-family:var(--f-display);font-weight:400;font-size:25px;line-height:1.08;position:relative;z-index:2}
.promo p{margin:8px 0 0;font-size:14px;font-weight:600;position:relative;z-index:2;max-width:22ch}
.promo .art{position:absolute;z-index:1;pointer-events:none;object-fit:cover}
.promo .round{border-radius:50%;aspect-ratio:1;width:82%;right:-22%;bottom:-14%;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.promo .rect{width:86%;aspect-ratio:4/3;right:-6%;bottom:16%;border-radius:18px;transform:rotate(-5deg);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.promo .tag{margin-top:auto;align-self:flex-start;position:relative;z-index:2;background:#1d1b24;color:#fff;border-radius:999px;padding:7px 14px;font-weight:800;font-size:14px;font-variant-numeric:tabular-nums}
.p-yellow{background:var(--c-yellow)}
.p-blue{background:var(--c-blue);color:#fff}
.p-green{background:var(--c-green);color:#fff}
.p-pink{background:radial-gradient(120% 90% at 85% 90%,#f78bbd 0%,var(--c-pink) 55%);color:#fff}
.promo .cat{right:-4px;bottom:50px;width:64%}
.p-blue .tag,.p-green .tag,.p-pink .tag{background:#fff;color:#1d1b24}
.arrow{position:absolute;top:50%;right:-14px;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--bg);box-shadow:var(--shadow);display:grid;place-items:center;z-index:3}

/* ---------- category nav ---------- */
.cats{position:sticky;top:calc(env(safe-area-inset-top,0px) + 76px);z-index:15;background:var(--bg);margin-top:24px;border-bottom:1px solid var(--line)}
.cats .wrap{display:flex;gap:8px;overflow-x:auto;padding-block:12px;scrollbar-width:none}
.cats .wrap::-webkit-scrollbar{display:none}
.chip{flex:none;border:0;background:var(--surface);border-radius:999px;padding:10px 18px;font-weight:700;font-size:15px;white-space:nowrap;display:flex;align-items:center;gap:8px}
.chip i{width:9px;height:9px;border-radius:50%;background:var(--dot,var(--muted))}
.chip:hover{background:var(--surface-2)}
.chip[aria-current="true"]{background:var(--ink);color:var(--bg)}

/* ---------- menu ---------- */
.sec{padding-block:36px 8px;scroll-margin-top:150px}
.sec-head{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.sec-head h2{font-family:var(--f-display);font-weight:400;font-size:clamp(28px,3.4vw,40px);line-height:1}
.sec-head h2 small{font-family:var(--f-body);font-weight:700;font-size:15px;color:var(--muted);margin-left:10px}
.size-all{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);font-weight:600}
.mini-seg{display:inline-grid;grid-template-columns:1fr 1fr;background:var(--surface);border-radius:12px;padding:3px;gap:3px}
.mini-seg button{border:0;background:transparent;border-radius:9px;padding:6px 12px;font-weight:700;font-size:14px;font-variant-numeric:tabular-nums;color:var(--muted)}
.mini-seg button[aria-pressed="true"]{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}

.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 22px}
.card{display:flex;flex-direction:column;gap:8px;min-width:0}
.pic{position:relative;aspect-ratio:4/3;max-width:100%;border-radius:var(--r);background:var(--surface);overflow:hidden}
.pic img{display:block;width:100%;height:100%;object-fit:cover}
.badge{position:absolute;top:12px;left:12px;background:#fff;color:#1d1b24;font-size:12px;font-weight:800;padding:5px 10px;border-radius:999px}
.badge.hot{background:var(--c-red);color:#fff}
.card h3{font-size:19px;font-weight:800;line-height:1.2;margin-top:6px}
.card .ing{color:var(--muted);font-size:14px;line-height:1.45;margin:0;flex:1}
.buy{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px;flex-wrap:wrap}
.price{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.price .w{font-size:14px;font-weight:600;color:var(--muted);margin-left:8px}
.contain .pic{background:#fff}
.contain .pic img{object-fit:contain;padding:10px}
.note{border-radius:var(--r);background:var(--surface);padding:24px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.note b{font-family:var(--f-display);font-weight:400;font-size:24px;line-height:1.1}
.note p{margin:0;color:var(--muted);font-size:15px}


/* ---------- ждём в гости ---------- */
.visit{margin-top:64px;background:var(--surface);border-radius:32px;padding:clamp(24px,4vw,48px);display:grid;gap:28px;scroll-margin-top:150px}
.visit-top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center}
.visit .eyebrow{color:var(--c-pink)}
.visit h2{font-family:var(--f-display);font-weight:400;font-size:clamp(28px,3.4vw,44px);line-height:1.05;margin-top:14px}
.visit h2 em{font-style:normal;color:var(--c-pink)}
.visit-top p{color:var(--muted);font-size:17px;max-width:46ch;margin:16px 0 0}
.collage{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:12px;height:380px}
.collage figure{margin:0;position:relative;border-radius:22px;overflow:hidden;min-height:0}
.collage figure:first-child{grid-row:span 2}
.collage img{width:100%;height:100%;object-fit:cover;display:block}
.collage figcaption{position:absolute;left:10px;bottom:10px;background:rgba(255,255,255,.94);color:#1d1b24;font-size:12px;font-weight:800;padding:5px 10px;border-radius:999px}
.spots{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.spot{background:var(--bg);border-radius:24px;overflow:hidden;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}
.spot img{width:100%;height:100%;object-fit:cover;min-height:230px;display:block}
.spot-body{padding:20px 22px;display:flex;flex-direction:column;gap:8px;min-width:0}
.spot .line{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);font-weight:700}
.spot .metro{width:30px;height:30px;border-radius:9px;font-size:14px}
.spot h3{font-size:21px;font-weight:800}
.spot .ph{font-weight:800;font-size:17px;font-variant-numeric:tabular-nums;user-select:all}
.spot dl{display:grid;grid-template-columns:auto auto;justify-content:start;gap:2px 16px;margin:0;font-size:14px;font-variant-numeric:tabular-nums}
.spot dt{color:var(--muted)}
.spot dd{margin:0;font-weight:700}
.route{margin-top:auto;align-self:flex-start;font-weight:800;font-size:14px;color:var(--ink);text-decoration:none;border-bottom:2px solid var(--c-pink);padding-bottom:2px}
.route:hover{color:var(--c-pink)}

footer{padding-block:40px;color:var(--muted);font-size:14px}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:24px}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .promo-row{grid-auto-columns:calc((100% - 2*18px)/2.6)}
  .top-link{display:none}
  .hero{min-height:560px;justify-content:flex-end}
  .hero>img{object-position:100% 50%}
  .hero::before{background:linear-gradient(0deg,rgba(22,23,15,.95) 0%,rgba(22,23,15,.7) 50%,rgba(22,23,15,.1) 100%)}
  .pic-label{top:20px;bottom:auto;right:20px}
  .locbar{grid-template-columns:1fr auto;margin-top:-36px}
  .locbar .seg{grid-column:1/-1}
}
@media (max-width:760px){
  .visit-top,.spots{grid-template-columns:1fr}
  .locbar{margin-inline:10px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  .promo-row{grid-auto-columns:72%}
  .arrow,.phone-pill{display:none}
  .logo img{height:40px}
  .card h3{font-size:16px}
  .card .ing{font-size:13px}
  .price{font-size:17px}
}
@media (max-width:420px){
  .place .ph{display:none}
  .spot{grid-template-columns:1fr}
  .spot img{aspect-ratio:16/9;min-height:0;height:auto}
  .collage{height:300px}
  .mini-seg button{padding:5px 8px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

html{scroll-behavior:smooth}
picture{display:block}
.pic picture,.collage picture{width:100%;height:100%}
.spot picture{height:100%;min-height:230px}
.spot img{height:100%}
.promo picture{display:inline}
.promo .art{height:auto}
.hero picture{position:absolute;inset:0;z-index:-2}
.hero picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
.p-orange{background:var(--c-orange)}
.p-orange .fine{font-size:11px;line-height:1.35;font-weight:600;opacity:.85;margin-top:8px;position:relative;z-index:2;max-width:28ch}
.p-orange .big{font-family:var(--f-display);font-size:56px;line-height:1;margin-top:auto;position:relative;z-index:2}
a.chip{text-decoration:none;color:inherit}
.js-phone{color:inherit;text-decoration:none}
.menu-pdf{margin:36px 0 0;text-align:center;color:var(--muted);font-size:15px}
.menu-pdf a{color:var(--ink);font-weight:700}
.spot .ph{color:inherit;text-decoration:none}
footer a{color:inherit}
.btn-ghost{text-decoration:none}
@media (max-width:560px){
  .hero{display:block;min-height:0;background:var(--strip)}
  .hero::before{display:none}
  .hero picture{position:static}
  .hero picture img{height:auto;aspect-ratio:4/5}
  .spot picture{min-height:0}
  .spot img{aspect-ratio:16/9;height:auto}
  .hero-text{padding:20px 18px 64px;margin-top:-140px;position:relative;background:linear-gradient(0deg,var(--strip) 72%,transparent)}
  .grid{grid-template-columns:1fr;gap:0}
  .card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:14px;row-gap:4px;padding:14px 0;border-bottom:1px solid var(--line)}
  .card .pic{grid-row:1/4;width:112px;aspect-ratio:1;border-radius:18px}
  .card h3{margin:0;font-size:16px}
  .card .ing{font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .card .buy{margin:0}
  .badge{top:6px;left:6px;font-size:10px;padding:3px 7px}
  .note{margin-top:14px}
  .sec{padding-block:24px 4px}
  .contain .pic img{padding:6px}
  .locbar{grid-template-columns:1fr;gap:10px}
  .locbar .place{padding:0 6px}
  .open{padding:0 6px 6px}
  /* заголовок первого экрана всегда помещается: самое длинное слово «возвращаются» */
  .hero h1{font-size:clamp(24px,8.2vw,40px)}
  .hero .eyebrow{display:none}
  .hero-text{margin-top:-96px}
  .hero-text>p{font-size:15px}
  .seg button{padding:11px 4px;font-size:14px}
  /* акции: высота по содержимому, текст и цена не обрезаются */
  .promo-row{grid-auto-columns:min(78%,300px)}
  .promo{aspect-ratio:auto;min-height:clamp(280px,92vw,360px);padding:18px}
  .promo h3{font-size:clamp(19px,6vw,24px)}
  .promo p{max-width:none}
  .p-orange .big{font-size:clamp(40px,13vw,56px)}
  .promo .tag{white-space:nowrap;font-size:13px;padding:7px 12px}
  .promo .cat{width:46%;right:-2px;bottom:54px}
  .p-pink p{max-width:56%}
  /* коллаж: большое фото сверху, два маленьких под ним */
  .collage{grid-template-columns:1fr 1fr;grid-template-rows:none;height:auto}
  .collage figure:first-child{grid-column:1/-1;grid-row:auto;aspect-ratio:16/10}
  .collage figure:not(:first-child){aspect-ratio:1}
  .visit{padding:20px}
  .spot-body{padding:16px 18px}
}
@media (max-width:360px){
  .wrap{padding-inline:12px}
  .card{grid-template-columns:96px minmax(0,1fr);column-gap:12px}
  .card .pic{width:96px}
  .mini-seg button{padding:5px 7px;font-size:12px}
  .price{font-size:16px}
  .size-all{font-size:13px}
  .chip{padding:8px 14px;font-size:14px}
}
.dot-yellow{--dot:var(--c-yellow)}.m-yellow{background:var(--c-yellow)}.dot-orange{--dot:var(--c-orange)}.m-orange{background:var(--c-orange)}.dot-green{--dot:var(--c-green)}.m-green{background:var(--c-green)}.dot-red{--dot:var(--c-red)}.m-red{background:var(--c-red)}.dot-pink{--dot:var(--c-pink)}.m-pink{background:var(--c-pink)}.dot-blue{--dot:var(--c-blue)}.m-blue{background:var(--c-blue)}.icon-link{color:inherit}

/* ---------- Боковое меню (бургер) ----------
   Анимируются только transform и opacity — плавно и на слабых телефонах.
   Открытие: фон темнеет, панель въезжает слева, пункты появляются по очереди.
   Закрытие: пункты гаснут и уходят влево разом, следом уезжает панель. */
.burger{position:relative;color:var(--ink)}
.burger span{position:absolute;left:11px;width:22px;height:2.4px;border-radius:2px;background:currentColor;transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .25s ease}
.burger span:nth-child(1){top:14px}
.burger span:nth-child(2){top:21px}
.burger span:nth-child(3){top:28px}
.burger:hover span:nth-child(1){transform:translateX(-2px)}
.burger:hover span:nth-child(3){transform:translateX(2px)}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(.2)}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.drawer{position:fixed;inset:0;z-index:60}
.drawer[hidden]{display:none}
.drawer-bg{position:absolute;inset:0;touch-action:none;background:rgba(14,15,9,.55);opacity:0;transition:opacity .38s ease}
.drawer-panel{position:absolute;top:0;bottom:0;left:0;width:min(400px,88vw);display:flex;flex-direction:column;
  background:var(--bg);color:var(--ink);border-radius:0 28px 28px 0;box-shadow:0 0 0 1px var(--line),12px 0 48px rgba(0,0,0,.28);
  padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);outline:none;
  transform:translate3d(-105%,0,0);transition:transform .4s cubic-bezier(.45,0,.85,.55);will-change:transform}
.drawer.is-open .drawer-bg{opacity:1;transition-delay:0s}
.drawer.is-open .drawer-panel{transform:none;transition:transform .55s cubic-bezier(.22,1,.36,1)}
.drawer.is-drag .drawer-panel,.drawer.is-drag .drawer-bg{transition:none}

.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 6px 22px}
.drawer-head img{height:40px;width:auto;display:block}
.drawer-x{color:var(--ink);background:var(--surface);transform:rotate(-90deg) scale(.6);opacity:0;transition:transform .3s ease,opacity .2s ease}
.drawer.is-open .drawer-x{transform:none;opacity:1;transition:transform .55s cubic-bezier(.22,1,.36,1) .12s,opacity .3s ease .12s}
.drawer-x:hover{background:var(--surface-2)}

.drawer-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:6px 14px 28px}
.drawer-label{margin:18px 10px 8px;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.drawer-nav{display:flex;flex-direction:column;gap:2px}
.dn{display:flex;align-items:center;gap:14px;padding:13px 12px;border-radius:16px;color:var(--ink);text-decoration:none;font-weight:800;font-size:18px;line-height:1.2}
.dn i{flex:none;width:11px;height:11px;border-radius:50%;background:var(--dot,var(--muted));transition:transform .3s cubic-bezier(.22,1,.36,1)}
.dn span{flex:1;min-width:0}
.dn-arrow{flex:none;color:var(--muted);opacity:.55;transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .2s}
.dn:hover,.dn:focus-visible{background:var(--surface)}
.dn:hover i{transform:scale(1.35)}
.dn:hover .dn-arrow{transform:translateX(3px);opacity:1}
.dn:active{background:var(--surface-2)}
.dn[aria-current="true"]{background:var(--ink);color:var(--bg)}
.dn[aria-current="true"] .dn-arrow{color:var(--bg);opacity:.8}

.drawer-pdf{display:flex;align-items:center;gap:10px;margin:10px 4px 0;padding:13px 16px;border-radius:16px;background:var(--surface);color:var(--ink);text-decoration:none;font-weight:700;font-size:15px}
.drawer-pdf:hover{background:var(--surface-2)}
.drawer-contacts{display:grid;gap:10px}
.dc{background:var(--surface);border-radius:20px;padding:14px 16px;display:grid;gap:4px}
.dc-line{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:var(--muted)}
.dc .metro{width:28px;height:28px;border-radius:8px;font-size:13px}
.dc-addr{font-size:18px;font-weight:800;margin-top:4px}
.dc-ph{font-size:20px;font-weight:800;color:var(--ink);text-decoration:none;font-variant-numeric:tabular-nums;justify-self:start}
.dc-ph:hover{color:var(--c-red)}
.dc-hours{font-size:13px;color:var(--muted)}
.dc-hours b{color:var(--ink);font-weight:700}
.dc-route{justify-self:start;margin-top:6px;font-weight:800;font-size:14px;color:var(--ink);text-decoration:none;border-bottom:2px solid var(--c-pink);padding-bottom:2px}

/* Содержимое: по очереди при открытии, разом — при закрытии */
.drawer-scroll>*,.drawer-nav>.dn,.drawer-contacts>.dc{opacity:0;transform:translate3d(-10px,0,0);transition:opacity .26s ease,transform .3s ease}
.drawer-nav,.drawer-contacts{opacity:1;transform:none}
.drawer.is-open .drawer-scroll>*,.drawer.is-open .drawer-nav>.dn,.drawer.is-open .drawer-contacts>.dc{opacity:1;transform:none;transition:opacity .4s ease,transform .55s cubic-bezier(.22,1,.36,1)}
.drawer.is-open .drawer-scroll>:nth-child(1){transition-delay:.10s}
.drawer.is-open .dn:nth-child(1){transition-delay:.12s}
.drawer.is-open .dn:nth-child(2){transition-delay:.15s}
.drawer.is-open .dn:nth-child(3){transition-delay:.18s}
.drawer.is-open .dn:nth-child(4){transition-delay:.21s}
.drawer.is-open .dn:nth-child(5){transition-delay:.24s}
.drawer.is-open .dn:nth-child(6){transition-delay:.27s}
.drawer.is-open .dn:nth-child(7){transition-delay:.30s}
.drawer.is-open .dn:nth-child(8){transition-delay:.33s}
.drawer.is-open .dn:nth-child(n+9){transition-delay:.36s}
.drawer.is-open .drawer-pdf{transition-delay:.38s}
.drawer.is-open .drawer-scroll>:nth-child(4){transition-delay:.40s}
.drawer.is-open .dc:nth-child(1){transition-delay:.43s}
.drawer.is-open .dc:nth-child(2){transition-delay:.47s}

/* только html: overflow у body сделал бы его прокручиваемым блоком — липкая шапка пропала бы */
html.menu-open{overflow:hidden}

@media (prefers-reduced-motion:reduce){
  .drawer-panel,.drawer-bg,.drawer-x,.drawer-scroll>*,.dn,.dc,.burger span{transition:none!important}
}
