/* ==========================================================================
   QbitPOS — site styles
   Brand: logo red #ee394f, charcoal, white (from the QbitPOS brochure).
   Accessibility: small white text sits on --red-strong (4.6:1); small red text
   on white uses --red-ink (5.5:1). The pure brand red is used for logo, icons,
   large display type and decoration.
   ========================================================================== */
:root {
  --red: #ee394f;
  --red-strong: #dc2f47;
  --red-deep: #b91f37;
  --red-ink: #c8283f;
  --red-50: #fff4f6;
  --red-100: #ffe4e9;
  --red-200: #ffc9d2;

  --charcoal: #222026;
  --charcoal-2: #2f2c34;
  --ink: #1b191e;
  --ink-2: #47434c;
  --muted: #6c6772;
  --line: #ebe8ee;
  --line-2: #dedae2;
  --bg: #ffffff;
  --bg-soft: #f7f6f8;
  --green: #15803d;
  --green-50: #effaf2;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(27, 25, 30, .06), 0 2px 6px rgba(27, 25, 30, .05);
  --shadow: 0 12px 32px -14px rgba(27, 25, 30, .22);
  --shadow-lg: 0 28px 60px -24px rgba(27, 25, 30, .38);
  --shadow-red: 0 16px 34px -14px rgba(220, 47, 71, .55);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-ink); text-decoration: none; }
