/* ╔══════════════════════════════════════════════════════════╗
   ║  DOQSOFT — Hardware catalog page                         ║
   ║  Color: brand green #21b65f                              ║
   ║  Theme: industrial / hardware product showcase           ║
   ╚══════════════════════════════════════════════════════════╝ */

:root {
  --hw-primary: #21b65f;
  --hw-primary-dark: #1a9e52;
  --hw-primary-darker: #15803d;
  --hw-primary-soft: rgba(33, 182, 95, 0.08);
  --hw-primary-tint: rgba(33, 182, 95, 0.15);
  --hw-glow: rgba(33, 182, 95, 0.25);
  --hw-light: #54c247;
  --hw-metal: #e2e8f0;
  --hw-dark: #0a0a0a;
}

/* ─────────────────────────────────────────────
   Sub-bar
   ───────────────────────────────────────────── */
.product-subbar-hardware {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(254, 254, 254, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 0.625rem 0;
}

.product-subbar-hardware .breadcrumbs a:hover { color: var(--hw-primary-dark); }
.product-subbar-hardware .product-subbar-anchors a:hover {
  color: var(--hw-primary-dark);
  background: var(--hw-primary-soft);
}

/* Eyebrow variant */
.eyebrow-hardware { color: var(--hw-primary-dark); }
.eyebrow-hardware .eyebrow-dot {
  background: var(--hw-primary);
  box-shadow: 0 0 0 3px var(--hw-primary-tint);
}

/* ─────────────────────────────────────────────
   Hero (Hardware brand green)
   ───────────────────────────────────────────── */
.ph-hardware {
  background: linear-gradient(180deg, #fafdfb 0%, #ecfaf1 60%, #fefefe 100%);
}

.ph-hardware .ph-orb-1 {
  background: radial-gradient(circle, var(--hw-primary) 0%, transparent 65%);
  opacity: 0.35;
}

.ph-hardware .ph-orb-2 {
  background: radial-gradient(circle, var(--hw-light) 0%, transparent 65%);
  opacity: 0.3;
}

.ph-hardware .ph-grid {
  background-image:
    linear-gradient(to right, rgba(33,182,95,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(33,182,95,0.05) 1px, transparent 1px);
}

.page-hardware .product-badge {
  border-color: var(--hw-primary-tint);
  box-shadow: 0 1px 2px rgba(33, 182, 95, 0.08);
}

.page-hardware .product-badge-dot {
  background: var(--hw-primary);
  box-shadow: 0 0 0 3px var(--hw-primary-tint);
}

.page-hardware .product-badge-name { color: var(--hw-primary-dark); }

.page-hardware .product-hero-title em {
  background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-light) 60%, var(--hw-primary-darker) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hardware .btn-product {
  background: var(--hw-primary);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -8px var(--hw-glow);
}

.page-hardware .btn-product:hover {
  background: var(--hw-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 30px -8px var(--hw-glow);
}

/* ─────────────────────────────────────────────
   Hero scene: 4 mini hardware devices
   ───────────────────────────────────────────── */
.hw-hero-scene {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-5);
  padding: var(--space-4);
  align-items: center;
  justify-items: center;
}

.hw-hero-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 160px;
  padding: var(--space-4);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  box-shadow: 0 14px 30px -10px rgba(33, 182, 95, 0.18);
  transition: transform var(--t-mid) var(--ease-out);
}

.hw-hero-device:hover {
  transform: translateY(-4px);
}

.hw-hero-label {
  position: absolute;
  bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* CBOT mini */
.hw-hero-cbot { animation: heroDevFloat1 6s ease-in-out infinite; }

.hw-mini-screen {
  width: 80px;
  height: 50px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 2px solid #2a2a2a;
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 8px rgba(33, 182, 95, 0.2);
}

.hw-mini-screen-line {
  height: 2px;
  background: var(--hw-primary);
  border-radius: 1px;
  width: 60%;
  opacity: 0.6;
}

.hw-mini-amount {
  font-family: 'Funnel Display', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hw-primary);
  text-align: right;
  letter-spacing: -0.01em;
}

.hw-mini-slot {
  width: 50px;
  height: 4px;
  background: #2a2a2a;
  border-radius: 1px;
  margin-top: 4px;
}

.hw-mini-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hw-primary);
  box-shadow: 0 0 6px var(--hw-primary);
  margin-top: 4px;
  animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--hw-primary); }
  50% { opacity: 0.5; box-shadow: 0 0 12px var(--hw-primary); }
}

