/* ==========================================================================
   Hotspot Manager — Vitrin (public site) design system
   Scope: layouts/app.blade.php (body.hm-site). Page sections use .hm-page.
   Dealer sites override --hm-brand from the header component.
   ========================================================================== */

:root {
  --hm-brand: #17b8ff;
  --hm-brand-2: #2563eb;
  --hm-brand-ink: color-mix(in srgb, var(--hm-brand) 72%, #000);
  --hm-brand-soft: color-mix(in srgb, var(--hm-brand) 12%, transparent);
  --hm-grad: linear-gradient(135deg, var(--hm-brand) 0%, var(--hm-brand-2) 100%);

  --hm-bg: #f7f9fc;
  --hm-surface: #ffffff;
  --hm-surface-2: #f1f5f9;
  --hm-ink: #0b1220;
  --hm-text: #334155;
  --hm-muted: #64748b;
  --hm-border: #e2e8f0;
  --hm-ring: color-mix(in srgb, var(--hm-brand) 35%, transparent);

  --hm-radius-sm: 10px;
  --hm-radius: 16px;
  --hm-radius-lg: 24px;
  --hm-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --hm-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --hm-shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .28);

  --hm-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hm-header-h: 68px;
}

[data-bs-theme="dark"] {
  --hm-brand-ink: color-mix(in srgb, var(--hm-brand) 80%, #fff);
  --hm-brand-soft: color-mix(in srgb, var(--hm-brand) 16%, transparent);
  --hm-bg: #111a2c;
  --hm-surface: #19243a;
  --hm-surface-2: #212e47;
  --hm-ink: #f1f5f9;
  --hm-text: #d3dbe7;
  --hm-muted: #a2afc2;
  --hm-border: #2b3954;
  --hm-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --hm-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --hm-shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

/* ---------- Base ---------- */
body.hm-site {
  font-family: var(--hm-font);
  background: var(--hm-bg);
  color: var(--hm-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.hm-site main:has(.hm-page) { padding-top: var(--hm-header-h) !important; padding-bottom: 0 !important; }
body.hm-site main:has(.hm-page) > * { width: 100%; }
.hm-page { width: 100%; overflow-x: clip; }
.hm-page h1, .hm-page h2, .hm-page h3, .hm-page h4, .hm-page h5 { color: var(--hm-ink); }

.hm-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.hm-container--narrow { max-width: 880px; }
.hm-section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.hm-section--tight { padding-block: clamp(40px, 5vw, 64px); }
.hm-section--alt { background: var(--hm-surface); border-block: 1px solid var(--hm-border); }

.hm-section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--hm-brand-soft); color: var(--hm-brand-ink);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hm-eyebrow .hm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-brand); box-shadow: 0 0 0 4px var(--hm-brand-soft); }
.hm-h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.05; font-weight: 800;
  letter-spacing: -.035em; margin-bottom: 20px;
}
.hm-h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 14px;
}
.hm-h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.hm-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; color: var(--hm-muted); margin-bottom: 0; }
.hm-text-grad {
  background: var(--hm-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hm-muted { color: var(--hm-muted); }
.hm-small { font-size: .9rem; line-height: 1.6; }

/* ---------- Buttons ---------- */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.hm-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--hm-ring); }
.hm-btn--lg { padding: 15px 28px; font-size: 1rem; border-radius: 14px; }
.hm-btn--sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.hm-btn--block { width: 100%; }
.hm-btn--primary { background: var(--hm-grad); color: #fff !important; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--hm-brand-2) 70%, transparent); }
.hm-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--hm-brand-2) 80%, transparent); color: #fff; }
.hm-btn--ghost { background: var(--hm-surface); color: var(--hm-ink) !important; border-color: var(--hm-border); }
.hm-btn--ghost:hover { border-color: var(--hm-brand); color: var(--hm-brand-ink) !important; transform: translateY(-2px); }
.hm-btn--dark { background: var(--hm-ink); color: var(--hm-bg) !important; }
.hm-btn--dark:hover { transform: translateY(-2px); opacity: .92; }
.hm-btn--white { background: #fff; color: #0b1220 !important; }
.hm-btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }
.hm-btn--outline-white { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.4); }
.hm-btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hm-link { color: var(--hm-brand-ink); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hm-link:hover { color: var(--hm-brand-ink); gap: 10px; }
.hm-link, .hm-link i { transition: gap .18s ease; }

/* ---------- Cards / icons ---------- */
.hm-card {
  background: var(--hm-surface); border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius); padding: 28px; height: 100%;
  box-shadow: var(--hm-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hm-card--hover:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow); border-color: color-mix(in srgb, var(--hm-brand) 40%, var(--hm-border)); }