a:hover { color: var(--red-deep); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: inherit; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
.lt { font-weight: 300; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--soft { background: var(--bg-soft); }
.section--red { background: var(--red-strong); color: #fff; position: relative; overflow: hidden; }
.section--dark { background: var(--charcoal); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--red .section-head p, .section--dark .section-head p { color: rgba(255, 255, 255, .86); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .78rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--red); }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------------------------------------------------------------- icons */
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 26px; height: 26px; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; background: transparent; color: inherit;
  transition: transform .18s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red-strong); color: #fff; box-shadow: var(--shadow-red); }
.btn--red:hover { background: var(--red-deep); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--red-ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }
.btn--white:hover { color: var(--red-deep); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--red-ink); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--red); color: var(--red-ink); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--sm { padding: 10px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; }
.link-arrow .i { transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(4px); }

/* --------------------------------------------------------------- header */
.topbar { background: var(--charcoal); color: rgba(255, 255, 255, .85); font-size: .86rem; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 24px; padding-block: 8px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .i { width: 15px; height: 15px; color: var(--red); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(27, 25, 30, .35); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand img { height: 38px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; background: none; border: 0;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink-2);
}
.nav__link:hover, .nav__link.is-active { color: var(--red-ink); background: var(--red-50); }
.nav__link .i { width: 16px; height: 16px; transition: transform .2s; }
.dd { position: relative; }
.dd.is-open .nav__link .i { transform: rotate(180deg); }
.dd__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; margin-left: -170px; width: 340px; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
  transform-origin: 50% 0;
}
/* invisible bridge over the 10px gap so moving the mouse down doesn't close the menu */
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd-anim-in { transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1); }
.dd-anim-out { transition: opacity .14s ease, transform .14s ease; }
.dd-from { opacity: 0; transform: translateY(8px) scale(.98); }
.dd-to { opacity: 1; transform: none; }
.dd__item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; color: var(--ink); transition: background .15s ease; }
.dd__item .dd__icon { transition: background .15s ease, color .15s ease; }
.dd__item:hover .dd__icon, .dd__item:focus-visible .dd__icon { background: var(--red-strong); color: #fff; }
.dd__item:hover { background: var(--red-50); color: var(--ink); }
.dd__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-100); color: var(--red-ink); flex: none; }
.dd__item b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.dd__item small { color: var(--muted); font-size: .82rem; line-height: 1.35; display: block; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.basket { position: relative; }
.basket__btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px;
  border-radius: 999px; border: 2px solid var(--line-2); background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
}
.basket__btn:hover { border-color: var(--red); color: var(--red-ink); }
.basket__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red-strong); color: #fff;
  font-size: .75rem; display: inline-grid; place-items: center;
}
.basket__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.basket__panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: 360px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; z-index: 70;
}
.basket__panel h3 { font-size: 1rem; margin-bottom: 12px; }
.basket__list { list-style: none; max-height: 300px; overflow: auto; margin-bottom: 14px; }
.basket__row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.basket__row:last-child { border-bottom: 0; }
.basket__row span { flex: 1; }
.basket__row .tag { flex: none; font-size: .72rem; font-weight: 600; color: var(--red-ink); background: var(--red-50); padding: 3px 8px; border-radius: 999px; }
.basket__empty { color: var(--muted); font-size: .92rem; padding: 6px 0 14px; }
.icon-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; color: var(--muted); }
.icon-btn:hover { color: var(--red-ink); border-color: var(--red-200); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--line-2); background: #fff; color: var(--ink); place-items: center; }
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(27, 25, 30, .5); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; padding: 22px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer__head img { height: 32px; width: auto; }
.drawer__label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 4px 4px; font-weight: 600; }
.drawer__link { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; color: var(--ink); font-family: var(--font-head); font-weight: 500; }
.drawer__link:hover { background: var(--red-50); color: var(--red-ink); }
.drawer__link .i { color: var(--red); }
.drawer__foot { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.drawer-anim { transition: transform .3s var(--ease); }
.drawer-out { transform: translateX(100%); }
.drawer-in { transform: translateX(0); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(80% 90% at 0% 100%, rgba(150, 10, 35, .35), transparent 60%),
    var(--red-strong);
}
.hero::before { /* faint brand ring */
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .06); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; padding-block: 72px 84px; }
.hero__title { color: #fff; margin-bottom: 20px; }
.hero__title strong { font-weight: 800; }
.hero__lead { font-size: 1.18rem; color: rgba(255, 255, 255, .92); max-width: 540px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__pills-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 12px; font-weight: 600; }
.hero__pills { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: rgba(0, 0, 0, .14); border-radius: 999px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px;
  background: transparent; color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  transition: background .2s, color .2s;
}
.pill:hover { background: rgba(255, 255, 255, .14); }
.pill.is-active { background: #fff; color: var(--red-ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.pill .i { width: 17px; height: 17px; }

.hero__stage { position: relative; min-height: 470px; }
.stage__glow { position: absolute; inset: 6% 4% 12% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55) 55%, transparent 100%); }
.stage__slide { position: absolute; inset: 0; display: grid; place-items: center; }
.stage__img { width: 86%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(60, 0, 10, .35)); }
.stage__card {
  position: absolute; left: -8px; bottom: 6px; width: 290px; background: #fff; color: var(--ink);
  border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-lg);
}
.stage__card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.stage__card-head b { font-family: var(--font-head); font-size: 1rem; }
.stage__card-head a { font-size: .82rem; font-weight: 600; white-space: nowrap; }
.stage__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); border-radius: 0 0 18px 18px; overflow: hidden; }
.stage__progress span { display: block; height: 100%; background: var(--red); transform-origin: left; animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* check list */
.checks { list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.checks .i { width: 20px; height: 20px; color: var(--red); margin-top: 1px; }
.checks--light li { color: #fff; }
.checks--light .i { color: #fff; }

/* ------------------------------------------------------ package cards */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pkg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pkg__media { position: relative; height: 240px; display: grid; place-items: center; padding: 26px; background: radial-gradient(70% 70% at 50% 45%, #fff 0%, var(--red-100) 100%); }
.pkg__media img { max-height: 190px; width: auto; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(80, 10, 20, .22)); transition: transform .4s var(--ease); }
.pkg:hover .pkg__media img { transform: scale(1.05); }
.pkg__badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--red-ink); border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 600; font-family: var(--font-head); box-shadow: var(--shadow-sm); }
.pkg__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.pkg__name { font-size: 1.5rem; margin-bottom: 4px; }
.pkg__name .lt { display: block; font-size: 1rem; color: var(--muted); font-weight: 400; margin-bottom: 2px; }
.pkg__tagline { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.pkg .checks { margin-bottom: 24px; }
.pkg__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.pkg__actions .btn { flex: 1; }

/* ----------------------------------------------------------- why choose */
.why__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.why__title img { height: .95em; width: auto; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.why__item:hover { transform: translateY(-4px); border-color: var(--red-200); }
.why__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--red), var(--red-deep)); margin-bottom: 18px; box-shadow: var(--shadow-red); }
.why__item h3 { text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; color: var(--red-ink); font-weight: 700; }
.why__item p { color: var(--ink-2); margin: 0; font-size: .96rem; }

/* ------------------------------------------------------------- hardware */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 9px 18px; font-family: var(--font-head); font-weight: 500; font-size: .9rem; transition: all .2s; }
.chip:hover { border-color: var(--red); color: var(--red-ink); }
.chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.chip small { opacity: .7; margin-left: 4px; }
.search { position: relative; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 260px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); padding: 0 16px 0 42px; font: inherit; font-size: .92rem; }
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-100); }

