/* POS Connect Stylesheet v7 - Deduplicated & Polish */
:root {
  --navy: #1f2a6b;
  --navy-d: #0f1536;
  --orange: #f97316;
  --orange-d: #ea580c;
  --amber: #fbbf24;
  --green: #059669;
  --lime: #65a30d;
  --ink: #111827;
  --muted: #4b5563;
  --soft: #6b7280;
  --line: #e5e7eb;
  --gray: #475569;
  --font: 'Prompt','Noto Sans Thai',system-ui,sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Material Symbols & helpers */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  display: inline-block;
  width: 1em;
  overflow: hidden;
  vertical-align: middle;
  letter-spacing: normal;
  white-space: nowrap;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  user-select: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 860px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.center {
  text-align: center;
}

.spacer {
  flex: 1;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.ink { color: var(--ink); }
.navy { color: var(--navy); }

.cafe-grad {
  background: linear-gradient(90deg,#1e2a78 0%,#0f766e 52%,#059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.restaurant-grad {
  background: linear-gradient(90deg, #EA580C 0%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.orange,.o { color: var(--orange); }
.green,.g { color: var(--green); }
.y { color: var(--amber); }
.muted { color: var(--soft); }

.liner-green {
  background: linear-gradient(90deg, #2D397C 0%, #059669 50%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.linear-orange {
  background: linear-gradient(90deg, #EA580C 0%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand,.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: var(--orange);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  box-shadow: 0 4px 14px rgba(15,23,42,.08);
  border: 1px solid #f1f5f9;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.logo img+.ms {
  display: none;
}

.brand-t strong,
.brand-t .brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.18;
  color: #0b132b;
  letter-spacing: -.01em;
}

.brand-t small {
  font-size: .72rem;
  color: #64748b;
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav ul {
  display: flex;
  gap: 24px;
  font-size: .95rem;
  font-weight: 500;
  color: #334155;
}

.nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
}

.nav ul a:hover,.nav a[aria-current] {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

@media(max-width:1024px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 6px; }
}

/* Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 600;
  color: #fff;
  transition: transform .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(90deg,#f97316,#fb923c);
  box-shadow: 0 8px 20px rgba(249,115,22,.3);
}

.btn-orange {
  background: linear-gradient(90deg,#f97316,#fbbf24);
  box-shadow: 0 8px 20px rgba(249,115,22,.25);
}

.btn-green {
  background: linear-gradient(90deg,#059669,#34d399);
  box-shadow: 0 8px 20px rgba(5,150,105,.25);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost .ms { color: var(--orange); }

.btn-dark {
  background: #090d1a;
  box-shadow: 0 6px 16px rgba(9,13,26,.18);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}

.btn-block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.6;
}

.pill .ms { font-size: 1.1em; }
.pill-gray { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.pill-gray-dot { background: #f1f5f9; color: var(--muted); border: 1px solid var(--line); }
.pill-orange,.pill-orange-line { background: #FFEDD5; color: var(--orange-d); border: 1px solid #fed7aa; }
.pill-green { background: #d1fae5; color: #047857; border: 1px solid #6ee7b7; }
.pill-green-line { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; letter-spacing: .04em; }
.pill-green-soft { background: #d1fae5; color: #047857; }
.pill-navy { background: var(--navy); color: #fff; }
.pill-navy-soft { background: #e0e7ff; color: var(--navy); }
.pill-dark { background: #0f172a; color: #fff; }
.pill-light { background: rgba(255,255,255,.85); color: #065f46; }
.pill-solid,.pill-star { background: var(--orange); color: #fff; }
.pill-ghost { background: rgba(255,255,255,.12); color: #c7d2fe; border: 1px solid rgba(255,255,255,.2); }
.pill-glass { background: rgba(255,255,255,.08); color: #6ee7b7; border: 1px solid rgba(110,231,183,.5); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.dot.blue { background: #3b82f6; }
.dot.amber { background: #f59e0b; }

/* Breadcrumb */
.crumbs {
  padding-top: 14px;
  font-size: .8rem;
  color: var(--soft);
}

.crumbs ol { display: flex; gap: 8px; }
.crumbs li+li::before { content: "›"; margin-right: 8px; }
.crumbs a:hover { color: var(--orange); }

/* Hero & Section headings */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.hero.left {
  text-align: left;
  padding: 40px 0 24px;
}

.hero-title {
  font-size: clamp(2.2rem,5.6vw,4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 18px;
  letter-spacing: -.01em;
}

.hero.left .hero-title { font-size: clamp(1.9rem,4.4vw,3rem); }

.hero-lead {
  color: var(--muted);
  max-width: 760px;
  margin-top: 16px;
  font-size: 1.05rem;
}

.hero:not(.left) .hero-lead { margin-inline: auto; }

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-notes {
  display: flex;
  gap: 12px 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 36px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 840px;
  color: var(--soft);
  font-size: .9rem;
}

.section { padding: 56px 0; }
.section.tight { padding: 28px 0; }

.sec-head {
  text-align: center;
  margin-bottom: 36px;
}

.sec-head.left {
  text-align: left;
  margin-bottom: 24px;
}

/* Flows & Features */
#flows .cmp {
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 42%);
  border: 1.5px solid #fed7aa;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease;
}

#flows .cmp.blue {
  background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 42%);
  border-color: #c7d2fe;
}

#flows .cmp:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.1);
  border-color: #fb923c;
}

#flows .cmp.blue:hover {
  box-shadow: 0 18px 36px rgba(31, 42, 107, 0.1);
  border-color: #818cf8;
}

#flows .chips li {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 14px 8px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

#flows .chips li:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  border-color: #fdba74;
}

