/* ==========================================================================
   ZEUS DIGITAL — Vitrina 3D (B) + Flotante (A) + Cinemática (C)
   Lenguaje unificado para las 16 fichas, paleta grafito/titanio/plata.
   ========================================================================== */

.catalogue {
  background: var(--zeus-bg);
}

.collections-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.collection-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #13151b;
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}

.collection-shortcut:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 222, 236, 0.36);
  background: #1a1d24;
}

.collection-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe4ee;
}

.collection-icon svg {
  width: 20px;
  height: 20px;
}

.collection-copy {
  min-width: 0;
  flex: 1;
}

.collection-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.collection-copy strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 650;
  color: var(--zeus-text);
  line-height: 1.25;
}

.collection-copy > span {
  display: block;
  font-size: 0.77rem;
  color: var(--zeus-text-subtle);
  line-height: 1.35;
}

.collection-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  color: #e4e8f0;
  flex-shrink: 0;
}

.collection-arrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: #bfc8d8;
  flex-shrink: 0;
}

.catalog-panel {
  padding: 28px 0 6px;
}

.catalog-heading-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.catalog-heading-bar h3 {
  margin-bottom: 4px;
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--zeus-text);
}

.catalog-heading-bar p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--zeus-text-muted);
}

.count-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #17191f;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e3e6ee;
}

.cat-tools {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  align-items: center;
  color: #a6a9b2;
  font-size: 11px;
  margin: 0 0 18px;
}

.cat-tools button {
  background: transparent;
  border: 1px solid #4c4f58;
  color: #d2d4dc;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 14px;
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}

.cat-tools button:hover:not(:disabled) {
  color: #ffffff;
  border-color: #bfc4cf;
}

.cat-tools button[aria-pressed="true"] {
  background: #e3e3e5;
  color: #151518;
  border-color: #e3e3e5;
}

.cat-tools button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cat-tools-label {
  letter-spacing: 0.4px;
  color: #9b9fa8;
}

.catalog-tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #15171c;
  margin-bottom: 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  min-height: 36px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: #b8b8c1;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}

.filter-chip:hover {
  background: #272930;
  color: #ffffff;
}

.filter-chip.active,
.filter-chip[aria-pressed="true"] {
  background: #e3e3e5;
  color: #151518;
  font-weight: 600;
}

.catalog-controls-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: min(300px, 100%);
  flex: 1 1 320px;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--zeus-text-subtle);
  font-size: 0.95rem;
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  min-height: 42px;
  padding: 9px 38px 9px 38px;
  border-radius: var(--radius-sm);
  border: 1px solid #73809a;
  background: #0d0e12;
  color: var(--zeus-text);
  font: inherit;
  font-size: 0.9rem;
}

.search-wrap input::placeholder {
  color: var(--zeus-text-subtle);
}

.product-visual:focus-visible {
  outline-offset: -5px;
}

.search-clear {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--zeus-text);
  font-size: 1rem;
  line-height: 1;
}

.catalog-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0d0e12;
}

.catalog-select-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zeus-text-subtle);
}

.catalog-select-wrap select {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--zeus-text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
}

.catalog-select-wrap option {
  background: #13151b;
  color: #f3f3f2;
}

.catalog-active-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #16181f;
}

.catalog-active-summary {
  font-size: 0.84rem;
  color: #e2e5ee;
  font-weight: 600;
}

.btn-link-reset {
  border: 1px solid rgba(214, 220, 232, 0.28);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: #1d2028;
  color: #e6ebf5;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-link-reset:hover {
  background: #2b2f3a;
  color: #ffffff;
}

/* Skeleton de carga */
.catalog-skeleton {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 10px;
}

.skeleton-card {
  border-radius: 20px;
  background: #14161c;
  overflow: hidden;
}

