/* ============================================
   Sum Cloud POS — single stylesheet (all pages)
   Light theme: white / gray / black
   ============================================ */

:root {
  --ink: #111827;
  --ink-soft: #374151;
  --text: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --surface: #fafafa;
  --surface-white: #ffffff;
  --primary-color: #111827;
  /* Brand CTA — site-wide trial button */
  --cta-brand: #008498;
  --cta-brand-hover: #006d7f;
  --cta-brand-soft: #e6f4f6;
  --cta-brand-border: #b3dde4;
  /* Legacy emerald aliases (sections still using tokens) */
  --cta-emerald-900: #064e3b;
  --cta-emerald-800: #065f46;
  --cta-emerald-700: #047857;
  --cta-emerald-600: #059669;
  --cta-emerald-500: #10b981;
  --cta-teal-100: #ccfbf1;
  --cta-teal-50: #f0fdfa;
  /* Homepage hero (cream + teal) */
  --hero-cream: #faf8f4;
  --hero-cream-shadow: #e8e2d6;
  --hero-headline-teal: #007a87;
  --hero-tagline-teal: #2a8f9a;
  --hero-underline: #d4a012;
}

/* —— Base —— */
body {
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
}

h1, h2, h3, h4, h5, h6,
.display-4, .display-5, .hero-headline, .section-title, .cta-headline {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
}

.text-ink { color: var(--ink) !important; }

/* —— Layout —— */
body.site-inner {
  padding-top: 72px;
  background: #fff;
  color: var(--text);
}

.page-main {
  min-height: 50vh;
}

/* —— Header / nav —— */
.pos-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}

.pos-navbar.scrolled {
  padding: 0.55rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  background: #fff;
}

.pos-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.pos-navbar .brand-logo {
  height: 38px;
  width: auto;
}

.pos-navbar .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.pos-navbar .nav-link {
  color: var(--ink-soft) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.pos-navbar .nav-link:hover {
  color: var(--ink) !important;
  background: #f3f4f6;
}

.pos-navbar .nav-link.active {
  color: var(--ink) !important;
  background: #f3f4f6 !important;
}

.pos-navbar .dropdown-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pos-navbar .dropdown-item {
  color: var(--ink-soft);
  font-size: 0.875rem;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
}

.pos-navbar .dropdown-item:hover {
  background: #f9fafb;
  color: var(--ink);
}

.pos-navbar .dropdown-header {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pos-navbar .dropdown-divider {
  border-color: var(--border);
}

.btn-nav-demo {
  background: var(--surface-white) !important;
  color: var(--cta-brand-hover) !important;
  border: 1.5px solid var(--cta-brand-border) !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.15rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(0, 132, 152, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease !important;
}

.btn-nav-demo:hover {
  background: var(--cta-brand-soft) !important;
  color: #005a68 !important;
  border-color: var(--cta-brand) !important;
  box-shadow: 0 4px 14px rgba(0, 132, 152, 0.22) !important;
  transform: translateY(-1px) !important;
}

.btn-nav-demo:active {
  transform: translateY(0) !important;
}

.btn-nav-cta {
  background: var(--cta-brand) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(0, 132, 152, 0.35), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}

.btn-nav-cta:hover {
  background: var(--cta-brand-hover) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 132, 152, 0.4), 0 2px 4px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-1px) !important;
}

.btn-nav-cta:active {
  transform: translateY(0) !important;
  filter: brightness(0.98);
}

.pos-navbar .nav-link.btn-nav-demo:focus-visible,
.pos-navbar .nav-link.btn-nav-cta:focus-visible {
  outline: 2px solid var(--cta-brand);
  outline-offset: 3px;
}

.navbar-toggler {
  border-color: #d1d5db !important;
}

.navbar-toggler-icon {
  filter: none;
  opacity: 0.75;
}

@media (max-width: 991px) {
  .pos-navbar .dropdown-menu {
    border: 1px solid var(--border);
    box-shadow: none;
  }
}

/* —— Bootstrap buttons (charcoal primary) —— */
.btn-primary,
.btn-primary:focus {
  --bs-btn-bg: #111827;
  --bs-btn-border-color: #111827;
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
}

.btn-outline-primary {
  --bs-btn-color: #374151;
  --bs-btn-border-color: #d1d5db;
  --bs-btn-hover-bg: #f9fafb;
  --bs-btn-hover-border-color: #9ca3af;
  --bs-btn-hover-color: #111827;
}

/* —— Page hero (inner pages) —— */
.site-inner .page-header,
.page-header {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--border);
  margin-top: 0 !important;
  padding-top: 3rem !important;
  padding-bottom: 2.5rem !important;
}