/* CMPrint mini */
.hw-hero-cmprint { animation: heroDevFloat2 7s ease-in-out infinite; }

.hw-mini-display {
  width: 80px;
  height: 30px;
  background: linear-gradient(180deg, #6dd2a4 0%, #21b65f 100%);
  border: 2px solid #1a9e52;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-mini-display-text {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10px;
  font-weight: 700;
  color: #0a3a1f;
  letter-spacing: 0.08em;
}

.hw-mini-buttons {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.hw-mini-buttons span {
  width: 18px;
  height: 14px;
  background: #f5f5f5;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  box-shadow: inset 0 -1px 0 #d4d4d4;
}

/* TCM4 mini */
.hw-hero-tcm4 { animation: heroDevFloat3 6s ease-in-out infinite; }

.hw-mini-tcm-ring {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%);
  border: 3px solid var(--hw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--hw-primary-tint);
}

.hw-mini-tcm-ring::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: var(--hw-primary);
  opacity: 0.3;
}

.hw-mini-tcm-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--hw-primary);
  animation: tcmRingPulse 2s ease-out infinite;
}

@keyframes tcmRingPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hw-mini-tcm-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hw-primary);
  box-shadow: 0 0 6px var(--hw-primary);
  margin-top: 8px;
}

/* Cards mini */
.hw-hero-cards { animation: heroDevFloat4 7s ease-in-out infinite; }

.hw-mini-card {
  position: absolute;
  width: 80px;
  height: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-end;
  padding: 6px;
}

.hw-mini-card-1 {
  top: 30%;
  left: 20%;
  transform: rotate(-8deg);
  background: linear-gradient(135deg, var(--hw-primary), var(--hw-primary-dark));
}

.hw-mini-card-1 .hw-mini-chip { background: rgba(255, 255, 255, 0.4); }

.hw-mini-card-2 {
  top: 35%;
  left: 35%;
  transform: rotate(6deg);
  z-index: 1;
}

.hw-mini-chip {
  width: 16px;
  height: 12px;
  background: #fbbf24;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

@keyframes heroDevFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes heroDevFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes heroDevFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes heroDevFloat4 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ─────────────────────────────────────────────
   Categorías (2 main cards)
   ───────────────────────────────────────────── */
.hw-categories {
  padding: var(--space-32) 0;
  background: var(--color-bg);
}

.hw-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 900px) {
  .hw-cat-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

.hw-cat-card {
  position: relative;
  background: white;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-2xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: all var(--t-mid) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}

.hw-cat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(circle at top right, var(--hw-primary-soft) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.6;
}

.hw-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--hw-primary-tint);
  box-shadow: 0 24px 48px -16px var(--hw-glow);
}

.hw-cat-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hw-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--hw-primary-tint) 0%, var(--hw-primary-soft) 100%);
  color: var(--hw-primary-dark);
  flex-shrink: 0;
}

.hw-cat-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hw-primary-dark);
  margin-bottom: 2px;
}

.hw-cat-card h3 {
  font-family: 'Funnel Display', serif;
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.hw-cat-card p {
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text-muted);
}

.hw-cat-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-soft);
}

.hw-cat-product {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease-out);
}

.hw-cat-product:hover {
  background: white;
  border-color: var(--hw-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px -4px var(--hw-glow);
}

.hw-cat-product strong {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-ink);
  letter-spacing: -0.005em;
}

.hw-cat-product span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ─────────────────────────────────────────────
   Product sections (CBOT, CMPrint, TCM4)
   ───────────────────────────────────────────── */