.skeleton-media {
  height: 240px;
  background: linear-gradient(90deg, #16181e 25%, #242832 50%, #16181e 75%);
  background-size: 200% 100%;
  animation: zeus-shimmer 1.4s infinite linear;
}

.skeleton-body {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.skeleton-line--sm { width: 45%; }
.skeleton-line--lg { width: 82%; height: 16px; }

@keyframes zeus-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   Vitrina 3D (B) + Flotante (A) + Cinemática (C) — 16/16 Fichas
   Sin gran borde exterior azul; titulares sobre el fondo; contornos plata.
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  --rx: 0deg;
  --ry: 0deg;
  --active: 0;
  --sx: 50%;
  --sy: 30%;
}

.product-card:is(:hover, :focus-within) {
  --active: 1;
}

/* Mapeo discreto CSP-safe para inclinación máx. 10 grados y foco especular */
.product-card[data-rx="-10"] { --rx: -10deg; }
.product-card[data-rx="-9"] { --rx: -9deg; }
.product-card[data-rx="-8"] { --rx: -8deg; }
.product-card[data-rx="-7"] { --rx: -7deg; }
.product-card[data-rx="-6"] { --rx: -6deg; }
.product-card[data-rx="-5"] { --rx: -5deg; }
.product-card[data-rx="-4"] { --rx: -4deg; }
.product-card[data-rx="-3"] { --rx: -3deg; }
.product-card[data-rx="-2"] { --rx: -2deg; }
.product-card[data-rx="-1"] { --rx: -1deg; }
.product-card[data-rx="0"] { --rx: 0deg; }
.product-card[data-rx="1"] { --rx: 1deg; }
.product-card[data-rx="2"] { --rx: 2deg; }
.product-card[data-rx="3"] { --rx: 3deg; }
.product-card[data-rx="4"] { --rx: 4deg; }
.product-card[data-rx="5"] { --rx: 5deg; }
.product-card[data-rx="6"] { --rx: 6deg; }
.product-card[data-rx="7"] { --rx: 7deg; }
.product-card[data-rx="8"] { --rx: 8deg; }
.product-card[data-rx="9"] { --rx: 9deg; }
.product-card[data-rx="10"] { --rx: 10deg; }

.product-card[data-ry="-10"] { --ry: -10deg; }
.product-card[data-ry="-9"] { --ry: -9deg; }
.product-card[data-ry="-8"] { --ry: -8deg; }
.product-card[data-ry="-7"] { --ry: -7deg; }
.product-card[data-ry="-6"] { --ry: -6deg; }
.product-card[data-ry="-5"] { --ry: -5deg; }
.product-card[data-ry="-4"] { --ry: -4deg; }
.product-card[data-ry="-3"] { --ry: -3deg; }
.product-card[data-ry="-2"] { --ry: -2deg; }
.product-card[data-ry="-1"] { --ry: -1deg; }
.product-card[data-ry="0"] { --ry: 0deg; }
.product-card[data-ry="1"] { --ry: 1deg; }
.product-card[data-ry="2"] { --ry: 2deg; }
.product-card[data-ry="3"] { --ry: 3deg; }
.product-card[data-ry="4"] { --ry: 4deg; }
.product-card[data-ry="5"] { --ry: 5deg; }
.product-card[data-ry="6"] { --ry: 6deg; }
.product-card[data-ry="7"] { --ry: 7deg; }
.product-card[data-ry="8"] { --ry: 8deg; }
.product-card[data-ry="9"] { --ry: 9deg; }
.product-card[data-ry="10"] { --ry: 10deg; }

.product-card[data-sx="0"] { --sx: 0%; }
.product-card[data-sx="10"] { --sx: 10%; }
.product-card[data-sx="20"] { --sx: 20%; }
.product-card[data-sx="30"] { --sx: 30%; }
.product-card[data-sx="40"] { --sx: 40%; }
.product-card[data-sx="50"] { --sx: 50%; }
.product-card[data-sx="60"] { --sx: 60%; }
.product-card[data-sx="70"] { --sx: 70%; }
.product-card[data-sx="80"] { --sx: 80%; }
.product-card[data-sx="90"] { --sx: 90%; }
.product-card[data-sx="100"] { --sx: 100%; }

.product-card[data-sy="0"] { --sy: 0%; }
.product-card[data-sy="10"] { --sy: 10%; }
.product-card[data-sy="20"] { --sy: 20%; }
.product-card[data-sy="30"] { --sy: 30%; }
.product-card[data-sy="40"] { --sy: 40%; }
.product-card[data-sy="50"] { --sy: 50%; }
.product-card[data-sy="60"] { --sy: 60%; }
.product-card[data-sy="70"] { --sy: 70%; }
.product-card[data-sy="80"] { --sy: 80%; }
.product-card[data-sy="90"] { --sy: 90%; }
.product-card[data-sy="100"] { --sy: 100%; }

.vitrina-stage {
  position: relative;
  width: 100%;
  height: clamp(248px, 22vw, 326px);
  padding: 0;
  border: 0;
  border-radius: 21px 21px 6px 6px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  perspective: 870px;
  background: radial-gradient(ellipse at 58% 47%, #31343b, transparent 58%), linear-gradient(150deg, #1b1d21, #0b0c0f);
  text-align: left;
}

.vitrina-orbit {
  position: absolute;
  width: 100%;
  height: 35%;
  border: 1px solid rgba(201, 198, 191, 0.32);
  border-radius: 50%;
  transform: rotate(-17deg);
  top: 31%;
  z-index: -1;
  pointer-events: none;
}

.vitrina-base {
  position: absolute;
  bottom: 4%;
  height: 37%;
  width: 87%;
  transform: rotateX(64deg);
  border: 1px solid rgba(200, 200, 204, 0.34);
  background: linear-gradient(135deg, #222328, #4b4d53, #101217);
  box-shadow: 0 6px 0 #14151a, 0 7px 0 rgba(182, 183, 196, 0.3), 0 20px 24px rgba(5, 5, 6, 0.62);
  z-index: -1;
  border-radius: 5px;
  pointer-events: none;
}

.vitrina-stack {
  display: block;
  width: 80%;
  height: 72%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(calc(-1 * var(--lift) * var(--active)));
  transition: transform var(--timing) var(--ease-out);
}

.vitrina-window {
  display: block;
  position: absolute;
  inset: 0;
  border: 1px solid rgba(198, 203, 217, 0.58);
  border-radius: 6px;
  background: linear-gradient(140deg, rgba(115, 121, 134, 0.46), rgba(35, 38, 44, 0.6) 80%);
  box-shadow: 0 9px 22px rgba(3, 4, 7, 0.6), 0 0 8px rgba(197, 203, 214, 0.16);
  overflow: hidden;
  transition: transform var(--timing) var(--ease-out);
}

.vitrina-back {
  transform: translate3d(calc(-33px * var(--depth)), calc(19px * var(--depth)), calc(-66px * var(--depth)));
  opacity: 0.55;
}

.vitrina-mid {
  transform: translate3d(calc(-17px * var(--depth)), calc(10px * var(--depth)), calc(-32px * var(--depth)));
  opacity: 0.75;
}

.product-card:is(:hover, :focus-within) .vitrina-back {
  transform: translate3d(calc(-40px * var(--depth)), calc(23px * var(--depth)), calc(-82px * var(--depth)));
}

.product-card:is(:hover, :focus-within) .vitrina-mid {
  transform: translate3d(calc(-22px * var(--depth)), calc(14px * var(--depth)), calc(-44px * var(--depth)));
}

.vitrina-front {
  transform: translateZ(calc(var(--active) * var(--depth) * 13px));
  background: #1d2025;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.66), 0 0 14px rgba(209, 213, 224, 0.18);
}

.vitrina-bar {
  height: 20px;
  background: linear-gradient(120deg, #44474e, #23252a);
  border-bottom: 1px solid rgba(191, 193, 195, 0.22);
  padding: 8px 10px;
  display: flex;
  gap: 4px;
}

.vitrina-bar i {
  display: block;
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: rgba(189, 194, 202, 0.6);
}

.vitrina-front img {
  width: 100%;
  height: calc(100% - 20px);
  object-fit: cover;
  display: block;
  transition: transform var(--timing) var(--ease-out);
  transform: scale(calc(1 + var(--active) * var(--depth) * 0.026));
}

.vitrina-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--sx) var(--sy), rgba(223, 239, 255, 0.14), transparent 56%);
  pointer-events: none;
}

.product-visual-mark {
  display: grid;
  place-items: center;
  height: calc(100% - 20px);
  font-size: 2.3rem;
  color: #dce3ee;
}

.product-media-tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 204, 212, 0.34);
  background: rgba(16, 18, 23, 0.9);
  font-size: 0.7rem;
  font-weight: 600;
  color: #e4e6ec;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(200, 202, 209, 0.36);
  background: rgba(21, 22, 27, 0.9);
  color: #e4e6ec;
}