.site-inner .page-header.mt-5,
.page-header.mt-5 {
  margin-top: 0 !important;
}

.site-inner .page-header.text-white,
.page-header.text-white,
.site-inner .page-header.bg-primary,
.page-header.bg-primary {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

.site-inner .page-header .display-4,
.page-header .display-4,
.site-inner .page-header h1,
.page-header h1 {
  color: var(--ink) !important;
}

.site-inner .page-header .lead,
.page-header .lead {
  color: var(--text) !important;
}

/* —— CTA strips (was blue banner) —— */
.site-inner section.bg-primary.text-white,
section.bg-primary.text-white {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-inner section.bg-primary.text-white .lead,
section.bg-primary.text-white .lead {
  color: var(--text) !important;
}

.site-inner section.bg-primary .btn-light {
  background: var(--ink) !important;
  color: #fff !important;
  border: none !important;
}

.site-inner section.bg-primary .btn-light:hover {
  background: #000 !important;
  color: #fff !important;
}

.site-inner section.bg-primary .btn-outline-light {
  color: var(--ink-soft) !important;
  border-color: #d1d5db !important;
  background: #fff !important;
}

.site-inner section.bg-primary .btn-outline-light:hover {
  background: #f9fafb !important;
  border-color: #9ca3af !important;
  color: var(--ink) !important;
}

.site-inner section.bg-primary .text-white-50 {
  color: var(--text-muted) !important;
}

/* Neutral CTA band (legacy class on inner pages) */
.cta-section {
  background: var(--surface) !important;
  border-top: 1px solid #f3f4f6;
  color: var(--ink) !important;
}

.cta-section.text-white,
.cta-section.text-white .h3,
.cta-section.text-white h2 {
  color: var(--ink) !important;
}

.cta-section .text-white-50,
.cta-section .lead {
  color: var(--text) !important;
}

.page-main .text-primary,
.site-inner .text-primary {
  color: #6b7280 !important;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted) !important;
}

.page-header .breadcrumb-item.active,
.page-header .text-white-50 {
  color: var(--text) !important;
}

.site-inner .text-success,
.page-main .text-success {
  color: #6b7280 !important;
}

/* —— Feature cards (industry / feature pages) —— */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feature-icon,
.feature-icon.bg-primary,
.feature-icon.bg-success,
.feature-icon.bg-info,
.feature-icon.bg-warning,
.feature-icon.bg-danger,
.feature-icon.bg-secondary {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: #f3f4f6 !important;
  color: #4b5563 !important;
}

.feature-icon-large,
.feature-icon-large.bg-primary {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  background: #f3f4f6 !important;
  color: #4b5563 !important;
}

/* —— Contact page —— */
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6 !important;
  color: #4b5563 !important;
}

.contact-icon.bg-primary,
.contact-icon.bg-success {
  background: #f3f4f6 !important;
}

/* —— Contact page (redesign) —— */
.contact-page-hero {
  background: linear-gradient(160deg, #f9fafb 0%, #fff 45%, #f3f4f6 100%);
  border-bottom: 1px solid var(--border);
}

.contact-page-hero__inner {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .contact-page-hero__inner {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }
}

.contact-page-hero-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.06);
}

.contact-page-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-page-stat:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-page-stat:first-child {
  padding-top: 0;
}

.contact-page-stat__value {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.contact-page-stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-channel-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-channel-tile:hover {
  border-color: #d1d5db;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.06);
  color: var(--ink);
}

.contact-channel-tile__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: var(--ink-soft);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-channel-tile__icon--wa {
  background: #ecfdf5;
  color: #047857;
}

.contact-channel-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.contact-channel-tile__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-channel-tile__value {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 32px rgba(17, 24, 39, 0.05);
}

@media (min-width: 768px) {
  .contact-form-panel {
    padding: 2rem 2.25rem;
  }
}

.contact-info-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  background: #fff;
}

.contact-hours-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  background: #fff;
}

/* —— Site overlays: cookie bar + demo modal —— */
.site-cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10020;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(17, 24, 39, 0.08);
}

