/* Страница «Возможности» (/features/). Общие детали макетов — landing.css (ld-browser, ld-money,
   ld-hall, ld-kds, ld-phone, ld-tg, ld-op__orow); здесь только то, чего на главной нет.
   Кнопка-призыв внизу — из giftcards.css не берём: свои gc-cta повторены ниже под f-cta */

.f-honest { display: inline-flex; align-items: center; gap: .5rem; margin: 1.1rem auto 0; padding: .5rem 1rem; border-radius: 14px; text-align: left;
  background: rgba(46, 204, 113, .14); border: 1px solid rgba(46, 204, 113, .35); color: #fff; font-size: .92rem; }
.f-honest::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: #2ecc71; flex: none; }

.f-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.f-toc a { padding: .45rem .95rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: .92rem; font-weight: 500; backdrop-filter: blur(4px); }
.f-toc a:hover { background: rgba(255,255,255,.2); color: #fff; }

.ld section.f-chapter { padding: 4.5rem 0; scroll-margin-top: 64px; }
.f-head { max-width: 46rem; margin: 0 auto 2.75rem; text-align: center; }
.f-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; margin-bottom: 4rem; }
.f-row:last-child { margin-bottom: 0; }
.f-row--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.f-row--rev .f-text { order: 2; }
.f-text h3 { font-size: 1.45rem; line-height: 1.25; margin-bottom: .8rem; }
.f-text p { line-height: 1.65; }
.f-text .ld-checks { margin-top: .75rem; }
.f-pic .ld-browser { box-shadow: 0 30px 70px rgba(11,21,36,.16), 0 0 0 1px rgba(11,21,36,.06); }
.f-pic { min-width: 0; }
.f-pic--center { display: flex; justify-content: center; }
.f-red { color: #c23434 !important; font-weight: 600; }
.f-small { font-size: 12.5px; }
.f-small small { display: block; font-size: 11px; }
.f-muted { color: #8a97a8; font-size: 12px; margin-top: 2px; }

/* P&L: лестница под плитками */
.f-ladder { margin-top: 14px; border: 1px solid #edf1f6; border-radius: 12px; overflow: hidden; }
.f-ladder .ld-line { padding: 7px 14px; }
.f-ladder .ld-line span small { display: block; color: #8a97a8; font-size: 11px; }

/* Матрица меню */
.f-matrix { padding: 14px; display: grid; gap: 12px; }
.f-matrix__svg { width: 100%; height: auto; border-radius: 10px; border: 1px solid #edf1f6; }
.f-matrix__svg .q { font-weight: 600; font-size: 12px; fill: #5e6e82; letter-spacing: .02em; }
.f-matrix__svg .d text { font-size: 11.5px; fill: #344050; }
.f-matrix__svg .d.g circle { fill: #12a36d; } .f-matrix__svg .d.b circle { fill: #2c7be5; }
.f-matrix__svg .d.y circle { fill: #e8930c; } .f-matrix__svg .d.r circle { fill: #e14b4b; }
.f-matrix .ld-table { border: 1px solid #edf1f6; border-radius: 10px; overflow: hidden; }

/* Тепловая карта */
.f-heat__grid { display: grid; grid-template-columns: 28px repeat(13, minmax(0, 1fr)); gap: 4px; padding: 14px 16px 18px; }
.f-heat__grid span { font-size: 10.5px; color: #8a97a8; text-align: center; line-height: 22px; }
.f-heat__d { text-align: left !important; }
.f-heat__grid i { display: block; height: 22px; border-radius: 4px; }
.f-heat__grid .l1 { background: #eef4fd; } .f-heat__grid .l2 { background: #d6e5fa; } .f-heat__grid .l3 { background: #b3cef5; }
.f-heat__grid .l4 { background: #84b0ee; } .f-heat__grid .l5 { background: #4f8ee6; } .f-heat__grid .l6 { background: #1d62c4; }

/* График кухни */
.f-line { width: 100%; height: auto; margin-top: 14px; border: 1px solid #edf1f6; border-radius: 12px; }
.f-line .target { stroke: #e14b4b; stroke-dasharray: 5 4; stroke-width: 1.5; }
.f-line .lbl { font-size: 11px; fill: #c23434; }
.f-line .val { fill: none; stroke: #2c7be5; stroke-width: 2.5; stroke-linejoin: round; }
.f-line .area { fill: rgba(44,123,229,.08); stroke: none; }

/* Короткие карточки */
.f-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 3.5rem; }
.f-chapter .f-head + .f-cards { margin-top: 0; }
.f-card { padding: 1.35rem 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--ld-line); }
.f-card h4 { font-size: 1.02rem; margin-bottom: .4rem; }
.f-card p { margin: 0; font-size: .93rem; line-height: 1.55; }

/* Каталог строками */
.f-cat { padding: 10px 0 12px; }
.f-cat__crumbs { display: flex; gap: 6px; padding: 0 14px 10px; font-size: 12px; }
.f-cat__crumbs span { padding: 3px 10px; border-radius: 999px; background: #eef2f7; color: #5e6e82; }
.f-cat__crumbs span.on { background: #2c7be5; color: #fff; }
.f-cat__row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 48px 84px; gap: 10px; align-items: center; height: 38px; padding: 0 14px; border-top: 1px solid #eef2f7; }
.f-cat__row--h { height: 30px; background: #f5f8fc; font-weight: 600; color: #344050; }
.f-cat__row > span:last-child { text-align: right; font-weight: 600; color: #0e1b2c; }
.f-cat__row > i { width: 26px; height: 26px; border-radius: 50%; background: #344050; color: #fff; font-style: normal; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.f-cat__fav > i { background: #fdf1dc; color: #e8930c; }
.f-cat__row.is-stop { color: #9aa6b5; }
.f-cat__row em { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.f-cat__row em.stop { background: #fde8e8; color: #c23434; }
.f-cat__row em.left { background: #fdf1dc; color: #b06e00; }
.f-cat__row em.opt { background: #e6effc; color: #1d62c4; }

/* Оплата частями */
.f-pay__body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.f-pay__methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.f-pay__methods span { text-align: center; padding: 8px; border-radius: 8px; border: 1px solid #e1e7ef; color: #344050; }
.f-pay__methods .on { border-color: #2c7be5; background: #eef5fe; color: #1d62c4; font-weight: 600; }
.f-pay__check { display: flex; align-items: center; gap: 8px; margin: 0; color: #0e1b2c; }
.f-pay__check i { width: 18px; height: 18px; border-radius: 5px; background: #2c7be5; position: relative; }
.f-pay__check i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.f-pay__field { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid #e1e7ef; border-radius: 8px; }
.f-pay__field small { color: #8a97a8; }
.f-pay__field b { color: #0e1b2c; }
.f-pay__rest { padding: 9px 12px; border-radius: 8px; background: #f2f7ff; color: #344050; }
.f-pay__rest b { color: #0e1b2c; }

/* Гость */
.f-trust { padding: 14px 16px 16px; }
.f-trust__verdict { padding: 12px 14px; border-radius: 12px; background: #e3f6ee; border-left: 4px solid #12a36d; }
.f-trust__verdict b { display: block; color: #0e8a5c; font-size: 15px; }
.f-trust__verdict span { color: #3b6b57; font-size: 12px; }
.f-trust__title { margin: 14px 0 6px; font-weight: 600; color: #0e1b2c; }
.f-trust ul { margin: 0; padding-left: 18px; color: #344050; }
.f-trust li { padding: 3px 0; }

/* Зал */
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid #edf1f6; }
.f-chips span { padding: 3px 10px; border-radius: 999px; background: #eef2f7; color: #5e6e82; font-size: 12px; }
.f-chips span.on { background: #2c7be5; color: #fff; }
.f-menu { margin: 8px 16px; border: 1px solid #e1e7ef; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px rgba(11,21,36,.08); }
.f-menu span { display: block; padding: 7px 12px; border-top: 1px solid #f0f3f7; color: #344050; font-size: 12px; }
.f-menu span:first-child { border-top: 0; background: #f2f7ff; color: #1d62c4; font-weight: 600; }
.f-pagers .ld-op__orow > b { background: #e6effc; color: #1d62c4; }

/* Телефоны */
.f-phone { width: 270px; }
.f-phone .ld-phone__screen { min-height: 360px; }
.f-phone--lk .ld-phone__screen { min-height: 470px; }
.f-phone .ld-phone__eta small { display: block; color: #8a97a8; font-size: 10.5px; margin-top: 2px; }
.f-phone--lk .ld-phone__screen { display: flex; flex-direction: column; gap: 8px; padding-bottom: 0; }
.f-lk__hello { font-weight: 600; color: #0e1b2c; font-size: 15px; margin-top: 4px; }
.f-lk__hello small, .f-lk__shift small { display: block; font-weight: 400; color: #8a97a8; font-size: 11.5px; }
.f-lk__shift { padding: 9px 12px; border-radius: 12px; background: #e3f6ee; color: #0e8a5c; font-weight: 600; font-size: 13px; }
.f-lk__card { padding: 10px 12px; border-radius: 12px; background: #f5f8fc; font-size: 12px; color: #344050; }
.f-lk__card small { display: block; color: #8a97a8; font-size: 11px; }
.f-lk__card b { display: block; font-size: 20px; color: #0e1b2c; font-weight: 600; }
.f-lk__card em { display: block; font-style: normal; font-weight: 600; color: #1d62c4; margin-top: 4px; }
.f-lk__btn { padding: 9px; border-radius: 10px; border: 1px solid #e1e7ef; text-align: center; color: #344050; font-weight: 500; font-size: 12.5px; }
.f-lk__tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto -14px 0; border-top: 1px solid #edf1f6; }
.f-lk__tabs--5 { grid-template-columns: repeat(5, 1fr); }
.f-lk__tabs span { text-align: center; padding: 10px 2px 12px; font-size: 10.5px; color: #8a97a8; }
.f-lk__tabs span.on { color: #2c7be5; font-weight: 600; }
.f-lk__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.f-lk__stats div { background: #f5f8fc; border-radius: 10px; padding: 8px; text-align: center; }
.f-lk__stats b { display: block; color: #0e1b2c; font-size: 13.5px; }
.f-lk__stats small { color: #8a97a8; font-size: 10px; line-height: 1.2; display: block; }
.f-order { border: 1px solid #e1e7ef; border-radius: 12px; padding: 10px 12px; font-size: 12px; color: #344050; }
.f-order__top { display: flex; justify-content: space-between; }
.f-order__top b { color: #0e1b2c; }
.f-order__pay { margin: 6px 0; padding: 4px 8px; border-radius: 8px; background: #fdf1dc; color: #b06e00; font-weight: 600; display: inline-block; }
.f-order__addr small { display: block; color: #8a97a8; font-size: 11px; }
.f-order__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.f-order__btns span { text-align: center; padding: 6px 2px; border-radius: 8px; background: #eef2f7; font-size: 11px; font-weight: 500; }
.f-order__btns span.on { background: #12a36d; color: #fff; }

/* Этикетки */
.f-labels { display: flex; align-items: flex-start; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.f-label { width: 290px; padding: 14px 16px; background: #fff; border-radius: 8px; font-family: "Courier New", ui-monospace, monospace;
  font-size: 12.5px; line-height: 1.4; color: #1a1a1a; box-shadow: 0 20px 44px -22px rgba(11,21,36,.45), 0 0 0 1px rgba(11,21,36,.06); }
.f-label__t { display: block; font-size: 16px; margin-bottom: 3px; }
.f-label__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.f-label__no { border: 2px solid #1a1a1a; padding: 1px 6px; font-weight: 700; font-size: 15px; }
.f-label--small { width: 190px; }

/* NFC */
.f-nfc { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.f-slip { width: 250px; padding: 1.2rem 1rem 1.5rem; background: #fff; text-align: center; font-family: "Courier New", ui-monospace, monospace;
  font-size: 13px; line-height: 1.5; color: #1a1a1a; box-shadow: 0 24px 50px -28px rgba(11,21,36,.45), 0 0 0 1px rgba(11,21,36,.05);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 18px 100% repeat-x;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 18px 100% repeat-x; }
.f-slip b { display: block; font-size: 15px; margin-bottom: 4px; }
.f-slip--bill { width: 280px; }
.f-slip__line { display: flex; justify-content: space-between; text-align: left; }
.f-slip__sum { font-weight: 700; margin-top: 4px; }
.f-slip__sep { border-top: 2px dashed #bbb; margin: .8rem 0; }
.f-slip__qr { width: 120px; height: 120px; margin: .6rem auto .3rem; }
.f-slip__qr svg { width: 100%; height: 100%; display: block; }
.f-toast { max-width: 320px; padding: 10px 14px; border-radius: 10px; background: #e6effc; color: #1d62c4; font-size: 13px; font-weight: 500;
  box-shadow: 0 14px 30px -18px rgba(11,21,36,.4); }
.f-toast--warn { background: #fdf1dc; color: #8a5600; }
.f-stack { display: flex; flex-direction: column; gap: 1rem; max-width: 340px; }
.f-stack .ld-tg { box-shadow: 0 24px 50px -24px rgba(11,21,36,.35), 0 0 0 1px rgba(11,21,36,.05); }

/* Табель */
.f-ts { padding: 6px 0 12px; }
.f-ts__row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(7, minmax(0, 1fr)) 76px; gap: 6px; align-items: center; padding: 6px 14px; }
.f-ts__row--h { background: #f5f8fc; font-weight: 600; color: #344050; font-size: 11.5px; }
.f-ts__row--h span:not(:first-child) { text-align: center; }
.f-ts__row i { display: block; height: 24px; border-radius: 6px; }
.f-ts__row b { justify-self: center; padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.f-ts__row b.g { background: #e3f6ee; color: #0e8a5c; } .f-ts__row b.y { background: #fdf1dc; color: #b06e00; } .f-ts__row b.r { background: #fde8e8; color: #c23434; }
.f-ts i.ok { background: #bfe8d4; } .f-ts i.late { background: #f6c97a; } .f-ts i.miss { background: #f2a3a3; }
.f-ts i.off { background: #eef1f5; } .f-ts i.extra { background: #b3cef5; }
.f-ts__legend { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 14px 0; font-size: 11px; color: #5e6e82; }
.f-ts__legend span { display: inline-flex; align-items: center; gap: 5px; }
.f-ts__legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* Призыв внизу */
.f-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.5rem; border-radius: 24px; background: #eef5fe; }
.f-cta h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.f-cta p { margin: 0; }
.f-cta .gc-cta__btns { display: flex; gap: .75rem; flex-wrap: wrap; }

@media (max-width: 1199.98px) {
  .f-row, .f-row--rev { gap: 2rem; }
}
@media (max-width: 991.98px) {
  .f-row, .f-row--rev { grid-template-columns: minmax(0, 1fr); margin-bottom: 3rem; }
  .f-row--rev .f-text { order: 0; }
  .f-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  .ld section.f-chapter { padding: 3rem 0; }
  .f-cards { grid-template-columns: 1fr; }
  .f-heat__grid { grid-template-columns: 22px repeat(13, minmax(0, 1fr)); gap: 2px; padding: 10px; }
  .f-heat__grid .f-heat__h:nth-child(even) { visibility: hidden; }
  .f-ts__row { grid-template-columns: minmax(0, 1.4fr) repeat(7, minmax(0, 1fr)) 48px; gap: 3px; padding: 5px 10px; font-size: 11px; }
  .f-ts__row--h span:first-child { font-size: 0; }
  .f-ts__row--h span:last-child { font-size: 0; }
  .f-ts__row--h span:last-child::after { content: "Дисц."; font-size: 10px; }
  .f-cta { padding: 1.5rem 1.25rem; }
  .f-pic .ld-browser { overflow-x: auto; }
  .f-pic .ld-table { font-size: 11.5px; }
  .f-pic .ld-table th, .f-pic .ld-table td { padding: 7px 8px; }
  .f-pic .ld-table th:nth-child(4), .f-pic .ld-table td:nth-child(4) { display: none; }
}

/* Зал на странице — уже, чем на главной: столы шире, подписи мельче, чтобы не переносились */
@media (min-width: 992px) { .f-pic .ld-hall { grid-template-columns: minmax(0, 1fr) 270px; } }
.f-pic .ld-tbl { width: 27%; }
.f-pic .ld-tbl small { font-size: 10px; line-height: 1.15; text-align: center; }

/* Отзывы гостей (#reviews): «Неделя словами» и строки отзывов с темами и подсказкой для звонка */
.f-rev__week { padding: 12px 16px; border-bottom: 1px solid #edf1f6; background: #f7faff; }
.f-rev__week p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #344050; }
.f-rev__item { padding: 12px 16px; border-bottom: 1px solid #edf1f6; font-size: 13px; line-height: 1.45; color: #344050; }
.f-rev__item:last-child { border-bottom: 0; }
.f-rev__top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.f-rev__stars { color: #f5a623; letter-spacing: 1px; }
.f-rev__stars i { font-style: normal; color: #d8e0ea; }
.f-rev__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.f-rev__tags span { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; }
.f-rev__tags .good { background: #e3f6ec; color: #0f7a4f; }
.f-rev__tags .bad { background: #fde8e8; color: #c23434; }
.f-rev__call { margin-top: 8px; padding: 7px 10px; border: 1px solid #edf1f6; border-radius: 10px; font-size: 12px; }
