/* =========================================================
   VeeTrax product page (veetrax.html)
   Builds on theme.css tokens, so it follows light / dark mode.
   VeeTrax brand: deep teal #0b3b39, teal #0e9f8e, amber #f59e0b
   ========================================================= */
.vt {
  --vt-deep: #0b3b39;
  --vt-teal: #0e9f8e;
  --vt-amber: #f59e0b;
  --vt-amber-text: #b45309;
}
html[data-theme="dark"] .vt { --vt-amber-text: #fbbf24; }

/* ---- Hero ---- */
.vt-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 72px;
  color: #fff;
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(245, 158, 11, 0.18), transparent 60%),
    linear-gradient(135deg, #0f7d70 0%, #0b3b39 70%);
}
html[data-theme="dark"] .vt-hero {
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(245, 158, 11, 0.14), transparent 60%),
    linear-gradient(135deg, #0b4f48 0%, #071f1e 75%);
}
.vt-hero .vt-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.vt-hero .vt-brand-mark {
  width: 46px; height: 46px; border-radius: 12px; background: #fff;
  display: grid; place-items: center;
}
.vt-hero .vt-brand span { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.vt-hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.06;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.vt-hero h1 em { font-style: normal; color: var(--vt-amber); }
.vt-hero .lead { color: rgba(255, 255, 255, 0.86); font-size: 18px; max-width: 560px; margin-bottom: 26px; }
.vt-hero .btn-amber {
  background: var(--vt-amber) !important; color: #1f1300 !important; border: none !important;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.35);
}
.vt-hero .btn-amber:hover { filter: brightness(1.06); }
.vt-hero .btn-ghost {
  color: #fff !important; border: 2px solid rgba(255, 255, 255, 0.6) !important; background: transparent !important;
}
.vt-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12) !important; }
.vt-hero .vt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.vt-hero .vt-chips span {
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2);
}
.vt-hero-art {
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  background: #eaf5f3;
}