.site-cookie-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-cookie-bar-text {
  flex: 1 1 280px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text);
}

.site-cookie-bar-text a {
  color: var(--ink);
  font-weight: 500;
}

.site-cookie-accept {
  flex-shrink: 0;
  border-radius: 999px;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

body.site-cookie-pad {
  padding-bottom: 6.5rem;
}

.site-demo-modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.15);
}

/* —— Legacy section utilities (neutral) —— */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f9fafb;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.section-title .accent {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: var(--ink);
}

.section-sub {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 560px;
}

.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feat-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feat-card::before {
  display: none;
}

.feat-icon,
.feat-icon.indigo,
.feat-icon.purple,
.feat-icon.cyan,
.feat-icon.green,
.feat-icon.orange,
.feat-icon.red,
.feat-icon.pink,
.feat-icon.teal {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: #f3f4f6 !important;
  color: #4b5563 !important;
}

.feat-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.feat-link-card .feat-card__text,
.feat-card p {
  font-size: 0.875rem;
  color: var(--text);
}

.feat-link-hint {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.logos-strip {
  background: var(--surface);
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.biz-pill {
  border-color: var(--border);
  color: var(--ink-soft);
}

.biz-pill:hover {
  border-color: #d1d5db;
  color: var(--ink);
  box-shadow: none;
}

.biz-pill i {
  color: #6b7280 !important;
}

/* —— Homepage: hero —— */
.home-hero {
  padding: 6.5rem 0 4rem;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
}

.home-hero.home-hero--cream {
  background: var(--hero-cream);
  border-bottom: 1px solid #ebe6dc;
}

@media (min-width: 992px) {
  .home-hero {
    padding: 7.5rem 0 5rem;
  }
}

.home-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.home-hero--cream .home-hero__eyebrow {
  color: var(--hero-tagline-teal);
}

.home-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.home-hero--cream .home-hero__title {
  color: var(--hero-headline-teal);
}

.home-hero__title--split {
  line-height: 1.18;
  margin-bottom: 1.35rem;
}

.home-hero__title-line {
  display: block;
}

.home-hero__rotate {
  display: block;
  margin-top: 0.2rem;
  min-height: 1.2em;
}

.home-hero__rotate-word {
  display: inline-block;
  border-bottom: 3px solid var(--hero-underline);
  padding-bottom: 0.06em;
  transition: opacity 0.28s ease;
}

.home-hero__rotate-word.is-out {
  opacity: 0;
}

.home-hero__taglines {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.home-hero__tagline {
  display: block;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--hero-tagline-teal);
}

@media (min-width: 768px) {
  .home-hero__tagline {
    font-size: 1.125rem;
  }
}

.home-hero__lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

/* Layered “card” shadow behind primary CTA (reference hero) */
.home-btn-primary-wrap {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.home-btn-primary-wrap::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 100%;
  height: 100%;
  background: var(--hero-cream-shadow);
  border-radius: 14px;
  z-index: 0;
  pointer-events: none;
}

.home-btn-primary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  background: var(--cta-brand);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 132, 152, 0.25);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.home-btn-primary:hover {
  color: #fff;
  background: var(--cta-brand-hover);
  box-shadow: 0 6px 20px rgba(0, 132, 152, 0.35);
  transform: translateY(-2px);
}

.home-btn-primary:active {
  transform: translateY(0);
}

.home-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--cta-brand-hover);
  background: #fff;
  border: 1.5px solid var(--cta-brand-border);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 132, 152, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease;
}

.home-btn-secondary:hover {
  border-color: var(--cta-brand);
  color: #005a68;
  background: var(--cta-brand-soft);
  box-shadow: 0 6px 18px rgba(0, 132, 152, 0.15);
  transform: translateY(-2px);
}

.home-btn-secondary:active {
  transform: translateY(0);
}

.home-btn-primary:focus-visible,
.home-btn-secondary:focus-visible {
  outline: 2px solid var(--cta-brand);
  outline-offset: 3px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.home-hero__integrations-block {
  margin-top: 0.25rem;
}

.home-hero__integrations-label {
  font-size: 0.8125rem;
  color: #7a7268;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.home-hero__integrations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.home-hero__integration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e3ddd4;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.home-hero--cream .home-hero__integration {
  background: rgba(255, 255, 255, 0.95);
}

.home-hero__integration:hover {
  border-color: var(--cta-brand-border);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 132, 152, 0.12);
}

