/* OSS México — brand from logo */
:root {
  color-scheme: light;
  --color-primary: #001da5;
  --color-primary-dark: #001589;
  --color-primary-soft: rgba(0, 29, 165, 0.08);
  --color-accent: #5c4ff3;
  --color-accent-soft: rgba(92, 79, 243, 0.12);
  --color-cyan: #7df9ff;
  --color-cyan-soft: rgba(125, 249, 255, 0.10);
  --color-green: #10f5a8;
  --color-green-soft: rgba(16, 245, 168, 0.10);
  --color-blue-deep: #0a1463;
  --gradient-primary: linear-gradient(135deg, #001da5 0%, #5c4ff3 65%, #7df9ff 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0,8,55,0.92) 0%, rgba(92,79,243,0.55) 50%, rgba(10,20,99,0.92) 100%);
  --color-text: #1a1d26;
  --color-text-muted: #5c6378;
  --color-border: #e2e6ef;
  --color-surface: #ffffff;
  --color-surface-muted: #f4f6fb;
  --color-on-primary: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-bg-mid: #ffffff;
  --font-heading: "Inter", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 29, 165, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 21, 90, 0.1);
  --shadow-lift: 0 20px 60px rgba(0, 21, 90, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 112px;
  --max-w: 1120px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --color-primary: #5c4ff3;
  --color-primary-dark: #7df9ff;
  --color-primary-soft: rgba(92, 79, 243, 0.18);
  --color-text: #e8eaef;
  --color-text-muted: #9aa3b8;
  --color-border: #1a2248;
  --color-surface: #0d1020;
  --color-surface-muted: #050814;
  --color-on-primary: #ffffff;
  --header-bg: rgba(5, 8, 20, 0.94);
  --hero-bg-mid: #0a1020;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #0b1225;
  background-image: url('assets/bg-circuit.svg');
  background-size: 360px 360px;
  background-repeat: repeat;
  background-attachment: scroll;
}

/* Animated gradient orbs layer */
body::before {
  content: "";
  position: fixed;
  top: -25%; right: -25%; bottom: -25%; left: -25%;
  inset: -25%;
  width: 150%;
  height: 150%;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 18% 20%, rgba(0, 29, 165, 0.38) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 35%, rgba(92, 79, 243, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 48% 88%, rgba(125, 249, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 72% 72%, rgba(16, 245, 168, 0.12) 0%, transparent 55%);
  animation: orb-drift 28s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(2%, -3%); }
  50%  { transform: translate(-3%, 2%); }
  75%  { transform: translate(1%, 3%); }
  100% { transform: translate(-2%, -1%); }
}

html[data-theme="light"] body {
  background-color: #dde4f5;
  background-image: url('assets/bg-circuit.svg');
  background-size: 360px 360px;
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 55% 45% at 18% 20%, rgba(0, 29, 165, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 35%, rgba(92, 79, 243, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 48% 88%, rgba(125, 249, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 65% 75%, rgba(16, 245, 168, 0.07) 0%, transparent 60%);
}

html[data-theme="dark"] body {
  background-color: #050814;
  background-image: url('assets/bg-circuit.svg');
  background-size: 360px 360px;
}

html[data-theme="dark"] body::before {
  background:
    radial-gradient(ellipse 55% 45% at 18% 20%, rgba(0, 29, 165, 0.50) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 35%, rgba(92, 79, 243, 0.38) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 48% 88%, rgba(125, 249, 255, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 72% 72%, rgba(16, 245, 168, 0.14) 0%, transparent 55%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-primary-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: calc(100% - 2rem);
  width: min(100% - 2rem, var(--max-w));
  margin: 0 auto;
  margin-inline: auto;
}

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: calc(100% - 2rem);
  width: min(100% - 2rem, var(--max-w));
  margin: 0 auto;
  margin-inline: auto;
  min-height: var(--header-h);
}

.header-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

.brand-logo {
  width: 120px;
  height: 120px;
  max-width: min(120px, 28vw);
  max-height: min(120px, 28vw);
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
  background: var(--color-primary);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--color-text);
}

.site-nav a:not(.btn):hover {
  color: var(--color-primary);
}

.site-nav a:not(.btn)[aria-current="page"] {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav-cta {
  margin-left: 0.25rem;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-muted);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.theme-toggle-icon {
  width: 22px;
  height: 22px;
}

.theme-toggle-icon--moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle-icon--sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle-icon--moon {
  display: block;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h); right: 0; bottom: auto; left: 0;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-list a {
    display: block;
    padding: 0.6rem 0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--color-on-primary);
  box-shadow: 0 4px 18px rgba(0, 29, 165, 0.28);
  transition: background-position 0.4s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.btn:not(.btn--ghost):not(.btn--outline)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btn-shimmer 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

@keyframes btn-shimmer {
  0%       { transform: translateX(-120%); }
  32%, 100% { transform: translateX(200%); }
}

.hero .btn:not(.btn--ghost) {
  animation: hero-cta-glow 3.5s ease-in-out infinite;
}

@keyframes hero-cta-glow {
  0%, 100% { box-shadow: 0 4px 18px rgba(0, 29, 165, 0.30); }
  50%       { box-shadow: 0 4px 32px rgba(125, 249, 255, 0.55), 0 0 55px rgba(92, 79, 243, 0.28); }
}


.btn:hover {
  background-position: 100% 50%;
  color: var(--color-on-primary);
  box-shadow: 0 8px 28px rgba(125, 249, 255, 0.35);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.btn--outline {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.btn--whatsapp {
  background: rgba(10, 30, 20, 0.85);
  color: #25d366;
  border: 1.5px solid rgba(37, 211, 102, 0.6);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.12);
}
.btn--whatsapp:hover {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.40);
  transform: translateY(-1px);
}
html[data-theme="light"] .btn--whatsapp {
  background: rgba(16, 245, 168, 0.08);
  color: #0a7a3a;
  border-color: rgba(10, 122, 58, 0.40);
}
html[data-theme="light"] .btn--whatsapp:hover {
  background: #0a7a3a;
  color: #fff;
}

.btn--email {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  box-shadow: none;
}
.btn--email:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(92, 79, 243, 0.22);
  transform: translateY(-1px);
}

/* ── Status badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1.4;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.badge--disponible { background: rgba(16,245,168,0.10); color: #10f5a8; border-color: rgba(16,245,168,0.35); }
.badge--disponible .badge-dot { background: #10f5a8; }
.badge--stock { background: var(--color-primary-soft); color: var(--color-primary); border-color: rgba(0,29,165,0.25); }
.badge--confirmada { background: linear-gradient(135deg, #10f5a8, #7df9ff); color: #001da5; border-color: transparent; }
.badge--premium { background: rgba(255,255,255,0.06); color: var(--color-text); border-color: var(--color-border); }
.badge--entrega { background: rgba(125,249,255,0.10); color: #7df9ff; border-color: rgba(125,249,255,0.30); }
.badge--entrega .badge-dot { background: #7df9ff; }
.badge--agotado { background: rgba(239,68,68,0.10); color: #f87171; border-color: rgba(239,68,68,0.30); }
.badge--agotado .badge-dot { background: #f87171; }
.badge--nuevo { background: rgba(251,191,36,0.12); color: #fbbf24; border-color: rgba(251,191,36,0.35); }

html[data-theme="light"] .badge--entrega { color: #0099aa; border-color: rgba(0,153,170,0.35); background: rgba(0,153,170,0.08); }
html[data-theme="light"] .badge--entrega .badge-dot { background: #0099aa; }
html[data-theme="light"] .badge--premium { background: rgba(0,29,165,0.05); color: var(--color-text); }

/* ── Category tags ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border: 1px solid rgba(0,29,165,0.15);
  text-decoration: none;
  white-space: nowrap;
}
html[data-theme="dark"] .tag {
  background: rgba(92,79,243,0.14);
  color: var(--color-primary);
  border-color: rgba(92,79,243,0.28);
}

/* ── Stock pills ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}
.pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pill--instock   { color: #0d9e6e; background: rgba(16,245,168,0.18); border-color: rgba(16,245,168,0.45); }
.pill--instock::before   { background: #10f5a8; box-shadow: 0 0 5px rgba(16,245,168,0.55); }
.pill--lastunits { color: #b45309; background: rgba(251,191,36,0.18); border-color: rgba(251,191,36,0.45); }
.pill--lastunits::before { background: #fbbf24; box-shadow: 0 0 5px rgba(251,191,36,0.55); }
.pill--agotado-p { color: #dc2626; background: rgba(248,113,113,0.18); border-color: rgba(248,113,113,0.45); }
.pill--agotado-p::before { background: #f87171; box-shadow: 0 0 5px rgba(248,113,113,0.55); }
.pill--backorder { color: #0e7490; background: rgba(125,249,255,0.18); border-color: rgba(125,249,255,0.45); }
.pill--backorder::before { background: #7df9ff; box-shadow: 0 0 5px rgba(125,249,255,0.55); }
html[data-theme="dark"] .pill--instock   { color: #10f5a8; }
html[data-theme="dark"] .pill--lastunits { color: #fbbf24; }
html[data-theme="dark"] .pill--agotado-p { color: #f87171; }
html[data-theme="dark"] .pill--backorder { color: #7df9ff; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6rem) 0 0;
  overflow: hidden;
  min-height: clamp(480px, 65vh, 680px);
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background-image: url('assets/hero-wholesale-showcase.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: var(--gradient-hero);
  transform: translateZ(0);
  will-change: background-position;
  background-size: 300% 300%;
  animation: hero-shift 12s ease infinite;
}

@keyframes hero-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-stack {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hero-copy {
  max-width: 46rem;
}

.hero .hero-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-btn-ghost {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Hero is always dark (gradient overlay rgba 0.92) — keep badges vivid */
.hero-badges .badge--entrega {
  background: rgba(125,249,255,0.12);
  color: #7df9ff;
  border-color: rgba(125,249,255,0.38);
}
.hero-badges .badge--entrega .badge-dot { background: #7df9ff; }

.hero-badges .badge--premium {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
  border-color: rgba(255,255,255,0.25);
}

.hero-badges .badge--stock {
  background: rgba(0,29,165,0.25);
  color: #a8c4ff;
  border-color: rgba(125,169,255,0.40);
}

/* Light mode: hero gradient is still dark, so keep vivid.
   Only adapt if badges are used outside the hero in light mode. */
/* General light-mode badge overrides (outside hero) */
html[data-theme="light"] .badge--entrega {
  color: #006070;
  border-color: rgba(0,96,112,0.55);
  background: rgba(0,96,112,0.12);
}
html[data-theme="light"] .badge--entrega .badge-dot { background: #006070; }
html[data-theme="light"] .badge--stock {
  color: #001da5;
  border-color: rgba(0,29,165,0.50);
  background: rgba(0,29,165,0.10);
}
html[data-theme="light"] .badge--premium {
  color: #0a1463;
  border-color: rgba(10,20,99,0.40);
  background: rgba(10,20,99,0.08);
}

/* Hero badges — always on dark gradient overlay, keep vivid in both modes */
html[data-theme="light"] .hero-badges .badge--entrega {
  background: rgba(125,249,255,0.16);
  color: #7df9ff;
  border-color: rgba(125,249,255,0.50);
}
html[data-theme="light"] .hero-badges .badge--entrega .badge-dot { background: #7df9ff; }
html[data-theme="light"] .hero-badges .badge--premium {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.35);
}
html[data-theme="light"] .hero-badges .badge--stock {
  background: rgba(0,29,165,0.30);
  color: #a8c4ff;
  border-color: rgba(125,169,255,0.50);
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats--band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.hero-stats--band > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.35rem 1rem 1.45rem;
  min-height: 7.25rem;
  border-right: 1px solid var(--color-border);
}

.hero-stats--band > li .stat-label {
  max-width: 11rem;
}

.hero-stats--band > li:last-child {
  border-right: none;
}

@media (max-width: 640px) {
  .hero-stats--band {
    grid-template-columns: 1fr;
  }

  .hero-stats--band > li {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    min-height: 0;
    padding: 1.15rem 1rem;
  }

  .hero-stats--band > li:last-child {
    border-bottom: none;
  }
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 14rem;
  line-height: 1.35;
}

.stat-value--compact {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  box-shadow:
    0 28px 55px -18px rgba(0, 21, 90, 0.35),
    0 12px 24px -12px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 29, 165, 0.08);
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-theme="dark"] .hero-visual {
  box-shadow:
    0 32px 64px -16px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .hero-visual::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.brands-section .section-title {
  letter-spacing: -0.01em;
}

/* Brands carousel */
.brands-carousel-outer {
  overflow: hidden;
  position: relative;
  padding: 0.75rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: brand-scroll 45s linear infinite;
}

.brands-track--rev {
  animation-direction: reverse;
  animation-duration: 40s;
}

.brands-carousel-outer:hover .brands-track {
  animation-play-state: paused;
}

@keyframes brand-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 148px;
  height: 68px;
  padding: 0.65rem 1.1rem;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  transform: translateY(-2px);
}

/* Dark mode: keep white bg so logos stay readable */
html[data-theme="dark"] .brand-item {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.brand-logo-img {
  max-height: 42px;
  max-width: 116px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

/* Remove size variant — all logos use same normalized container */
.brand-logo-img--lg {
  max-height: 42px;
  max-width: 116px;
}

/* Larger logos for brands with excessive internal whitespace */
.brand-logo-img--xl {
  max-height: 54px;
  max-width: 130px;
}

/* Square logos need taller max-height to fill the container visually */
img.brand-logo-img[alt="Manhattan"] {
  max-height: 96px;
  max-width: 96px;
}

img.brand-logo-img[alt="Microsoft"] {
  max-height: 52px;
  max-width: 130px;
}

img.brand-logo-img[alt="Kensington"] {
  max-height: 64px;
  max-width: 180px;
}

img.brand-logo-img[alt="Sony"],
img.brand-logo-img[alt="Fujifilm"],
img.brand-logo-img[alt="Logitech"],
img.brand-logo-img[alt="Canon"],
img.brand-logo-img[alt="Quantum"],
img.brand-logo-img[alt="Imation"] {
  max-height: 32px;
  max-width: 100px;
}

img.brand-logo-img[alt="Jabra"] {
  max-height: 52px;
  max-width: 140px;
}


img.brand-logo-img[alt="Ugreen"] {
  max-height: 74px;
  max-width: 150px;
}

img.brand-logo-img[alt="HP"] {
  max-height: 54px;
  max-width: 130px;
}

/* ── Wordmark base ── */
.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* ── Per-brand overrides ── */

/* IBM – IBM Blue #0F62FE, bold condensed caps */
.bw--ibm {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: #0F62FE;
}

/* Microsoft – Segoe-style weight, MS grey */
.bw--microsoft {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.025em;
  text-transform: none;
  color: #737373;
}

/* Logitech – cyan #00B8FC, clean */
.bw--logitech {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #00B8FC;
}

/* Jabra – minimal black, mixed case */
.bw--jabra {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #000000;
}

/* Canon – italic red, script feel */
.bw--canon {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #CC0000;
}

/* Lexmark – navy blue #003057 */
.bw--lexmark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #003057;
}

/* Kingston – bold red */
.bw--kingston {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #CC0000;
}

/* Kensington – red caps */
.bw--kensington { color: #E31837; }

/* Targus – orange-red */
.bw--targus { color: #FF4E00; }

/* Manhattan – near-black */
.bw--manhattan { color: #231F20; }

/* Quantum – deep blue */
.bw--quantum { color: #004B98; }

/* Ugreen – green */
.bw--ugreen {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #00A550;
}

/* StarTech – red */
.bw--startech { color: #CC2229; }

/* Brand marquee keeps scrolling regardless of reduced-motion: it is a
   decorative, low-amplitude loop and the carousel is intentionally always
   animated per site owner request. (Pauses on hover via the rule above.) */

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(92, 79, 243, 0.25);
  box-shadow: 0 18px 48px rgba(0, 29, 165, 0.13);
}

.testimonial-stars {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: #c9a227;
}

html[data-theme="dark"] .testimonial-stars {
  color: #e4c04a;
}

.testimonial-quote {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.55;
  flex: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.testimonial-author {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}

.testimonial-role {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ── Social proof: testimonials carousel + newsletter 2-col ── */
.social-proof-section {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.social-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .social-proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.testimonials-col .section-header {
  margin-bottom: 1.5rem;
}

.testimonial-carousel {
  display: grid;
}

/* Default: waiting below, invisible */
.testimonial-slide {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.55s;
}

/* Active: risen into place, fully visible */
.testimonial-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

/* Leaving: flies upward and fades out */
.testimonial-slide.is-leaving {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
  visibility: visible;
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.55s;
}

.testimonial-carousel .testimonial-card:hover {
  transform: none;
}

/* Desktop: 2-up carousel (stacked vertically) */
html:not([data-layout="mobile"]) .testimonial-carousel {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

html:not([data-layout="mobile"]) .testimonial-slide.is-active-b {
  grid-column: 1;
  grid-row: 2;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

/* Desktop carousel: author on top, then stars, then quote */
html:not([data-layout="mobile"]) .testimonial-carousel .testimonial-author-row {
  order: -1;
  margin-top: 0;
}

html:not([data-layout="mobile"]) .testimonial-carousel .testimonial-stars {
  order: 0;
}

html:not([data-layout="mobile"]) .testimonial-carousel .testimonial-quote {
  order: 1;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.carousel-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.carousel-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  min-width: 36px;
  text-align: center;
}

.newsletter-col .newsletter-card {
  max-width: none;
}

.newsletter-card--stack {
  grid-template-columns: 1fr !important;
}

.newsletter-section {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.newsletter-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 680px) {
  .newsletter-card {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.newsletter-intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-intro .section-title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.newsletter-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ── Native form primitives ── */
.req {
  color: #dc2626;
  margin-left: 0.1em;
  font-weight: 700;
}

.field input,
.field-select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
}

.field-select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 2.5rem 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-text);
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6378' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

html[data-theme="dark"] .field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.field-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.field input[aria-invalid="true"],
.field-select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

html[data-theme="dark"] .field input[aria-invalid="true"],
html[data-theme="dark"] .field-select[aria-invalid="true"],
html[data-theme="dark"] .field textarea[aria-invalid="true"] {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  line-height: 1.4;
}

html[data-theme="dark"] .field-error {
  color: #ff8a7a;
}

.field-error:empty { display: none; }

.form-error-banner {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  margin-bottom: 0.5rem;
}

html[data-theme="dark"] .form-error-banner {
  background: rgba(127, 29, 29, 0.25);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.form-success {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(16, 245, 168, 0.08);
  color: #10f5a8;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  outline: none;
  border: 1px solid rgba(16, 245, 168, 0.30);
}

.newsletter-form .btn {
  width: 100%;
}

.newsletter-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-primary);
  background: var(--color-primary);
  border-radius: 8px;
}

.newsletter-form .form-row--2 {
  margin-bottom: 1rem;
}

/* Sections */
.section {
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
  background: var(--color-surface-muted);
}

.section--muted {
  background: var(--color-surface-muted);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-intro {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Products */
.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: rgba(0, 29, 165, 0.25);
  box-shadow: 0 8px 28px rgba(0, 29, 165, 0.08);
}

html[data-theme="dark"] .product-card:hover {
  border-color: rgba(91, 130, 255, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.product-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.product-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.product-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 340px) 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.contact-panel {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contact-panel {
    grid-template-columns: 1fr minmax(0, 300px);
    gap: 2rem;
  }
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row--2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa3b5;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-note.is-success {
  color: #0d6b4a;
  font-weight: 600;
}

html[data-theme="dark"] .form-note.is-success {
  color: #5ee9a8;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.aside-block {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted);
  min-width: 0;
}

.aside-block--accent {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.aside-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aside-block--accent .aside-title {
  color: var(--color-on-primary);
}

.aside-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.aside-block--accent .aside-text {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] .contact-form {
  background: #1e2438;
  border-color: #2e3a55;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
  opacity: 1;
}

html[data-theme="dark"] .aside-block {
  background: #1a2035;
  border-color: #2e3a55;
}

html[data-theme="dark"] .aside-block--accent {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ── Contact link buttons ── */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-link-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
}

.contact-link-btn--email {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-color: rgba(0, 29, 165, 0.18);
}

.contact-link-btn--whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #1a9e50;
  border-color: rgba(37, 211, 102, 0.25);
}

.contact-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-link-btn--email:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.contact-link-btn--whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: transparent;
}

html[data-theme="dark"] .contact-link-btn--email {
  background: rgba(91,130,255,0.12);
  color: #8aabff;
  border-color: rgba(91,130,255,0.25);
}

html[data-theme="dark"] .contact-link-btn--whatsapp {
  background: rgba(37,211,102,0.12);
  color: #4ade80;
  border-color: rgba(37,211,102,0.25);
}

html[data-theme="dark"] .contact-link-btn--email:hover {
  background: #5b82ff;
  color: #fff;
}

html[data-theme="dark"] .contact-link-btn--whatsapp:hover {
  background: #25d366;
  color: #fff;
}

/* ── Mail client picker ── */
.mail-picker-wrapper {
  position: relative;
  min-width: 0;
}

button.contact-link-btn {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
}

button.contact-link-btn .btn-label {
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-all;
}

.mail-picker-logo {
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

.mail-picker {
  position: fixed;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.5rem;
  z-index: 200;
  animation: picker-in 0.15s ease;
}

@keyframes picker-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mail-picker-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.3rem 0.6rem 0.4rem;
  margin: 0;
}

.mail-picker-opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.14s ease;
}

.mail-picker-opt:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.mail-picker-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex-shrink: 0;
}

html[data-theme="dark"] .mail-picker {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
}

html[data-theme="dark"] .mail-picker-opt:hover {
  background: rgba(91,130,255,0.12);
  color: #8aabff;
}

@media (max-width: 600px) {
  .mail-picker {
    position: fixed;
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    min-width: unset;
    width: auto;
    animation: picker-in-mobile 0.18s ease;
  }
  @keyframes picker-in-mobile {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

.section--tight-top {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.section--tight-bottom {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(160px, 22vh, 240px);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,8,55,0.88) 0%, rgba(92,79,243,0.52) 50%, rgba(0,8,55,0.88) 100%);
  background-size: 300% 300%;
  animation: hero-shift 12s ease infinite;
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .page-hero-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.page-hero .page-hero-lead {
  color: rgba(255,255,255,0.85);
}

.page-hero .eyebrow {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero--compact {
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.page-hero-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.page-hero-lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.home-highlights {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.highlight-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
  color: inherit;
  border-color: rgba(0, 29, 165, 0.28);
  box-shadow: 0 8px 28px rgba(0, 29, 165, 0.08);
}

html[data-theme="dark"] .highlight-card:hover {
  border-color: rgba(91, 130, 255, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.highlight-card--static {
  cursor: default;
}

.highlight-kicker {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.highlight-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.highlight-text {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.highlight-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

.highlight-card:hover .highlight-link {
  text-decoration: underline;
}

.section-cta {
  margin: 2.5rem 0 0;
  text-align: center;
}

/* ── Products page ── */
.products-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.products-section-header .section-title {
  margin: 0;
}

/* Layout toggle (header — global) */
.layout-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.layout-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.layout-btn:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.layout-btn--active {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.layout-btn:hover:not(.layout-btn--active) {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.layout-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Categories grid */
.categories-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  transition: none;
}

.categories-grid[data-view="mobile"] {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
  gap: 0.65rem;
}

/* Category card */
.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  border-color: rgba(92, 79, 243, 0.3);
  box-shadow: 0 16px 44px rgba(0, 29, 165, 0.14);
  transform: translateY(-5px);
}

html[data-theme="dark"] .category-card:hover {
  border-color: rgba(91, 130, 255, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.category-card--cta {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}

.category-card--cta .category-icon {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.category-body {
  flex: 1;
}

.category-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text);
}

.category-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.category-cta {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--color-primary);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.category-cta:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.category-cta--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.category-cta--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-on-primary);
}

/* ── Maintenance modal ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(2rem, 5vw, 2.75rem);
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: var(--color-surface-muted);
  color: var(--color-text);
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}

.modal-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.modal-body {
  margin: 0;
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.modal-cta {
  margin-top: 0.5rem;
  width: 100%;
}

/* List view overrides */
.categories-grid[data-view="mobile"] .category-card {
  flex-direction: row;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.categories-grid[data-view="mobile"] .category-icon {
  width: 42px;
  height: 42px;
}

.categories-grid[data-view="mobile"] .category-body {
  min-width: 0;
}

.categories-grid[data-view="mobile"] .category-title {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.categories-grid[data-view="mobile"] .category-desc {
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.categories-grid[data-view="mobile"] .category-cta {
  flex-shrink: 0;
  margin-top: 0;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
}

/* Brands static grid */
.brands-static-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Contact form extras */
.field-required {
  color: var(--color-primary);
  font-weight: 700;
}

.field-optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Nav badge */
.nav-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.13rem 0.45rem;
  border-radius: 999px;
  background: rgba(251,191,36,0.14);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.38);
  line-height: 1.5;
  vertical-align: middle;
}

/* Footer */
.site-footer {
  border-top: none;
  padding: 2rem 0;
  background: transparent;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 80px;
  height: 80px;
  max-width: min(80px, 20vw);
  max-height: min(80px, 20vw);
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.footer-tag {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 16rem;
  line-height: 1.45;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════
   Microsoft-inspired enhancements
   ══════════════════════════════════════ */

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }
.reveal--d5 { transition-delay: 0.40s; }
.reveal--d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:not(.btn--ghost):not(.btn--outline)::after { animation: none; }
  .hero .btn:not(.btn--ghost) { animation: none; }
}

/* ── Hero load animation ── */
.hero-title,
.hero-actions,
.hero-stats--band {
  animation: hero-fadein 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hero-actions { animation-delay: 0.18s; }
.hero-stats--band { animation-delay: 0.32s; }

@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title, .hero-actions, .hero-stats--band { animation: none; }
}

/* ── Eyebrow gradient ── */
.eyebrow {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Category card transition ── */
.category-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}

/* ── Section dark band ── */
.section--dark {
  background: #09111f;
  color: #e8eaef;
}
.section--dark .section-title { color: #ffffff; }
.section--dark .section-intro { color: #9aa3b8; }
.section--dark .eyebrow {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Gradient section divider ── */
.section-gradient-top {
  border-top: 2px solid transparent;
  border-image: var(--gradient-primary) 1;
}

/* ── Stats band gradient border ── */
.hero-stats--band {
  border-color: transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    var(--gradient-primary) border-box;
}

/* ── Stat value gradient ── */
.stat-value {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── Brands carousel nav (dynamic carousel) ── */
.brands-carousel-wrapper {
  position: relative;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  color: var(--color-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.carousel-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 29, 165, 0.3);
}
.carousel-arrow--prev { left: 0.5rem; }
.carousel-arrow--next { right: 0.5rem; }

/* ── Highlight card hover ── */
.highlight-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}
.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(92, 79, 243, 0.28);
  box-shadow: 0 18px 48px rgba(0, 29, 165, 0.13);
}

/* ── Aside accent block gradient ── */
.aside-block--accent {
  background: var(--gradient-primary);
  border-color: transparent;
}

/* ── Category CTA gradient on primary ── */
.category-cta--primary {
  background: var(--gradient-primary);
  border-color: transparent;
}
.category-cta--primary:hover {
  background: linear-gradient(135deg, #001589 0%, #4338ca 100%);
}

/* ── Dark mode accent adjustments ── */
html[data-theme="dark"] .stat-value {
  background: linear-gradient(135deg, #bfd0ff 0%, #d4beff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
html[data-theme="dark"] .stat-label {
  color: #c4c9db;
}
html[data-theme="dark"] .eyebrow {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Solid dark surfaces (replaces former glassmorphism block) ── */
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .highlight-card,
html[data-theme="dark"] .newsletter-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
html[data-theme="dark"] .category-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
html[data-theme="dark"] .testimonial-card:hover,
html[data-theme="dark"] .category-card:hover {
  background: #1c2133;
  border-color: rgba(157, 125, 247, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(157,125,247,0.15);
}
html[data-theme="dark"] .aside-block--accent {
  background: var(--color-primary);
}
html[data-theme="dark"] .hero-stats--band {
  background:
    linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05)) padding-box,
    var(--gradient-primary) border-box;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* ── Category card image ── */
.category-card-img {
  margin: -1.5rem -1.5rem 1rem;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  overflow: hidden;
  height: 148px;
  background: #09111f;
  flex-shrink: 0;
}
.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.category-card:hover .category-card-img img {
  transform: scale(1.06);
}
.categories-grid[data-view="mobile"] .category-card-img {
  display: none;
}

/* ── Text shadows for readability over textured background ── */
.page-hero-title,
.hero-title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2);
}
.section-title {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.22);
}
.page-hero-lead,
.section-intro {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}
html[data-theme="dark"] .page-hero-title,
html[data-theme="dark"] .hero-title {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6), 0 0 48px rgba(77, 114, 245, 0.18);
}
html[data-theme="dark"] .section-title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 32px rgba(77, 114, 245, 0.12);
}
html[data-theme="dark"] .page-hero-lead,
html[data-theme="dark"] .section-intro {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* ── Fix "¿Buscas algo más?" card to match regular cards ── */
.category-card--cta {
  border-color: var(--color-border) !important;
  background: var(--color-surface) !important;
}
.category-card--cta .category-icon {
  background: var(--color-primary-soft) !important;
  color: var(--color-primary) !important;
}
.category-card--cta .category-cta--primary {
  background: var(--gradient-primary);
  border-color: transparent;
}
html[data-theme="dark"] .category-card--cta {
  background: var(--color-surface) !important;
  border-color: var(--color-primary) !important;
}

/* ── Global mobile layout mode ── */
html[data-layout="mobile"] .container {
  max-width: min(430px, 100%);
}
html[data-layout="mobile"] .hero-title {
  font-size: clamp(1.6rem, 5vw, 2rem);
}
html[data-layout="mobile"] .page-hero-title {
  font-size: clamp(1.5rem, 5vw, 1.9rem);
}
html[data-layout="mobile"] .hero-stats--band {
  grid-template-columns: 1fr;
}
html[data-layout="mobile"] .hero-stats--band > li {
  border-right: none;
  border-bottom: 1px solid var(--color-border);
  min-height: 0;
  padding: 1.15rem 1rem;
}
html[data-layout="mobile"] .home-highlights,
html[data-layout="mobile"] .testimonials-grid {
  grid-template-columns: 1fr;
}
html[data-layout="mobile"] .contact-panel {
  grid-template-columns: 1fr;
}

/* Carousel: in mobile mode stop the infinite animation and let users scroll */
html[data-layout="mobile"] .brands-carousel-outer {
  -webkit-mask-image: none;
  mask-image: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(77,114,245,0.3) transparent;
}
html[data-layout="mobile"] .brands-track {
  animation: none !important;
  width: max-content;
  gap: 0.75rem;
}
/* Static grid smaller items on mobile */
html[data-layout="mobile"] .brands-static-grid {
  gap: 0.75rem;
}
html[data-layout="mobile"] .brand-item {
  width: 116px;
  height: 56px;
}

/* ── Mobile performance: GPU-optimized animations ── */
@media (max-width: 767px) {
  /* Simplify orb drift to pure translate (no scale) — avoids expensive repaints */
  body::before {
    animation: orb-drift-mobile 20s ease-in-out infinite alternate;
  }
  @keyframes orb-drift-mobile {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-2%, 3%); }
    100% { transform: translate(3%, -2%); }
  }
  /* Force GPU layers on animated elements */
  .brands-track,
  .hero-actions,
  .reveal {
    transform: translateZ(0);
  }
}

/* ══════════════════════════════════════════════════════════════════
   Canonical hero background — single source of truth for every page.
   Values copied verbatim from the home page hero. Markup contract:

     <section class="oss-hero oss-hero--compact">
       <canvas class="oss-hero-canvas" aria-hidden="true"></canvas>
       <div class="oss-hero-orb oss-hero-orb--0" aria-hidden="true"></div>  (0–3)
       <div class="oss-hero-grid"  aria-hidden="true"></div>
       <div class="oss-hero-photo" aria-hidden="true"></div>
       <div class="oss-hero-grad"  aria-hidden="true"></div>
       <div class="oss-hero-scan"  aria-hidden="true"><div class="oss-hero-scan-inner"></div></div>
       …page content, positioned with z-index 5…
     </section>

   Canvas + photo parallax are driven by initHeroBackground() in main.js.
   Do NOT re-declare these layers per page — that is what made them drift.
   ══════════════════════════════════════════════════════════════════ */
.oss-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #0F1A4D 0%, #050814 70%);
}
/* Full-bleed (home). Inner pages use --compact so their content stays above the fold. */
.oss-hero--full    { min-height: calc(100vh - var(--header-h, 72px)); }
.oss-hero--compact { min-height: 420px; display: flex; align-items: center; }

.oss-hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; mix-blend-mode: screen; z-index: 2;
}

.oss-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(40px); pointer-events: none; z-index: 1;
}
.oss-hero-orb--0 { width:520px;height:520px;top:-15%;left:-10%; background:radial-gradient(circle,rgba(0,29,165,.65) 0%,transparent 65%);   animation:oss-hero-orb-a 30s ease-in-out infinite alternate; }
.oss-hero-orb--1 { width:460px;height:460px;top:30%; left:70%;  background:radial-gradient(circle,rgba(92,79,243,.5) 0%,transparent 65%);    animation:oss-hero-orb-b 34s ease-in-out infinite alternate 1.4s; }
.oss-hero-orb--2 { width:380px;height:380px;top:65%; left:5%;   background:radial-gradient(circle,rgba(125,249,255,.28) 0%,transparent 65%); animation:oss-hero-orb-c 28s ease-in-out infinite alternate 2.8s; }
.oss-hero-orb--3 { width:440px;height:440px;top:-5%; left:55%;  background:radial-gradient(circle,rgba(91,130,255,.5) 0%,transparent 65%);   animation:oss-hero-orb-d 36s ease-in-out infinite alternate 4.2s; }

.oss-hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(91,130,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,130,255,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: oss-hero-grid-scroll 22s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* url() resolves against this stylesheet, so it is /assets/… from any page depth. */
.oss-hero-photo {
  position: absolute; inset: 0; z-index: 1;
  background-image: url('assets/hero-wholesale-showcase.png');
  background-size: cover; background-position: center;
  opacity: .38; mix-blend-mode: luminosity;
  transform: scale(1.1);
  transition: transform .8s ease-out;
}

.oss-hero-grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(5,8,20,.85) 0%, rgba(0,21,90,.55) 38%, rgba(92,79,243,.32) 60%, rgba(5,8,20,.92) 100%);
  background-size: 250% 250%;
  animation: oss-hero-grad-shift 14s ease infinite;
}

.oss-hero-scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.oss-hero-scan-inner {
  position: absolute; top: 0; bottom: 0; width: 34%;
  background: linear-gradient(90deg, transparent, rgba(125,249,255,.16) 30%, rgba(255,255,255,.25) 50%, rgba(125,249,255,.16) 70%, transparent);
  animation: oss-hero-scan-sweep 9s ease-in-out infinite 1.5s;
}

@keyframes oss-hero-orb-a { 0%,100% { transform:translate(0,0) scale(1); } 50% { transform:translate(60px,40px) scale(1.1); } }
@keyframes oss-hero-orb-b { 0%,100% { transform:translate(0,0) scale(1); } 50% { transform:translate(-50px,60px) scale(.9); } }
@keyframes oss-hero-orb-c { 0%,100% { transform:translate(0,0); } 50% { transform:translate(40px,-50px); } }
@keyframes oss-hero-orb-d { 0%,100% { transform:translate(0,0); } 50% { transform:translate(-60px,30px); } }
@keyframes oss-hero-grid-scroll { 0% { background-position:0 0; } 100% { background-position:60px 60px; } }
@keyframes oss-hero-grad-shift  { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@keyframes oss-hero-scan-sweep  { 0% { left:-35%; } 60% { left:110%; } 100% { left:110%; } }

/* Keeps the reduced-motion guard contacto.html had before it was unified. */
@media (prefers-reduced-motion: reduce) {
  .oss-hero-orb,
  .oss-hero-grid,
  .oss-hero-grad,
  .oss-hero-scan-inner { animation: none; }
  .oss-hero-photo { transition: none; }
}
