:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --ink: #2a1a10;
  --muted: #6b5848;
  --line: #eadfd1;
  --accent: #b8501a;
  --accent-ink: #ffffff;
  --accent-soft: #f8e5d4;
  --dark: #2a1a10;
  --dark-2: #3b261a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(42, 26, 16, .06), 0 8px 28px rgba(42, 26, 16, .08);
  --font: "Inter", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow-wrap { width: min(760px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hide-sm { }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.center .lead, .lead.center { margin-inline: auto; }
.lead.narrow { max-width: 68ch; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(184, 80, 26, .28); }
.btn-primary:hover { background: #a2440f; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.center-actions { justify-content: center; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--dark); color: #fff; }
.brand-mark svg { width: 20px; height: 20px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang a { text-decoration: none; font-weight: 700; font-size: .78rem; padding: .3em .75em; border-radius: 999px; color: var(--muted); }
.lang a.on { background: var(--dark); color: #fff; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ── Hero ── */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); background:
  radial-gradient(900px 420px at 85% 0%, var(--accent-soft), transparent 70%),
  radial-gradient(600px 300px at 0% 100%, #f3ead9, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 440px; }

.phone { width: 270px; background: var(--dark); border-radius: 42px; padding: 10px; box-shadow: 0 30px 60px rgba(42, 26, 16, .28); transform: rotate(3deg); }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; background: var(--dark); border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { position: relative; background: linear-gradient(180deg, #fff7ec, #fbe9d6); border-radius: 33px; padding: 46px 20px 18px; min-height: 480px; display: flex; flex-direction: column; }
.ps-hi { font-weight: 800; font-size: 1.15rem; margin: 0; }
.ps-thanks { color: var(--muted); font-size: .85rem; margin: 2px 0 16px; }
.ps-place { font-weight: 700; font-size: .95rem; background: #fff; border-radius: 12px; padding: 10px 12px; margin: 0 0 16px; }
.ps-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.ps-amounts span { text-align: center; padding: 9px 0; border-radius: 10px; background: #fff; font-weight: 700; font-size: .85rem; border: 2px solid transparent; }
.ps-amounts span.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ps-pay { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 12px; border-radius: 12px; font-weight: 700; margin-bottom: 10px; }
.ps-pay svg { width: 18px; height: 18px; }
.ps-apple { background: #000; color: #fff; }
.ps-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.ps-brand { margin: auto 0 0; font-weight: 800; font-size: .9rem; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 12px 16px; font-weight: 800; box-shadow: var(--shadow); }
.chip svg { width: 24px; height: 24px; color: var(--accent); }
.chip-nfc { left: 0; top: 70px; transform: rotate(-6deg); }
.chip-qr { right: -4px; bottom: 60px; transform: rotate(5deg); }

/* ── Sections ── */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.cards { display: grid; gap: 20px; margin-top: 40px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }

.solution { background: var(--dark); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.solution .lead { color: #e8d8c8; }
.solution h2 { max-width: 20ch; margin-inline: auto; }

.how { background: var(--surface); }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.step-num { position: absolute; top: 18px; right: 22px; font-size: 2.6rem; font-weight: 800; color: var(--accent-soft); line-height: 1; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

.about { background: var(--bg); }
.about .lead { max-width: none; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); }

/* ── Partners marquee ── */
.partners { background: var(--surface); overflow: hidden; }
.marquee { --gap: 22px; display: flex; gap: var(--gap); margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; flex-shrink: 0; display: flex; align-items: center; gap: var(--gap); min-width: 100%; justify-content: space-around; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.partner { flex: 0 0 auto; display: grid; place-items: center; height: 72px; min-width: 150px; padding: 0 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.partner img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.partner-text span { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ── Contact + footer ── */
.contact { background: var(--dark); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.contact .lead { color: #e8d8c8; }
.site-footer { background: var(--dark-2); color: #e8d8c8; padding: 32px 0; }
.site-footer .brand-mark { background: #fff; color: var(--dark); }
.site-footer .brand { color: #fff; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.foot p { margin: 0; font-size: .92rem; }
.foot .muted { color: #b9a592; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { min-height: 0; padding: 20px 0 10px; }
  .phone { transform: none; }
  .chip-nfc { left: calc(50% - 190px); }
  .chip-qr { right: calc(50% - 190px); }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .hide-sm { display: none; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards.three, .steps { grid-template-columns: 1fr; }
  .chip { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .card, .step { padding: 22px; }
}

/* story + closing statements */
.solution .strong-line { color: #fff; font-weight: 600; margin-top: 1.2rem; }
.solution h2 { max-width: 24ch; }
.difference { background: var(--bg); }
.closing { background: var(--accent-soft); padding: clamp(64px, 8vw, 110px) 0; }
.closing h2 { max-width: 22ch; margin-inline: auto; }
.closing .lead { margin-inline: auto; }
.closing-strong { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; color: var(--accent); margin: .6rem 0 0; letter-spacing: -.01em; }
