/* TIMECOFF — Хасавюрт. Чистый CSS, без библиотек. Сначала телефон. */
/* Палитра снята с их вывески и логотипа:
   глубокий болотный — фон логотипа, изумрудный — квадрат на вывеске.
   Стиль сдержанный: минимализм, воздух, латиница в разрядку. */

@font-face{
  font-family:'Onest'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url(fonts/onest-cyrillic.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:100 900; font-display:swap;
  src:url(fonts/onest-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+2000-206F, U+2190-2193, U+2212, U+2215, U+20BD, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Rubik'; font-style:normal; font-weight:300 900; font-display:swap;
  src:url(fonts/rubik-cyrillic.woff2) format('woff2');
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family:'Rubik'; font-style:normal; font-weight:300 900; font-display:swap;
  src:url(fonts/rubik-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+2000-206F, U+2190-2193, U+2212, U+2215, U+20BD, U+FEFF, U+FFFD;
}

:root{
  --ink:#2F443D;        /* глубокий болотный — фон логотипа */
  --ink-d:#233530;      /* темнее, для подвала */
  --emerald:#008868;    /* изумрудный — квадрат на вывеске */
  --emerald-l:#00A37C;
  --black:#202020;      /* буквы TIMECOFF на вывеске */
  --paper:#F7F6F2;
  --card:#FFFFFF;
  --text:#222825;
  --muted:#717C77;
  --line:#E5E2DA;
}

*{box-sizing:border-box; margin:0; padding:0}
picture{display:contents}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{
  font-family:'Onest', -apple-system, "Segoe UI", Roboto, sans-serif;
  background:var(--paper); color:var(--text);
  font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
  padding-bottom:78px;
}
img{max-width:100%; display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:'Rubik',sans-serif; line-height:1.12; letter-spacing:-.02em}

.wrap{max-width:1120px; margin:0 auto; padding:0 20px}
.sec{padding:64px 0}

/* Подпись над заголовком — приём с их плаката: заглавные в разрядку */
.kicker{
  font-family:'Rubik',sans-serif; font-weight:700;
  font-size:11.5px; letter-spacing:2.6px; text-transform:uppercase;
  color:var(--emerald); margin-bottom:12px;
}
.h2{font-size:32px; font-weight:800; margin-bottom:10px}
.lead{color:var(--muted); margin-bottom:32px; max-width:620px}

/* ---------- ШАПКА ---------- */
.hdr{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; gap:12px;
  padding:11px 20px; background:rgba(247,246,242,.9);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.hdr__logo{display:flex; align-items:center; gap:11px; text-decoration:none; flex:none}
.mark{width:38px; height:38px; border-radius:50%; overflow:hidden; flex:none; display:block}
.mark img{width:100%; height:100%; object-fit:cover}
.hdr__name{display:flex; flex-direction:column; line-height:1.1}
.hdr__name b{
  font-family:'Rubik',sans-serif; font-weight:800; font-size:16px;
  letter-spacing:1.6px;                       /* как на вывеске */
}
.hdr__name i{font-style:normal; font-size:10px; color:var(--muted); letter-spacing:1.6px; text-transform:uppercase}
.nav{display:none; margin-left:auto; gap:26px}
.nav a{text-decoration:none; font-weight:600; font-size:15px; color:var(--muted); transition:color .15s}
.nav a:hover{color:var(--ink)}
.hdr__call{
  margin-left:auto; text-decoration:none; font-weight:700; font-size:14px;
  background:var(--ink); color:#fff; padding:10px 17px; border-radius:100px;
  font-family:'Rubik',sans-serif; letter-spacing:.2px;
}

/* ---------- ПЕРВЫЙ ЭКРАН ---------- */
/* Фон фирменный тёмный — он и держит настроение, и узнаётся.
   Логотип здесь БЕЗ круга: круг того же цвета, что фон, и сливается с ним.
   Для тёмного фона у бренда своя версия знака — белая Ū (`mark-*.png`),
   для светлого используется логотип в круге (`logo-*.png`). */
.hero{
  background:var(--ink); color:#fff; position:relative; overflow:hidden;
  padding:64px 0 68px; text-align:center;
}
.hero::before{
  content:''; position:absolute; width:640px; height:640px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,136,104,.30), transparent 65%);
  top:-300px; left:50%; transform:translateX(-50%); pointer-events:none;
}
/* тонкая изумрудная нить внизу — стык с остальной страницей */
.hero::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:3px;
  background:linear-gradient(90deg, transparent, var(--emerald), transparent);
}
.hero__in{position:relative; display:flex; flex-direction:column; align-items:center}
.hero__mark{
  height:118px; width:auto; margin:0 0 26px;
  filter:drop-shadow(0 6px 22px rgba(0,0,0,.28));
}
.hero__name{
  font-family:'Rubik',sans-serif; font-weight:800; color:#fff;
  font-size:32px; letter-spacing:8px; margin-bottom:20px;
}
/* волосяная линия между названием и слоганом */
.hero__rule{
  width:52px; height:1px; background:var(--emerald); margin:0 auto 20px;
}

/* живой статус: открыто прямо сейчас или нет */
.status{
  display:inline-flex; align-items:center; gap:9px; margin-bottom:20px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15);
  border-radius:100px; padding:8px 16px;
  font-size:13.5px; font-weight:600; color:rgba(255,255,255,.8);
}
.status i{width:7px; height:7px; border-radius:50%; background:#9AA5A0; flex:none}
.status--open{color:#fff; border-color:rgba(0,163,124,.5)}
.status--open i{background:var(--emerald-l); animation:pulse 2s infinite}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(0,163,124,.6)}
  70%{box-shadow:0 0 0 7px rgba(0,163,124,0)}
}
.hero h1{
  font-size:25px; font-weight:500; letter-spacing:3.4px; text-transform:uppercase;
  color:rgba(255,255,255,.95); margin-bottom:18px; line-height:1.38;
}
.hero h1 em{font-style:normal; color:var(--emerald-l); font-weight:800}
.hero__sub{color:rgba(255,255,255,.62); max-width:420px; margin-bottom:32px; font-size:15.5px}
.hero__act{display:flex; flex-direction:column; gap:10px; width:100%; max-width:330px}