.vitrina-stage .availability-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
}

.availability-badge.is-available {
  border-color: rgba(121, 217, 183, 0.55);
  color: #b7f5de;
}

.availability-badge.is-lab {
  border-color: rgba(188, 210, 240, 0.45);
  color: #dce9fa;
}

.availability-badge.is-dev {
  border-color: rgba(226, 215, 190, 0.52);
  color: #f0e6d2;
}

.availability-badge.is-def {
  border-color: rgba(145, 185, 240, 0.52);
  color: #cfe3ff;
}

.availability-badge.is-quote {
  border-color: rgba(200, 204, 212, 0.42);
  color: #dce1ea;
}

/* Flotante (A): Tipografía editorial peso medio/ligero sobre fondo */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 6px 14px;
}

.product-minor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #9e9fa8;
}

.product-price {
  color: #b8bac2;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-align: right;
}

.product-info h3 {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  font-size: clamp(22px, 1.95vw, 30px);
  line-height: 1.08;
  font-weight: 500;
  color: #f0f0f3;
  margin: 0 0 8px;
}

.product-summary-copy {
  margin-bottom: 12px;
  font-size: 13px;
  color: #a9aab2;
  line-height: 1.6;
}

.product-protagonist-note {
  margin: 0 0 10px;
  padding: 5px 10px;
  border-left: 2px solid #95a4bd;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  font-weight: 550;
  line-height: 1.4;
  color: #d6dbe6;
}