/* ---- In-page nav ---- */
.vt-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.vt-subnav ul {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin: 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vt-subnav ul::-webkit-scrollbar { display: none; }
.vt-subnav li { display: block; flex: none; }
.vt-subnav a {
  display: block; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: var(--heading); white-space: nowrap;
}
.vt-subnav a:hover, .vt-subnav a.is-active { background: var(--accent-soft); color: var(--accent); }

.vt section[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ---- Section head ---- */
.vt-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.vt-title { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.vt-title em { font-style: normal; color: var(--vt-amber-text); }
.vt-sub { font-size: 17px; color: var(--text); max-width: 720px; }
.vt-head-center { text-align: center; }
.vt-head-center .vt-sub { margin: 0 auto; }

/* ---- Videos ---- */
.vt-video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  height: 100%;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.vt-video-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #0b3b39;
  box-shadow: 0 18px 40px rgba(11, 59, 57, 0.25);
}
.vt-video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: #0b3b39; }
.vt-video-meta { margin-top: 18px; }
.vt-video-meta h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.vt-video-meta .vt-dur { font-size: 13px; color: var(--muted); font-weight: 600; }
.vt-video-meta p { margin-top: 8px; font-size: 15px; }

.vt-script { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.vt-script summary {
  cursor: pointer; font-weight: 700; color: var(--accent); list-style: none;
  display: flex; align-items: center; gap: 8px; min-height: 40px;
}
.vt-script summary::-webkit-details-marker { display: none; }
.vt-script summary::before {
  content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s ease;
}
.vt-script[open] summary::before { transform: rotate(45deg); }
.vt-script ol { counter-reset: s; margin: 10px 0 0; padding: 0; }
.vt-script li {
  counter-increment: s; list-style: none; position: relative; padding: 8px 0 8px 36px;
  font-size: 15px; color: var(--text); border-bottom: 1px dashed var(--border);
}
.vt-script li:last-child { border-bottom: 0; }
.vt-script li::before {
  content: counter(s); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

/* ---- Feature rows (image + text) ---- */
.vt-row { padding: 28px 0; }
.vt-row h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 12px; }
.vt-row p { font-size: 16px; }
.vt-art { border-radius: 24px; box-shadow: var(--shadow-md); background: #eaf5f3; width: 100%; }
html[data-theme="dark"] .vt-art,
html[data-theme="dark"] .vt-hero-art { filter: none !important; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); }
.vt-ticks { margin: 16px 0 0; padding: 0; }
.vt-ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--heading); font-weight: 500; }
.vt-ticks li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230e9f8e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ---- Feature grid ---- */
.vt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vt-feat {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .2s ease, box-shadow .3s ease;
}
.vt-feat:hover { transform: translateY(-4px); border-color: rgba(14, 159, 142, .45); box-shadow: var(--shadow-md); }
.vt-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ico-bg, #d6efe9); color: var(--ico, #0b7f72);
}
.vt-ico svg { width: 22px; height: 22px; }
.vt-feat h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin: 2px 0 4px; }
.vt-feat p { font-size: 14.5px; line-height: 1.55; margin: 0; }
.ico-red   { --ico-bg: #fee2e2; --ico: #dc2626; }
.ico-amber { --ico-bg: #fef3c7; --ico: #b45309; }
.ico-blue  { --ico-bg: #dbeafe; --ico: #1d4ed8; }
.ico-green { --ico-bg: #dcfce7; --ico: #15803d; }
.ico-violet{ --ico-bg: #ede9fe; --ico: #6d28d9; }
html[data-theme="dark"] .vt-ico { --ico-bg: rgba(45, 212, 191, .14); --ico: #5eead4; }
html[data-theme="dark"] .ico-red   { --ico-bg: rgba(248, 113, 113, .15); --ico: #fca5a5; }
html[data-theme="dark"] .ico-amber { --ico-bg: rgba(251, 191, 36, .15);  --ico: #fcd34d; }
html[data-theme="dark"] .ico-blue  { --ico-bg: rgba(96, 165, 250, .15);  --ico: #93c5fd; }
html[data-theme="dark"] .ico-green { --ico-bg: rgba(74, 222, 128, .14);  --ico: #86efac; }
html[data-theme="dark"] .ico-violet{ --ico-bg: rgba(167, 139, 250, .16); --ico: #c4b5fd; }

/* ---- Insights stat strip ---- */
.vt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; max-width: 420px; }
.vt-stat strong { white-space: nowrap; }
.vt-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.vt-stat small { display: block; font-size: 12.5px; color: var(--muted); }
.vt-stat strong { font-family: var(--font-head); font-size: 22px; color: var(--accent); }
.vt-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ---- Steps ---- */
.vt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vt-step { background: var(--surface-2); border-radius: 18px; padding: 20px; border: 1px solid var(--border); }
.vt-step b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--vt-deep); color: #fff; font-family: var(--font-head); margin-bottom: 12px;
}
html[data-theme="dark"] .vt-step b { background: var(--accent); color: #06201d; }
.vt-step p { margin: 0; color: var(--heading); font-weight: 500; }
.vt-track-title { font-size: 20px; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }

.vt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-pills span {
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--heading);
}

/* ---- CTA ---- */
.vt-cta {
  border-radius: 28px; padding: 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; background: var(--vt-amber); color: #1f1300;
}
.vt-cta > div:first-child { flex: 1 1 440px; }
.vt-cta > div:last-child { flex: 0 0 auto; }
.vt-cta h3 { color: #1f1300 !important; font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 6px; }
.vt-cta p { color: #3d2a00; margin: 0; }
.vt-cta .vt-phone { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4.5vw, 44px); color: #1f1300; letter-spacing: .01em; }
.vt-cta .vt-phone:hover { color: #000; }
.vt-cta .btn { margin-top: 10px; }
.vt-cta .btn-dark { background: #0b3b39 !important; border: none !important; color: #fff !important; }
.vt-cta .btn-outline-dark { border: 2px solid #1f1300 !important; color: #1f1300 !important; background: transparent !important; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .vt-hero { padding-top: calc(var(--header-h) + 36px); text-align: center; }
  .vt-hero .lead { margin-left: auto; margin-right: auto; }
  .vt-hero .vt-chips, .vt-hero .vt-actions { justify-content: center; }
  .vt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .vt-steps { grid-template-columns: 1fr; }
  .vt-row { text-align: left; }
  .vt-cta { padding: 28px 22px; text-align: center; justify-content: center; }
}
@media (max-width: 575.98px) {
  .vt-grid { grid-template-columns: 1fr; }
  .vt-hero .vt-actions .btn { width: 100%; margin-right: 0 !important; }
  .vt-cta .btn { width: 100%; }
  .vt-video-card { padding: 14px; }
}

/* ---- Google Play buttons ---- */
.vt .store-btn { background: #0b3b39; color: #fff; min-height: 52px; border: 1px solid transparent; }
.vt .store-btn:hover { color: #fff; }
.vt .store-btn .store-btn-icon { color: #f59e0b; width: 22px; height: 22px; }
.vt .store-btn small { letter-spacing: .04em; }
.vt-hero .store-btn { background: rgba(0, 0, 0, 0.28); border-color: rgba(255, 255, 255, 0.25); }
.vt-hero .vt-store { margin-top: 14px; }
html[data-theme="dark"] .vt .store-btn { background: var(--surface-2); border-color: var(--border); }
@media (max-width: 991.98px) { .vt-hero .vt-store { justify-content: center; } }
@media (max-width: 575.98px) { .vt .store-btn { flex: 1 1 100%; justify-content: center; } }

/* =========================================================
   Collapsible layout (less scrolling)
   ========================================================= */
/* Feature accordion: one open at a time (details[name]); image beside text on desktop */
.vt-accordion { display: grid; gap: 12px; margin-bottom: 8px; }
.vt-acc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .3s ease;
}
.vt-acc[open] { border-color: rgba(14, 159, 142, .45); box-shadow: var(--shadow-md); }
.vt-acc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  min-height: 64px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--heading);
}
.vt-acc > summary::-webkit-details-marker { display: none; }
.vt-acc > summary::after {
  content: '';
  margin-left: auto;
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%230b7f72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform .25s ease;
}
.vt-acc[open] > summary::after { transform: rotate(180deg); }
.vt-acc > summary:hover { background: var(--surface-2); }
.vt-acc-n {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; background: var(--vt-deep, #0b3b39);
}
.vt-acc[open] .vt-acc-n { background: var(--vt-teal, #0e9f8e); }
.vt-acc-badge {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; vertical-align: middle;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: #fef3c7; color: #92400e;
}
.vt-acc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: 0 22px 22px 72px;
  animation: vtAccIn .35s cubic-bezier(.16,1,.3,1);
}
@keyframes vtAccIn { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
.vt-acc-body p { font-size: 16px; }
.vt-acc-art img { width: 100%; height: auto; display: block; }

/* "Show all features" toggle */
.vt-more { margin-top: 16px; }
.vt-more > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: center; margin: 0 auto 16px;
}
.vt-more > summary::-webkit-details-marker { display: none; }
.vt-more > summary span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; min-height: 44px;
  border-radius: 999px; border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  transition: background-color .2s ease, color .2s ease;
}
.vt-more > summary:hover span { background: var(--accent); color: #fff; }
.vt-more .vt-more-open { display: none; }
.vt-more[open] .vt-more-open { display: inline-flex; }
.vt-more[open] .vt-more-closed { display: none; }
.vt-more[open] > summary { order: 2; margin: 16px auto 0; }
.vt-more[open] { display: flex; flex-direction: column; }

@media (max-width: 991.98px) {
  .vt-acc-body { grid-template-columns: 1fr; padding: 0 18px 20px; gap: 18px; }
  .vt-acc-art { order: -1; }
  .vt-acc > summary { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .vt-acc-body { animation: none; } }

/* ---- Coming soon: Employee Transport Management ---- */
.vt-soon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  border: 2px dashed rgba(245, 158, 11, 0.6);
  background:
    radial-gradient(500px 200px at 0% 0%, rgba(245, 158, 11, 0.10), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}
.vt-soon-art svg { display: block; max-width: 100%; height: auto; }
.vt-soon-bus { animation: vtBus 6s ease-in-out infinite; }
@keyframes vtBus { 0% { transform: translateX(0) } 45%,55% { transform: translateX(166px) } 100% { transform: translateX(0) } }
.vt-soon-stops circle { animation: vtStop 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.vt-soon-stops circle:nth-child(2) { animation-delay: .4s } .vt-soon-stops circle:nth-child(3) { animation-delay: .8s }
@keyframes vtStop { 50% { transform: scale(1.35) } }
.vt-soon-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 8px;
  font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: #fef3c7; color: #92400e;
}
.vt-soon h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.vt-soon p { margin: 0; font-size: 16px; }
@media (max-width: 991.98px) {
  .vt-soon { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; gap: 16px; }
  .vt-soon-art { justify-self: center; }
  .vt-soon-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .vt-soon-bus, .vt-soon-stops circle { animation: none; } }

/* =========================================================
   COMPACT PRODUCT LAYOUT (v2): tabs, video beside features,
   compact tiles, sticky phone contact bar, video lightbox.
   Built to work on old and new browsers (fallbacks included).
   ========================================================= */

/* hero: tighter, art hidden on phones (the same animation is in the tab) */
.vt-hero { padding-bottom: 56px; }
@media (max-width: 767.98px) {
  .vt-hero { padding-bottom: 36px; }
  .vt-hero-art-col { display: block; margin-top: 24px !important; }
  .vt-hero-art-col .vt-hero-art { max-width: 420px; width: 100%; margin: 0 auto; display: block; }
  .vt-hero .lead { font-size: 16px; margin-bottom: 20px; }
  .vt-hero .vt-chips { margin-top: 16px; }
}

/* ---- Tabs ---- */
.vt-products { padding-bottom: 8px; }
.vt-tabbar {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.vt-tabs { display: -webkit-box; display: -ms-flexbox; display: flex; }
.vt-tab {
  -webkit-box-flex: 1; -ms-flex: 1 1 0%; flex: 1 1 0%;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  margin: 0 5px;
  padding: 10px 16px;
  min-height: 56px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  -webkit-transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.vt-tab:first-child { margin-left: 0; }
.vt-tab:last-child { margin-right: 0; }
.vt-tab svg { width: 24px; height: 24px; -ms-flex: none; flex: none; margin-right: 12px; color: var(--accent); }
.vt-tab strong { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.2; }
.vt-tab small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.vt-tab:hover { border-color: var(--accent); }
.vt-tab[aria-selected="true"] {
  background: var(--vt-deep, #0b3b39);
  border-color: var(--vt-deep, #0b3b39);
  color: #fff;
}
.vt-tab[aria-selected="true"] svg { color: var(--vt-amber, #f59e0b); }
.vt-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .75); }
/* without JavaScript there are no tabs: both panels simply stack */
html:not(.js) .vt-tabbar { display: none; }

/* ---- Panels ---- */
.vt-panel { padding: 36px 0 28px; }
.vt-panel[hidden] { display: none !important; }
.vt-panel-head { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.vt-panel-head .vt-title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 8px; }
.vt-panel-head .vt-sub { font-size: 16px; }
.vt-panel { scroll-margin-top: calc(var(--header-h) + 84px); }

/* video column */
.vt-video-col .vt-video-frame { max-width: 300px; }
.vt-video-col .vt-script { max-width: 300px; margin: 12px auto 0; }
.vt-watch { display: none; }

/* aspect-ratio fallback for older browsers */
@supports not (aspect-ratio: 1 / 1) {
  .vt-video-frame { height: 0; padding-top: 177.78%; }
  .vt-video-frame video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .va-video-frame { position: relative; height: 0; padding-top: 100%; }
  .va-video-frame video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
}

/* accordion inside the 8-column area */
.vt-panel .vt-acc-body { padding-left: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.vt-panel .vt-acc > summary { min-height: 58px; padding: 14px 18px; }
.vt-panel .vt-stats { max-width: none; }

/* inline 3 steps */
.vt-steps-inline {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  margin: 14px 0 0; padding: 0; list-style: none;
}
.vt-steps-inline li {
  -webkit-box-flex: 1; -ms-flex: 1 1 0%; flex: 1 1 0%;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  margin-right: 10px; padding: 10px 12px;
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13.5px; line-height: 1.35; color: var(--heading); font-weight: 500;
}
.vt-steps-inline li:last-child { margin-right: 0; }
.vt-steps-inline b {
  -ms-flex: none; flex: none; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  background: var(--vt-deep, #0b3b39); color: #fff; font-size: 12.5px; font-family: var(--font-head);
}

/* ---- Compact feature tiles ---- */
.vt-tiles-title { font-size: 18px; font-weight: 800; margin: 30px 0 12px; }
.vt-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin: 0; padding: 0; list-style: none;
}
.vt-tile {
  display: block; position: relative;
  padding: 12px 14px 12px 58px; min-height: 64px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.vt-tile .vt-ico { position: absolute; left: 12px; top: 12px; width: 36px; height: 36px; border-radius: 10px; }
.vt-tile .vt-ico svg { width: 19px; height: 19px; }
.vt-tile strong { display: block; font-family: var(--font-head); font-size: 14px; line-height: 1.3; color: var(--heading); }
.vt-tile > span:last-child { display: block; font-size: 12.5px; line-height: 1.4; color: var(--text); margin-top: 2px; }

.vt-also { margin: 22px 0 6px; font-size: 14px; color: var(--heading); }
.vt-also span {
  display: inline-block; margin: 4px 6px 4px 0; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 13px;
}

/* ---- Slim coming-soon strip ---- */
.vt-soon-wrap { padding: 18px 0 6px; }
.vt-soon-slim { padding: 16px 22px; gap: 18px; }
.vt-soon-slim h2 { font-size: clamp(18px, 2.4vw, 22px); margin-bottom: 4px; }
.vt-soon-slim p { font-size: 14.5px; }
.vt-soon-slim .vt-soon-badge { margin-bottom: 4px; }

/* ---- Tablet & phone ---- */
@media (max-width: 991.98px) {
  .vt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* the video becomes a compact "watch" button that opens a full-screen player */
  .vt-video-col .vt-video-frame { display: none; }
  .vt-watch {
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); color: var(--heading); max-width: 520px; margin: 0 auto;
  }
  .vt-watch:hover { color: var(--heading); border-color: var(--accent); }
  .vt-watch-thumb {
    -ms-flex: none; flex: none; width: 54px; height: 72px; border-radius: 10px; margin-right: 14px;
    background-color: #0b3b39; background-position: center; background-size: cover; background-repeat: no-repeat;
  }
  .va .vt-watch-thumb { width: 72px; height: 72px; }
  .vt-watch-text { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; }
  .vt-watch-text strong { display: block; font-family: var(--font-head); font-size: 16px; }
  .vt-watch-text small { display: block; color: var(--muted); font-size: 13px; }
  .vt-watch-play {
    -ms-flex: none; flex: none; width: 46px; height: 46px; border-radius: 50%; margin-left: 10px;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
    background: var(--vt-amber, #f59e0b); color: #1f1300;
  }
  .vt-watch-play svg { width: 20px; height: 20px; margin-left: 2px; }
  .vt-video-col .vt-script { max-width: 520px; }
  .vt-panel .vt-acc-body { grid-template-columns: 1fr; padding: 0 16px 18px; }
  .vt-panel .vt-acc-art img { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 767.98px) {
  .vt-tab { padding: 8px 10px; min-height: 52px; }
  .vt-tab svg { width: 20px; height: 20px; margin-right: 8px; }
  .vt-tab strong { font-size: 14px; }
  .vt-tab small { display: none; }
  .vt-panel { padding: 24px 0 18px; }
  .vt-panel-head { margin-bottom: 18px; }
  .vt-panel-head .vt-sub { font-size: 15px; }

  .vt-steps-inline { display: block; }
  .vt-steps-inline li { margin: 0 0 8px; }

  /* tiles: one swipeable row */
  .vt-tiles {
    display: -webkit-box; display: -ms-flexbox; display: flex;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    -ms-scroll-snap-type: x mandatory; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 12px;
    scrollbar-width: none;
  }
  .vt-tiles::-webkit-scrollbar { display: none; }
  .vt-tile { -ms-flex: 0 0 74%; flex: 0 0 74%; margin-right: 10px; scroll-snap-align: start; }
  .vt-tiles-title .vt-swipe { display: inline; }

  .vt-soon-slim { grid-template-columns: 1fr; text-align: left; padding: 16px; }
  .vt-soon-slim .vt-soon-art { display: none; }
  .vt-soon-slim .vt-soon-cta .btn { width: 100%; }
  #demo { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
}
.vt-swipe { display: none; font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: var(--muted); margin-left: 8px; }

/* ---- Phone sticky contact bar ---- */
.vt-stickybar { display: none; }
@media (max-width: 767.98px) {
  .vt-stickybar {
    display: -webkit-box; display: -ms-flexbox; display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    background: var(--surface-glass);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(15, 39, 68, .08);
  }
  .vt-stickybar a {
    -webkit-box-flex: 1; -ms-flex: 1 1 0%; flex: 1 1 0%;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
    min-height: 46px; margin: 0 4px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 15px;
  }
  .vt-stickybar svg { width: 20px; height: 20px; margin-right: 8px; }
  .vt-sb-call { background: var(--vt-deep, #0b3b39); color: #fff; }
  .vt-sb-wa { background: #25d366; color: #fff; }
  .vt-sb-call:hover, .vt-sb-wa:hover { color: #fff; }
  body { padding-bottom: 64px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .whatsapp-float { display: none !important; }
  .site-footer #movetop { bottom: 76px !important; }
}

/* ---- Video lightbox ---- */
.vt-noscroll { overflow: hidden; }
.vt-lightbox {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2000;
  background: rgba(3, 12, 14, 0.92);
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  padding: 56px 12px 16px;
}
.vt-lightbox.is-open { display: -webkit-box; display: -ms-flexbox; display: flex; }
.vt-lightbox-inner { position: relative; width: 100%; max-width: 420px; }
.vt-lightbox.is-square .vt-lightbox-inner { max-width: 640px; }
.vt-lightbox video {
  display: block; width: 100%;
  max-height: 80vh; max-height: calc(100vh - 90px);
  border-radius: 16px; background: #000;
}
.vt-lightbox-close {
  position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: #0b3b39; font-size: 28px; line-height: 44px; cursor: pointer; padding: 0;
}

/* ---- Developer API & Data Forwarding strip (VeeTrax page) ---- */
.dev-strip {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center;
  margin: 26px 0 6px; padding: 22px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.dev-strip-art { width: 100%; height: auto; border-radius: 16px; }
.dev-strip-tag {
  display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #fef3c7; color: #92400e;
}
.dev-strip h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; margin-bottom: 10px; }
.dev-strip p { font-size: 15px; margin-bottom: 10px; }
.dev-strip .btn { margin-top: 6px; }
.vt-also-link { display: inline-block; margin-left: 6px; font-weight: 700; font-size: 13.5px; color: var(--accent); }
@media (max-width: 991.98px) { .dev-strip { grid-template-columns: 1fr; gap: 16px; padding: 16px; } }

/* =========================================================
   Vaidhika (rose) and Mint+ (green) compact pages
   ========================================================= */
.vd { --vt-deep: #8c2a45; --vt-teal: #dc4f72; --vt-amber: #f5b942; --vt-amber-text: #b13a58; }
.vd .vt-hero { background: radial-gradient(620px 420px at 92% 0%, rgba(245, 185, 66, 0.22), transparent 60%), linear-gradient(135deg, #c2416a 0%, #8c2a45 60%, #5e1c30 100%); }
.vd .vt-hero h1 em { color: #fcd9a8; }
.vd .btn-amber, .vd-cta .btn-amber { background: #f5b942 !important; color: #3a1a05 !important; }
.vd .vt-acc[open] { border-color: rgba(220, 79, 114, .45); }
.vd .vt-acc-n { background: #8c2a45; } .vd .vt-acc[open] .vt-acc-n { background: #dc4f72; }
.vd .vt-art, .vd .vt-hero-art { background: #fdf1f4; }
.vd-cta { background: linear-gradient(135deg, #c2416a, #8c2a45); color: #fff; }

.mp { --vt-deep: #145c33; --vt-teal: #3fb673; --vt-amber: #f5b942; --vt-amber-text: #1f7a43; }
.mp .vt-hero { background: radial-gradient(620px 420px at 92% 0%, rgba(245, 185, 66, 0.20), transparent 60%), linear-gradient(135deg, #2f9e5f 0%, #1f7a43 55%, #12502b 100%); }
.mp .vt-hero h1 em { color: #fde68a; }
.mp .btn-amber, .mp-cta .btn-amber { background: #f5b942 !important; color: #2b1a00 !important; }
.mp .vt-acc[open] { border-color: rgba(63, 182, 115, .5); }
.mp .vt-acc-n { background: #145c33; } .mp .vt-acc[open] .vt-acc-n { background: #3fb673; }
.mp .vt-art, .mp .vt-hero-art { background: #f2faf5; }
.mp-cta { background: linear-gradient(135deg, #2f9e5f, #145c33); color: #fff; }

.vd-cta h3, .mp-cta h3, .vd-cta .vt-phone, .mp-cta .vt-phone, .vd-cta .vt-phone:hover, .mp-cta .vt-phone:hover { color: #fff !important; }
.vd-cta p, .mp-cta p, .vd-cta div, .mp-cta div { color: rgba(255, 255, 255, .9); }
.vd-cta .btn-ghost, .mp-cta .btn-ghost { color: #fff !important; border: 2px solid rgba(255,255,255,.7) !important; background: transparent !important; }
.vd-cta .btn-ghost:hover, .mp-cta .btn-ghost:hover { background: rgba(255,255,255,.12) !important; }
.vt-hero .vt-chips strong { font-family: var(--font-head); margin-right: 3px; }
.vt-brand-mark img { width: 30px; height: 30px; }

/* tiles that use the coloured icon images */
.vt-tiles-img .vt-ico { background: transparent !important; }
.vt-tiles-img .vt-ico img { width: 36px; height: 36px; display: block; }

/* VeeTrax brand logo in the hero (white version on the dark teal background) */
.vt-logo { display: block; height: 72px; width: auto; margin: -10px 0 10px -14px; }
@media (max-width: 991.98px) { .vt-logo { margin: -8px auto 8px; height: 60px; } }