#flows .cmp.blue .chips li:hover { border-color: #a5b4fc; }

#flows .chips li.step-pay,
#flows .chips li.step-pay-late {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #6ee7b7;
}

#flows .chips li.step-serve {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border-color: #fed7aa;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 28px;
}

#features .feat-grid {
  gap: 22px;
  margin-top: 24px;
}

.feat {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
}

#features .feat {
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease;
  will-change: transform;
}

#features .feat:hover,
#features .feat:focus-within {
  transform: translate3d(0, -4px, 0) scale(1.025);
  border-color: #fdba74;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

#features .feat:active { transform: translate3d(0, -1px, 0) scale(0.99); }

.feat-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffedd5;
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

#features .feat .feat-ic {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.22s ease;
}

#features .feat:hover .feat-ic,
#features .feat:focus-within .feat-ic {
  transform: scale(1.12) rotate(-4deg);
  background: #fed7aa;
}

.feat h3,
.feat h4 {
  font-size: 1.02rem;
}

#features .feat h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.feat p {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 4px;
}

#features .feat p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 0;
}

#flows .chips li.step-pay:hover,
#flows .chips li.step-pay:focus-visible,
#flows .cmp.blue .chips li.step-pay-late:hover,
#flows .cmp.blue .chips li.step-pay-late:focus-visible {
  border-color: #10b981;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.16);
}

@media(max-width:900px) {
  .feat-grid { grid-template-columns: 1fr; }
}

.sec-title {
  font-size: clamp(1.5rem,3.4vw,2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 12px;
}

.sec-title.left {
  text-align: left;
  font-size: clamp(1.4rem,3vw,2rem);
}

.sec-title.center {
  text-align: center;
  font-size: clamp(1.2rem,2.6vw,1.6rem);
}

.sec-lead {
  color: var(--muted);
  margin: 10px auto 0;
}

.sec-lead.left { margin-left: 0; }

.bar-title {
  font-size: clamp(1.2rem,2.6vw,1.7rem);
  font-weight: 700;
  border-left: 5px solid var(--orange);
  padding-left: 12px;
  margin: 12px 0 20px;
}

/* Scroll Reveal & Crossfade Animations */
.fx-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--fx-delay,0ms);
}

.fx-reveal.is-shown {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translate3d(0, 3px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes panelFadeOut {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(0, -2px, 0); }
}

.anim-in { animation: panelFadeIn .42s cubic-bezier(.22, 1, .36, 1) both; }
.anim-out { animation: panelFadeOut .16s ease-out both; }

#slider .win-body,
#slider .slide-info-col .slide-info {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .26s ease;
}

#slider.is-switching .win-body.on,
#slider.is-switching .slide-info.on { pointer-events: none; }

/* Home showcase */
.showcase { padding: 32px 0 64px; }

.show-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.show-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid #bbf7d0;
  background: linear-gradient(180deg,#d1fae5,#fff 85%);
}

.rest-win {
  width: 100%;
  background: #0b1220;
  border: 1px solid #334155;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(15, 23, 42, .38);
  display: flex;
  flex-direction: column;
}

.rest-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: #0f172a;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  flex: none;
}

