/* =========================================================================
   Zane Technologies Trading FZE LLC – Custom styles
   Plain CSS component styles. Tailwind utilities are compiled separately
   (npm run build:css → assets/css/tailwind.css) and load after this file.
   ========================================================================= */

:root {
  --navy-950: #060f1c;
  --navy-900: #0b192c;
  --navy-800: #13263f;
  --navy-700: #1e3a5f;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-light: #60a5fa;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --radius: 0.75rem;
}

html { scroll-padding-top: 6rem; }
body { overflow-x: hidden; }

/* ---------- Header ---------- */
#site-header.is-scrolled #main-nav { box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.18); }

/* ---------- Logo: Split-Z mark + two-line wordmark ---------- */
.logo-mark {
  flex: none;
  width: auto;
  height: 2.9rem;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.logo-link:hover .logo-mark { transform: translateY(-1px) scale(1.06); }

/* Sizes are relative to .logo-word so the two lines always stay the same width:
   ZANE (Montserrat 800, 0.12em) and TECHNOLOGIES (Inter 600 at 0.32×, 0.224em). */
.logo-word {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.95rem;
  line-height: 1;
  white-space: nowrap;
}
.logo-name {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1em;
  letter-spacing: 0.12em;
  margin-right: -0.12em; /* cancel trailing letter-space so both lines align */
  color: var(--navy-900);
}
.logo-sub {
  margin-top: 0.62em;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.32em;
  letter-spacing: 0.224em;
  margin-right: -0.224em;
  color: var(--slate-500);
}
.logo-word--light .logo-name { color: #fff; }
.logo-word--light .logo-sub { color: #94a3b8; }
.logo-link:hover .logo-sub { color: var(--accent-dark); }
.logo-link:hover .logo-word--light .logo-sub { color: var(--accent-light); }

@media (max-width: 639px) {
  .logo-mark { height: 2.25rem; }
  .logo-word { font-size: 1.45rem; }
}
@media (max-width: 374px) {
  .logo-mark { height: 2rem; }
  .logo-word { font-size: 1.25rem; }
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color .2s, background-color .2s;
}
/* animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--navy-900); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--accent-dark); }

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: #334155;
}
.mobile-link:hover, .mobile-link.active { color: var(--accent-dark); background: #eff6ff; }

/* ---------- Buttons ---------- */
.btn-primary,
.btn-outline,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .15s ease, background-color .2s, box-shadow .2s, border-color .2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(59,130,246,0.7);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .7; cursor: wait; transform: none; }

.btn-outline {
  border: 1px solid var(--slate-300);
  color: var(--navy-900);
  background: #fff;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-1px); }

.btn-whatsapp { background: #16a34a; color: #fff; }
.btn-whatsapp:hover { background: #15803d; transform: translateY(-1px); }

.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero-grid {
  background-image:
    linear-gradient(rgba(11,25,44,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,25,44,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
}
.hero-glow { background: radial-gradient(circle, rgba(96,165,250,0.22), transparent 65%); filter: blur(20px); }

/* Soft light that follows the mouse inside the hero (position set by JS) */
.hero-spotlight {
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(59,130,246,0.10), transparent 70%);
  transition: opacity .3s;
}

.text-gradient {
  background: linear-gradient(90deg, #1d4ed8, #2563eb 50%, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge-green,
.badge-amber {
  flex-shrink: 0;
  margin-left: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-green { background: #ecfdf5; color: #047857; }
.badge-amber { background: #fffbeb; color: #b45309; }

/* Hero "Live Inventory Snapshot" rows (each links to the matching products) */
.snapshot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -0.6rem;
  padding: 0.85rem 0.6rem;
  border-radius: 0.5rem;
  transition: background-color .2s, color .2s;
}
.snapshot-row:hover { background: #f8fafc; color: var(--navy-900); }

/* ---------- Section headings ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

/* ---------- Category showcase slider ---------- */
.showcase-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.showcase-tabs::-webkit-scrollbar { display: none; }
.showcase-tab {
  position: relative;
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--slate-600);
  transition: color .2s, border-color .2s, background-color .2s, box-shadow .2s;
}
.showcase-tab i { color: #94a3b8; transition: color .2s; }
.showcase-tab:hover { border-color: #bfdbfe; color: var(--navy-900); }
.showcase-tab.active {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(11,25,44,0.6);
}
.showcase-tab.active i { color: var(--accent-light); }
/* autoplay progress bar under the active tab */
.tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
}
.showcase-tab.active .tab-progress.run { animation: tab-progress var(--slide-time, 6s) linear forwards; }
.showcase.paused .showcase-tab.active .tab-progress.run { animation-play-state: paused; }
@keyframes tab-progress { to { transform: scaleX(1); } }

.showcase-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 60px -36px rgba(11,25,44,0.35);
  touch-action: pan-y;
}
.showcase-track {
  display: flex;
  transition: transform .7s cubic-bezier(.65,0,.35,1);
  will-change: transform;
}
/* Each main slide = category header + a horizontally scrolling strip of product cards */
.slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.art-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.slide-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(59,130,246,0.10), transparent 45%),
    #fff;
}
@media (min-width: 768px) { .slide-head { padding: 2.25rem 2.5rem 1.75rem; } }
.slide-head > div:first-child { flex: 1 1 28rem; min-width: 0; }

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.slide-title {
  margin-top: 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.slide-text { margin-top: 0.6rem; max-width: 42rem; line-height: 1.6; color: var(--slate-600); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* phones: one full-width button keeps the header compact */
@media (max-width: 479px) {
  .slide-actions { width: 100%; }
  .slide-actions .btn-outline { display: none; }
  .slide-actions .btn-primary { flex: 1; justify-content: center; }
}

/* ---- Product strip ---- */
.pstrip {
  position: relative;
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--slate-200);
  background: #f8fafc;
}
.pstrip-track {
  display: flex;
  gap: 1rem;
  padding: 0.25rem 1.5rem 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* soft fade at both edges so cut-off cards read as "more to scroll" */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
}
.pstrip-track::-webkit-scrollbar { display: none; }

/* Drag to move: grab cursor on mouse devices, no snapping/selection mid-drag */
@media (hover: hover) and (pointer: fine) {
  .slide-head, .pstrip-track { cursor: grab; }
  .showcase.is-dragging .slide-head,
  .pstrip.is-dragging .pstrip-track { cursor: grabbing; }
}
.pstrip-track { -webkit-user-select: none; user-select: none; }
.pstrip-track img { -webkit-user-drag: none; }
.showcase.is-dragging .slide { -webkit-user-select: none; user-select: none; }
.pstrip.is-dragging .pstrip-track { scroll-snap-type: none; }
.pstrip.is-dragging .pcard { pointer-events: none; }
@media (min-width: 768px) {
  .pstrip-track { padding-left: 2.5rem; padding-right: 2.5rem; scroll-padding: 0 2.5rem; }
}

.pstrip-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-top: -1.3rem;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: var(--navy-900);
  box-shadow: 0 8px 20px -10px rgba(11,25,44,0.45);
  transition: background-color .2s, color .2s, opacity .2s;
}
.pstrip-arrow:hover { background: var(--navy-900); color: #fff; }
.pstrip-arrow.prev { left: 0.6rem; }
.pstrip-arrow.next { right: 0.6rem; }
.pstrip-arrow[disabled] { opacity: 0; pointer-events: none; }
/* arrows on mouse devices; touch users swipe the strip */
@media (hover: hover) and (min-width: 768px) { .pstrip-arrow { display: flex; } }

/* ---- Product card ---- */
.pcard {
  position: relative;
  flex: 0 0 15.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
@media (min-width: 1280px) { .pcard { flex-basis: 16.25rem; } }
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--tint, var(--accent));
  box-shadow: 0 18px 36px -20px rgba(11,25,44,0.35);
}
.pcard-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.5rem;
  background:
    linear-gradient(rgba(11,25,44,0.04) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(11,25,44,0.04) 1px, transparent 1px) 0 0 / 20px 20px,
    radial-gradient(circle at 50% 45%, #ffffff 0%, #eef2f7 75%);
  border-bottom: 1px solid #f1f5f9;
}
.pcard-art,
.pcard-media img {
  width: 88%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(15,23,42,0.18));
  transition: transform .35s ease;
}
.pcard:hover .pcard-art,
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.18rem 0.5rem;
  border-radius: 0.4rem;
  background: var(--navy-900);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: #fff;
}
/* stock status pill, top-right of the picture */
.pcard-stock {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fffbeb;
  font-size: 0.66rem;
  font-weight: 700;
  color: #b45309;
}
.pcard-stock::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 999px; background: currentColor; }
.pcard-stock.is-in-stock { background: #ecfdf5; color: #047857; }

.pcard-body { flex: 1; padding: 0.95rem 1.1rem 0.6rem; }
/* the product name links to its page; the link covers the whole card,
   the Quote / Add buttons sit above it so they stay clickable */
.pcard-link { color: inherit; }
.pcard-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pcard-link:hover { color: var(--accent-dark); }
.pcard-link:focus-visible { outline: none; }
.pcard:has(.pcard-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pcard-quote, .pcard-add { position: relative; z-index: 2; }
.pcard-type {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.pcard-name {
  margin-top: 0.35rem;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
}
.pcard-specs { margin-top: 0.65rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pcard-specs li {
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: #f1f5f9;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-600);
}
.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.7rem 1.1rem;
  border-top: 1px solid #f1f5f9;
}
.pcard-logo {
  display: block;
  height: var(--logo-h, 1.5rem);
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  object-position: left center;
}
/* text wordmark for brands without a logo file yet (NVIDIA, TOSHIBA) */
.pcard-word {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--c, var(--navy-900));
}
.pcard-quote {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  transition: background-color .2s, color .2s;
}
.pcard-quote i { font-size: 0.7rem; transition: transform .2s; }
.pcard-quote:hover { background: var(--accent); color: #fff; }
.pcard-quote:hover i { transform: translateX(3px); }

/* entrance animation: cards of the active slide rise in */
.slide .pcard { opacity: 0; transform: translateY(14px); }
.slide.is-active .pcard { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease, border-color .25s; }
.slide.is-active .pcard:nth-child(2) { transition-delay: .06s; }
.slide.is-active .pcard:nth-child(3) { transition-delay: .12s; }
.slide.is-active .pcard:nth-child(4) { transition-delay: .18s; }
.slide.is-active .pcard:nth-child(5) { transition-delay: .24s; }
.slide.is-active .pcard:hover { transform: translateY(-4px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .showcase-track, .pcard, .pcard-art { transition: none !important; }
  .slide .pcard { opacity: 1; transform: none; }
}

.showcase-note { margin-top: 0.85rem; text-align: center; font-size: 0.75rem; color: #94a3b8; }
.showcase-note i { margin-right: 0.3rem; }

/* Real product photos (white background, trimmed): white blends into the card */
.pcard-media .pcard-photo {
  width: 86%;
  height: 86%;
  max-height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none;
}

/* ---------- Products page (products.html) ---------- */
.catalog-hero { background: linear-gradient(180deg, #f0f9ff, #ffffff); }
.catalog-search { position: relative; }
.catalog-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.catalog-search .form-input { padding-left: 2.6rem; border-radius: 999px; box-shadow: 0 8px 24px -16px rgba(11,25,44,0.35); }

.cat-chips,
.brand-filter {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.1rem 0.35rem;
}
.cat-chips::-webkit-scrollbar,
.brand-filter::-webkit-scrollbar { display: none; }
.brand-filter { margin-top: 0.75rem; }

.cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--slate-600);
  transition: background-color .2s, color .2s, border-color .2s;
}
.cat-chip i { color: #94a3b8; transition: color .2s; }
.cat-chip:hover { border-color: #bfdbfe; color: var(--navy-900); }
.cat-chip .count {
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: var(--slate-500);
}
.cat-chip[aria-pressed="true"] { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.cat-chip[aria-pressed="true"] i { color: var(--accent-light); }
.cat-chip[aria-pressed="true"] .count { background: rgba(255,255,255,0.15); color: #fff; }

.brand-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 6.75rem;
  height: 3.1rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, opacity .2s;
}
.brand-btn img { height: var(--logo-h, 1.3rem); width: auto; max-width: 6.5rem; object-fit: contain; }
.brand-btn .pcard-word { font-size: 0.9rem; }
.brand-btn:hover { border-color: var(--brand, var(--accent)); }
.brand-btn[aria-pressed="true"] { border-color: var(--brand, var(--accent)); box-shadow: 0 0 0 2px var(--brand, var(--accent)); }
.brand-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.brand-btn--all { font-size: 0.85rem; font-weight: 700; color: var(--navy-900); }
.brand-btn--all[aria-pressed="true"] { border-color: var(--navy-900); background: var(--navy-900); color: #fff; box-shadow: none; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.pcard-add {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  transition: background-color .2s, color .2s, border-color .2s;
}
.pcard-add i { font-size: 0.7rem; }
.pcard-add:hover { border-color: var(--accent); background: #eff6ff; }
.pcard-add[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.pcard.is-selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(59,130,246,0.3), 0 18px 36px -24px rgba(37,99,235,0.5); }

.catalog-empty {
  margin-top: 1rem;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--slate-300);
  border-radius: 1rem;
  background: #fff;
  text-align: center;
}
.catalog-empty > i { font-size: 2rem; color: var(--accent); }

/* Floating quote list */
.quote-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(46rem, calc(100% - 2rem));
  padding: 0.65rem 0.65rem 0.65rem 0.85rem;
  border-radius: 1rem;
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 24px 50px -20px rgba(11,25,44,0.7);
  transform: translateX(-50%);
  animation: quote-bar-in .3s ease;
}
.quote-bar[hidden] { display: none; }
@keyframes quote-bar-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.quote-bar-count {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--accent);
  font-weight: 800;
}
.quote-bar-text { flex: 1; min-width: 0; }
.quote-bar-title { font-size: 0.85rem; font-weight: 700; }
.quote-bar-names { overflow: hidden; font-size: 0.75rem; white-space: nowrap; text-overflow: ellipsis; color: #94a3b8; }
.quote-bar-clear { flex-shrink: 0; padding: 0.4rem 0.5rem; font-size: 0.8rem; font-weight: 600; color: #cbd5e1; }
.quote-bar-clear:hover { color: #fff; }
.quote-bar-go { flex-shrink: 0; }
@media (max-width: 479px) { .quote-bar-title { display: none; } .quote-bar-names { font-size: 0.8rem; color: #e2e8f0; } }
/* keep floating buttons above the quote bar */
.has-quote-bar .whatsapp-float { bottom: 5.75rem; }
.has-quote-bar .back-to-top { bottom: 10rem; }
.has-quote-bar footer { padding-bottom: 5rem; }

.showcase-dots { margin-top: 1rem; display: flex; justify-content: center; gap: 0.5rem; }
.showcase-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: width .3s, background-color .3s;
}
.showcase-dots span.active { width: 1.75rem; background: var(--navy-900); }

/* ---------- Product detail page (product.html) ---------- */
.pdp-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  background:
    linear-gradient(rgba(11,25,44,0.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(11,25,44,0.04) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(circle at 50% 45%, #ffffff 0%, #eef2f7 75%);
  box-shadow: 0 24px 60px -36px rgba(11,25,44,0.35);
}
.pdp-media .pcard-photo,
.pdp-media .pcard-art { width: 82%; height: 82%; object-fit: contain; }
.pdp-media .pcard-photo { mix-blend-mode: multiply; }
.pdp-media .pcard-badge { top: 1rem; left: 1rem; font-size: 0.85rem; padding: 0.25rem 0.65rem; }
.pdp-brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: #fff;
  transition: border-color .2s;
}
.pdp-brand:hover { border-color: var(--accent); }
.pdp-specs { margin-top: 1.25rem; }
.pdp-specs li { padding: 0.3rem 0.65rem; font-size: 0.8rem; }
.pdp-quote {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: #f8fafc;
}
.pdp-quote .btn-whatsapp, .pdp-quote .btn-outline { justify-content: center; }
.btn-outline.is-on { border-color: var(--accent); background: #eff6ff; color: var(--accent-dark); }
.pdp-table { margin-top: 1.75rem; border-top: 1px solid var(--slate-200); }
.pdp-table > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.9rem;
}
.pdp-table dt { font-weight: 600; color: var(--slate-500); }
.pdp-table dd { color: var(--navy-900); }
@media (max-width: 479px) { .pdp-table > div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- Brands ---------- */
/* Centred rows so any number of tiles lines up neatly (14 = 2 × 7 on wide screens) */
.brand-grid {
  --cols: 2;
  --gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.brand-grid > .brand-tile { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (min-width: 640px)  { .brand-grid { --cols: 3; } }
@media (min-width: 1024px) { .brand-grid { --cols: 4; } }
@media (min-width: 1280px) { .brand-grid { --cols: 7; } .brand-grid .brand-logo { height: calc(var(--logo-h, 2.5rem) * .78); } }

/* Each tile sets --brand (solid colour), optional --brand-bg (gradient) and --logo-h inline.
   On hover the tile fills with the brand colour and the logo turns white. */
.brand-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 8.5rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: #fff;
  text-align: center;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
/* brand-colour fill sits behind the content and fades in */
.brand-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-bg, var(--brand, var(--accent)));
  opacity: 0;
  transition: opacity .3s ease;
}
.brand-tile:hover {
  border-color: var(--brand, var(--accent));
  box-shadow: 0 16px 34px -16px var(--brand, var(--accent));
  transform: translateY(-3px);
}
.brand-tile:hover::before { opacity: 1; }
/* Logos keep their real colours; on hover they turn solid white over the brand fill */
.brand-logo {
  display: block;
  height: var(--logo-h, 2.5rem);
  width: auto;
  max-width: 88%;
  object-fit: contain;
  transition: filter .3s ease, transform .3s ease;
}
@media (max-width: 639px) { .brand-logo { height: calc(var(--logo-h, 2.5rem) * .8); } }
.brand-tile:hover .brand-logo { filter: brightness(0) invert(1); transform: scale(1.04); }
.brand-tile:hover .brand-cat { color: rgba(255,255,255,0.85); }
.brand-cat {
  transition: color .3s ease;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* ---------- Why / About ---------- */
.why-card {
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.why-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 18px 40px -22px rgba(37,99,235,0.45);
  transform: translateY(-3px);
}
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: var(--accent-dark);
  font-size: 1.25rem;
}
.why-title { margin-top: 1.25rem; font-size: 1.1rem; font-weight: 700; color: var(--navy-900); }
.why-desc { margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.6; color: var(--slate-600); }

/* Leadership */
.leader-card {
  padding: 2rem;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #f8fbff, #eff6ff);
  box-shadow: 0 20px 50px -30px rgba(15,23,42,0.25);
}
@media (min-width: 768px) { .leader-card { padding: 2.75rem; } }
.leader-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  box-shadow: 0 0 0 6px rgba(59,130,246,0.15);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}
.leader-photo { object-fit: cover; background: #e2e8f0; }
.leader-chip {
  padding: 0.3rem 0.75rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
}

.step { position: relative; }
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
}
.step-title { margin-top: 0.5rem; font-weight: 700; color: var(--navy-900); }
.step-desc { margin-top: 0.35rem; font-size: 0.875rem; color: var(--slate-600); }
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.6rem;
    left: 2.75rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(96,165,250,0.5), transparent);
  }
}

/* ---------- Form ---------- */
.form-legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
}
.form-legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.8rem;
}
.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}
.req { color: #ef4444; }

.form-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: 0.6rem;
  background: #fff;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}
.form-input.is-invalid { border-color: #ef4444; }
.form-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }

.form-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #dc2626;
}
.form-error.show { display: block; }

.line-row {
  display: grid;
  grid-template-columns: 1fr 6.5rem 2.75rem;
  gap: 0.6rem;
  align-items: center;
}
.line-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.9rem;
  border-radius: 0.6rem;
  border: 1px solid var(--slate-200);
  color: #94a3b8;
  transition: color .15s, border-color .15s;
}
.line-remove:hover { color: #dc2626; border-color: #fca5a5; }
.line-remove:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Contact ---------- */
.contact-card {
  padding: 2rem;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.contact-card:hover { box-shadow: 0 20px 40px -20px rgba(11,25,44,0.25); transform: translateY(-2px); }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--accent-light);
  font-size: 1.35rem;
}
.contact-title { margin-top: 1.25rem; font-size: 1.1rem; font-weight: 700; color: var(--navy-900); }
.contact-text { margin-top: 0.6rem; line-height: 1.7; color: var(--slate-600); }

/* ---------- Legal pages (privacy.html) ---------- */
.legal { line-height: 1.75; }
/* :where() keeps these at class-level specificity so Tailwind mt-* utilities still win */
.legal :where(h2) { margin-top: 2.5rem; font-size: 1.2rem; font-weight: 700; color: var(--navy-900); }
.legal :where(p) { margin-top: 0.85rem; }
.legal :where(ul) { margin-top: 0.75rem; padding-left: 1.25rem; list-style: disc; }
.legal :where(li) { margin-top: 0.4rem; }
.legal a:not([class]) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal a:not([class]):hover { color: var(--navy-900); }

/* ---------- Footer ---------- */
.footer-heading {
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-link { transition: color .15s; }
.footer-link:hover { color: #fff; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 10px 25px -5px rgba(34,197,94,0.6);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 5.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(11,25,44,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Custom cursor (enabled by JS on mouse devices only) ---------- */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid rgba(37,99,235,0.55);
  border-radius: 999px;
  pointer-events: none;
  will-change: transform;
  transition: width .25s ease, height .25s ease, margin .25s ease,
              background-color .25s ease, border-color .25s ease, opacity .2s ease;
}
.has-cursor .cursor-ring { display: flex; }
.cursor-logo {
  width: 24px;
  height: 26px;
  object-fit: contain;
  opacity: 0;
  transform: scale(.4) rotate(-90deg);
  transition: opacity .25s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}
/* Hovering a link / button / card: ring grows and the Zane logo appears */
.cursor-ring.is-hover {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: rgba(37,99,235,0.85);
  background: rgba(239,246,255,0.75);
  box-shadow: 0 6px 20px -6px rgba(37,99,235,0.45);
}
.cursor-ring.is-hover .cursor-logo { opacity: 1; transform: scale(1) rotate(0); }
/* Typing in a field: shrink out of the way */
.cursor-ring.is-text { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-color: transparent; background: var(--accent); }
.cursor-ring.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cursor-ring.is-hidden { opacity: 0; }

.click-ripple {
  position: fixed;
  z-index: 9998;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  pointer-events: none;
  animation: ripple .55s ease-out forwards;
}
@keyframes ripple {
  from { transform: scale(1); opacity: .8; }
  to   { transform: scale(7); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
/* Only hide elements when JS is running (html.js is set in <head>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