.btn{
  display:flex; align-items:center; justify-content:center; gap:8px;
  min-height:52px; padding:0 24px; border-radius:100px;
  text-decoration:none; font-weight:700; font-size:15.5px;
  font-family:'Rubik',sans-serif; letter-spacing:.2px;
  transition:transform .12s, background .16s, border-color .16s;
}
.btn:active{transform:scale(.97)}
.btn--main{background:var(--emerald); color:#fff}
.btn--main:hover{background:var(--emerald-l)}
.btn--ghost{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.3)}
.btn--ghost:hover{border-color:rgba(255,255,255,.6)}
.btn--dark{background:var(--ink); color:#fff}
.btn--line{background:transparent; color:var(--ink); border:1.5px solid #D6D2C7}
.btn--line:hover{border-color:var(--ink)}
.btn--wa{background:#25D366; color:#0B2E19}
.btn--sm{min-height:48px; font-size:15px}

/* адрес прямо на первом экране */
.here{
  display:inline-flex; align-items:center; gap:12px; margin-top:30px;
  text-decoration:none; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14); border-radius:100px;
  padding:13px 22px 13px 18px; transition:background .16s, border-color .16s;
}
.here:hover{background:rgba(255,255,255,.11); border-color:var(--emerald)}
.here svg{
  width:21px; height:21px; flex:none; stroke:var(--emerald-l); fill:none;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.here b{display:block; font-family:'Rubik',sans-serif; font-size:15px; color:#fff}
.here i{font-style:normal; font-size:12.5px; color:rgba(255,255,255,.55)}

/* ---------- О НАС ---------- */
/* Тело страницы кремовое, карточки белые — так они читаются как объекты,
   а страница остаётся спокойной. Ярких заливок здесь нет намеренно. */
.about__grid{display:grid; gap:14px; grid-template-columns:1fr}
.fact{
  background:var(--card); border:1px solid var(--line); border-radius:18px;
  padding:24px 20px; transition:border-color .16s;
}
.fact:hover{border-color:var(--emerald)}
.fact svg{width:28px; height:28px; stroke:var(--emerald); fill:none; stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round; margin-bottom:14px}
.fact b{display:block; font-family:'Rubik',sans-serif; font-size:17px; margin-bottom:6px}
.fact span{color:var(--muted); font-size:14.5px}

/* ---------- МЕНЮ ---------- */
.chips{display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-bottom:30px}
.chips a{
  text-decoration:none; white-space:nowrap; background:var(--ink); color:#fff;
  border:1px solid var(--ink); padding:12px 18px; border-radius:100px;
  font-size:14px; font-weight:700; font-family:'Rubik',sans-serif; letter-spacing:.2px;
  transition:background .16s, border-color .16s;
}
.chips a:hover{background:var(--emerald); border-color:var(--emerald)}
.chips a:active{transform:scale(.96)}

.menu{display:grid; gap:16px; grid-template-columns:1fr}
.mcard{
  background:var(--card); border:1px solid var(--line); border-radius:20px;
  padding:26px 22px; transition:border-color .16s;
}
.mcard:hover{border-color:var(--emerald)}
.mcard h3{
  display:flex; align-items:center; gap:11px;
  font-size:20px; font-weight:800; margin-bottom:6px; scroll-margin-top:80px;
}
.mcard h3 svg{width:22px; height:22px; flex:none; stroke:var(--emerald); fill:none;
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.mcard p{color:var(--muted); font-size:14.5px; margin-bottom:16px}
/* список позиций с ценами */
.list{list-style:none}
.list li{
  display:flex; justify-content:space-between; align-items:baseline; gap:14px;
  padding:12px 0; border-bottom:1px dashed var(--line);
}
.list li:last-child{border-bottom:0}
.list .nm{font-weight:500}
.list .vol{display:block; font-style:normal; font-size:12.5px; color:var(--muted); margin-top:3px}
.list .pr{
  font-family:'Rubik',sans-serif; font-weight:700; font-size:15.5px;
  white-space:nowrap; color:var(--ink);
}
.new{
  display:inline-block; vertical-align:middle; margin-left:7px;
  font-family:'Rubik',sans-serif; font-weight:700; font-size:10px;
  letter-spacing:.8px; text-transform:uppercase;
  color:#fff; background:var(--emerald); border-radius:100px; padding:3px 8px;
}

/* раздел, где всё по одной цене: цена крупно сверху, позиции — плашками */
.onefare{
  display:flex; align-items:baseline; gap:9px; margin-bottom:14px;
  font-family:'Rubik',sans-serif;
}
.onefare b{font-size:28px; font-weight:800; color:var(--emerald)}
.onefare span{font-size:13.5px; color:var(--muted); font-family:'Onest',sans-serif}
.tags{display:flex; flex-wrap:wrap; gap:8px}
.tags span{
  background:var(--paper); border:1px solid var(--line); border-radius:100px;
  padding:8px 14px; font-size:14px; font-weight:500;
}

.note{
  display:flex; gap:13px; align-items:flex-start;
  background:var(--card); border:1px solid var(--line);
  border-left:3px solid var(--emerald);
  border-radius:14px; padding:16px 18px; margin-bottom:28px; font-size:14.5px;
}
.note svg{width:21px; height:21px; flex:none; stroke:var(--emerald); fill:none; stroke-width:1.7;
  stroke-linecap:round; stroke-linejoin:round; margin-top:2px}
.note b{font-family:'Rubik',sans-serif}

/* карточка завтрака — с местом под фото, когда владелец их пришлёт */
.brk{display:grid; gap:12px; grid-template-columns:1fr}
.brk li{
  list-style:none; background:var(--card); border:1px solid var(--line);
  border-radius:16px; padding:16px 18px; transition:border-color .16s;
}
.brk li:hover{border-color:var(--emerald)}
.brk .top{display:flex; justify-content:space-between; align-items:baseline; gap:12px}
.brk .nm{font-family:'Rubik',sans-serif; font-weight:700; font-size:16.5px}
.brk .pr{font-family:'Rubik',sans-serif; font-weight:800; font-size:17px; color:var(--emerald); white-space:nowrap}
.brk .st{display:block; margin-top:6px; font-size:13.5px; color:var(--muted)}

/* ---------- ТОЧКИ ---------- */
.spot{
  background:var(--card); border:1px solid var(--line); border-radius:20px;
  padding:26px 22px; margin-bottom:14px; transition:border-color .16s;
}
.spot:hover{border-color:var(--emerald)}
.spot h3{font-size:21px; font-weight:800; margin-bottom:7px; scroll-margin-top:80px}
.spot__addr{color:var(--muted); margin-bottom:16px; font-size:15px}
.spot__act{display:flex; flex-direction:column; gap:9px}

/* график работы */
.hours{
  background:var(--paper); border:1px solid var(--line); border-radius:14px;
  padding:14px 16px; margin-bottom:18px;
}
.hours__row{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  padding:6px 0; font-size:14.5px;
}
.hours__row span{color:var(--muted)}
.hours__row b{font-family:'Rubik',sans-serif; font-weight:700; font-size:15.5px; white-space:nowrap}
.hours__row--break{border-top:1px dashed var(--line); margin-top:4px; padding-top:10px}
.hours__row--break b{color:var(--muted); font-weight:600}

/* ---------- ПРИЗЫВ ---------- */
.cta{background:var(--ink); color:#fff; text-align:center; position:relative; overflow:hidden}
.cta::before{
  content:''; position:absolute; width:460px; height:460px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,136,104,.3), transparent 70%);
  bottom:-260px; left:50%; transform:translateX(-50%); pointer-events:none;
}
.cta .wrap{position:relative}
.cta .kicker{color:var(--emerald-l)}
.cta .h2{color:#fff}
.cta p{color:rgba(255,255,255,.68); max-width:470px; margin:0 auto 28px}
.cta__act{display:flex; flex-direction:column; gap:10px; max-width:330px; margin:0 auto}

/* ---------- ПОДВАЛ ---------- */
.ftr{background:var(--ink-d); color:rgba(255,255,255,.62); padding:38px 0 30px; font-size:14.5px}
.ftr__in{display:flex; flex-direction:column; gap:22px}
.ftr a{color:#fff; text-decoration:none}
.ftr__name{display:flex; align-items:center; gap:12px; margin-bottom:14px}
.ftr__name img{height:34px; width:auto}
.ftr__name b{font-family:'Rubik',sans-serif; font-weight:800; font-size:16px; letter-spacing:1.6px; color:#fff}
.ftr__links{display:flex; flex-direction:column; gap:13px}
.ftr__links a{display:inline-flex; align-items:center; gap:10px; padding:3px 0}
.ftr__links svg{width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.7;
  stroke-linecap:round; stroke-linejoin:round; flex:none}
.ftr small{display:block; margin-top:10px; color:rgba(255,255,255,.34); font-size:12.5px}

/* ---------- НИЖНЯЯ ПАНЕЛЬ НА ТЕЛЕФОНЕ ---------- */
.bar{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  display:flex; gap:8px; padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(247,246,242,.96); backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
}
.bar a{
  flex:1; display:flex; align-items:center; justify-content:center;
  min-height:50px; border-radius:100px; text-decoration:none;
  font-family:'Rubik',sans-serif; font-weight:700; font-size:15px;
}
.bar__call{background:var(--ink); color:#fff}
.bar__wa{background:#25D366; color:#0B2E19}
.bar__menu{background:transparent; color:var(--ink); border:1.5px solid var(--line)}

/* ---------- ШИРОКИЙ ЭКРАН ---------- */
@media (min-width:760px){
  body{padding-bottom:0}
  .bar{display:none}
  .nav{display:flex}
  .hdr__call{margin-left:0}
  .sec{padding:88px 0}
  .h2{font-size:40px}
  .hero{padding:96px 0 100px}
  .hero__mark{height:168px}
  .hero__name{font-size:50px; letter-spacing:14px}
  .hero h1{font-size:31px; letter-spacing:4.6px}
  .hero__act{flex-direction:row; max-width:none}
  .about__grid{grid-template-columns:repeat(3, 1fr)}
  .menu{grid-template-columns:repeat(2, 1fr)}
  .brk{grid-template-columns:repeat(3, 1fr)}
  .spot__act{flex-direction:row}
  .cta__act{flex-direction:row; max-width:540px}
  .ftr__in{flex-direction:row; justify-content:space-between; align-items:flex-start}
  .ftr__links{flex-direction:row; gap:26px}
}

@media (max-width:360px){
  .wrap{padding:0 16px}
  .hero__name{font-size:28px; letter-spacing:5px}
  .hero h1{font-size:22px; letter-spacing:2.6px}
  .h2{font-size:27px}
  .chips a{padding:11px 15px; font-size:13.5px}
}

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