.hw-product {
  padding: var(--space-32) 0;
  background: var(--color-bg);
  position: relative;
}

.hw-product:nth-of-type(even) {
  background: var(--color-bg-cream);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.hw-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hw-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.hw-product-reverse .hw-product-grid {
  direction: ltr;
}

@media (min-width: 1024px) {
  .hw-product-reverse .hw-product-grid > .hw-product-visual { order: 1; }
  .hw-product-reverse .hw-product-grid > .hw-product-text { order: 2; }
}

.hw-product-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hw-product-num {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hw-primary-dark);
}

.hw-product-title {
  font-family: 'Funnel Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-ink);
  margin-top: var(--space-1);
}

.hw-product-tagline {
  font-family: 'Funnel Display', serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  margin-top: var(--space-2);
}

.hw-product-tagline em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-primary-dark) 60%, var(--hw-primary-darker) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hw-product-desc {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.hw-product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.hw-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.hw-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--hw-primary);
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

.hw-feature strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.hw-feature span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.hw-product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: var(--space-2);
}

.hw-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.hw-meta-tag svg { color: var(--hw-primary); flex-shrink: 0; }
.hw-meta-tag strong { color: var(--color-ink); font-weight: 700; }

.hw-meta-integration {
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--hw-primary-tint);
  align-self: flex-start;
}

.hw-meta-integration strong { color: var(--hw-primary-dark); }

.hw-product-cta {
  align-self: flex-start;
  margin-top: var(--space-3);
}

.hw-product-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  isolation: isolate;
}

