/* =========================================================
   QR MENU — DESIGN TOKENS
   Signature element: the split "scan-corner" bracket motif
   lifted from the logo, used as a recurring graphic device.
   ========================================================= */
:root {
  --navy: #021e47;
  --navy-2: #04295e;
  --navy-3: #0a3a82;
  --orange: #fc8503;
  --orange-2: #ff9d2e;
  --orange-soft: #fff1e0;
  --cream: #fbf7f1;
  --ink: #0b1526;
  --gray: #5c6b81;
  --gray-light: #93a1b5;
  --line: #e8edf4;
  --white: #ffffff;
  --green: #17a673;
  --red: #e5484d;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(2, 30, 71, 0.06);
  --shadow-md: 0 14px 40px rgba(2, 30, 71, 0.10);
  --shadow-lg: 0 24px 60px rgba(2, 30, 71, 0.14);
  --shadow-orange: 0 14px 34px rgba(252, 133, 3, 0.30);

  --font: 'Rubik', 'Sora', system-ui, -apple-system, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[dir="rtl"] body { letter-spacing: 0; }

.container { max-width: var(--container); }

h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -0.02em; }
p { color: var(--gray); line-height: 1.75; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--orange); color: #fff; }

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--cream { background: var(--cream); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.15; }
.section-subtitle { max-width: 620px; margin-top: 14px; font-size: 1.05rem; }
.text-center-wrap { max-width: 700px; margin-inline: auto; }

/* =========================================================
   SIGNATURE MOTIF — corner brackets (echoes the QR-scan logo)
   ========================================================= */
.qm-corners { position: relative; }
.qm-corners::before, .qm-corners::after,
.qm-corners > .c1, .qm-corners > .c2 { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--orange); opacity: 0.85; }
.qm-corners::before { top: -8px; inset-inline-start: -8px; border-inline-end: none; border-bottom: none; border-start-start-radius: 8px; }
.qm-corners::after { bottom: -8px; inset-inline-end: -8px; border-inline-start: none; border-top: none; border-end-end-radius: 8px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn { border-radius: var(--radius-pill); font-weight: 700; padding: 12px 26px; font-size: 0.95rem; border: 2px solid transparent; transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 8px; }
.qm-btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.qm-btn-primary:hover { background: #e57802; color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px rgba(252,133,3,0.38); }
.qm-btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.qm-btn-outline:hover { background: var(--navy); color: #fff; }
.qm-btn-light { background: #fff; color: var(--navy); }
.qm-btn-light:hover { background: var(--orange-soft); color: var(--navy); }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }
.btn i { font-size: 0.9em; }

/* =========================================================
   NAVBAR — floating rounded pill (matches reference screens)
   ========================================================= */
.qm-navbar { position: sticky; top: 14px; z-index: 999; margin: 0 auto; max-width: var(--container); width: calc(100% - 32px); }
.qm-navbar__inner {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px 10px 22px; max-width: var(--container); margin-inline: auto;
}
[dir="rtl"] .qm-navbar__inner { padding: 10px 22px 10px 14px; }
.qm-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.qm-logo img { width: 210px; }
.qm-logo em { font-style: normal; color: var(--orange); }
.qm-navlinks { display: flex; align-items: center; gap: 28px; }
.qm-navlinks a { font-weight: 600; color: var(--navy); font-size: 0.95rem; position: relative; padding: 6px 0; }
.qm-navlinks a.active, .qm-navlinks a:hover { color: var(--orange); }
.qm-navactions { display: flex; align-items: center; gap: 14px; }
.qm-lang { font-weight: 700; font-size: 0.9rem; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.qm-burger { display: none; background: none; border: none; font-size: 1.3rem; color: var(--navy); }

@media (max-width: 991px) {
  .qm-navlinks { position: fixed; inset-inline: 16px; top: 78px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); flex-direction: column; align-items: flex-start; padding: 18px 22px; gap: 14px; display: none; }
  .qm-navlinks.show { display: flex; }
  .qm-burger { display: block; }
  .qm-navactions .btn { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.qm-hero { padding: 70px 0 40px; position: relative; overflow: hidden; }
.qm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(560px 320px at 85% -10%, rgba(252,133,3,0.14), transparent 60%),
    radial-gradient(500px 300px at -10% 20%, rgba(2,30,71,0.08), transparent 60%);
}
.qm-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--orange-soft); color: var(--orange); font-weight: 700; font-size: 0.85rem; padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 22px; }
.qm-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.12; }
.qm-hero h1 .highlight { color: var(--orange); }
.qm-hero p.lead { font-size: 1.12rem; color: var(--gray); margin: 22px 0 30px; max-width: 560px; }
.qm-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.qm-badges { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 44px; }
.qm-badges span { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 0.94rem; }
.qm-badges i { color: var(--orange); background: var(--orange-soft); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }

.qm-phone-mock { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.qm-phone-mock img { width: 70%; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); margin-inline: auto; }
.qm-phone-mock::after { content:""; position:absolute; width: 60px; height: 60px; background: var(--orange); border-radius: 16px; bottom: -18px; inset-inline-start: -18px; opacity: 1; }

/* Stats strip */
.qm-stats { margin-top: 56px; }
.qm-stats__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 22px; box-shadow: var(--shadow-sm); height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.qm-stats__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.qm-stats__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; }
.qm-stats__value { font-size: 2.1rem; font-weight: 800; color: var(--navy); line-height: 1; }
.qm-stats__label { color: var(--gray); font-size: 0.9rem; margin-top: 8px; }

