/* RestroGreen vertical (restaurant type) pages — shared section layouts */

.pos-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 576px) { .pos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .pos-grid { grid-template-columns: repeat(3, 1fr); } }

/* Fast food page — section layouts */
.ffq-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.25rem; counter-reset: ffq; }
@media (min-width: 768px) { .ffq-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; } }
.ffq-step { display: flex; gap: 1rem; align-items: flex-start; background: #f9faf9; border: 1px solid #eef0ee; border-radius: 1rem; padding: 1.25rem; }
.ffq-step-num { flex: 0 0 2.5rem; height: 2.5rem; border-radius: 50%; background: #00897b; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ffq-step .inv-card-title, .ffq-check-row .inv-card-title { margin-bottom: 0.35rem; }
.ffq-step .inv-card-text, .ffq-check-row .inv-card-text { margin: 0; }
.ffq-checklist { list-style: none; margin: 0; padding: 0; }
.ffq-check-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid #e5e7eb; }
.ffq-check-row:first-child { padding-top: 0; }
.ffq-check-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ffq-check-mark { flex: 0 0 auto; color: #00897b; }
.ffq-check-mark .inv-outline-svg { width: 1.6rem; height: 1.6rem; }
.ffq-bento { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .ffq-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .ffq-bento { grid-template-columns: repeat(3, 1fr); } .ffq-bento-item--lead { grid-column: span 2; } }
.ffq-bento-item { background: #fff; border: 1px solid #f0f0f0; border-radius: 16px; padding: 1.75rem; box-shadow: rgba(0,0,0,0.05) 0 0 0 1px; }
.ffq-bento-item--lead { background: linear-gradient(135deg, #0f3d38 0%, #00897b 100%);}
.ffq-bento-item--lead .inv-card-title { color: #fff; font-size: 1.4rem; }
.ffq-bento-item--lead .inv-card-text { color: rgba(255,255,255,0.88); }
.ffq-bento-item--lead .inv-card-icon { background: rgba(255,255,255,0.18); color: #fff; }
.ffq-bento-item--dashed { border: 2px dashed #00897b; background: #f4faf9; }
.ffq-dark { background: #0f3d38; }
.ffq-dark .inv-section-title { color: #fff; }
.ffq-dark .inv-section-desc { color: rgba(255,255,255,0.8); }
.ffq-pa-hero { position: relative; border-radius: 24px; overflow: hidden; min-height: 24rem; background: #0f3d38; }
.ffq-pa-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.ffq-pa-overlay { position: relative; z-index: 1; min-height: 24rem; display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.5rem 7rem; background: linear-gradient(180deg, rgba(15,61,56,0.9) 0%, rgba(15,61,56,0.78) 100%); }
.ffq-pa-title { font-size: 2rem; font-weight: 700; line-height: 1.3; color: #fff; margin-bottom: 0.85rem; max-width: 34rem; }
.ffq-pa-desc { font-size: 1.0625rem; line-height: 1.7; color: rgba(255,255,255,0.88); margin: 0; max-width: 34rem; }
.ffq-pa-row { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 1rem; margin: -5rem 0.75rem 0; }
.ffq-pa-card { background: #fff; border: 1px solid #e3efed; border-radius: 16px; padding: 1.25rem; box-shadow: 0 12px 30px rgba(15,61,56,0.14); }
.ffq-pa-card .inv-card-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 0.85rem; }
.ffq-pa-card .inv-card-title { font-size: 1.02rem; margin-bottom: 0.3rem; }
.ffq-pa-card .inv-card-text { font-size: 0.9rem; margin: 0; }
@media (min-width: 576px) { .ffq-pa-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .ffq-pa-row { grid-template-columns: repeat(3, 1fr); } .ffq-pa-overlay { padding: 3rem 3rem 8rem; } .ffq-pa-title { font-size: 2.2rem; } }
@media (min-width: 1200px) { .ffq-pa-row { grid-template-columns: repeat(5, 1fr); margin: -5rem 1.5rem 0; } .ffq-pa-overlay { background: linear-gradient(90deg, rgba(15,61,56,0.94) 0%, rgba(15,61,56,0.8) 45%, rgba(15,61,56,0.1) 100%); } }
.ffq-photo { position: relative; border-radius: 24px; overflow: hidden; background: #e6f3f2; box-shadow: 0 18px 40px rgba(15,61,56,0.18); }
.ffq-photo img { display: block; width: 100%; height: auto; }
.ffq-photo-badge { position: absolute; left: 1rem; bottom: 1rem; background: #fff; color: #00695c; font-size: 0.8rem; font-weight: 700; padding: 0.45rem 0.9rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,0.16); }
.ffq-photo-list { display: grid; gap: 0.9rem; }
.ffq-photo-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid #e3efed; border-radius: 14px; padding: 1rem 1.15rem; }
.ffq-photo-item .inv-card-icon { margin-bottom: 0; width: 2.5rem; height: 2.5rem; }
.ffq-photo-item .inv-card-title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.ffq-photo-item .inv-card-text { margin: 0; }
.ffq-tags { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 576px) { .ffq-tags { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ffq-tags { grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: start; } .ffq-tag:nth-child(even) { margin-top: 1.75rem; } }
.ffq-tag { position: relative; background: #f4faf9; border: 1px solid #e3efed; border-radius: 4px 4px 20px 20px; padding: 2.4rem 1.25rem 1.5rem; }
.ffq-tag-hole { position: absolute; top: 0.8rem; left: 50%; width: 0.85rem; height: 0.85rem; transform: translateX(-50%); border-radius: 50%; background: #fff; box-shadow: inset 0 1px 2px rgba(0,0,0,0.18); }
.ffq-tag .inv-card-icon { background: #fff; }
.ffq-tag .inv-card-title { font-size: 1.05rem; }
.ffq-tag .inv-card-text { margin: 0; }
@media (min-width: 992px) { .ffq-sticky { position: sticky; top: 6rem; } }
@media (min-width: 992px) { .ffq-pa-row--6 { grid-template-columns: repeat(3, 1fr); margin: -5rem 1rem 0; } }
@media (min-width: 1200px) { .ffq-pa-row--6 { grid-template-columns: repeat(3, 1fr); } }
.ffq-glass-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .ffq-glass-grid { grid-template-columns: repeat(2, 1fr); } .ffq-glass-col--offset { margin-top: 3.5rem; } }
.ffq-glass-col { display: grid; gap: 1.25rem; align-content: start; }
.ffq-glass { position: relative; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-top: 3px solid #f5c518; border-radius: 16px; padding: 1.5rem; overflow: hidden; }
.ffq-glass-no { position: absolute; right: 1rem; top: 0.4rem; font-size: 3rem; font-weight: 800; color: rgba(255,255,255,0.09); line-height: 1; }
.ffq-glass-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #f5c518; color: #111827; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ffq-glass-icon .inv-outline-svg { width: 1.5rem; height: 1.5rem; }
.ffq-glass-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.ffq-glass-text { font-size: 0.9375rem; line-height: 1.65; color: rgba(255,255,255,0.8); margin: 0; }

.ffq-kpis { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .ffq-kpis { grid-template-columns: repeat(2, 1fr); } .ffq-kpi--hero { grid-column: 1 / -1; } }
@media (min-width: 992px) { .ffq-kpis { grid-template-columns: repeat(3, 1fr); } .ffq-kpi--hero { grid-column: span 2; } }
.ffq-kpi { background: #fff; border: 1px solid #e3efed; border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 26px rgba(0,137,123,0.07); }
.ffq-kpi .inv-card-text { margin: 0; }
.ffq-kpi--hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 15rem; overflow: hidden; }
.ffq-kpi-text { position: relative; z-index: 1; max-width: 30rem; }
.ffq-spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }

.ffq-collage { position: relative; padding-bottom: 3.5rem; }
.ffq-collage-main { border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px rgba(15,61,56,0.18); background: #e6f3f2; }
.ffq-collage-main img { display: block; width: 100%; height: auto; }
.ffq-collage-sub { position: absolute; right: -0.5rem; bottom: 0; width: 52%; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 14px 32px rgba(15,61,56,0.22); background: #e6f3f2; }
.ffq-collage-sub img { display: block; width: 100%; height: auto; }
.ffq-collage-badge { position: absolute; left: 1rem; top: 1rem; background: #fff; color: #00695c; font-size: 0.8rem; font-weight: 700; padding: 0.45rem 0.9rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,0.16); }

.ffq-list2 { display: grid; grid-template-columns: 1fr; gap: 0 3rem; }
@media (min-width: 768px) { .ffq-list2 { grid-template-columns: repeat(2, 1fr); } }
.ffq-list2-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 0; border-bottom: 1px solid #d9dedc; }
.ffq-list2-item .inv-card-icon { margin-bottom: 0; width: 2.5rem; height: 2.5rem; }
.ffq-list2-item .inv-card-title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.ffq-list2-item .inv-card-text { margin: 0; }

/* Takeaway — receipt-to-preparation rail */
.ffq-rail-head { margin-bottom: 2.5rem; }
.ffq-polaroids { position: relative; display: flex; justify-content: center; gap: 1rem; padding: 1rem 0; }
.ffq-polaroid { margin: 0; flex: 1 1 0; max-width: 17rem; background: #fff; padding: 0.6rem 0.6rem 1.6rem; border-radius: 10px; box-shadow: 0 14px 32px rgba(15,61,56,0.18); }
.ffq-polaroid img { display: block; width: 100%; height: 12rem; object-fit: cover; border-radius: 6px; }
.ffq-polaroid--a { transform: rotate(-3deg); }
.ffq-polaroid--b { transform: rotate(3deg) translateY(1.25rem); }
.ffq-tickets { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 576px) { .ffq-tickets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .ffq-tickets { grid-template-columns: repeat(3, 1fr); } }
.ffq-ticket { position: relative; background: #fff; border: 1px solid #e3efed; border-radius: 14px; padding: 1.1rem 1.35rem 1.35rem; box-shadow: 0 8px 22px rgba(0,137,123,0.07); }
.ffq-ticket::before, .ffq-ticket::after { content: ""; position: absolute; top: 2.7rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; border: 1px solid #e3efed; }
.ffq-ticket::before { left: -0.55rem; clip-path: inset(0 0 0 50%); }
.ffq-ticket::after { right: -0.55rem; clip-path: inset(0 50% 0 0); }
.ffq-ticket-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.8rem; margin-bottom: 0.9rem; border-bottom: 2px dashed #cfe3df; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #00695c; }
.ffq-ticket-ic { color: #00897b; }
.ffq-ticket-ic .inv-outline-svg { width: 1.4rem; height: 1.4rem; }
.ffq-ticket .inv-card-title { font-size: 1.05rem; margin-bottom: 0.3rem; }
.ffq-ticket .inv-card-text { margin: 0; }

/* Takeaway — handoff route */
.ffq-route { display: grid; grid-template-columns: 1fr; gap: 1rem; position: relative; margin-top: 2.5rem; padding-left: 3.5rem; }
.ffq-route::before { content: ""; position: absolute; left: 1.4rem; top: 0; bottom: 0; border-left: 2px dashed rgba(255,255,255,0.35); }
.ffq-route-stop { position: relative; }
.ffq-route-node { position: absolute; left: -3.5rem; top: 0.9rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: #f5c518; color: #111827; display: flex; align-items: center; justify-content: center; }
.ffq-route-node .inv-outline-svg { width: 1.4rem; height: 1.4rem; }
.ffq-route-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; padding: 1.25rem 1.35rem; }
@media (min-width: 1200px) {
    .ffq-route { grid-template-columns: repeat(5, 1fr); grid-template-rows: auto 3rem auto; gap: 0 1rem; padding-left: 0; margin-top: 3rem; }
    .ffq-route::before { left: 0; right: 0; top: auto; bottom: auto; grid-row: 2; height: 0; width: auto; border-left: 0; border-top: 2px dashed rgba(255,255,255,0.35); position: relative; align-self: center; grid-column: 1 / -1; }
    .ffq-route-stop { display: contents; }
    .ffq-route-card { grid-column: var(--col); }
    .ffq-route-stop--top .ffq-route-card { grid-row: 1; }
    .ffq-route-stop--bottom .ffq-route-card { grid-row: 3; }
    .ffq-route-node { grid-column: var(--col); grid-row: 2; position: relative; left: auto; top: auto; justify-self: center; align-self: center; z-index: 1; }
}

/* Takeaway — sales scoreboard */
.ffq-donut-card { background: #fff; border: 1px solid #e3efed; border-radius: 22px; padding: 2rem 1.5rem; box-shadow: 0 12px 30px rgba(0,137,123,0.08); text-align: center; }
.ffq-donut { position: relative; width: 14rem; height: 14rem; margin: 0 auto 1.5rem; border-radius: 50%; background: conic-gradient(#00897b 0 46%, #f5c518 46% 78%, #0f3d38 78% 100%); display: flex; align-items: center; justify-content: center; }
.ffq-donut::before { content: ""; position: absolute; inset: 2.6rem; border-radius: 50%; background: #fff; }
.ffq-donut span { position: relative; font-size: 0.85rem; font-weight: 700; line-height: 1.4; color: #0f3d38; }
.ffq-donut-legend { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.85rem; color: #555; }
.ffq-score-key { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 3px; margin-right: 0.45rem; flex: 0 0 auto; }
.ffq-score-key--a { background: #00897b; }
.ffq-score-key--b { background: #f5c518; }
.ffq-score-key--c { background: #0f3d38; }
.ffq-score { list-style: none; margin: 0; padding: 0; }
.ffq-score-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 0; border-bottom: 1px solid #d9dedc; }
.ffq-score-row .ffq-score-key { margin: 0.45rem 0 0; width: 0.9rem; height: 0.9rem; }
.ffq-score-row .inv-card-title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.ffq-score-row .inv-card-text { margin: 0; }

/* Chains — counter-to-kitchen lane */
.ffq-lane { list-style: none; margin: 0; padding: 0; position: relative; }
.ffq-lane::before { content: ""; position: absolute; left: 1.35rem; top: 1.5rem; bottom: 1.5rem; border-left: 2px solid #cfe3df; }
.ffq-lane-step { position: relative; display: flex; gap: 1.1rem; align-items: flex-start; padding-bottom: 1.4rem; }
.ffq-lane-step:last-child { padding-bottom: 0; }
.ffq-lane-dot { position: relative; z-index: 1; flex: 0 0 2.75rem; height: 2.75rem; border-radius: 50%; background: #00897b; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px #fff; }
.ffq-lane-dot .inv-outline-svg { width: 1.4rem; height: 1.4rem; }
.ffq-lane-step > div { background: #f4faf9; border: 1px solid #e3efed; border-radius: 14px; padding: 1rem 1.25rem; flex: 1 1 auto; }
.ffq-lane-step .inv-card-title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.ffq-lane-step .inv-card-text { margin: 0; }
.ffq-stack { display: grid; gap: 1.25rem; }
.ffq-stack-fig { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 36px rgba(15,61,56,0.18); background: #e6f3f2; }
.ffq-stack-fig img { display: block; width: 100%; height: 14rem; object-fit: cover; }
.ffq-stack-fig figcaption { position: absolute; left: 1rem; bottom: 1rem; background: #fff; color: #00695c; font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.9rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,0.16); }
@media (min-width: 992px) { .ffq-stack-fig--b { margin-left: 2rem; } .ffq-stack-fig:not(.ffq-stack-fig--b) { margin-right: 2rem; } }

/* Chains — dish cost */
.ffq-cost-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; overflow: hidden; }
.ffq-cost-card-top { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.8rem 1.15rem; background: rgba(255,255,255,0.08); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ffq-cost-bars { padding: 1.1rem 1.15rem 1.25rem; display: grid; gap: 0.9rem; }
.ffq-cost-bar em { display: block; font-style: normal; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 0.3rem; }
.ffq-cost-bar span { display: block; height: 0.6rem; border-radius: 999px; background: rgba(255,255,255,0.14); overflow: hidden; }
.ffq-cost-bar i { display: block; height: 100%; border-radius: 999px; background: #f5c518; }
.ffq-cost-list { list-style: none; margin: 0; padding: 0; counter-reset: cost; }
.ffq-cost-row { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.ffq-cost-row:first-child { padding-top: 0; }
.ffq-cost-row:last-child { border-bottom: 0; }
.ffq-cost-no { flex: 0 0 3rem; font-size: 2.1rem; font-weight: 800; line-height: 1; color: #f5c518; }

/* Chains — branch comparison */
.ffq-board { background: #fff; border: 1px solid #e3efed; border-radius: 18px; box-shadow: 0 12px 30px rgba(0,137,123,0.08); overflow: hidden; margin-bottom: 1.5rem; }
.ffq-board-top { display: flex; justify-content: space-between; padding: 0.85rem 1.5rem; background: #00897b; color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ffq-board-rows { padding: 1.35rem 1.5rem; display: grid; gap: 1rem; }
.ffq-board-row { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: 1rem; }
.ffq-board-row em { font-style: normal; font-size: 0.85rem; font-weight: 600; color: #555; }
.ffq-board-row span { display: block; height: 1.1rem; border-radius: 999px; background: #eef3f2; overflow: hidden; }
.ffq-board-fill { display: block; height: 100%; border-radius: 999px; }
.ffq-board-fill--a { background: #00897b; }
.ffq-board-fill--b { background: #7aa7a1; }
.ffq-cmp { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 576px) { .ffq-cmp { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .ffq-cmp { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .ffq-cmp { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.ffq-cmp-card { background: #fff; border: 1px solid #e3efed; border-top: 4px solid #00897b; border-radius: 14px; padding: 1.25rem; box-shadow: rgba(0,0,0,0.05) 0 0 0 1px; }
.ffq-cmp-card .inv-card-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 0.8rem; }
.ffq-cmp-card .inv-card-title { font-size: 1.02rem; margin-bottom: 0.3rem; }
.ffq-cmp-card .inv-card-text { font-size: 0.9rem; margin: 0; }