.hw-floating-spec {
  position: absolute;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 0.625rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.hw-floating-spec strong {
  font-family: 'Funnel Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--hw-primary-dark);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hw-floating-spec span {
  font-size: 10px;
  color: var(--color-text-muted);
}

.hw-spec-1 { top: 12%; right: 0; animation: specFloat1 6s ease-in-out infinite; }
.hw-spec-2 { bottom: 18%; left: 0; animation: specFloat2 7s ease-in-out infinite; }

@keyframes specFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes specFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─────────────────────────────────────────────
   CBOT device mockup (kiosk)
   ───────────────────────────────────────────── */
.hw-cbot-device {
  width: 220px;
  background: linear-gradient(180deg, #f5f5f5 0%, #d4d4d4 100%);
  border: 2px solid #a0a0a0;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.25),
    0 12px 30px -8px rgba(33, 182, 95, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hw-cbot-top { padding: 4px; }

.hw-cbot-screen {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  border: 3px solid #2a2a2a;
  border-radius: 8px;
  padding: 12px;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(33, 182, 95, 0.15);
}

.hw-cbot-screen-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(33,182,95,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(33,182,95,0.06) 1px, transparent 1px);
  background-size: 12px 12px;
  pointer-events: none;
}

.hw-cbot-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hw-screen-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hw-primary);
  box-shadow: 0 0 6px var(--hw-primary);
}

.hw-screen-time {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10px;
  color: var(--hw-primary);
  opacity: 0.7;
}

.hw-cbot-screen-body {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hw-cbot-screen-title {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.hw-cbot-screen-amount {
  font-family: 'Funnel Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--hw-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hw-cbot-screen-amount i {
  font-size: 14px;
  font-style: normal;
  color: var(--hw-light);
  margin-left: 1px;
}

.hw-cbot-screen-action {
  font-size: 10px;
  font-weight: 700;
  color: white;
  background: var(--hw-primary);
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.hw-cbot-mid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #e5e5e5 0%, #cccccc 100%);
  border-radius: 6px;
  border: 1px solid #b0b0b0;
}

.hw-cbot-coin-slot,
.hw-cbot-bill-slot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hw-slot-label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4a4a4a;
  width: 50px;
}

.hw-slot-line {
  flex: 1;
  height: 4px;
  background: linear-gradient(180deg, #1a1a1a 0%, #4a4a4a 100%);
  border-radius: 1px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hw-slot-bill-line {
  flex: 1;
  height: 8px;
  background: linear-gradient(180deg, #0a0a0a 0%, #2a2a2a 100%);
  border-radius: 1px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hw-cbot-card-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 100%);
  border: 1px solid #b0b0b0;
  border-radius: 4px;
}

.hw-card-icon {
  color: var(--hw-primary-dark);
}

.hw-cbot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
}

.hw-cbot-led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4a4a4a;
}

.hw-cbot-led.active {
  background: var(--hw-primary);
  box-shadow: 0 0 6px var(--hw-primary);
  animation: ledPulse 2s ease-in-out infinite;
}

.hw-cbot-brand {
  font-size: 9px;
  font-weight: 700;
  color: #4a4a4a;
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────
   CMPrint device mockup (compact terminal)
   ───────────────────────────────────────────── */
.hw-cmprint-device {
  width: 200px;
  background: linear-gradient(180deg, #f0f0f0 0%, #d0d0d0 100%);
  border: 2px solid #909090;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.2),
    0 12px 30px -8px rgba(33, 182, 95, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
}

.hw-cmprint-screen {
  background: linear-gradient(180deg, #6dd2a4 0%, #21b65f 100%);
  border: 2px solid #1a9e52;
  border-radius: 4px;
  padding: 10px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pantalla táctil grande (el CMprint real usa una táctil color de 5", no keypad) */
.hw-cmprint-screen-lg {
  min-height: 150px;
}

.hw-cmprint-screen-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.hw-cmprint-line {
  font-size: 7px;
  font-weight: 700;
  color: #0a3a1f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.hw-cmprint-user {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #0a3a1f;
  letter-spacing: 0.02em;
}

.hw-cmprint-balance {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 9px;
  color: #0a3a1f;
  margin-top: 2px;
}

.hw-cmprint-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.hw-cmprint-keypad span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  background: linear-gradient(180deg, #f5f5f5 0%, #d8d8d8 100%);
  border: 1px solid #a0a0a0;
  border-radius: 3px;
  font-family: 'Funnel Display', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #2a2a2a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.hw-cmprint-keypad span.key-green {
  background: linear-gradient(180deg, var(--hw-primary) 0%, var(--hw-primary-dark) 100%);
  color: white;
  border-color: var(--hw-primary-darker);
}

.hw-cmprint-keypad span.key-red {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  color: white;
  border-color: #b91c1c;
}

.hw-cmprint-led {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hw-primary);
  box-shadow: 0 0 6px var(--hw-primary);
  position: absolute;
  top: 14px;
  right: 14px;
  animation: ledPulse 2s ease-in-out infinite;
}

.hw-cmprint-brand {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: #4a4a4a;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ─────────────────────────────────────────────
   TCM4 device mockup (proximity reader)
   ───────────────────────────────────────────── */
.hw-tcm4-device {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hw-tcm4-body {
  width: 100%;
  background: linear-gradient(180deg, #f5f5f5 0%, #c0c0c0 100%);
  border: 2px solid #909090;
  border-radius: 14px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.2),
    0 12px 30px -8px rgba(33, 182, 95, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hw-tcm4-ring {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%);
  border: 4px solid var(--hw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 16px rgba(33, 182, 95, 0.4),
    inset 0 0 16px rgba(33, 182, 95, 0.2);
}

.hw-tcm4-ring-inner {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 182, 95, 0.2) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hw-primary);
}

.hw-tcm4-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--hw-primary);
  pointer-events: none;
}

.hw-tcm4-pulse-1 { animation: tcmRingPulse 2.4s ease-out infinite; }
.hw-tcm4-pulse-2 { animation: tcmRingPulse 2.4s ease-out 0.8s infinite; }
.hw-tcm4-pulse-3 { animation: tcmRingPulse 2.4s ease-out 1.6s infinite; }

.hw-tcm4-led-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.hw-tcm4-led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hw-primary);
  box-shadow: 0 0 6px var(--hw-primary);
  animation: ledPulse 2s ease-in-out infinite;
}

.hw-tcm4-status-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--hw-primary-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hw-tcm4-brand {
  font-size: 10px;
  font-weight: 700;
  color: #4a4a4a;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.hw-tcm4-notif {
  position: absolute;
  bottom: -1rem;
  right: -2rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 14px 30px -8px var(--hw-glow);
  animation: notifFloat 6s ease-in-out infinite;
  max-width: 220px;
  z-index: 4;
}

.hw-tcm4-notif-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--hw-primary);
  color: white;
  flex-shrink: 0;
}

.hw-tcm4-notif strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-ink);
}

.hw-tcm4-notif span {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
}

@keyframes notifFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ─────────────────────────────────────────────
   Accesorios (4 cards)
   ───────────────────────────────────────────── */
.hw-accessories {
  padding: var(--space-32) 0;
  background: var(--color-bg);
}

.hw-acc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 700px) { .hw-acc-grid { grid-template-columns: 1fr 1fr; } }