.product-features-preview {
  margin: 0 0 12px;
  padding-left: 16px;
  font-size: 12px;
  color: #b7bac4;
  display: grid;
  gap: 4px;
}

.product-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.cap-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 550;
  color: #d5d8e0;
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-open,
.product-demo-btn,
.product-quote-btn {
  flex: 1 1 auto;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #d7d8de;
  font-weight: 550;
  font-size: 11px;
  padding: 8px 6px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.product-demo-btn {
  background: #e2e2e5;
  color: #16171b;
  padding: 8px 14px;
  font-weight: 600;
}

.product-demo-btn:hover {
  background: #ffffff;
  color: #0e0f12;
}

.product-open:hover,
.product-quote-btn:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-load-more {
  grid-column: 1 / -1;
  justify-self: center;
}

/* Entrada breve C · Cinemática (620ms), solo al dispararse */
.product-grid.is-revealing .product-card {
  animation: vitrinaEntry var(--entrance) cubic-bezier(0.18, 0.7, 0.23, 1) both;
}

.product-grid.is-revealing .product-card:nth-child(2) { animation-delay: 55ms; }
.product-grid.is-revealing .product-card:nth-child(3) { animation-delay: 110ms; }
.product-grid.is-revealing .product-card:nth-child(4) { animation-delay: 165ms; }
.product-grid.is-revealing .product-card:nth-child(5) { animation-delay: 220ms; }
.product-grid.is-revealing .product-card:nth-child(6) { animation-delay: 275ms; }
.product-grid.is-revealing .product-card:nth-child(n+7) { animation-delay: 320ms; }

@keyframes vitrinaEntry {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

body.motion-off .product-card,
body.motion-off .vitrina-stack,
body.motion-off .vitrina-window,
body.motion-off .vitrina-front img,
body.motion-off .product-modal {
  animation: none !important;
  transition: none !important;
}

body.motion-off .vitrina-stack,
body.motion-off .vitrina-front,
body.motion-off .vitrina-front img {
  transform: none !important;
}

body.motion-off .vitrina-back {
  transform: translate3d(-12px, 8px, -30px) !important;
}

body.motion-off .vitrina-mid {
  transform: translate3d(-6px, 4px, -15px) !important;
}

/* ==========================================================================
   Estados vacíos, cotización y modales en paleta grafito / titanio
   ========================================================================== */

.empty-state {
  padding: 36px 24px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: #12141a;
  text-align: center;
}

.empty-monogram {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #e6eaf2;
  font-size: 1.25rem;
}

.empty-state.is-error .empty-monogram {
  border-color: rgba(240, 140, 160, 0.55);
  color: #f08ca0;
}

.empty-state h3 { margin-bottom: 8px; font-size: 1.2rem; }
.empty-state p { max-width: 520px; margin-inline: auto; margin-bottom: 18px; color: var(--zeus-text-muted); font-size: 0.94rem; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.quote-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(214, 220, 232, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.quote-context-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b7c6de;
}

.quote-context strong { display: block; font-size: 0.96rem; color: #ffffff; }
.quote-context-meta { display: block; font-size: 0.8rem; color: var(--zeus-text-muted); }

.product-modal,
.demo-modal {
  width: min(740px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  padding: 0;
  scroll-padding-block: 12px;
  border: 1px solid rgba(214, 220, 232, 0.28);
  border-radius: var(--radius-lg);
  background: #12141a;
  color: var(--zeus-text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.84);
}

.demo-modal {
  width: min(1240px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
}

.product-modal::backdrop,
.demo-modal::backdrop {
  background: rgba(5, 6, 9, 0.84);
  backdrop-filter: blur(6px);
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #1b1e26;
  color: var(--zeus-text);
  font-size: 1.3rem;
  line-height: 1;
}

#modal-body { padding: 28px; }
.modal-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; padding-right: 44px; }
.modal-kicker { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.75rem; font-weight: 700; color: #e2e6ef; }
.modal-img { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 16px; }
.modal-lead { font-size: 1rem; font-weight: 600; color: var(--zeus-text); margin-bottom: 10px; }
.modal-description { font-size: 0.92rem; color: var(--zeus-text-muted); margin-bottom: 16px; }
.modal-features-box { padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.12); background: #171920; margin-bottom: 16px; }
.modal-section-subtitle { margin-bottom: 8px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #d5dce8; }
.modal-features { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.88rem; color: var(--zeus-text); }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.modal-meta span { padding: 5px 11px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.12); background: #181b22; font-size: 0.8rem; color: var(--zeus-text-muted); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.demo-titlebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); background: #0e1015; font-weight: 700; }
.demo-title-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
#demo-title { overflow-wrap: anywhere; }
.demo-sandbox-pill { padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); font-size: 0.72rem; font-weight: 600; color: #dbe2ee; }
.demo-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.demo-viewport-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.14); background: #171920; gap: 3px; }
.demo-vp-btn { min-height: 30px; padding: 4px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--zeus-text-muted); font-size: 0.76rem; font-weight: 600; }
.demo-vp-btn.is-active, .demo-vp-btn[aria-pressed="true"] { background: #e3e3e5; color: #151518; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 0.82rem; }
.demo-titlebar #close-demo { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.22); background: #1b1e26; color: var(--zeus-text); font-size: 1.2rem; }
.demo-stage { position: relative; background: #08090c; padding: 0; overflow: auto; }
#demo-frame { display: block; width: 100%; max-width: 100%; height: min(76vh, 700px); border: 0; background: #0a0b0e; transition: width var(--t-fast) var(--ease-out), opacity 180ms var(--ease-out); }
#demo-frame.demo-frame--tablet { width: 768px; margin-inline: auto; border-inline: 1px solid rgba(255, 255, 255, 0.2); }
#demo-frame.demo-frame--mobile { width: 390px; margin-inline: auto; border-inline: 1px solid rgba(255, 255, 255, 0.2); }

.demo-loading-indicator { display: none; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); background: #13151b; font-size: 0.84rem; font-weight: 600; color: #dfe4ee; }
.demo-stage[data-demo-state="loading"] .demo-loading-indicator { display: flex; }
.demo-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.22); border-top-color: #f3f3f2; animation: zeus-spin 0.8s linear infinite; }
@keyframes zeus-spin { to { transform: rotate(360deg); } }
.demo-stage[data-demo-state="loading"] #demo-frame { opacity: 0.35; }

/* Fichas comerciales y modales de 3 niveles */
.product-modal--sheet { width: min(980px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow-y: auto; overflow-x: hidden; background: #101218; }
.product-modal--hotel { border-color: rgba(226, 215, 190, 0.45); }
.product-modal--sentinel { border-color: rgba(132, 174, 235, 0.45); }
.product-modal--sheet .close-modal { position: sticky; top: 14px; display: grid; place-items: center; margin: 14px 14px -54px auto; z-index: 6; }
.sheet-header { margin-bottom: 18px; }
.sheet-kicker { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.2); background: #1a1d24; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #e1e4ec; }
.sheet-title { margin-bottom: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.025em; color: #ffffff; }
.sheet-headline { margin: 0 0 8px; font-size: 1.05rem; font-weight: 600; line-height: 1.38; color: #d6e2f5; }
.sheet-lead { font-size: 1rem; font-weight: 500; line-height: 1.48; color: #e4e7ee; margin-bottom: 8px; }
.sheet-diff-note { display: inline-block; margin-bottom: 0; padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.14); background: #171920; font-size: 0.83rem; color: #c7cbd6; }
.sheet-figure { margin: 0 0 18px; }
.sheet-figure-frame { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); background: #0a0b0e; }
.sheet-hero-img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 360px; object-fit: cover; }
.sheet-concept-badge { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(229, 196, 136, 0.45); background: rgba(12, 13, 18, 0.92); font-size: 0.75rem; font-weight: 650; color: #f3dfb8; }
.sheet-concept-caption { margin-top: 8px; font-size: 0.81rem; line-height: 1.45; color: #b4b8c2; }
.sheet-overview-grid, .sheet-scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.sheet-box, .sheet-panel, .sheet-availability { padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.12); background: #15171e; }
.sheet-panel--current { border-color: rgba(188, 210, 240, 0.3); }
.sheet-panel--future { border-style: dashed; border-color: rgba(255, 255, 255, 0.22); }
.sheet-panel--thirdparty { border-color: rgba(229, 196, 136, 0.34); }
.sheet-box-title { margin-bottom: 8px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #d5dce8; }
.sheet-subbox-title { margin: 12px 0 6px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #c7d4e8; }
.sheet-box-copy { margin-bottom: 0; font-size: 0.89rem; line-height: 1.5; color: #cfd3dc; }
.sheet-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sheet-panel-head h3 { margin-bottom: 0; font-size: 0.98rem; font-weight: 650; color: #ffffff; }
.sheet-stage-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 650; white-space: nowrap; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #dfe4ee; }
.sheet-panel-note { margin-bottom: 10px; font-size: 0.84rem; line-height: 1.45; color: #b7bcc6; }
.sheet-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.86rem; line-height: 1.42; color: #e2e5ee; }
.sheet-availability { margin-bottom: 16px; }
.sheet-meta-row { margin-top: 12px; margin-bottom: 0; }
.sheet-cta-bar { padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.16); background: #161820; }
.sheet-cta-note { margin-bottom: 12px; font-size: 0.83rem; color: #c8cdd6; }

.sheet-nav-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sheet-nav-btn { min-height: 32px; padding: 4px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.2); background: #181a22; color: #dfe3ec; font-size: 0.76rem; font-weight: 600; }
.sheet-nav-btn:hover { border-color: #ffffff; background: #262934; color: #ffffff; }

.model-tiers-section, .sheet-modules-section { margin-bottom: 16px; padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.14); background: #15171e; }
.model-tiers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.model-tier-card { padding: 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.14); background: #1a1c24; }
.model-tier-card--b { border-color: rgba(188, 210, 240, 0.36); }
.model-tier-code { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: #e2e6ef; }
.model-tier-title { margin-bottom: 6px; font-size: 0.95rem; font-weight: 650; color: #ffffff; }
.model-tier-desc { margin-bottom: 0; font-size: 0.82rem; line-height: 1.45; color: #c7cbd6; }

.sheet-transparency-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.sheet-disclaimer-note { margin: 0 0 12px; padding: 8px 12px; border-radius: var(--radius-sm); border-left: 3px solid #9bb4d8; background: rgba(255, 255, 255, 0.05); font-size: 0.82rem; font-weight: 600; color: #dce3ee; }
.sheet-accordions { display: grid; gap: 10px; }
.sheet-accordion { border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.14); background: #111319; overflow: hidden; }
.sheet-accordion--tech { margin-bottom: 16px; }
.sheet-accordion-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; cursor: pointer; font-size: 0.9rem; font-weight: 650; color: #f3f3f2; list-style: none; }
.sheet-accordion-summary::-webkit-details-marker { display: none; }
.sheet-accordion-summary:hover { background: rgba(255, 255, 255, 0.05); }
.sheet-accordion-count { padding: 2px 9px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); font-size: 0.72rem; font-weight: 600; color: #dce1eb; }
.sheet-accordion-list { padding: 0 16px 14px 32px; }
.sheet-tech-body { padding: 4px 14px 14px; display: grid; gap: 12px; }
.sheet-tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sheet-tech-cell { padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.12); background: #161820; }
.sheet-tech-cell strong { display: block; margin-bottom: 3px; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: #cfd8e8; }
.sheet-tech-cell p { margin: 0; font-size: 0.83rem; line-height: 1.42; color: #c7ccd6; }

section[id],
.catalog-panel[id],
.quote-card[id],
.capability-card[id],
.status-detail-card[id] {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

#capacidades-soluciones,
#nosotros,
#contacto,
#pie {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.product-card {
  contain: layout style;
}