.hm-card--pad-lg { padding: clamp(24px, 4vw, 44px); border-radius: var(--hm-radius-lg); }
.hm-icon {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hm-brand-soft); color: var(--hm-brand-ink); font-size: 1.15rem;
  margin-bottom: 18px;
}
.hm-icon--solid { background: var(--hm-grad); color: #fff; box-shadow: 0 10px 20px -10px var(--hm-brand-2); }
.hm-icon--sm { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; font-size: .95rem; margin-bottom: 0; }

.hm-grid { display: grid; gap: 20px; }
.hm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .hm-grid--3, .hm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .hm-grid--2, .hm-grid--3, .hm-grid--4 { grid-template-columns: 1fr; } }

.hm-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hm-check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--hm-text); }
.hm-check-list li i { color: var(--hm-brand-ink); margin-top: 4px; }

/* ---------- Header ---------- */
.hm-header {
  height: var(--hm-header-h);
  background: transparent !important;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on .hm-header itself would trap
   the position:fixed mobile menu inside the 68px header box. */
.hm-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--hm-bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
}
.hm-header.is-scrolled { border-bottom-color: var(--hm-border); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .4); }
.hm-header .navbar { height: 100%; padding-block: 0; max-width: 1200px; }
.hm-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.12rem; color: var(--hm-ink) !important; }
.hm-brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--hm-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; box-shadow: 0 8px 18px -8px var(--hm-brand-2); }
.hm-brand__accent { color: var(--hm-brand-ink); }
.hm-brand img { height: 32px; width: auto; }
.hm-header .hm-nav { gap: 2px !important; }
.hm-header .hm-nav .nav-link {
  color: var(--hm-text) !important; font-weight: 600; font-size: .93rem;
  padding: 8px 14px !important; border-radius: 10px; transition: background-color .15s ease, color .15s ease;
}
.hm-header .hm-nav .nav-link:hover { color: var(--hm-ink) !important; background: var(--hm-surface-2); }
.hm-header .hm-nav .nav-link.active { color: var(--hm-brand-ink) !important; background: var(--hm-brand-soft); }
.hm-header .hm-nav .nav-link.active::after { display: none; }
.hm-header .hm-icon-btn { width: 38px; height: 38px; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 10px; }
.hm-header .hm-icon-btn i { font-size: 1.1rem; color: var(--hm-text) !important; }
.hm-header .hm-divider { width: 1px; height: 22px; background: var(--hm-border); margin-inline: 6px; }
.hm-header .dropdown-menu { border: 1px solid var(--hm-border); border-radius: 14px; box-shadow: var(--hm-shadow); padding: 6px; background: var(--hm-surface); }
.hm-header .dropdown-item { border-radius: 8px; padding: 8px 12px; font-size: .92rem; }