.hw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hw { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.hw:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red-200); }
.hw__media { position: relative; height: 190px; display: grid; place-items: center; padding: 22px; background: linear-gradient(180deg, var(--bg-soft), #fff); border: 0; width: 100%; }
.hw__media img { max-height: 150px; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.hw:hover .hw__media img { transform: scale(1.06); }
.hw__quick { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink-2); border-radius: 999px; padding: 6px 10px; font-size: .75rem; font-weight: 600; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(-4px); transition: all .2s; }
.hw:hover .hw__quick, .hw__media:focus-visible .hw__quick { opacity: 1; transform: none; }
.hw__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.hw__group { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); font-weight: 600; margin-bottom: 4px; }
.hw__name { font-size: 1.05rem; margin-bottom: 6px; }
.hw__desc { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-bottom: 16px; }
.hw__foot { margin-top: auto; }
.add-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 12px;
  border: 1.5px solid var(--red-200); background: var(--red-50); color: var(--red-ink); font-family: var(--font-head); font-weight: 600; font-size: .9rem; transition: all .2s;
}
.add-btn:hover { background: var(--red-strong); border-color: var(--red-strong); color: #fff; }
.add-btn.is-added { background: var(--green-50); border-color: #bfe6cb; color: var(--green); }
.hw-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted); }