.home-hero__integration i {
  font-size: 1.05rem;
  color: var(--cta-brand);
}

.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.home-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-hero__meta i {
  color: #6b7280;
}

.home-hero__stores-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.home-hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
}

.home-store-link:hover {
  border-color: #d1d5db;
  color: var(--ink);
}

.home-store-link i {
  color: #6b7280;
}

/* Hero screenshot column: lets wide images shrink inside Bootstrap grid */
.home-hero .home-hero__media-col {
  min-width: 0;
}

.home-hero__visual-wrap {
  width: 100%;
  max-width: 100%;
}

/* Box size lives on the figure; image fills it with cover (no img width/height attrs). */
.home-hero__visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: clamp(220px, 32vw, 400px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
  .home-hero__visual {
    height: clamp(260px, 28vw, 420px);
  }
}

.home-hero__visual-img,
.home-hero__visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* —— Site-wide app screenshots (box on parent; img cover; omit width/height on img) —— */
.page-screenshot {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  height: clamp(220px, 30vw, 400px);
}

@media (min-width: 992px) {
  .page-screenshot {
    height: clamp(260px, 26vw, 420px);
  }
}

.page-screenshot--short {
  height: clamp(200px, 26vw, 340px);
}

@media (min-width: 992px) {
  .page-screenshot--short {
    height: clamp(220px, 22vw, 360px);
  }
}

.page-screenshot--elevated {
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.1);
}

.page-screenshot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.page-screenshot--phone {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  height: clamp(260px, 52vw, 400px);
}

.page-screenshot--phone .page-screenshot__img {
  object-position: center;
}

.row > [class*="col-"]:has(.page-screenshot),
.row > [class*="col-"]:has(.home-hero__visual) {
  min-width: 0;
}

.carousel-soft__visual {
  position: relative;
  width: 100%;
  height: clamp(220px, 40vw, 440px);
  overflow: hidden;
  background: var(--surface);
}

.carousel-soft__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (max-width: 575px) {
  .home-hero__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-thumb {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.home-thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.home-thumb figcaption {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.35rem;
}

.home-thumb--btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-thumb--btn:hover {
  border-color: #cbd5e1;
}

.home-thumb--btn.is-active {
  border-color: var(--cta-brand);
  box-shadow: 0 0 0 2px rgba(0, 132, 152, 0.22);
}

.home-thumb--btn:focus-visible {
  outline: 2px solid var(--cta-brand);
  outline-offset: 2px;
}

.home-thumb__label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  padding: 0.35rem;
  line-height: 1.2;
}

.home-thumb--btn.is-active .home-thumb__label {
  color: var(--ink);
  font-weight: 600;
}

/* —— Homepage sections —— */
.home-section {
  padding: 4rem 0;
  background: #fff;
}

.home-section--subtle {
  background: var(--surface);
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.home-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.home-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.home-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.home-section__desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.home-card {
  display: block;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.home-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  color: inherit;
}

.home-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.home-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.home-card__text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.home-card__more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

a.home-card:hover .home-card__more {
  color: var(--ink);
}

.home-list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.home-list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.home-list-check i {
  color: var(--text-muted);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.home-pill-actions .btn {
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem;
}

.site-inner .btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.site-inner .btn-outline-secondary {
  color: var(--ink-soft);
  border-color: #d1d5db;
}

.site-inner .btn-outline-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: var(--ink);
}

.home-tile {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 100%;
}

.home-tile__icon {
  font-size: 1.5rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.home-tile__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.home-tile__text {
  font-size: 0.8125rem;
  color: var(--text);
  margin: 0;
}

.home-compliance-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 100%;
  position: relative;
}

.home-compliance-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.home-compliance-card h3 i {
  color: #6b7280;
}

.home-compliance-card p {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0;
}

.home-compliance-card a.stretched-link {
  font-weight: 600;
  color: var(--ink-soft);
}

.home-lang-chip {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.module-pill {
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.module-pill i {
  color: #6b7280;
}

.carousel-soft {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

.carousel-soft .carousel-caption {
  position: static;
  padding: 1rem 1.25rem;
  background: #fff;
  color: var(--text);
  border-top: 1px solid #f3f4f6;
}

.carousel-indicators [data-bs-target] {
  background-color: #9ca3af;
}

.carousel-indicators .active {
  background-color: #374151;
}

.carousel-control-prev,
.carousel-control-next {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 0.75rem;
}

.carousel-control-next {
  right: 0.75rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(0.35);
  width: 1.25rem;
  height: 1.25rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #f9fafb;
}

.testimonials-section {
  background: var(--surface);
  padding: 4rem 0;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: none;
}

.testi-card:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.testi-stars i {
  color: #9ca3af;
  font-size: 0.9rem;
}

.testi-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.testi-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.testi-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  background: #e5e7eb !important;
  color: var(--ink-soft) !important;
}

.faq-section .accordion-item {
  border: 1px solid var(--border) !important;
  background: #fff;
  border-radius: 8px !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-section .accordion-button {
  color: var(--ink);
  background: #fff;
  font-weight: 600;
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--surface) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.faq-section .accordion-button:focus {
  box-shadow: 0 0 0 2px var(--border) !important;
}

.faq-section .accordion-body {
  color: var(--text) !important;
}

.home-cta {
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid #f3f4f6;
}

.home-cta__box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.home-cta__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.home-cta__text {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.home-cta__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* —— Footer —— */
.pos-footer {
  background: #fff !important;
  border-top: 1px solid var(--border) !important;
  padding: 3.5rem 0 1.5rem !important;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text) !important;
  line-height: 1.65;
  margin: 1rem 0 1.25rem;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted) !important;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text) !important;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink) !important;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #f3f4f6 !important;
  border-radius: 8px;
  color: var(--ink-soft) !important;
  font-size: 1rem;
  margin-right: 0.35rem;
  text-decoration: none;
  transition: background 0.15s;
}

.footer-social a:hover {
  background: #e5e7eb !important;
  color: var(--ink) !important;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text) !important;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
}

.footer-contact-item i {
  color: var(--text-muted) !important;
  width: 18px;
}

.footer-contact-item a {
  color: var(--text) !important;
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--ink) !important;
}