/* Mobile menu */
.hm-header .mobile-menu-toggle { background: var(--hm-surface-2); color: var(--hm-ink); border-radius: 12px; }
.hm-header .mobile-menu-overlay { background: rgba(2, 6, 23, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hm-header .mobile-menu-panel { background: var(--hm-surface); width: min(340px, 88vw); right: -360px; box-shadow: -20px 0 40px -20px rgba(0,0,0,.4); }
.mobile-menu-open .hm-header .mobile-menu-panel { right: 0; }
.hm-header .mobile-menu-header { border-bottom: 1px solid var(--hm-border); }
.hm-header .mobile-branding { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--hm-ink); }
.hm-header .mobile-nav-menu { padding: 10px; }
.hm-header .mobile-nav-link { color: var(--hm-text); font-weight: 600; border-radius: 12px; border: 0 !important; margin-bottom: 2px; }
.hm-header .mobile-nav-link i { width: 22px; color: var(--hm-muted); }
.hm-header .mobile-nav-link:hover { background: var(--hm-surface-2); color: var(--hm-ink); }
.hm-header .mobile-nav-link.active { background: var(--hm-brand-soft); color: var(--hm-brand-ink) !important; border-left: 0 !important; }
.hm-header .mobile-nav-link.active i { color: var(--hm-brand-ink); }
.hm-header .mobile-menu-actions { border-top: 1px solid var(--hm-border); }

/* ---------- Footer ---------- */
.hm-footer { margin-top: 0; background: #070b14; color: #94a3b8; position: relative; overflow: hidden; }
.hm-footer::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 120%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hm-brand) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hm-footer .hm-container { position: relative; }
.hm-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-block: 64px 40px; }
@media (max-width: 991.98px) { .hm-footer__top { grid-template-columns: 1fr 1fr; } .hm-footer__about { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .hm-footer__top { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; } }
.hm-footer .hm-brand { color: #fff !important; }
.hm-footer .hm-brand__accent { color: var(--hm-brand); }
.hm-footer p { color: #94a3b8; line-height: 1.7; }
.hm-footer h5 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.hm-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hm-footer__links a, .hm-footer__contact a { color: #cbd5e1; text-decoration: none; transition: color .15s ease; }
.hm-footer__links a:hover, .hm-footer__contact a:hover { color: #fff; }
.hm-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hm-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.hm-footer__contact i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); color: var(--hm-brand); font-size: .85rem; }
.hm-footer__contact a { word-break: break-word; padding-top: 6px; }
.hm-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.hm-footer__social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); color: #e2e8f0; text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.hm-footer__social a:hover { background: var(--hm-brand); color: #fff; transform: translateY(-2px); }
.hm-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
.hm-footer__bottom a { color: #94a3b8; text-decoration: none; }
.hm-footer__bottom a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hm-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; }
.hm-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hm-hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--hm-border) 1px, transparent 1px), linear-gradient(90deg, var(--hm-border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hm-hero__bg::after {
  content: ""; position: absolute; width: 900px; height: 900px; top: -420px; right: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hm-brand) 28%, transparent), transparent 70%);
}
.hm-hero__glow { position: absolute; width: 640px; height: 640px; left: -280px; bottom: -320px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--hm-brand-2) 18%, transparent), transparent 70%); }
.hm-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 991.98px) { .hm-hero__grid { grid-template-columns: 1fr; text-align: center; } .hm-hero__copy { margin-inline: auto; } .hm-hero__actions, .hm-hero__trust { justify-content: center; } }
.hm-hero__copy { max-width: 600px; }
.hm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hm-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: var(--hm-muted); font-size: .9rem; font-weight: 600; }
.hm-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hm-hero__trust i { color: #10b981; }

/* Product mockup */
.hm-mock { position: relative; padding: 24px 40px 40px 0; }
@media (max-width: 991.98px) { .hm-mock { max-width: 560px; margin-inline: auto; padding-right: 32px; } }
.hm-mock__window { background: var(--hm-surface); border: 1px solid var(--hm-border); border-radius: 18px; box-shadow: var(--hm-shadow-lg); overflow: hidden; text-align: left; }
.hm-mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--hm-border); background: var(--hm-surface-2); }
.hm-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.hm-mock__bar span:nth-child(1) { background: #ff5f57; } .hm-mock__bar span:nth-child(2) { background: #febc2e; } .hm-mock__bar span:nth-child(3) { background: #28c840; }
.hm-mock__url { margin-left: 10px; flex: 1; background: var(--hm-surface); border: 1px solid var(--hm-border); border-radius: 8px; padding: 4px 10px; font-size: .72rem; color: var(--hm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-mock__body { padding: 18px; display: grid; gap: 14px; }
.hm-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hm-mock__stat { border: 1px solid var(--hm-border); border-radius: 12px; padding: 12px; }
.hm-mock__stat small { display: block; font-size: .68rem; color: var(--hm-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.hm-mock__stat strong { display: block; font-size: 1.25rem; color: var(--hm-ink); font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.hm-mock__stat em { font-style: normal; font-size: .7rem; color: #10b981; font-weight: 700; }
.hm-mock__chart { border: 1px solid var(--hm-border); border-radius: 12px; padding: 14px; }
.hm-mock__chart-head { display: flex; justify-content: space-between; font-size: .75rem; color: var(--hm-muted); font-weight: 600; margin-bottom: 12px; }
.hm-mock__bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.hm-mock__bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--hm-grad); opacity: .9; transform-origin: bottom; animation: hm-grow 1s cubic-bezier(.2,.8,.2,1) both; }
.hm-mock__bars i:nth-child(odd) { opacity: .55; }
.hm-mock__rows { display: grid; gap: 8px; }
.hm-mock__row { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--hm-text); padding: 8px 10px; border-radius: 10px; background: var(--hm-surface-2); }
.hm-mock__avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--hm-brand-soft); color: var(--hm-brand-ink); display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 800; }
.hm-mock__row .ms-auto { font-weight: 700; font-size: .7rem; padding: 2px 8px; border-radius: 999px; background: rgba(16,185,129,.12); color: #059669; }
.hm-mock__phone { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 190px; filter: drop-shadow(0 30px 40px rgba(15,23,42,.35)); animation: hm-float 6s ease-in-out infinite; }
.hm-mock__chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--hm-surface); border: 1px solid var(--hm-border); border-radius: 14px; box-shadow: var(--hm-shadow);
  font-size: .8rem; font-weight: 700; color: var(--hm-ink); text-align: left; line-height: 1.25;
  animation: hm-float 7s ease-in-out infinite;
}
.hm-mock__chip small { display: block; font-weight: 600; color: var(--hm-muted); font-size: .7rem; }
.hm-mock__chip--a { left: -36px; top: 58%; animation-delay: -2s; }
.hm-mock__chip--b { left: 18%; bottom: 4px; animation-delay: -4s; }
@media (max-width: 575.98px) { .hm-mock__chip--a { left: -6px; top: 58%; } .hm-mock__chip--b { display: none; } .hm-mock__stats .hm-mock__stat:nth-child(3) { display: none; } .hm-mock__stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Logo marquee ---------- */
.hm-logos { padding-block: 28px 8px; }
.hm-logos__title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-muted); margin-bottom: 22px; }
.hm-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hm-marquee__track { display: flex; gap: 18px; width: max-content; animation: hm-marquee 60s linear infinite; }
.hm-marquee:hover .hm-marquee__track { animation-play-state: paused; }
.hm-marquee__item { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--hm-surface); border: 1px solid var(--hm-border); white-space: nowrap; font-weight: 700; font-size: .88rem; color: var(--hm-ink); }
.hm-marquee__item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; }