/* --------------------------------------------------------------- splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split__media { order: -1; }
.feature-list { list-style: none; display: grid; gap: 18px; margin: 26px 0 32px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list .fi { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--red-100); color: var(--red-ink); }
.section--dark .feature-list .fi, .section--red .feature-list .fi { background: rgba(255, 255, 255, .12); color: #fff; }
.feature-list b { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: .95rem; }
.section--dark .feature-list span, .section--red .feature-list span { color: rgba(255, 255, 255, .8); }

/* duo cards (online ordering / payments) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo__card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: center; min-height: 360px; }
.duo__card--dark { background: var(--charcoal); color: #fff; }
.duo__card--red { background: var(--red-strong); color: #fff; }
.duo__card h3 { font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; }
.duo__card p { color: rgba(255, 255, 255, .86); }
.duo__art { display: grid; place-items: center; }

/* phone mock-up (online ordering) */
.phone { width: 230px; aspect-ratio: 9 / 18.5; border-radius: 36px; background: #111014; padding: 10px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px #3a3740; margin-inline: auto; }
.phone--sm { width: 180px; border-radius: 30px; padding: 8px; }
.phone__screen { height: 100%; border-radius: 28px; background: #fff; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); font-size: 11px; }
.phone--sm .phone__screen { border-radius: 23px; font-size: 9.5px; }
.phone__top { background: var(--red-strong); color: #fff; padding: 22px 14px 14px; }
.phone__top b { font-family: var(--font-head); font-size: 1.25em; display: block; }
.phone__top small { opacity: .85; }
.phone__tabs { display: flex; gap: 6px; padding: 10px 12px 4px; }
.phone__tabs span { padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; }
.phone__tabs span:first-child { background: var(--charcoal); color: #fff; }
.phone__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.phone__item i { width: 36px; height: 36px; border-radius: 10px; background: var(--red-100); display: grid; place-items: center; font-style: normal; font-size: 1.5em; flex: none; }
.phone__item div { flex: 1; line-height: 1.3; }
.phone__item b { display: block; }
.phone__item small { color: var(--muted); }
.phone__item em { width: 22px; height: 22px; border-radius: 50%; background: var(--red-strong); color: #fff; font-style: normal; display: grid; place-items: center; font-weight: 700; }
.phone__basket { margin: auto 10px 10px; background: var(--charcoal); color: #fff; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; font-weight: 600; }

/* --------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.step__num { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -27px; width: 28px; border-top: 2px dashed var(--red-200); }
.step p { color: var(--muted); margin: 0; }

/* ------------------------------------------------------------ banner */
.banner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding-block: 72px; }
.banner h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.banner__art img { width: 100%; filter: drop-shadow(0 24px 30px rgba(80, 0, 15, .25)); }

/* --------------------------------------------------------------- CTA */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; background: var(--charcoal); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(238, 57, 79, .55), transparent); pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .82); margin: 0; }
.cta__actions { position: relative; z-index: 1; display: grid; gap: 12px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #fff; }
.contact-line:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.contact-line .i { color: var(--red); }
.contact-line small { display: block; color: rgba(255, 255, 255, .65); font-size: .78rem; }
.contact-line b { font-family: var(--font-head); font-weight: 600; }

/* ------------------------------------------------------------- footer */
.footer { background: var(--charcoal); color: rgba(255, 255, 255, .75); padding-top: 72px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255, 255, 255, .75); padding: 5px 0; }
.footer__col a:hover { color: #fff; }
.footer__contact a { display: flex; align-items: center; gap: 10px; color: #fff; padding: 6px 0; }
.footer__contact .i { color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--red-strong); }
.socials .i { width: 18px; height: 18px; }
.footer__bottom { margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.footer__bottom a { color: rgba(255, 255, 255, .75); }
.footer__legal { width: 100%; font-size: .8rem; }

/* --------------------------------------------------------- page heroes */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(60% 90% at 90% 10%, rgba(255, 255, 255, .14), transparent 60%), var(--red-strong); padding-block: 64px 72px; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, .06); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero h1 strong { font-weight: 800; }
.page-hero p:not([class]) { max-width: 660px; font-size: 1.15rem; color: rgba(255, 255, 255, .9); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .8); }
.crumbs a { color: #fff; font-weight: 500; }
.crumbs span[aria-hidden] { opacity: .6; }

/* solution page hero */
.sol-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sol-hero__media { position: relative; display: grid; place-items: center; min-height: 380px; }
.sol-hero__media::before { content: ""; position: absolute; inset: 4% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .5) 60%, transparent); }
.sol-hero__media img { position: relative; max-height: 360px; width: auto; filter: drop-shadow(0 28px 36px rgba(60, 0, 10, .35)); }
.included { background: rgba(0, 0, 0, .14); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0 30px; max-width: 520px; }
.included h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .85); margin-bottom: 14px; font-family: var(--font-head); }
.included .checks { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.sol-note { display: flex; align-items: flex-start; gap: 10px; max-width: 520px; margin: -6px 0 30px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 500; font-size: .95rem; line-height: 1.5; }
.sol-note .i { margin-top: 2px; flex: none; }
.additionally { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.additionally + p { font-size: 1.15rem; color: var(--muted); }
.ideal { display: flex; flex-wrap: wrap; gap: 10px; }
.ideal span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: .92rem; }
.ideal .i { color: var(--red); }

/* ------------------------------------------------------- quote wizard */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.progress { display: flex; gap: 6px; margin-bottom: 26px; list-style: none; }
.progress__step { flex: 1; }
.progress__step button { width: 100%; background: none; border: 0; padding: 0; text-align: left; color: var(--muted); font-family: var(--font-head); font-size: .8rem; font-weight: 500; }
.progress__step button[disabled] { cursor: default; }
.progress__bar { display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 8px; overflow: hidden; }
.progress__bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--red); transition: width .4s var(--ease); }
.progress__step.is-done .progress__bar::after, .progress__step.is-current .progress__bar::after { width: 100%; }
.progress__step.is-current button { color: var(--ink); font-weight: 600; }
.progress__step.is-done button { color: var(--red-ink); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 34px; }
.panel__title { font-size: 1.55rem; margin-bottom: 6px; }
.panel__sub { color: var(--muted); margin-bottom: 26px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left;
  padding: 20px; border-radius: var(--radius); border: 2px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tile:hover { border-color: var(--red-200); transform: translateY(-2px); }
.tile.is-selected { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-100); }
.tile__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red-ink); }
.tile.is-selected .tile__icon { background: var(--red-strong); color: #fff; }
.tile__tick { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--red-strong); color: #fff; display: grid; place-items: center; }
.tile__tick .i { width: 14px; height: 14px; stroke-width: 3; }

.pkg-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pkg-opt { position: relative; display: flex; flex-direction: column; text-align: left; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0; overflow: hidden; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pkg-opt:hover { border-color: var(--red-200); transform: translateY(-2px); }
.pkg-opt.is-selected { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-100); }
.pkg-opt__media { height: 130px; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 45%, #fff, var(--red-50)); padding: 14px; }
.pkg-opt__media img { max-height: 105px; width: auto; }
.pkg-opt__body { padding: 16px 18px 18px; }
.pkg-opt__body b { font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: 8px; }
.pkg-opt__lines { display: grid; gap: 3px; font-size: .8rem; color: var(--muted); }
.pkg-opt__lines span::before { content: "✓ "; color: var(--red); font-weight: 700; }
.advise-opt { margin-top: 14px; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 2px dashed var(--line-2); border-radius: var(--radius); background: #fff; text-align: left; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.advise-opt:hover { border-color: var(--red-200); }
.advise-opt.is-selected { border-style: solid; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-100); }
.advise-opt small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.advise-opt .tile__icon { flex: none; }

.terminals { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-soft); }
.terminals b { font-family: var(--font-head); display: block; }
.terminals small { color: var(--muted); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: #fff; color: var(--red-ink); display: grid; place-items: center; }
.stepper button:hover:not([disabled]) { background: var(--red-50); }
.stepper button[disabled] { color: var(--line-2); cursor: not-allowed; }
.stepper output, .stepper span { min-width: 40px; text-align: center; font-family: var(--font-head); font-weight: 600; }
.stepper--sm button { width: 32px; height: 32px; }
.stepper--sm output { min-width: 30px; font-size: .9rem; }

.subhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 30px 0 14px; }
.subhead:first-of-type { margin-top: 0; }
.subhead h3 { margin: 0; font-size: 1.05rem; }
.text-btn { background: none; border: 0; color: var(--red-ink); font-weight: 600; font-size: .9rem; padding: 4px; }
.text-btn:hover { color: var(--red-deep); text-decoration: underline; }

.pick-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pick { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s; }
.pick.is-selected { border-color: var(--red); background: var(--red-50); }
.pick__img { width: 58px; height: 58px; flex: none; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; padding: 6px; }
.pick__img img { max-height: 46px; width: auto; }
.pick__txt { flex: 1; min-width: 0; line-height: 1.3; }
.pick__txt b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.pick__txt small { color: var(--muted); font-size: .78rem; }
.pick .add-mini { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--red-200); background: var(--red-50); color: var(--red-ink); display: grid; place-items: center; }
.pick .add-mini:hover { background: var(--red-strong); color: #fff; }

.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.svc:hover { border-color: var(--red-200); }
.svc.is-selected { border-color: var(--red); background: var(--red-50); }
.svc__box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; margin-top: 1px; color: #fff; }
.svc.is-selected .svc__box { background: var(--red-strong); border-color: var(--red-strong); }
.svc__box .i { width: 14px; height: 14px; stroke-width: 3; }
.svc b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.svc small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; margin-top: 3px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .field__label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; margin-bottom: 7px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-100); }
.input.has-error, .select.has-error, .textarea.has-error { border-color: #dc2626; background: #fffafa; }
.field__error { color: #b91c1c; font-size: .84rem; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: 12px; border: 1.5px solid var(--line); }
.seg button { border: 0; background: none; padding: 9px 16px; border-radius: 9px; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.seg button.is-active { background: #fff; color: var(--red-ink); box-shadow: var(--shadow-sm); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard__nav .spacer { flex: 1; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); color: var(--ink-2); font-size: .88rem; margin-top: 22px; }
.notice .i { color: var(--red); margin-top: 2px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert--ok { background: var(--green-50); color: var(--green); border: 1px solid #bfe6cb; }

.review { display: grid; gap: 14px; }
.review__block { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review__head h3 { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.review__block dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 0; font-size: .95rem; }
.review__block dt { color: var(--muted); }
.review__block dd { margin: 0; font-weight: 500; }
.review__block ul { list-style: none; display: grid; gap: 6px; font-size: .95rem; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--charcoal); color: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.summary h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.summary h2 .i { color: var(--red); }
.summary__group { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.summary__label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 8px; font-weight: 600; }
.summary__row { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 3px 0; }
.summary__row span:last-child { color: rgba(255, 255, 255, .7); white-space: nowrap; }
.summary__empty { color: rgba(255, 255, 255, .55); font-size: .9rem; }
.summary__foot { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .7); }
.summary__foot a { color: #fff; font-weight: 600; }
.summary__pkg { display: flex; gap: 12px; align-items: center; }
.summary__pkg img { width: 64px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }

.success { text-align: center; padding: 30px 10px; }
.success__check { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--green-50); color: var(--green); animation: pop .5s var(--ease); }
.success__check .i { width: 44px; height: 44px; stroke-width: 2.5; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } }
.success__ref { display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; background: var(--red-50); color: var(--red-ink); padding: 8px 16px; border-radius: 10px; margin: 6px 0 18px; }
.next-steps { text-align: left; max-width: 520px; margin: 26px auto; display: grid; gap: 12px; }
.next-steps li { display: flex; gap: 12px; list-style: none; }
.next-steps b { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--charcoal); color: #fff; display: grid; place-items: center; font-size: .85rem; }

.mobile-summary { display: none; }

/* -------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(27, 25, 30, .6); backdrop-filter: blur(3px); }
.modal__dialog { position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__media { display: grid; place-items: center; padding: 40px; background: radial-gradient(70% 70% at 50% 45%, #fff, var(--red-100)); min-height: 340px; }
.modal__media img { max-height: 280px; width: auto; }
.modal__body { padding: 40px 36px; display: flex; flex-direction: column; }
.modal__body h2 { font-size: 1.6rem; }
.modal__body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 24px; }
.modal__body .tags span { font-size: .78rem; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 500; }
.modal__actions { margin-top: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* -------------------------------------------------------------- toast */
.toast { position: fixed; z-index: 110; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; background: var(--charcoal); color: #fff; padding: 12px 12px 12px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.toast .i { color: #4ade80; }
.toast a { white-space: nowrap; background: var(--red-strong); color: #fff; padding: 9px 14px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.toast a:hover { background: var(--red-deep); color: #fff; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--red-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--red-50); color: var(--red-ink); display: grid; place-items: center; transition: transform .25s, background .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--red-strong); color: #fff; }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }

/* ------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--red-200); transform: translateY(-3px); color: var(--ink); }
.contact-card__icon { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--red-strong); color: #fff; }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card b { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }

/* --------------------------------------------------------------- prose */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1rem; }
.prose li { margin-bottom: .4em; }

/* ------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1140px) {
  .nav__menu, .nav__cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav__actions { margin-left: auto; }
  .hw-grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .section { padding-block: 72px; }
  .hero__grid, .sol-hero__grid, .split, .banner, .cta, .contact-grid { grid-template-columns: 1fr; }
  .hero__grid { padding-block: 56px 64px; gap: 24px; }
  .hero__stage { min-height: 400px; }
  .split--rev .split__media { order: 0; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .wizard { grid-template-columns: 1fr; }
  .summary { display: none; }
  .mobile-summary { display: block; position: sticky; bottom: 0; z-index: 40; margin-top: 18px; }
  .mobile-summary__bar { display: flex; justify-content: space-between; align-items: center; width: 100%; background: var(--charcoal); color: #fff; border: 0; padding: 14px 18px; border-radius: 14px 14px 0 0; font-family: var(--font-head); font-weight: 600; }
  .mobile-summary .summary { display: block; position: static; border-radius: 0; box-shadow: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 28px; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__media { min-height: 240px; padding: 28px; }
}
@media (max-width: 720px) {
  .topbar__inner { justify-content: center; gap: 16px; font-size: .8rem; }
  .basket__btn .lbl { display: none; }
  .brand img { height: 32px; }
  .hw-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hw__media { height: 150px; }
  .hw__media img { max-height: 115px; }
  .hw__body { padding: 14px; }
  .tiles, .pkg-opts, .svc-list, .pick-list, .fields { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .panel { padding: 22px 18px; }
  .duo__card { grid-template-columns: 1fr; padding: 30px 24px; }
  .included .checks { grid-template-columns: 1fr; }
  .stage__card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -30px; }
  .hero__stage { min-height: 0; display: grid; }
  .stage__slides { position: relative; height: 300px; }
  .review__block dl { grid-template-columns: 1fr; gap: 0; }
  .review__block dd { margin-bottom: 8px; }
  .search input { width: 100%; }
  .search { width: 100%; }
  .basket__panel { position: fixed; left: 12px; right: 12px; top: 120px; width: auto; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .basket__panel { top: 132px; }
}
@media (min-width: 721px) {
  .stage__slides { position: absolute; inset: 0; }
}

/* ---------------------------------------------------------- additions */
.in-quote { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 42px; padding: 0 4px 0 12px; border-radius: 12px; border: 1.5px solid #bfe6cb; background: var(--green-50); color: var(--green); font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.in-quote > span { display: inline-flex; align-items: center; gap: 6px; }
.in-quote .stepper { border-color: #bfe6cb; }
.in-quote .stepper button { color: var(--green); }
.pkg__note { font-size: .88rem; color: var(--muted); font-style: italic; margin: -10px 0 22px; }
.steps { list-style: none; padding: 0; }
.fade-enter { transition: opacity .55s var(--ease), transform .55s var(--ease); }
.fade-from { opacity: 0; transform: translateY(14px) scale(.97); }
.fade-to { opacity: 1; transform: none; }
.fade-leave { transition: opacity .3s ease; }
.fade-out { opacity: 0; }
.stage__card .checks { min-height: 120px; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-hero--compact { padding-block: 48px 56px; }
.pkg-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 980px) { .pkg-grid--two { grid-template-columns: 1fr; } }
.wizard__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.summary { position: static; }
@media (max-width: 980px) { .wizard__aside { display: none; } .summary { display: block; } }
.nav__link, .basket__btn, .nav__cta { white-space: nowrap; }
.nav { gap: 20px; }
@media (max-width: 1280px) { .nav__link { padding: 10px 10px; font-size: .92rem; } }
.pkg__badge { z-index: 1; } .pkg__media img { position: relative; }
/* No backdrop-filter on the header: it would become the containing block for
   the position:fixed drawer and mobile basket panel, clipping them. */
.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ======================================================= payment solutions */
.dd__all { display: flex; align-items: center; justify-content: space-between; margin: 6px 4px 2px; padding: 12px 10px 8px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--red-ink); }
.dd__all:hover { color: var(--red-deep); }
.dd__all .i { transition: transform .2s; }
.dd__all:hover .i { transform: translateX(3px); }
@media (max-width: 1280px) { .basket__btn .lbl { display: none; } }

/* dark hero used across the payments pages */
.page-hero--dark { background: radial-gradient(55% 85% at 88% 15%, rgba(238, 57, 79, .38), transparent 62%), radial-gradient(45% 70% at 0% 100%, rgba(238, 57, 79, .16), transparent 60%), var(--charcoal); }
.page-hero--dark::before { border-color: rgba(238, 57, 79, .14); }
.page-hero--dark .eyebrow--light::before { background: var(--red); }
.page-hero--dark h1 strong { color: #fff; }
.page-hero--dark .crumbs a { color: #fff; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 32px; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--red); width: 18px; height: 18px; }

/* hero art: terminal with contactless pulse + floating chips */
.pay-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.pay-art__glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(238, 57, 79, .55), transparent); }
.pay-art__ring { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); animation: pulse-ring 3s ease-out infinite; }
.pay-art__ring--2 { animation-delay: 1.5s; }
@keyframes pulse-ring { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.pay-art__device { position: relative; width: 210px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.chip-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); animation: float 5s ease-in-out infinite; white-space: nowrap; }
.chip-float .i { width: 18px; height: 18px; }
.chip-float--ok .i { color: var(--green); }
.chip-float--red .i { color: var(--red); }
.chip-float--a { top: 16%; right: 2%; }
.chip-float--b { bottom: 18%; left: 0; animation-delay: -2.5s; }
.chip-float--c { bottom: 6%; right: 8%; animation-delay: -1.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* checkout mock-up (ecommerce) */
.checkout { position: relative; width: min(380px, 100%); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); color: var(--ink); font-size: .85rem; }
.checkout__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #efedf1; border-bottom: 1px solid var(--line); }
.checkout__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d0d8; }
.checkout__bar i:first-child { background: var(--red); }
.checkout__bar span { margin-left: 10px; flex: 1; display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 4px 10px; font-size: .72rem; color: var(--muted); }
.checkout__bar .i { width: 12px; height: 12px; color: var(--green); }
.checkout__body { padding: 22px 22px 24px; display: grid; gap: 12px; }
.checkout__title { display: flex; justify-content: space-between; align-items: center; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.checkout__title small { font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); }
.checkout__wallet { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 600; }
.checkout__wallet .i { width: 16px; height: 16px; }
.checkout__or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .72rem; }
.checkout__or::before, .checkout__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.checkout__field { border: 1.5px solid var(--line-2); border-radius: 10px; padding: 7px 12px; display: flex; flex-direction: column; position: relative; }
.checkout__field small { color: var(--muted); font-size: .68rem; }
.checkout__field b { font-weight: 600; letter-spacing: .06em; }
.checkout__field .i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.checkout__field--focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-100); }
.checkout__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout__pay { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; background: var(--red-strong); color: #fff; font-family: var(--font-head); font-weight: 600; }
.checkout__pay .i { width: 16px; height: 16px; }
.checkout__secure { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .72rem; margin: 0; }
.checkout__secure .i { width: 13px; height: 13px; color: var(--green); }
.pay-art--checkout { min-height: 460px; }
.pay-art--checkout .chip-float--a { top: 6%; right: -4%; }
.pay-art--checkout .chip-float--b { bottom: 10%; left: -6%; }

/* overview cards (payment solutions hub) */
.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pay-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.pay-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pay-card__art { position: relative; height: 300px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 80% at 50% 40%, rgba(238, 57, 79, .45), transparent 70%), var(--charcoal); }
.pay-card__art .pay-art__device { width: 150px; }
.pay-card__art .checkout { width: 290px; transform: scale(.82) translateY(14px); transform-origin: center top; }
.pay-card__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.pay-card__body h2 { font-size: 1.7rem; margin-bottom: 6px; }
.pay-card__body > p { color: var(--muted); }
.pay-card .checks { margin: 6px 0 26px; }
.pay-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* feature tiles */
.ftiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ftiles--4 { grid-template-columns: repeat(4, 1fr); }
.ftile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.ftile:hover { transform: translateY(-4px); border-color: var(--red-200); box-shadow: var(--shadow); }
.ftile__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red-50); color: var(--red-ink); margin-bottom: 18px; transition: background .25s, color .25s; }
.ftile:hover .ftile__icon { background: var(--red-strong); color: #fff; }
.ftile h3 { font-size: 1.1rem; margin-bottom: 6px; }
.ftile p { color: var(--muted); margin: 0; font-size: .95rem; }

/* flow diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; list-style: none; padding: 0; }
.flow__step { text-align: center; padding: 30px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.flow__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--red-strong); color: #fff; box-shadow: var(--shadow-red); }
.flow__step b { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; color: #fff; }
.flow__step span { color: rgba(255, 255, 255, .72); font-size: .92rem; }
.flow__arrow { color: var(--red); }
.flow__arrow .i { width: 28px; height: 28px; }

/* cross-sell strip */
.xsell { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--red-50); border: 1px solid var(--red-100); }
.xsell__icon { width: 60px; height: 60px; flex: none; border-radius: 18px; display: grid; place-items: center; background: var(--red-strong); color: #fff; }
.xsell__text { flex: 1; }
.xsell__text b { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.xsell__text span { color: var(--ink-2); }

/* compact package row */
.mini-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-pkg { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s; }
.mini-pkg:hover { border-color: var(--red-200); transform: translateY(-3px); color: var(--ink); }
.mini-pkg img { width: 84px; height: 64px; object-fit: contain; flex: none; }
.mini-pkg b { display: block; font-family: var(--font-head); }
.mini-pkg small { color: var(--red-ink); font-weight: 600; }

/* footer now has 5 columns */
.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; }

@media (max-width: 1140px) { .ftiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .pay-cards, .mini-pkgs { grid-template-columns: 1fr; }
  .ftiles { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); justify-self: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pay-art { min-height: 360px; }
}
@media (max-width: 720px) {
  .ftiles, .ftiles--4 { grid-template-columns: 1fr; }
  .xsell { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .chip-float--a { right: 0; }
  .pay-art--checkout .chip-float--a { right: 0; }
  .pay-art--checkout .chip-float--b { left: 0; }
}

/* ---- polish ---- */
h1, h2, h3 { text-wrap: balance; }                 /* no single dangling words in headings */
.feature-list b { color: var(--ink); }             /* title stays dark; only the description is muted */
.section--dark .feature-list b, .section--red .feature-list b { color: #fff; }
.flow { align-items: stretch; }
.flow__arrow { align-self: center; }
.pay-card__art .checkout { align-self: start; margin-top: 34px; transform: scale(.86); transform-origin: top center; }
.pay-art--checkout .chip-float--a { top: 0; right: -2%; }