.rest-win-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rest-win-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.rest-win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.rest-win-dots i:nth-child(1) { background: #ef4444; }
.rest-win-dots i:nth-child(2) { background: #eab308; }
.rest-win-dots i:nth-child(3) { background: #22c55e; }

.rest-win-path {
  font-size: .78rem;
  color: #cbd5e1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rest-win-badge {
  flex: none;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #34d399;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(52, 211, 153, .35);
  border-radius: 6px;
  padding: 3px 9px;
  white-space: nowrap;
}

.show-card.rest .show-slide .screen-shot {
  width: 100%;
  height: 396px;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
  border: none;
  box-shadow: none;
}

.show-card.rest .float {
  background: rgba(15, 23, 42, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #f8fafc;
  padding: 7px 14px;
  font-size: .76rem;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .45);
}

.show-card.rest .float .dot {
  width: 7px;
  height: 7px;
  background: #fb923c;
}

.show-card.rest .f3 { bottom: 30px; left: 16px; }
.show-card.rest .f4 { bottom: 30px; right: 16px; }

@media(max-width:900px) {
  .show-card.rest .show-slide .screen-shot { height: 290px; }
  .rest-win-bar { padding: 9px 12px; }
  .rest-win-path { font-size: .72rem; }
}

.show-card.rest {
  border-color: #fed7aa;
  background: linear-gradient(180deg,#fdba74 0%,#c2410c 55%,#431407);
  color: #fff;
}

.show-top {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.show-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  position: relative;
  margin: 20px 0 4px;
  overflow: hidden;
}

.show-track {
  width: 100%;
  display: flex;
  will-change: transform;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.show-track.dragging {
  cursor: grabbing;
  user-select: none;
}

.show-slide {
  min-width: 0;
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  padding: 6px 0 34px;
}

.show-dots {
  flex: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 4px 0 16px;
}

.show-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all .2s;
}

.show-dots .on {
  width: 24px;
  border-radius: 8px;
  background: var(--navy);
}

.show-card.rest .show-dots button { background: rgba(255,255,255,.4); }
.show-card.rest .show-dots .on { background: #fb923c; }

.show-card figcaption {
  flex: none;
  margin-top: auto;
  text-align: center;
  font-size: .98rem;
  padding: 4px 8px 6px;
}

.show-card:not(.rest) figcaption { color: var(--ink); }

.float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: opacity .28s ease, transform .28s cubic-bezier(.22, 1, .36, 1), visibility .28s;
}

.float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
}

.float .ms { color: var(--green); }
.f1 { top: 20px; right: 5px; }
.f2 { bottom: 42px; left: 2px; }
.f3 { bottom: 12px; left: 10px; background: var(--orange); color: #fff; }
.f4 { bottom: 12px; right: 10px; background: #047857; color: #fff; }
.f3 .ms,.f4 .ms { color: inherit; }

@media(max-width:900px) {
  .show-grid { grid-template-columns: 1fr; align-items: start; }
  .show-card { height: auto; }
  .f1 { right: 4px; }
  .f2 { left: 4px; }
}

/* Real Screen Image Frames */
.shot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}

.phone-shot {
  width: 226px;
  border: 5px solid var(--navy);
  border-radius: 34px;
  overflow: hidden;
  background: #f4f6fb;
}

.phone-shot.step-shot {
  width: 100%;
  margin-top: 12px;
  border-radius: 26px;
}

.screen-shot {
  width: 100%;
  height: 410px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.show-slide:hover .shot-img,
.step-card:hover .shot-img,
.win-body:hover .shot-img {
  transform: scale(1.025);
}

@media(max-width:900px) {
  .screen-shot { height: 320px; }
}

/* Packages */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}

.pack {
  border-radius: 28px;
  padding: 32px;
  border: 1px solid #a7f3d0;
  background: linear-gradient(180deg,#ecfdf5,#fff);
}

.pack.rest {
  border-color: #fed7aa;
  background: linear-gradient(180deg,#fff3e8,#fff);
}

.pack-h {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 14px 0 8px;
}

.pack-h.big {
  font-size: 2.6rem;
  margin-top: 18px;
}

.pack-text {
  color: var(--muted);
  margin: 10px 0;
}

.ticks {
  margin: 18px 0 24px;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: flex;
  gap: 10px;
  font-size: .93rem;
  color: var(--muted);
}

.ticks strong,
.ticks .tick-h {
  color: var(--ink);
  font-weight: 700;
}

.ticks .ms {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  font-size: .9rem;
  display: grid;
  place-items: center;
}

.ticks.orange .ms {
  background: #ffedd5;
  color: var(--orange);
}

.price-head {
  color: var(--orange-d);
  font-weight: 700;
  font-size: .88rem;
  margin: 16px 0 10px;
  letter-spacing: .02em;
}

.price-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.price-mini .price-box {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    background-color 0.25s ease;
  will-change: transform;
}

.price-mini .price-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.price-mini .price-box:hover,
.price-mini .price-box:focus-visible {
  transform: translate3d(0, -5px, 0) scale(1.045);
  border-color: var(--orange);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.18);
  z-index: 2;
}

.price-mini .price-box.hot:hover,
.price-mini .price-box.hot:focus-visible {
  transform: translate3d(0, -6px, 0) scale(1.055);
  box-shadow: 0 20px 38px rgba(234, 88, 12, 0.24);
}

.price-mini .price-box:hover::after,
.price-mini .price-box:focus-visible::after {
  transform: translateX(130%);
}

.price-mini .price-box.hot .save {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.price-mini .price-box.hot:hover .save,
.price-mini .price-box.hot:focus-visible .save {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35);
}

.price-mini .price-box:active {
  transform: translate3d(0, -1px, 0) scale(0.985);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.16);
}

.price-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  position: relative;
}

.price-box.hot { border: 2px solid var(--orange); }

.big {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.big small {
  font-size: .85rem;
  font-weight: 400;
  color: var(--soft);
  margin-left: 6px;
}

.vat {
  display: block;
  font-size: .78rem;
  color: var(--ink);
  margin-top: 8px;
  padding-top: 8px;
}

.vat.g {
  color: #047857;
  border: 0;
  padding: 0;
}

.save {
  position: absolute;
  top: 12px;
  right: 14px;
  background: linear-gradient(90deg,#f97316,#fbbf24);
  color: #fff;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  padding: 1px 12px;
}

.pack.single { margin-top: 8px; }

.single-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #d1fae5;
  padding-bottom: 16px;
}

.single-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
  margin-top: 16px;
}

@media(max-width:900px) {
  .pack-grid,.single-grid { grid-template-columns: 1fr; }
}

@media(max-width:560px) {
  .price-mini { grid-template-columns: 1fr; }
}

/* Steps carousel (cafe) */
.steps-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.hint {
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy-d);
}

.round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
  flex: none;
}

.round:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.round:active:not(:disabled),
.round.on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.round:disabled,
.round[aria-disabled="true"],
.round.is-end {
  opacity: .55;
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  border-style: dashed;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.round:disabled:hover,
.round[aria-disabled="true"]:hover,
.round.is-end:hover {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  transform: none;
}

.round .ms {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  font-size: 1.25rem;
}

.round.sm { width: 44px; height: 44px; }
.round.sm .ms { font-size: 1.15rem; }

.track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 18px;
  cursor: grab;
  scrollbar-width: thin;
}

.track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.step-card {
  min-width: 0;
  flex: 0 0 min(300px,82%);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,24,39,.05);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
}