/* ---------- Stats band ---------- */
.hm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--hm-surface); border: 1px solid var(--hm-border); border-radius: var(--hm-radius-lg); box-shadow: var(--hm-shadow-sm); }
.hm-stats > div { padding: 28px 24px; text-align: center; border-left: 1px solid var(--hm-border); }
.hm-stats > div:first-child { border-left: 0; }
.hm-stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; color: var(--hm-ink); }
.hm-stats span { color: var(--hm-muted); font-size: .9rem; font-weight: 600; }
@media (max-width: 767.98px) { .hm-stats { grid-template-columns: repeat(2, 1fr); } .hm-stats > div:nth-child(3) { border-left: 0; } .hm-stats > div:nth-child(n+3) { border-top: 1px solid var(--hm-border); } }

/* ---------- Split / bento ---------- */
.hm-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 991.98px) { .hm-split { grid-template-columns: 1fr; } }
.hm-illustration { position: relative; border-radius: var(--hm-radius-lg); padding: clamp(24px, 4vw, 48px); background: radial-gradient(120% 120% at 0% 0%, var(--hm-brand-soft), transparent 60%), var(--hm-surface); border: 1px solid var(--hm-border); text-align: center; }
.hm-illustration img { max-width: 100%; max-height: 340px; }

.hm-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-bento .hm-card { position: relative; overflow: hidden; }
.hm-bento .hm-bento__wide { grid-column: span 2; }
.hm-bento__wide { background: radial-gradient(120% 140% at 100% 0%, var(--hm-brand-soft), transparent 55%), var(--hm-surface) !important; }
.hm-bento__ghost { position: absolute; right: -14px; bottom: -22px; font-size: 7rem; color: var(--hm-brand); opacity: .07; pointer-events: none; }
@media (max-width: 991.98px) { .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-bento .hm-bento__wide { grid-column: auto; } }
@media (max-width: 575.98px) { .hm-bento { grid-template-columns: 1fr; } .hm-bento .hm-bento__wide { grid-column: auto; } }