.footer-divider {
  border-color: var(--border) !important;
  margin: 2rem 0 1.25rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted) !important;
}

.footer-bottom a {
  color: var(--text) !important;
  text-decoration: none;
  margin-left: 1.25rem;
}

.footer-bottom a:hover {
  color: var(--ink) !important;
}

.footer-app-link {
  color: var(--text) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
}

.footer-app-link:hover {
  color: var(--ink) !important;
}

.footer-app-link span {
  font-size: 0.78rem;
  color: var(--text-muted) !important;
}

/* —— Float buttons —— */
.live-chat-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}

.live-chat-float:hover {
  background: #000 !important;
  color: #fff !important;
  transform: scale(1.04);
}

.chat-tooltip {
  position: absolute;
  left: 62px;
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.live-chat-float:hover .chat-tooltip {
  opacity: 1;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #374151 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s;
}

.whatsapp-float:hover {
  background: var(--ink) !important;
  color: #fff !important;
  transform: scale(1.04);
}

.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--ink);
  color: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

@media (max-width: 767px) {
  .live-chat-float {
    left: 16px;
    bottom: 88px;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s !important; }
.reveal-delay-2 { transition-delay: 0.16s !important; }
.reveal-delay-3 { transition-delay: 0.24s !important; }
.reveal-delay-4 { transition-delay: 0.32s !important; }

/* —— Tax card (if used) —— */
.tax-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  position: relative;
}

.tax-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.page-main .bi-check-circle-fill.text-success,
.site-inner .bi-check-circle-fill.text-success {
  color: #9ca3af !important;
}

/* —— bg-light sections —— */
.bg-light {
  background-color: var(--surface) !important;
}

/* —— Demo form (get-demo.html) —— */
.demo-form-section {
  background: var(--surface) !important;
  color: var(--ink) !important;
  padding: 5.5rem 0 4rem;
}

.demo-form-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  margin-top: -3rem;
  border: 1px solid #e5e7eb;
}

.demo-form-card .form-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.demo-form-card .form-control,
.demo-form-card .form-select {
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
}

.demo-form-card .form-control:focus,
.demo-form-card .form-select:focus {
  border-color: #9ca3af !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.05) !important;
}

.page-main .benefit-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: #f3f4f6 !important;
  color: #4b5563 !important;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