.step-top em {
  margin-left: auto;
  font-style: normal;
  font-size: .7rem;
  font-weight: 600;
  background: #ecfccb;
  color: #4d7c0f;
  padding: 1px 10px;
  border-radius: 8px;
}

.step-no {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
}

.step-card h3,
.step-card h4 {
  font-size: .98rem;
  margin: 12px 0 4px;
}

.step-card p {
  font-size: .8rem;
  color: var(--soft);
  line-height: 1.5;
}

/* Flow compare & Slider */
#restaurant-flows {
  padding: 36px 0 44px;
  border-top: 1px solid #eef2f6;
}

#restaurant-flows .sec-lead.left {
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}

.cmp {
  border-radius: 22px;
  padding: 24px;
  border: 1.5px solid #fdba74;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
  display: flex;
  flex-direction: column;
}

.cmp.blue { border-color: #c7d2fe; }

.cmp .pill-solid {
  background: #f97316;
  color: #fff;
  padding: 5px 16px;
  font-size: .8rem;
  font-weight: 700;
}

.cmp.blue .pill-solid { background: #1e2a78; }

.cmp-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cmp-top small {
  color: #64748b;
  font-size: .76rem;
  font-weight: 500;
}

.cmp p {
  font-size: .9rem;
  color: #475569;
  margin: 14px 0 20px;
  line-height: 1.6;
}

.chips {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.cmp.blue .chips {
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}

.chips li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
  font-size: .82rem;
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chips li.step-pay,
.chips li.step-pay-late { border-color: #6ee7b7; }
.chips li.step-serve { border-color: #fed7aa; }

.chips b {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}

.chips small {
  font-size: .7rem;
  color: #64748b;
  margin-top: 2px;
}

.chips li.step-pay small,
.chips li.step-pay-late small { color: #059669; font-weight: 600; }
.chips li.step-serve small { color: #ea580c; font-weight: 600; }

.chips .n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  font-size: .75rem;
  font-weight: 700;
}

.blue .chips .n { background: #1e2a78; }
.chips .n.n-green,
.blue .chips .n.n-green { background: #059669; color: #fff; }

.slider-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.slider-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
  height: 540px;
}

.slider-grid > .win,
.slider-grid > .slide-info-col {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.win {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: #fff;
}

.win-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  margin-bottom: 14px;
}

.win-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f87171;
}

.win-bar i:nth-child(2) { background: #fbbf24; }
.win-bar i:nth-child(3) { background: #34d399; }

.win-title {
  background: #eef2ff;
  border-radius: 999px;
  padding: 1px 14px;
  margin-left: 8px;
}

#slider .win-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

#slider .win-stage.dragging { cursor: grabbing; }

#slider .win-body img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.win-body {
  display: none;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
}

.win-body.on { display: block; }

.slide-info-col .slide-info {
  display: none;
  flex: 1;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: #fff;
}

.slide-info-col .slide-info.on { display: block; }

.info-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.slide-info h3,
.slide-info h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 14px 0 8px;
}

.slide-info p { color: var(--muted); font-size: .9rem; }

.slide-info .hl-label {
  font-weight: 700;
  font-size: .8rem;
  color: var(--ink);
  margin-top: 16px;
}

.dots {
  flex: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  transition: all .2s;
}

.dots .on {
  width: 26px;
  border-radius: 8px;
  background: var(--green);
}

@media(max-width:1024px) {
  .cmp.blue .chips { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media(max-width:900px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .chips,
  .cmp.blue .chips { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .slider-grid { grid-template-columns: 1fr; height: auto; }
  .slider-grid > .win { height: 380px; }
  .slider-grid > .slide-info-col { height: auto; }
  .slide-info-col .slide-info { height: auto; overflow-y: visible; }
}

/* Pricing card (restaurant) */
#pricing,
#restaurant-pricing {
  padding: 64px 0 72px;
}

.price-card {
  border-radius: 26px;
  overflow: visible;
  box-shadow: 0 24px 60px rgba(15,21,54,.12);
  border: 1px solid var(--line);
  background: #fff;
}

.price-card-head {
  background: var(--navy-d);
  color: #fff;
  padding: 22px 32px;
  border-radius: 26px 26px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.price-card-head small {
  color: var(--amber);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 2px;
}

.price-card-head h3,
.price-card-head h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.price-card-head .pill-ghost {
  background: rgba(255,255,255,.1);
  color: #c7d2fe;
  border: 1px solid rgba(199,210,254,.24);
  padding: 7px 16px;
  font-weight: 500;
}

.price-card-body {
  padding: 32px;
  background: linear-gradient(180deg,#fff3e8,#fff);
  border-radius: 0 0 26px 26px;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.plan {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 28px;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.plan.hot {
  border: 2px solid var(--orange);
  box-shadow: 0 12px 28px rgba(249,115,22,.08);
}

.plan .pill-star {
  position: absolute;
  top: -15px;
  right: 24px;
  padding: 4px 16px;
  font-size: .78rem;
  box-shadow: 0 6px 16px rgba(249,115,22,.25);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  min-height: 30px;
}

.plan-top b { font-size: 1.05rem; font-weight: 700; }

.plan .big {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.plan .big small {
  font-size: .92rem;
  font-weight: 500;
  color: var(--soft);
  margin-left: 8px;
}

.plan .vat {
  display: block;
  font-size: .8rem;
  color: var(--soft);
  padding-top: 12px;
}

.plan .vat.g {
  color: #047857;
  font-weight: 600;
  border-top: 1px solid #ffedd5;
  margin-top: 14px;
  padding-top: 12px;
}

.plan .vat.g.pill.pill-green-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 5px 14px;
  border: 1px solid #a7f3d0;
  letter-spacing: 0;
  max-width: 100%;
  white-space: normal;
}

.acc-note {
  background: #f4f7ff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .8rem;
  color: var(--ink);
  margin: 16px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.acc-note span,
.acc-note b { font-weight: 700; }

.acc-note em {
  font-style: normal;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 2px 12px;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}

.plan .ticks { margin: 18px 0 22px; gap: 13px; }
.plan .ticks li { align-items: center; font-size: .9rem; color: var(--muted); }
.plan .ticks .ms { width: 20px; height: 20px; font-size: .82rem; }

.plan-foot {
  margin-top: auto;
  font-size: .8rem;
  color: var(--soft);
  border-top: 1px solid #eef2f6;
  padding-top: 14px;
}

.plan-foot.o {
  color: var(--orange-d);
  border-top-color: #ffedd5;
}

.addon {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 14px 20px;
  margin-top: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
}

.addon b {
  flex: 1;
  font-size: .95rem;
  font-weight: 700;
  color: #0f172a;
  min-width: 200px;
}

.addon-row {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: .9rem;
  color: #1e293b;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.addon-row strong {
  color: #ea580c;
  font-size: 1.05rem;
  font-weight: 800;
  margin-left: 8px;
}

.addon-row span {
  color: #64748b;
  font-size: .86rem;
  font-weight: 500;
  margin-left: -2px;
}

.foot-note {
  font-size: .76rem;
  color: var(--soft);
  text-align: center;
  margin-top: 12px;
}

@media(max-width:900px) {
  .plans { grid-template-columns: 1fr; }
  .price-card-head,
  .price-card-body { padding: 22px; }
  .plan { padding: 22px; }
}

@media(max-width:560px) {
  .addon { gap: 12px; padding: 16px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 22px;
  background: #fff;
}

.faq-item summary { font-weight: 600; cursor: pointer; }
.faq-a { margin-top: 8px; color: var(--muted); font-size: .93rem; }

/* Trial form */
.trial {
  background: linear-gradient(135deg,#1b2460 0%,#263686 52%,#1c2766 100%);
  color: #fff;
  padding: 76px 0;
}

.trial-grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 48px;
  align-items: center;
}

.trial h2 {
  font-size: clamp(1.9rem,4vw,2.9rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 18px 0 14px;
  letter-spacing: -.01em;
}

.trial-copy>p {
  color: #cbd5f5;
  font-size: .94rem;
  line-height: 1.65;
}

.perks {
  display: grid;
  gap: 16px;
  margin: 24px 0 26px;
}

.perks li { display: flex; gap: 14px; align-items: center; }

.perk-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(110, 180, 41, .20);
  border: 1px solid rgba(110, 231, 183, .28);
  display: grid;
  place-items: center;
  color: #34d399;
  flex: none;
}

.perk-ic-navy {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(96, 165, 250, .20);
  border: 1px solid rgba(110, 231, 183, .28);
  display: grid;
  color: #93C5FD;
  place-items: center;
  flex: none;
}

.perk-ic-orange {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 119, 5, .14);
  border: 1px solid #6ee7b747;
  display: grid;
  place-items: center;
  color: #FF7705;
  flex: none;
}

.perks small { display: block; color: #93c5fd; font-size: .74rem; }

.perks b,
.perks .perk-t { font-size: .96rem; font-weight: 700; color: #fff; }

.contact-line {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #cbd5f5;
  font-size: .88rem;
  padding-top: 4px;
}

.contact-line a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
}

.contact-line a:hover { color: #fff; }

.trial-card {
  background: #fff;
  color: var(--ink);
  border-radius: 26px;
  padding: 32px 34px;
  box-shadow: 0 28px 60px rgba(8,13,40,.35);
}

.trial .card-title {
  font-size: 1.35rem;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.types {
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.types legend { font-size: .82rem; font-weight: 600; margin-bottom: 8px; }

.radio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
}

.radio input { position: absolute; opacity: 0; }

.rd {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #9ca3af;
}

.radio:has(input:checked) { border-color: #10b981; background: #ecfdf5; }
.radio:has(input:checked) .rd { border: 4px solid #059669; }
.radio:has(input:focus-visible) { outline: 3px solid var(--orange); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-top: 14px; }

.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,.field textarea {
  width: 100%;
  min-height: 46px;
  font: inherit;
  font-size: .88rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fafb;
}

.field input:focus,.field textarea:focus {
  outline: 2px solid var(--orange);
  background: #fff;
}

.trial-form .btn { margin-top: 18px; }
.form-status { text-align: center; font-size: .85rem; margin-top: 10px; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }

@media(max-width:900px) {
  .trial-grid { grid-template-columns: 1fr; }
}

@media(max-width:560px) {
  .fields,.types { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: #0b1030;
  color: #b6bbdb;
  padding: 48px 0 24px;
  font-size: .85rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3,1fr);
  gap: 32px;
}

.foot-logo { color: #fff; margin-bottom: 10px; }

.site-footer h3 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 10px;
}

.site-footer ul { display: grid; gap: 4px; }
.site-footer li { margin: 0; line-height: 1.45; }

.site-footer li a,
.foot-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  line-height: 1.45;
}

@media (pointer: coarse), (max-width: 768px) {
  .site-footer li a::after,
  .foot-links a::after {
    content: "";
    position: absolute;
    inset: -8px -6px;
  }
}

.site-footer a:hover { color: #fff; }

.foot-bottom {
  border-top: 1px solid #1e2450;
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media(max-width:900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Accessibility */
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  * { transition: none!important; animation: none!important; }
  .fx-reveal { opacity: 1!important; transform: none!important; }
}

/* Navbar */
@media(min-width:1025px) {
  .header-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-content: normal;
  }
  .brand { grid-column: 1; justify-self: start; min-width: 0; }
  .brand-t { min-width: 0; }
  .brand-t small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav { display: contents; }
  .nav ul {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
    white-space: nowrap;
  }
  .nav .btn { grid-column: 3; justify-self: end; white-space: nowrap; }
}

/* Merged solutions */
.solution { border-top: 1px solid var(--line); }
.solution>.hero.left { padding-top: 24px; }
.solution .crumbs { padding: 0 0 18px; }
.solution .section.tight { padding-top: 24px; }
.cafe-sol { background: linear-gradient(180deg,#f0fdf4 0,#fff 360px); }
.rest-sol { background: linear-gradient(180deg,#fff7ed 0,#fff 360px); }
.sec-title.left,.sec-lead.left { text-align: left; margin-left: 0; }

/* Responsive & Touch Target Polish */
.phone-shot .shot-img { height: auto; aspect-ratio: 390 / 844; }
.show-dots button, .dots button { position: relative; }
.show-dots button::before, .dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}
.chips, .cmp.blue .chips { grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); }
.chips li { overflow-wrap: anywhere; }
.win-bar { flex-wrap: nowrap; }
.win-title { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-bar .round, .win-bar .count { flex: none; }
.show-card.rest .show-slide .screen-shot { height: auto; aspect-ratio: 1400 / 733; }

@media (max-width: 1024px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .nav { max-height: calc(100vh - 68px); overflow-y: auto; }
}

@media (max-width: 900px) {
  .slider-grid { grid-template-columns: minmax(0, 1fr); }
  .slider-grid > .win { height: auto; min-width: 0; }
  .win-stage { flex: none; }
  .win-body { height: auto; }
  .win-body .shot-img { height: auto; aspect-ratio: 1400 / 733; }
}

@media (max-width: 600px) {
  .chips, .cmp.blue .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack { padding: 22px; }
  .trial { padding: 56px 0; }
  .trial-card { padding: 24px 18px; }
  .plan .pill-star { right: 16px; max-width: calc(100% - 32px); white-space: normal; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
  .win-bar > i { display: none; }
  .float { font-size: .66rem; padding: 5px 10px; }
  .show-card.rest .f3 { bottom: 5px; left: 8px; }
  .show-card.rest .f4 { bottom: 5px; right: 8px; }
}

@media (max-width: 420px) {
  .brand-t small { display: none; }
}

.foot-name { font-weight: 800; }
.price-box .pb-t { font-weight: 700; }
.vat .vat-em { font-weight: 700; }

.about-text {
  max-width: 820px;
  margin: 0 auto 24px;
  display: grid;
  gap: 14px;
  line-height: 1.8;
  color: var(--ink);
  font-size: 1.02rem;
}
.about-text p { margin: 0; }
.about-text strong { color: var(--ink); font-weight: 700; }
.about-text a { color: var(--orange-d); text-decoration: underline; text-underline-offset: 3px; }

.seo-block .feat-grid { gap: 20px; margin-top: 20px; }

.seo-block .feat {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.seo-block .feat:hover {
  transform: translateY(-3px);
  border-color: #fdba74;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.seo-block .feat h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.seo-block .feat p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.feat-grid.four { grid-template-columns: repeat(4, 1fr); }
.feat-grid.four .feat { list-style: none; }
@media (max-width: 1024px) { .feat-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid.four { grid-template-columns: 1fr; } }

/* Cafe Steps Carousel */
#screens .track {
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: none;
  padding: 8px 2px 20px;
  touch-action: pan-y pinch-zoom;
}

#screens .track::-webkit-scrollbar { display: none; }

#screens .track-inner {
  display: flex;
  align-items: stretch;
  gap: 16px;
  will-change: transform;
}

#screens .track-inner > .step-card { flex: 0 0 auto; }

.steps-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.steps-dots button {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  padding: 0;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.22s ease,
              transform 0.22s ease;
}

.steps-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}

.steps-dots button:hover {
  background: #6ee7b7;
  transform: scale(1.15);
}

.steps-dots button.on {
  width: 28px;
  background: linear-gradient(90deg, var(--navy), var(--green));
}

/* Single deduplicated definition for roles & timeline */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.role-card {
  position: relative;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
}

.role-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), #3b82f6);
}

.role-card.staff::before { background: linear-gradient(90deg, #059669, #34d399); }
.role-card.kitchen::before { background: linear-gradient(90deg, #ea580c, #fbbf24); }

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .1);
}

.role-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: #e0e7ff;
  color: var(--navy);
}

.role-card.staff .role-badge { background: #d1fae5; color: #047857; }
.role-card.kitchen .role-badge { background: #ffedd5; color: var(--orange-d); }

.role-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.role-card p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--muted); }

.timeline {
  list-style: none;
  margin: 22px auto 0;
  padding: 0;
  max-width: 820px;
  display: grid;
  gap: 18px;
}

.timeline li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.tl-n {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f2a6b, #ea580c);
  color: #ffffff;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.timeline h3 { margin: 0 0 6px; font-size: 1rem; color: var(--ink); }
.timeline p { margin: 0; font-size: 0.89rem; line-height: 1.65; color: var(--muted); }

@media (max-width: 820px) {
  .role-grid { grid-template-columns: 1fr; }
}

/* Social share: card + floating rail */
.share-section { padding: 8px 0 56px; }

.share-card {
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(135deg, #f0fdf4 0%, #fff7ed 100%);
  border: 1px solid #d1fae5;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}

.share-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.share-ic {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #fbbf24);
  box-shadow: 0 8px 18px rgba(249, 115, 22, .3);
}

.share-head h2 { font-size: 1.15rem; line-height: 1.4; }
.share-head p { font-size: .88rem; color: var(--muted); margin-top: 2px; }

.share-list { display: flex; flex-wrap: wrap; gap: 10px; }

.sbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  background: var(--navy);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .14);
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease, filter .2s ease;
}

.sbtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, .2);
  filter: brightness(1.06);
}

.sbtn:active { transform: translateY(-1px); }

.sbtn .bi,
.sbtn > .ms {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .22);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1;
}

.sbtn > .ms { font-size: 1.05rem; width: 28px; }

.sbtn.fb { background: #1877f2; }
.sbtn.ln { background: #06c755; }
.sbtn.xx { background: #0f1419; }
.sbtn.wa { background: #25d366; }
.sbtn.tg { background: #229ed9; }
.sbtn.li { background: #0a66c2; }
.sbtn.pi { background: #e60023; }
.sbtn.em { background: #64748b; }
.sbtn.cp { background: linear-gradient(90deg, var(--orange), #fb923c); }
.sbtn.cp.copied { background: linear-gradient(90deg, #059669, #34d399); }

.share-float { display: none !important; }

@media (max-width: 600px) {
  .share-card { padding: 22px 18px; border-radius: 22px; }
  .share-head { align-items: flex-start; }
  .share-list { gap: 8px; }
  .sbtn { flex: 1 1 calc(50% - 8px); padding: 8px 12px 8px 8px; font-size: .82rem; }
}

/* Footer share buttons */
.foot-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
}

.foot-share-t {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  margin-right: 4px;
}

.sq {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.sq:hover,
.sq:focus-visible {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  transform: translateY(-2px);
}

.sq.copied {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

/* ===== Audience + FAQ (match design) ===== */
.eyebrow { display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.06em; color:var(--orange-d); }
.audience .sec-lead { max-width:760px; }
.aud-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; margin-top:12px; }
.aud-card { display:flex; flex-direction:column; border-radius:28px; padding:30px; border:1px solid #bbf7d0; background:#fff; box-shadow:0 12px 32px rgba(15,23,42,.05); }
.aud-card.rest { border-color:#fed7aa; }
.aud-card .pill { align-self:flex-start; }
.aud-h { font-size:1.3rem; font-weight:800; line-height:1.4; margin:16px 0 14px; }
.aud-sub { font-size:0.95rem; color:var(--soft); font-weight:500; }
.aud-chips { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 18px; }
.aud-chips li { font-size:.76rem; padding:5px 14px; border:1px solid var(--line); border-radius:999px; background:#f8fafc; color:#334155; font-weight: 500; }
.aud-box { flex:1; border-radius:18px; padding:20px; border:1px solid #a7f3d0; background:#f0fdf9; }
.aud-card.rest .aud-box { border-color:#fed7aa; background:#fff8f1; }
.aud-box h4 { display:flex; align-items:center; gap:8px; font-size:.9rem; font-weight:700; color:#047857; margin-bottom:12px; }
.aud-card.rest .aud-box h4 { color:var(--orange-d); }
.aud-box ul { display:grid; gap:10px; }
.aud-box li { display:flex; gap:10px; font-size:.82rem; color:var(--muted); line-height:1.55; }
.aud-box li b { color:var(--ink); font-weight:600; }
.aud-box li .ms { flex:none; width:18px; height:18px; border-radius:50%; background:#d1fae5; color:#059669; font-size:.75rem; display:grid; place-items:center; margin-top:2px; }
.aud-card.rest .aud-box li .ms { background:#ffedd5; color:var(--orange); }
.aud-btn { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:20px; min-height:48px; padding:12px 20px; border-radius:14px; font-size:.88rem; font-weight:700; transition:transform .2s; }
.aud-btn:hover { transform:translateY(-2px); }
.aud-btn.green { background:#d1fae5; color:#047857; border:1px solid #a7f3d0; }
.aud-btn.orange { background:#ffedd5; color:var(--orange-d); border:1px solid #fed7aa; }
@media(max-width:900px){ .aud-grid{grid-template-columns:1fr;} .aud-card{padding:22px;} }

.faq-sec { padding:64px 0; }
.faq { gap:16px; margin-top:8px; }
.faq-item { padding:0; border-radius:14px; box-shadow:0 2px 8px rgba(15,23,42,.03); }
.faq-item summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 24px; font-size:.88rem; font-weight:600; cursor:pointer; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .ms { color:var(--soft); transition:transform .25s ease; }
.faq-item[open] summary .ms { transform:rotate(180deg); }
.faq-a { margin:0; padding:0 24px 22px; font-size:.84rem; color:var(--muted); line-height:1.7; }
/* SEO content blocks */
.about-h { max-width: 820px; margin: 28px auto 10px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.aud-card .about-text { margin: 0; font-size: .95rem; line-height: 1.75; color: var(--muted); }
.aud-card .about-text p { margin: 0; }

/* อ่านเพิ่มเติม (ซ่อนเนื้อหา SEO ส่วนยาว) */
.more-sec { padding: 8px 0 24px; }
.more-box { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.more-box > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; font-weight: 700; font-size: .98rem; cursor: pointer; color: var(--navy); }
.more-box > summary::-webkit-details-marker { display: none; }
.more-box > summary .ms { transition: transform .25s ease; color: var(--orange); }
.more-box[open] > summary .ms { transform: rotate(180deg); }
.more-body { padding: 0 8px 12px; border-top: 1px solid var(--line); }
.more-body .section { padding: 36px 0; }
.more-body .container { padding: 0 16px; }

/* ===== อ่านเพิ่มเติม: ปรับการอ่านให้ง่ายขึ้น ===== */
.more-box > summary { padding: 20px 24px; gap: 16px; }
.more-box > summary:hover { background: #fafbff; border-radius: 20px; }
.more-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #ffedd5; color: var(--orange-d); display: grid; place-items: center; font-size: 1.35rem; }
.more-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.more-t b { font-size: 1rem; color: var(--ink); line-height: 1.45; }
.more-t small { font-size: .82rem; font-weight: 400; color: var(--soft); line-height: 1.5; }
.more-act { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--orange-d); border: 1px solid #fed7aa; background: #fff7ed; border-radius: 999px; padding: 6px 12px 6px 16px; }
.more-box .lbl-open, .more-box[open] .lbl-closed { display: none; }
.more-box[open] .lbl-open { display: inline; }
.more-box[open] > summary { border-bottom: 1px solid var(--line); border-radius: 20px 20px 0 0; }
.more-body { padding: 8px 12px 28px; border-top: 0; }
.more-body .section { padding: 40px 0 8px; }
.more-body .section + .section { border-top: 1px dashed #e2e8f0; margin-top: 28px; }
.more-body .container, .more-body .container.narrow { max-width: 860px; padding: 0 20px; }
.more-body .sec-head { margin-bottom: 22px; }
.more-body .sec-title { font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.4; }
.more-body .sec-lead { font-size: 1rem; line-height: 1.8; max-width: 640px; }
.more-body .about-text { max-width: 720px; margin: 0 auto 8px; gap: 16px; font-size: 1rem; line-height: 1.95; color: #374151; }
.more-body .about-text p { margin: 0; }
.more-body .about-text strong { color: var(--ink); }
.more-body .about-h { max-width: 720px; margin: 36px auto 12px; padding-left: 12px; border-left: 4px solid var(--orange); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.more-body .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.more-body .feat { padding: 20px; border-radius: 16px; }
.more-body .feat h3 { font-size: 1.02rem; line-height: 1.5; margin-bottom: 8px; }
.more-body .feat p { font-size: .94rem; line-height: 1.85; color: #4b5563; }
.more-body .timeline { max-width: 720px; gap: 14px; }
.more-body .timeline li { padding: 16px 18px; }
.more-body .timeline h3 { font-size: 1.02rem; line-height: 1.5; }
.more-body .timeline p { font-size: .94rem; line-height: 1.8; }
.more-body .aud-grid { gap: 18px; }
.more-body .aud-card { padding: 22px; border-radius: 20px; box-shadow: none; }
.more-body .aud-h { font-size: 1.1rem; margin: 0 0 12px; }
.more-body .aud-card .about-text { font-size: .96rem; line-height: 1.85; gap: 12px; margin: 0; }
.more-body .aud-box { padding: 16px 18px; }
.more-body .aud-box li { font-size: .92rem; line-height: 1.75; }
@media (max-width: 760px) {
  .more-box > summary { flex-wrap: wrap; padding: 16px; }
  .more-t { flex-basis: calc(100% - 60px); }
  .more-act { margin-left: 60px; }
  .more-body .feat-grid { grid-template-columns: 1fr; }
  .more-body .container, .more-body .container.narrow { padding: 0 8px; }
  .more-body .about-text { font-size: .98rem; line-height: 1.9; }
}
/* Demoted headings (<p class="hh">) keep the look of the former h3/h4 */
.hh { font-weight: 700; }
.seo-block .feat .hh { margin: 0 0 8px; font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.5; }
.timeline .hh { margin: 0 0 6px; font-size: 1rem; color: var(--ink); line-height: 1.5; }
.more-body .timeline .hh { font-size: 1.02rem; line-height: 1.5; }
.aud-box .hh { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: #047857; margin-bottom: 12px; }
.aud-card.rest .aud-box .hh { color: var(--orange-d); }
.site-footer .hh { color: #fff; font-size: .9rem; margin-bottom: 10px; }