/* Dark feature band */
.hm-band {
  --hm-band-bg: var(--hm-surface); --hm-band-text: var(--hm-text); --hm-band-ink: var(--hm-ink); --hm-band-muted: var(--hm-muted);
  --hm-band-chip: var(--hm-brand-soft); --hm-band-chip-ink: var(--hm-brand-ink);
  --hm-band-card: var(--hm-bg); --hm-band-card-hover: var(--hm-surface); --hm-band-card-border: var(--hm-border); --hm-band-glow: 12%;
  background: var(--hm-band-bg); color: var(--hm-band-text); border: 1px solid var(--hm-border); border-radius: clamp(0px, 3vw, 32px); margin-inline: clamp(0px, 2vw, 24px); position: relative; overflow: hidden; isolation: isolate;
}
[data-bs-theme="dark"] .hm-band {
  --hm-band-bg: #070b14; --hm-band-text: #cbd5e1; --hm-band-ink: #fff; --hm-band-muted: #94a3b8;
  --hm-band-chip: rgba(255,255,255,.08); --hm-band-chip-ink: #e2e8f0;
  --hm-band-card: rgba(255,255,255,.035); --hm-band-card-hover: rgba(255,255,255,.06); --hm-band-card-border: rgba(255,255,255,.08); --hm-band-glow: 25%;
  border-color: transparent;
}
.hm-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 15% 0%, color-mix(in srgb, var(--hm-brand) var(--hm-band-glow), transparent), transparent 60%), radial-gradient(50% 70% at 100% 100%, color-mix(in srgb, var(--hm-brand-2) var(--hm-band-glow), transparent), transparent 60%); }
.hm-band .hm-h2, .hm-band h3 { color: var(--hm-band-ink); }
.hm-band .hm-lead { color: var(--hm-band-muted); }
.hm-band .hm-eyebrow { background: var(--hm-band-chip); color: var(--hm-band-chip-ink); }
.hm-feature { padding: 22px; border-radius: var(--hm-radius); background: var(--hm-band-card); border: 1px solid var(--hm-band-card-border); transition: background-color .2s ease, border-color .2s ease, transform .2s ease; height: 100%; }
.hm-feature:hover { background: var(--hm-band-card-hover); border-color: color-mix(in srgb, var(--hm-brand) 50%, transparent); transform: translateY(-3px); }
.hm-feature .hm-icon { background: color-mix(in srgb, var(--hm-brand) 18%, transparent); color: var(--hm-brand); margin-bottom: 14px; }
.hm-feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.hm-feature p { font-size: .88rem; color: var(--hm-band-muted); margin: 0; line-height: 1.6; }