.hw-acc-card {
  position: relative;
  background: white;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-mid) var(--ease-out);
}

.hw-acc-card:hover {
  transform: translateY(-4px);
  border-color: var(--hw-primary-tint);
  box-shadow: 0 24px 48px -16px var(--hw-glow);
}

.hw-acc-card-feat {
  background: linear-gradient(135deg, var(--hw-primary-soft) 0%, white 60%);
  border-color: var(--hw-primary-tint);
}

.hw-acc-visual {
  height: 200px;
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
  border-bottom: 1px solid var(--color-border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hw-acc-info {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hw-acc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hw-primary-dark);
  background: var(--hw-primary-soft);
  padding: 4px 10px;
  border-radius: var(--r-full);
  align-self: flex-start;
}

.hw-acc-info h3 {
  font-family: 'Funnel Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.hw-acc-info p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text-muted);
  flex: 1;
}

.hw-acc-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-soft);
}

.hw-acc-features li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text);
  line-height: 1.5;
}

.hw-acc-features li::before {
  content: '✓';
  color: var(--hw-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* RFID Card mockup */
.hw-acc-card-mock {
  width: 200px;
  height: 130px;
  background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-primary-dark) 100%);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  box-shadow: 0 14px 30px -8px rgba(33, 182, 95, 0.4);
  transform: rotate(-4deg);
}

.hw-acc-card-mock::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.15) 100%);
  border-radius: 0 10px 10px 0;
  pointer-events: none;
}

.hw-acc-card-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
  position: relative;
}

.hw-acc-card-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 1px;
}

.hw-acc-card-logo {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'Funnel Display', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
}

.hw-acc-card-name {
  font-family: 'Funnel Display', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
}

.hw-acc-card-role {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

/* Fob mockup */
.hw-acc-fob-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hw-acc-fob-ring {
  width: 30px;
  height: 30px;
  border: 3px solid #6b7280;
  border-radius: 50%;
  margin-bottom: -10px;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hw-acc-fob-body {
  width: 70px;
  height: 100px;
  background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-primary-dark) 100%);
  border-radius: 35px;
  position: relative;
  box-shadow: 0 14px 30px -8px rgba(33, 182, 95, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-acc-fob-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 8px white;
  margin-top: 30px;
}

/* Sticker mockup */
.hw-acc-sticker-mock {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border: 1px dashed var(--hw-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

.hw-acc-sticker-chip {
  width: 28px;
  height: 22px;
  background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-primary-dark) 100%);
  border-radius: 3px;
}

/* Band mockup */
.hw-acc-band-mock {
  width: 180px;
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-acc-band-strap {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-primary-dark) 100%);
  border-radius: 30px;
  box-shadow: 0 10px 20px -6px rgba(33, 182, 95, 0.3);
  transform: scaleX(0.85);
}