/* =========================================================
   GALLERY SWIPER (mock phone screenshots)
   ========================================================= */
.qm-gallery-swiper { padding: 30px 10px 60px; }
.qm-gallery-swiper .swiper-slide { width: 240px; }
.qm-gallery-card { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); border: 6px solid var(--ink); background: #000; }
.qm-gallery-card img, .qm-gallery-card video { width: 100%; display: block; }
.qm-gallery-swiper .swiper-button-next, .qm-gallery-swiper .swiper-button-prev { color: var(--navy); background: #fff; width: 42px; height: 42px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.qm-gallery-swiper .swiper-button-next::after, .qm-gallery-swiper .swiper-button-prev::after { font-size: 15px; font-weight: 900; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.qm-testimonial-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 44px; text-align: center; max-width: 720px; margin-inline: auto; }
.qm-testimonial-card i.fa-quote-left, .qm-testimonial-card i.fa-quote-right { color: var(--orange-soft); font-size: 2.2rem; }
.qm-testimonial-card p.quote { font-size: 1.18rem; color: var(--navy); font-style: italic; margin: 18px 0 26px; line-height: 1.7; }
.qm-testimonial-card .author { font-weight: 800; color: var(--navy); }
.qm-testimonial-card .role { color: var(--gray); font-size: 0.9rem; }
.qm-testimonial-card .stars { color: var(--orange); margin-bottom: 10px; }
.swiper-pagination-bullet-active { background: var(--orange) !important; }

/* =========================================================
   CALCULATOR
   ========================================================= */
.qm-calc { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.qm-calc__form, .qm-calc__results { padding: 40px; }
.qm-calc__form { border-inline-end: 1px solid var(--line); }
.qm-calc label { font-weight: 700; color: var(--navy); font-size: 0.92rem; display: flex; justify-content: space-between; margin-bottom: 8px; }
.qm-calc label .val { color: var(--orange); font-weight: 800; }
.qm-calc .form-range { accent-color: var(--orange); }

/* =========================================================
   CUSTOM RANGE SLIDERS (calculator) — orange fill + thumb,
   built manually since Bootstrap's default is blue and has
   no native "filled" track in Chrome/Safari/Edge.
   ========================================================= */
.qm-calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--line); /* fallback; JS sets the real orange-fill gradient inline */
  outline: none;
  margin: 8px 0 4px;
  cursor: pointer;
  transition: box-shadow .2s ease;
}
/* Chrome / Safari / Edge */
.qm-calc input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: transparent; /* the gradient lives on the input's own background, set via JS */
}
.qm-calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(252, 133, 3, 0.45), 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.qm-calc input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
.qm-calc input[type="range"]:active::-webkit-slider-thumb,
.qm-calc input[type="range"]:focus-visible::-webkit-slider-thumb {
  transform: scale(1.18);
  box-shadow: 0 0 0 6px var(--orange-soft), 0 2px 10px rgba(252, 133, 3, 0.5);
}
/* Firefox — supports a native filled track via ::-moz-range-progress */
.qm-calc input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--line);
}
.qm-calc input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--orange);
}
.qm-calc input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(252, 133, 3, 0.45), 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.qm-calc input[type="range"]:hover::-moz-range-thumb { transform: scale(1.12); }
.qm-calc input[type="range"]:active::-moz-range-thumb,
.qm-calc input[type="range"]:focus-visible::-moz-range-thumb {
  transform: scale(1.18);
  box-shadow: 0 0 0 6px var(--orange-soft), 0 2px 10px rgba(252, 133, 3, 0.5);
}
.qm-calc input[type="range"]:focus { outline: none; box-shadow: none; }
.qm-calc .range-scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--gray-light); margin-top: -4px; margin-bottom: 20px; }
.qm-toggle-group { display: flex; gap: 8px; margin-bottom: 20px; }
.qm-toggle-group button { flex: 1; padding: 10px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; font-weight: 700; color: var(--gray); font-size: 0.88rem; }
.qm-toggle-group button.active { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.qm-calc .form-control, .qm-calc .form-select { border-radius: var(--radius-sm); border: 2px solid var(--line); padding: 11px 14px; font-weight: 600; }
.qm-calc .form-control:focus, .qm-calc .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }

.qm-calc__results { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #fff; }
.qm-calc__results h4 { color: #fff; }
.qm-risk-ring { width: 130px; height: 130px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; margin-inline: auto; position: relative; }
.qm-risk-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.qm-risk-ring .pct { font-size: 1.7rem; font-weight: 800; }
.qm-risk-ring .lbl { font-size: 0.7rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.04em; }
.qm-result-box { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); padding: 16px 20px; margin-top: 14px; }
.qm-result-box.negative { border-inline-start: 4px solid #ff6b6b; }
.qm-result-box.positive { border-inline-start: 4px solid #3ddc97; }
.qm-result-box .amount { font-size: 1.5rem; font-weight: 800; }
.qm-result-box .amount.neg { color: #ff8a8a; }
.qm-result-box .amount.pos { color: #3ddc97; }
.qm-result-box .note { color: rgba(255,255,255,0.65); font-size: 0.82rem; }

/* =========================================================
   DO THE MATH TABLE
   ========================================================= */
.qm-compare { background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.qm-compare table { width: 100%; border-collapse: collapse; }
.qm-compare th { background: #fff; padding: 22px 26px; text-align: start; font-size: 1rem; }
.qm-compare th.us { color: var(--orange); }
.qm-compare td { padding: 18px 26px; border-top: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.qm-compare tr:nth-child(even) td { background: rgba(255,255,255,0.5); }
.qm-compare .yes { color: var(--green); font-size: 1.2rem; }
.qm-compare .no { color: var(--red); font-size: 1.2rem; }
.qm-compare .pie-row td { padding-top: 26px; padding-bottom: 26px; font-weight: 800; }
.qm-compare .pie { font-size: 2.3rem; }

/* =========================================================
   SOLUTIONS (table ordering / cashier / payments / delivery / invoicing)
   ========================================================= */
.qm-solution-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; height: 100%; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.qm-solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.qm-solution-card .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 18px; }
.qm-solution-card h5 { font-size: 1.12rem; margin-bottom: 8px; }
.qm-solution-card p { font-size: 0.94rem; margin: 0; }

/* =========================================================
   FEATURES TABS
   ========================================================= */
.qm-tabs { display: flex; background: var(--cream); border-radius: var(--radius-pill); padding: 6px; gap: 4px; overflow-x: auto; }
.qm-tabs button { flex: 1; white-space: nowrap; border: none; background: transparent; padding: 13px 18px; border-radius: var(--radius-pill); font-weight: 700; color: var(--navy); font-size: 0.92rem; transition: all .25s; }
.qm-tabs button.active { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.qm-feature-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; height: 100%; display: flex; gap: 16px; align-items: flex-start; }
.qm-feature-item .ico { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.qm-feature-item h6 { font-size: 1rem; margin-bottom: 4px; }
.qm-feature-item p { font-size: 0.88rem; margin: 0; }
.qm-feature-pane { display: none; }
.qm-feature-pane.active { display: block; }

/* =========================================================
   PRICING
   ========================================================= */
.qm-price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 34px; height: 100%; position: relative; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.qm-price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.qm-price-card.highlighted { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); transform: scale(1.04); z-index: 2; }
.qm-price-card .badge-pop { position: absolute; top: -16px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; padding: 7px 20px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; }
[dir="rtl"] .qm-price-card .badge-pop { transform: translateX(50%); }
.qm-price-card h3 { font-size: 1.3rem; }
.qm-price-card .price { font-size: 3rem; font-weight: 800; color: var(--orange); margin: 14px 0 4px; }
.qm-price-card .price small { font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.qm-price-card .price-note { color: var(--green); font-weight: 700; font-size: 0.86rem; margin-bottom: 20px; }
.qm-price-card ul { list-style: none; padding: 0; margin: 22px 0; }
.qm-price-card ul li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: 0.92rem; color: var(--navy); font-weight: 500; }
.qm-price-card ul li i { color: var(--green); margin-top: 3px; }
.qm-price-card .best-for { font-size: 0.82rem; color: var(--gray-light); font-style: italic; margin-bottom: 18px; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.qm-faq-search { max-width: 480px; margin: 0 auto 40px; position: relative; }
.qm-faq-search input { border-radius: var(--radius-pill); padding: 14px 50px; border: 2px solid var(--line); width: 100%; font-weight: 500; }
.qm-faq-search input:focus { border-color: var(--orange); outline: none; }
.qm-faq-search i { position: absolute; inset-inline-start: 20px; top: 50%; transform: translateY(-50%); color: var(--gray-light); }
.qm-faq-category { font-weight: 800; color: var(--orange); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; margin: 34px 0 16px; }
.qm-faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.qm-faq-item button.faq-q { width: 100%; text-align: start; background: none; border: none; padding: 20px 24px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qm-faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 24px; color: var(--gray); }
.qm-faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; }
.qm-faq-item.open button.faq-q i { transform: rotate(180deg); color: var(--orange); }
.qm-faq-item button.faq-q i { transition: transform .3s; color: var(--gray-light); }

/* =========================================================
   CONTACT
   ========================================================= */
.qm-contact-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 48px; }
.qm-contact-card .form-label { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.qm-contact-card .form-control, .qm-contact-card .form-select { border-radius: var(--radius-sm); border: 2px solid var(--line); padding: 12px 16px; font-weight: 500; }
.qm-contact-card .form-control:focus, .qm-contact-card .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.qm-biz-type { display: flex; flex-wrap: wrap; gap: 10px; }
.qm-biz-type input { display: none; }
.qm-biz-type label { padding: 10px 18px; border: 2px solid var(--line); border-radius: var(--radius-pill); font-weight: 600; font-size: 0.88rem; color: var(--gray); cursor: pointer; transition: all .2s; }
.qm-biz-type input:checked + label { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }
.qm-contact-info { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 40px; height: 100%; }
.qm-contact-info h5 { color: #fff; margin-bottom: 20px; }
.qm-contact-info a, .qm-contact-info span { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); margin-bottom: 16px; font-weight: 500; }
.qm-contact-info i { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--orange); }
.qm-contact-info .wa-btn { margin-top: 20px; background: #25D366; color: #fff; padding: 12px 20px; border-radius: var(--radius-pill); display: inline-flex; font-weight: 700; }

/* =========================================================
   MINI CTA CARDS (used across pages)
   ========================================================= */
.qm-mini-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; height: 100%; transition: transform .2s, box-shadow .2s; }
.qm-mini-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.qm-mini-cta h6 { font-size: 1.02rem; margin-bottom: 8px; }
.qm-mini-cta p { font-size: 0.88rem; margin-bottom: 10px; }
.qm-mini-cta .link { color: var(--orange); font-weight: 700; font-size: 0.9rem; }
.qm-mini-cta .link i { margin-inline-start: 6px; transition: transform .2s; }
[dir="rtl"] .qm-mini-cta .link i { transform: scaleX(-1); }
.qm-mini-cta:hover .link i { transform: translateX(4px); }
[dir="rtl"] .qm-mini-cta:hover .link i { transform: scaleX(-1) translateX(4px); }

/* =========================================================
   FOOTER
   ========================================================= */
.qm-footer { background: linear-gradient(160deg, var(--navy) 0%, #01142f 100%); color: rgba(255,255,255,0.75); padding: 70px 0 0; margin-top: 70px; }
.qm-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.qm-logo--light { color: #fff; }
.qm-footer__brand p { color: rgba(255,255,255,0.6); margin: 16px 0 20px; font-size: 0.92rem; max-width: 320px; }
.qm-footer__contact a, .qm-footer__contact span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.72); font-size: 0.88rem; margin-bottom: 10px; }
.qm-footer__contact i { color: var(--orange); width: 16px; }
.qm-footer__col h6 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.qm-footer__col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 12px; }
.qm-footer__col a:hover { color: var(--orange); }
.qm-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 0; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.qm-footer__bottom strong { color: var(--orange); }
.qm-footer__tagline { background: var(--orange); color: #021e47; font-weight: 800; text-align: center; padding: 16px 0; font-size: 1rem; }

@media (max-width: 900px) {
  .qm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .qm-footer__grid { grid-template-columns: 1fr; }
}

/* FAB buttons */
.qm-fab { position: fixed; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 998; font-size: 1.4rem; border: none; }
.qm-fab--wa { background: #25D366; color: #fff; inset-inline-end: 24px; }
.qm-fab--top { background: var(--orange); color: #fff; inset-inline-end: 24px; bottom: 88px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.qm-fab--top.show { opacity: 1; pointer-events: auto; }

/* Blur / soft glow background accents (mirrors reference site's soft blurred blobs) */
.qm-blur-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; z-index: -1; pointer-events: none; }
.qm-blur-blob--orange { background: var(--orange); }
.qm-blur-blob--navy { background: var(--navy-3); }

/* Utility */
.text-orange { color: var(--orange) !important; }
.text-navy { color: var(--navy) !important; }
.bg-cream { background: var(--cream); }
.fw-800 { font-weight: 800; }