/* ---------- Steps (x-steps component) ---------- */
.hm-steps .accordion-item { background: var(--hm-surface); border: 1px solid var(--hm-border) !important; border-radius: var(--hm-radius) !important; overflow: hidden; box-shadow: none !important; margin-bottom: 12px !important; transition: border-color .2s ease, box-shadow .2s ease; }
.hm-steps .accordion-item:has(.accordion-collapse.show) { border-color: color-mix(in srgb, var(--hm-brand) 45%, var(--hm-border)) !important; box-shadow: var(--hm-shadow) !important; }
.hm-steps .accordion-button { background: transparent !important; color: var(--hm-ink) !important; font-weight: 700; font-size: 1.02rem; box-shadow: none !important; padding: 18px 22px !important; }
.hm-steps .accordion-button::after { filter: none; }
@media (min-width: 768px) { .hm-steps .accordion-button::after { margin-left: 14px; } }
[data-bs-theme="dark"] .hm-steps .accordion-button::after { filter: invert(1); }
.hm-steps__num { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: var(--hm-brand-soft); color: var(--hm-brand-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; transition: background .2s ease, color .2s ease; }
.hm-steps .accordion-button:not(.collapsed) .hm-steps__num { background: var(--hm-grad); color: #fff; }
.hm-steps__hint { color: var(--hm-muted); font-weight: 500; font-size: .88rem; }
.hm-steps .accordion-body { padding: 0 22px 22px 78px !important; color: var(--hm-text); }
@media (max-width: 575.98px) { .hm-steps .accordion-body { padding: 0 16px 18px !important; } .hm-steps .accordion-button { padding: 16px !important; font-size: .97rem; } }
.hm-steps .stepper-card { background: var(--hm-surface-2) !important; border: 1px solid var(--hm-border) !important; box-shadow: none !important; border-radius: var(--hm-radius) !important; }

/* ---------- Testimonials ---------- */
.hm-quote { display: flex; flex-direction: column; gap: 16px; }
.hm-quote__stars { color: #f59e0b; font-size: .85rem; display: flex; gap: 2px; }
.hm-quote__text { color: var(--hm-ink); font-size: 1rem; line-height: 1.6; font-weight: 500; flex: 1; margin: 0; }
.hm-quote__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hm-border); }
.hm-quote__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--hm-border); }
.hm-quote__who strong { display: block; color: var(--hm-ink); font-size: .95rem; }
.hm-quote__who span { color: var(--hm-muted); font-size: .8rem; }

/* ---------- FAQ ---------- */
.hm-faq .accordion-item { background: var(--hm-surface); border: 1px solid var(--hm-border) !important; border-radius: var(--hm-radius) !important; overflow: hidden; margin-bottom: 12px; box-shadow: none !important; }
.hm-faq .accordion-button { background: transparent !important; color: var(--hm-ink) !important; font-weight: 700; padding: 20px 22px; box-shadow: none !important; gap: 12px; }
[data-bs-theme="dark"] .hm-faq .accordion-button::after { filter: invert(1); }
.hm-faq .accordion-body { padding: 0 22px 22px; color: var(--hm-text); line-height: 1.75; }
.hm-faq .accordion-item:has(.show) { border-color: color-mix(in srgb, var(--hm-brand) 45%, var(--hm-border)) !important; }