.hw-acc-band-chip {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 18px;
  background: white;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hw-acc-cta {
  display: inline-flex;
  margin-top: var(--space-8);
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

/* ─────────────────────────────────────────────
   Ecosystem section (dark)
   ───────────────────────────────────────────── */
.hw-ecosystem {
  position: relative;
  padding: var(--space-32) 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(33, 182, 95, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(84, 194, 71, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #131313 100%);
  color: white;
  overflow: hidden;
  isolation: isolate;
}

.hw-ecosystem-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hw-ecosystem .section-header { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }
.hw-ecosystem .section-header .eyebrow { justify-content: center; }
.section-sub-light { color: rgba(255, 255, 255, 0.7); margin-left: auto; margin-right: auto; }

.hw-eco-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

@media (min-width: 1024px) {
  .hw-eco-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
  }
}

.hw-eco-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  transition: all var(--t-mid) var(--ease-out);
}

.hw-eco-node:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: rgba(33, 182, 95, 0.4);
}

.hw-eco-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(33, 182, 95, 0.15);
  color: var(--hw-primary);
}

.hw-eco-node h4 {
  font-family: 'Funnel Display', serif;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: white;
}

.hw-eco-node p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.hw-eco-node-mid {
  background: linear-gradient(135deg, rgba(33, 182, 95, 0.18) 0%, rgba(33, 182, 95, 0.05) 100%);
  border-color: rgba(33, 182, 95, 0.4);
}

.hw-eco-node-final { border-style: dashed; }

.hw-eco-link {
  display: none;
  align-items: center;
  padding: 0 var(--space-2);
  min-width: 60px;
}

@media (min-width: 1024px) { .hw-eco-link { display: flex; } }

.hw-eco-link svg { width: 100%; height: 24px; }

.hw-eco-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 768px) { .hw-eco-bullets { grid-template-columns: repeat(3, 1fr); } }

.hw-eco-bullet {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
}

.hw-eco-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--hw-primary);
  color: white;
  margin-bottom: var(--space-2);
}

.hw-eco-bullet strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: white;
}

.hw-eco-bullet span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   Specs section
   ───────────────────────────────────────────── */
.hw-specs {
  padding: var(--space-32) 0;
  background: var(--color-bg);
}

.hw-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
}

@media (min-width: 640px) { .hw-specs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hw-specs-grid { grid-template-columns: repeat(4, 1fr); } }

.hw-spec-card {
  background: white;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-xl);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all var(--t-mid) var(--ease-out);
}

.hw-spec-card:hover {
  transform: translateY(-3px);
  border-color: var(--hw-primary-tint);
  box-shadow: 0 16px 32px -12px var(--hw-glow);
}

.hw-spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--hw-primary-tint);
  color: var(--hw-primary-dark);
}

.hw-spec-card h3 {
  font-family: 'Funnel Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.hw-spec-card p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* CTA Final Hardware */
.cta-final-hardware { background: linear-gradient(180deg, #f0fdf4 0%, #fefefe 100%); }

.cta-final-hardware .cta-option:hover {
  box-shadow: 0 24px 48px -16px var(--hw-glow);
  border-color: var(--hw-primary-tint);
}

.cta-final-hardware .cta-option-tag { background: var(--hw-primary); }
.cta-final-hardware .cta-option-secondary .cta-option-tag { background: var(--color-ink); }

/* ══════════════════════════════════════════════════════════
   FOTOS REALES DE PRODUCTO (2026-07-07)
   Reemplazan los mockups CSS de dispositivos por imágenes reales
   (Cartadis) con fondo transparente. Los .hw-floating-spec y la
   tarjeta de notificación TCM4 siguen flotando encima (position
   absolute en .hw-product-visual).
   ══════════════════════════════════════════════════════════ */
.hw-shot {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.20));
}
/* El lector TCM4 es pequeño y apaisado: permítele algo más de ancho */
.hw-shot-tcm4 img { max-height: 300px; }

/* Hero: thumbnails reales dentro de las tarjetas mini (reemplazan mockups CSS) */
.hw-hero-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 104px;
  object-fit: contain;
  margin-bottom: 16px;
}
/* Accesorios: foto real de tarjetas RFID en la tarjeta destacada */
.hw-acc-img {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.16));
}