/* ---------- CTA ---------- */
.hm-cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--hm-radius-lg); padding: clamp(32px, 6vw, 72px); background: var(--hm-grad); color: #fff; }
.hm-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); mask-image: linear-gradient(120deg, transparent 30%, #000); }
.hm-cta .hm-h2, .hm-cta h2, .hm-cta h3 { color: #fff; }
.hm-cta p { color: rgba(255,255,255,.88); }
.hm-cta__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.hm-cta__grid img { max-width: 100%; max-height: 260px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
@media (max-width: 767.98px) { .hm-cta__grid { grid-template-columns: 1fr; text-align: center; } .hm-cta__actions { justify-content: center; } }
.hm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Forms ---------- */
.hm-form .form-control, .hm-form .form-select {
  background: var(--hm-surface); border: 1px solid var(--hm-border); border-radius: 12px;
  color: var(--hm-ink); padding: 12px 14px; font-size: .95rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.hm-form .form-floating > .form-control { padding: 1.6rem .9rem .6rem; height: calc(3.6rem + 2px); }
.hm-form .form-floating > label { padding: 1rem .9rem; color: var(--hm-muted); }
.hm-form textarea.form-control { min-height: 140px; resize: vertical; }
.hm-form .form-control:focus, .hm-form .form-select:focus { border-color: var(--hm-brand); box-shadow: 0 0 0 4px var(--hm-ring); }
.hm-form .form-label { font-weight: 600; color: var(--hm-ink); font-size: .9rem; margin-bottom: 8px; }
.hm-form .alert { border-radius: 12px; }

.hm-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hm-contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--hm-border); border-radius: 14px; background: var(--hm-surface); transition: border-color .15s ease, transform .15s ease; }
.hm-contact-list li:hover { border-color: color-mix(in srgb, var(--hm-brand) 45%, var(--hm-border)); transform: translateX(3px); }
.hm-contact-list small { display: block; color: var(--hm-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.hm-contact-list a { color: var(--hm-ink); font-weight: 700; text-decoration: none; word-break: break-word; }
.hm-map { border-radius: var(--hm-radius); overflow: hidden; border: 1px solid var(--hm-border); height: 240px; }
.hm-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hm-social { display: flex; gap: 10px; flex-wrap: wrap; }
.hm-social a { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--hm-surface-2); color: var(--hm-text); text-decoration: none; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.hm-social a:hover { background: var(--hm-brand); color: #fff; transform: translateY(-2px); }

/* ---------- Page hero (inner pages) ---------- */
.hm-page-hero { position: relative; padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); text-align: center; overflow: hidden; isolation: isolate; }
.hm-page-hero .hm-hero__bg::after { top: -560px; right: 50%; transform: translateX(50%); }
.hm-page-hero .hm-lead { max-width: 680px; margin-inline: auto; }

/* Timeline (dealership) */
.hm-timeline { list-style: none; padding: 0; margin: 0; counter-reset: hm-step; display: grid; gap: 14px; }
.hm-timeline li { counter-increment: hm-step; position: relative; padding: 20px 20px 20px 76px; border: 1px solid var(--hm-border); border-radius: var(--hm-radius); background: var(--hm-surface); }
.hm-timeline li::before { content: counter(hm-step, decimal-leading-zero); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; background: var(--hm-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.hm-timeline h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.hm-timeline p { margin: 0; color: var(--hm-muted); font-size: .93rem; line-height: 1.6; }

/* Browser frame (demo) */
.hm-browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--hm-border); background: var(--hm-surface); box-shadow: var(--hm-shadow); }
.hm-browser img { display: block; width: 100%; }
.hm-demo-media { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 0 28px; }

/* Docs */
.hm-docs { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
@media (max-width: 767.98px) { .hm-docs { grid-template-columns: 1fr; } }
.hm-docs__nav { position: sticky; top: calc(var(--hm-header-h) + 20px); background: var(--hm-surface); border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: 12px; max-height: calc(100vh - var(--hm-header-h) - 40px); overflow: auto; }
@media (max-width: 767.98px) { .hm-docs__nav { position: relative; top: 0; max-height: none; } }
.hm-docs__nav h5 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-muted); font-weight: 700; padding: 8px 12px; margin: 0 0 4px; }
.hm-docs__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.hm-docs__nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--hm-text); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background-color .15s ease, color .15s ease; }
.hm-docs__nav a:hover { background: var(--hm-surface-2); color: var(--hm-ink); }
.hm-docs__nav a.active-doc-link { background: var(--hm-brand-soft); color: var(--hm-brand-ink); }
.hm-docs__content { background: var(--hm-surface); border: 1px solid var(--hm-border); border-radius: var(--hm-radius); padding: clamp(22px, 4vw, 44px); min-width: 0; }
.hm-prose { color: var(--hm-text); line-height: 1.8; font-size: 1rem; }
.hm-prose h1, .hm-prose h2, .hm-prose h3, .hm-prose h4 { color: var(--hm-ink); font-weight: 800; letter-spacing: -.02em; margin: 1.8em 0 .6em; }
.hm-prose h2 { font-size: 1.5rem; } .hm-prose h3 { font-size: 1.2rem; }
.hm-prose a { color: var(--hm-brand-ink); }
.hm-prose img { max-width: 100%; border-radius: 12px; border: 1px solid var(--hm-border); }
.hm-prose code { background: var(--hm-surface-2); padding: 2px 6px; border-radius: 6px; font-size: .88em; color: var(--hm-ink); }
.hm-prose pre { background: #0b1220; color: #e2e8f0; padding: 18px; border-radius: 12px; overflow: auto; }
.hm-prose pre code { background: none; color: inherit; padding: 0; }
.hm-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; display: block; overflow-x: auto; }
.hm-prose th, .hm-prose td { border: 1px solid var(--hm-border); padding: 8px 12px; }
.hm-prose blockquote { border-left: 3px solid var(--hm-brand); padding: 4px 0 4px 16px; color: var(--hm-muted); }

/* ---------- Packages (livewire component restyle) ---------- */
.hm-page #pricing .package-card { border: 1px solid var(--hm-border) !important; box-shadow: var(--hm-shadow-sm) !important; border-radius: var(--hm-radius-lg) !important; background: var(--hm-surface) !important; transition: transform .25s ease, box-shadow .25s ease; }
.hm-page #pricing .package-card:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow) !important; }
.hm-page #pricing .package-card--featured { border: 2px solid var(--hm-brand) !important; box-shadow: var(--hm-shadow-lg) !important; }
.hm-page #pricing .package-card__period { border: 1px solid var(--hm-border); border-radius: 12px; background: var(--hm-surface-2) !important; }
.hm-page #pricing .custom-plan { margin-top: 40px !important; }

/* ---------- Floating contact button ---------- */
.hm-fab { position: fixed; right: 20px; bottom: 20px; z-index: 1030; box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--hm-brand-2) 80%, transparent); border-radius: 999px; }
@media (max-width: 575.98px) { .hm-fab span { display: none; } .hm-fab { width: 52px; height: 52px; padding: 0; } }

/* ---------- Reveal on scroll ---------- */
.hm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--hm-delay, 0s); }
.hm-reveal.is-visible { opacity: 1; transform: none; }
.no-js .hm-reveal { opacity: 1; transform: none; }

@keyframes hm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hm-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hm-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .hm-reveal { opacity: 1; transform: none; transition: none; }
  .hm-mock__phone, .hm-mock__chip, .hm-marquee__track, .hm-mock__bars i { animation: none !important; }
  .hm-btn, .hm-card { transition: none; }
}

/* Feature band: center the last (incomplete) row */
.hm-band .hm-grid--4 { display: flex; flex-wrap: wrap; justify-content: center; }
.hm-band .hm-grid--4 > * { flex: 0 0 calc(25% - 15px); }
@media (max-width: 991.98px) { .hm-band .hm-grid--4 > * { flex-basis: calc(50% - 10px); } }
@media (max-width: 575.98px) { .hm-band .hm-grid--4 > * { flex-basis: 100%; } }
